/linux/drivers/crypto/hisilicon/ |
H A D | qm.c | 382 struct hisi_qm *qm; member 503 qm_get_hw_error_status(struct hisi_qm * qm) qm_get_hw_error_status() argument 508 qm_get_dev_err_status(struct hisi_qm * qm) qm_get_dev_err_status() argument 514 qm_check_dev_error(struct hisi_qm * qm) qm_check_dev_error() argument 532 qm_wait_reset_finish(struct hisi_qm * qm) qm_wait_reset_finish() argument 546 qm_reset_prepare_ready(struct hisi_qm * qm) qm_reset_prepare_ready() argument 561 qm_reset_bit_clear(struct hisi_qm * qm) qm_reset_bit_clear() argument 585 hisi_qm_wait_mb_ready(struct hisi_qm * qm) hisi_qm_wait_mb_ready() argument 596 qm_mb_write(struct hisi_qm * qm,const void * src) qm_mb_write() argument 622 qm_mb_nolock(struct hisi_qm * qm,struct qm_mailbox * mailbox) qm_mb_nolock() argument 655 hisi_qm_mb(struct hisi_qm * qm,u8 cmd,dma_addr_t dma_addr,u16 queue,bool op) hisi_qm_mb() argument 672 qm_set_and_get_xqc(struct hisi_qm * qm,u8 cmd,void * xqc,u32 qp_id,bool op) qm_set_and_get_xqc() argument 726 qm_db_v1(struct hisi_qm * qm,u16 qn,u8 cmd,u16 index,u8 priority) qm_db_v1() argument 737 qm_db_v2(struct hisi_qm * qm,u16 qn,u8 cmd,u16 index,u8 priority) qm_db_v2() argument 757 qm_db(struct hisi_qm * qm,u16 qn,u8 cmd,u16 index,u8 priority) qm_db() argument 765 qm_disable_clock_gate(struct hisi_qm * qm) qm_disable_clock_gate() argument 778 qm_dev_mem_reset(struct hisi_qm * qm) qm_dev_mem_reset() argument 797 hisi_qm_get_hw_info(struct hisi_qm * qm,const struct hisi_qm_cap_info * info_table,u32 index,bool is_read) hisi_qm_get_hw_info() argument 818 hisi_qm_get_cap_value(struct hisi_qm * qm,const struct hisi_qm_cap_query_info * info_table,u32 index,bool is_read) hisi_qm_get_cap_value() argument 839 qm_get_xqc_depth(struct hisi_qm * qm,u16 * low_bits,u16 * high_bits,enum qm_basic_type type) qm_get_xqc_depth() argument 849 hisi_qm_set_algs(struct hisi_qm * qm,u64 alg_msk,const struct qm_dev_alg * dev_algs,u32 dev_algs_size) hisi_qm_set_algs() argument 883 qm_get_irq_num(struct hisi_qm * qm) qm_get_irq_num() argument 891 qm_pm_get_sync(struct hisi_qm * qm) qm_pm_get_sync() argument 908 qm_pm_put_sync(struct hisi_qm * qm) qm_pm_put_sync() argument 931 struct hisi_qm *qm = qp->qm; qm_poll_req_cb() local 954 struct hisi_qm *qm = poll_data->qm; qm_work_process() local 974 qm_get_complete_eqe_num(struct hisi_qm * qm) qm_get_complete_eqe_num() argument 1017 struct hisi_qm *qm = data; qm_eq_irq() local 1027 struct hisi_qm *qm = data; qm_mb_cmd_irq() local 1059 qm_disable_qp(struct hisi_qm * qm,u32 qp_id) qm_disable_qp() argument 1068 qm_reset_function(struct hisi_qm * qm) qm_reset_function() argument 1098 struct hisi_qm *qm = data; qm_aeq_thread() local 1153 qm_init_prefetch(struct hisi_qm * qm) qm_init_prefetch() argument 1246 qm_vft_data_cfg(struct hisi_qm * qm,enum vft_type type,u32 base,u32 number,struct qm_shaper_factor * factor) qm_vft_data_cfg() argument 1292 qm_set_vft_common(struct hisi_qm * qm,enum vft_type type,u32 fun_num,u32 base,u32 number) qm_set_vft_common() argument 1325 qm_shaper_init_vft(struct hisi_qm * qm,u32 fun_num) qm_shaper_init_vft() argument 1347 qm_set_sqc_cqc_vft(struct hisi_qm * qm,u32 fun_num,u32 base,u32 number) qm_set_sqc_cqc_vft() argument 1373 qm_get_vft_v2(struct hisi_qm * qm,u32 * base,u32 * number) qm_get_vft_v2() argument 1391 qm_hw_error_init_v1(struct hisi_qm * qm) qm_hw_error_init_v1() argument 1396 qm_hw_error_cfg(struct hisi_qm * qm) qm_hw_error_cfg() argument 1411 qm_hw_error_init_v2(struct hisi_qm * qm) qm_hw_error_init_v2() argument 1422 qm_hw_error_uninit_v2(struct hisi_qm * qm) qm_hw_error_uninit_v2() argument 1430 qm_hw_error_init_v3(struct hisi_qm * qm) qm_hw_error_init_v3() argument 1444 qm_hw_error_uninit_v3(struct hisi_qm * qm) qm_hw_error_uninit_v3() argument 1455 qm_log_hw_error(struct hisi_qm * qm,u32 error_status) qm_log_hw_error() argument 1497 qm_hw_error_handle_v2(struct hisi_qm * qm) qm_hw_error_handle_v2() argument 1523 qm_get_mb_cmd(struct hisi_qm * qm,u64 * msg,u16 fun_num) qm_get_mb_cmd() argument 1542 qm_clear_cmd_interrupt(struct hisi_qm * qm,u64 vf_mask) qm_clear_cmd_interrupt() argument 1554 qm_handle_vf_msg(struct hisi_qm * qm,u32 vf_id) qm_handle_vf_msg() argument 1582 qm_wait_vf_prepare_finish(struct hisi_qm * qm) qm_wait_vf_prepare_finish() argument 1622 qm_trigger_vf_interrupt(struct hisi_qm * qm,u32 fun_num) qm_trigger_vf_interrupt() argument 1636 qm_trigger_pf_interrupt(struct hisi_qm * qm) qm_trigger_pf_interrupt() argument 1645 qm_ping_single_vf(struct hisi_qm * qm,enum qm_ifc_cmd cmd,u32 data,u32 fun_num) qm_ping_single_vf() argument 1678 qm_ping_all_vfs(struct hisi_qm * qm,enum qm_ifc_cmd cmd) qm_ping_all_vfs() argument 1719 qm_ping_pf(struct hisi_qm * qm,enum qm_ifc_cmd cmd) qm_ping_pf() argument 1751 qm_drain_qm(struct hisi_qm * qm) qm_drain_qm() argument 1761 qm_set_msi(struct hisi_qm * qm,bool set) qm_set_msi() argument 1783 qm_wait_msi_finish(struct hisi_qm * qm) qm_wait_msi_finish() argument 1818 qm_set_msi_v3(struct hisi_qm * qm,bool set) qm_set_msi_v3() argument 1848 qm_set_ifc_begin_v3(struct hisi_qm * qm,enum qm_ifc_cmd cmd,u32 data,u32 fun_num) qm_set_ifc_begin_v3() argument 1860 qm_set_ifc_end_v3(struct hisi_qm * qm) qm_set_ifc_end_v3() argument 1865 qm_get_ifc_v3(struct hisi_qm * qm,enum qm_ifc_cmd * cmd,u32 * data,u32 fun_num) qm_get_ifc_v3() argument 1882 qm_set_ifc_begin_v4(struct hisi_qm * qm,enum qm_ifc_cmd cmd,u32 data,u32 fun_num) qm_set_ifc_begin_v4() argument 1900 qm_set_ifc_end_v4(struct hisi_qm * qm) qm_set_ifc_end_v4() argument 1905 qm_get_ifc_pf(struct hisi_qm * qm,u32 fun_num) qm_get_ifc_pf() argument 1914 qm_get_ifc_vf(struct hisi_qm * qm) qm_get_ifc_vf() argument 1919 qm_get_ifc_v4(struct hisi_qm * qm,enum qm_ifc_cmd * cmd,u32 * data,u32 fun_num) qm_get_ifc_v4() argument 1995 qm_create_qp_nolock(struct hisi_qm * qm,u8 alg_type) qm_create_qp_nolock() argument 2042 hisi_qm_create_qp(struct hisi_qm * qm,u8 alg_type) hisi_qm_create_qp() argument 2069 struct hisi_qm *qm = qp->qm; hisi_qm_release_qp() local 2083 struct hisi_qm *qm = qp->qm; qm_sq_ctx_cfg() local 2109 struct hisi_qm *qm = qp->qm; qm_cq_ctx_cfg() local 2151 struct hisi_qm *qm = qp->qm; qm_start_qp_nolock() local 2182 struct hisi_qm *qm = qp->qm; hisi_qm_start_qp() local 2205 struct hisi_qm *qm = qp->qm; qp_stop_fail_cb() local 2216 qm_wait_qp_empty(struct hisi_qm * qm,u32 * state,u32 qp_id) qm_wait_qp_empty() argument 2264 struct hisi_qm *qm = qp->qm; qm_drain_qp() local 2298 struct hisi_qm *qm = qp->qm; qm_stop_qp_nolock() local 2385 hisi_qm_cache_wb(struct hisi_qm * qm) hisi_qm_cache_wb() argument 2407 struct hisi_qm *qm = uacce->priv; hisi_qm_get_available_instances() local 2417 hisi_qm_set_hw_reset(struct hisi_qm * qm,int offset) hisi_qm_set_hw_reset() argument 2429 struct hisi_qm *qm = uacce->priv; hisi_qm_uacce_get_queue() local 2460 struct hisi_qm *qm = qp->qm; hisi_qm_uacce_mmap() local 2518 struct hisi_qm *qm = qp->qm; hisi_qm_uacce_stop_queue() local 2563 struct hisi_qm *qm = q->uacce->priv; qm_set_sqctype() local 2618 qm_hw_err_isolate(struct hisi_qm * qm) qm_hw_err_isolate() argument 2662 qm_hw_err_destroy(struct hisi_qm * qm) qm_hw_err_destroy() argument 2676 struct hisi_qm *qm = uacce->priv; hisi_qm_get_isolate_state() local 2690 struct hisi_qm *qm = uacce->priv; hisi_qm_isolate_threshold_write() local 2709 struct hisi_qm *qm = uacce->priv; hisi_qm_isolate_threshold_read() local 2734 qm_remove_uacce(struct hisi_qm * qm) qm_remove_uacce() argument 2745 qm_alloc_uacce(struct hisi_qm * qm) qm_alloc_uacce() argument 2817 qm_frozen(struct hisi_qm * qm) qm_frozen() argument 2839 struct hisi_qm *qm, *vf_qm; qm_try_frozen_vfs() local 2872 hisi_qm_wait_task_finish(struct hisi_qm * qm,struct hisi_qm_list * qm_list) hisi_qm_wait_task_finish() argument 2891 hisi_qp_memory_uninit(struct hisi_qm * qm,int num) hisi_qp_memory_uninit() argument 2907 hisi_qp_memory_init(struct hisi_qm * qm,size_t dma_size,int id,u16 sq_depth,u16 cq_depth) hisi_qp_memory_init() argument 2943 hisi_qm_pre_init(struct hisi_qm * qm) hisi_qm_pre_init() argument 2967 qm_cmd_uninit(struct hisi_qm * qm) qm_cmd_uninit() argument 2979 qm_cmd_init(struct hisi_qm * qm) qm_cmd_init() argument 2995 qm_put_pci_res(struct hisi_qm * qm) qm_put_pci_res() argument 3006 hisi_qm_pci_uninit(struct hisi_qm * qm) hisi_qm_pci_uninit() argument 3015 hisi_qm_set_state(struct hisi_qm * qm,u8 state) hisi_qm_set_state() argument 3021 hisi_qm_unint_work(struct hisi_qm * qm) hisi_qm_unint_work() argument 3026 hisi_qm_free_rsv_buf(struct hisi_qm * qm) hisi_qm_free_rsv_buf() argument 3034 hisi_qm_memory_uninit(struct hisi_qm * qm) hisi_qm_memory_uninit() argument 3058 hisi_qm_uninit(struct hisi_qm * qm) hisi_qm_uninit() argument 3086 hisi_qm_get_vft(struct hisi_qm * qm,u32 * base,u32 * number) hisi_qm_get_vft() argument 3113 hisi_qm_set_vft(struct hisi_qm * qm,u32 fun_num,u32 base,u32 number) hisi_qm_set_vft() argument 3125 qm_init_eq_aeq_status(struct hisi_qm * qm) qm_init_eq_aeq_status() argument 3135 qm_enable_eq_aeq_interrupts(struct hisi_qm * qm) qm_enable_eq_aeq_interrupts() argument 3145 qm_disable_eq_aeq_interrupts(struct hisi_qm * qm) qm_disable_eq_aeq_interrupts() argument 3151 qm_eq_ctx_cfg(struct hisi_qm * qm) qm_eq_ctx_cfg() argument 3164 qm_aeq_ctx_cfg(struct hisi_qm * qm) qm_aeq_ctx_cfg() argument 3175 qm_eq_aeq_ctx_cfg(struct hisi_qm * qm) qm_eq_aeq_ctx_cfg() argument 3191 __hisi_qm_start(struct hisi_qm * qm) __hisi_qm_start() argument 3227 hisi_qm_start(struct hisi_qm * qm) hisi_qm_start() argument 3255 qm_restart(struct hisi_qm * qm) qm_restart() argument 3286 qm_stop_started_qp(struct hisi_qm * qm) qm_stop_started_qp() argument 3307 qm_clear_queues(struct hisi_qm * qm) qm_clear_queues() argument 3330 hisi_qm_stop(struct hisi_qm * qm,enum qm_stop_reason r) hisi_qm_stop() argument 3384 qm_hw_error_init(struct hisi_qm * qm) qm_hw_error_init() argument 3394 qm_hw_error_uninit(struct hisi_qm * qm) qm_hw_error_uninit() argument 3404 qm_hw_error_handle(struct hisi_qm * qm) qm_hw_error_handle() argument 3420 hisi_qm_dev_err_init(struct hisi_qm * qm) hisi_qm_dev_err_init() argument 3441 hisi_qm_dev_err_uninit(struct hisi_qm * qm) hisi_qm_dev_err_uninit() argument 3487 struct hisi_qm *qm; hisi_qm_sort_devices() local 3573 qm_vf_q_assign(struct hisi_qm * qm,u32 num_vfs) qm_vf_q_assign() argument 3620 qm_clear_vft_config(struct hisi_qm * qm) qm_clear_vft_config() argument 3635 qm_func_shaper_enable(struct hisi_qm * qm,u32 fun_index,u32 qos) qm_func_shaper_enable() argument 3665 qm_get_shaper_vft_qos(struct hisi_qm * qm,u32 fun_index) qm_get_shaper_vft_qos() argument 3715 qm_vf_get_qos(struct hisi_qm * qm,u32 fun_num) qm_vf_get_qos() argument 3732 qm_vf_read_qos(struct hisi_qm * qm) qm_vf_read_qos() argument 3764 struct hisi_qm *qm = filp->private_data; qm_algqos_read() local 3801 qm_get_qos_value(struct hisi_qm * qm,const char * buf,unsigned long * val,unsigned int * fun_index) qm_get_qos_value() argument 3838 struct hisi_qm *qm = filp->private_data; qm_algqos_write() local 3902 hisi_qm_set_algqos_init(struct hisi_qm * qm) hisi_qm_set_algqos_init() argument 3912 hisi_qm_init_vf_qos(struct hisi_qm * qm,int total_func) hisi_qm_init_vf_qos() argument 3931 struct hisi_qm *qm = pci_get_drvdata(pdev); hisi_qm_sriov_enable() local 3990 struct hisi_qm *qm = pci_get_drvdata(pdev); hisi_qm_sriov_disable() local 4028 qm_dev_err_handle(struct hisi_qm * qm) qm_dev_err_handle() argument 4038 qm_process_dev_error(struct hisi_qm * qm) qm_process_dev_error() argument 4064 struct hisi_qm *qm = pci_get_drvdata(pdev); hisi_qm_dev_err_detected() local 4082 qm_check_req_recv(struct hisi_qm * qm) qm_check_req_recv() argument 4110 qm_set_pf_mse(struct hisi_qm * qm,bool set) qm_set_pf_mse() argument 4134 qm_set_vf_mse(struct hisi_qm * qm,bool set) qm_set_vf_mse() argument 4166 qm_dev_ecc_mbit_handle(struct hisi_qm * qm) qm_dev_ecc_mbit_handle() argument 4188 qm_vf_reset_prepare(struct hisi_qm * qm,enum qm_stop_reason stop_reason) qm_vf_reset_prepare() argument 4218 qm_try_stop_vfs(struct hisi_qm * qm,enum qm_ifc_cmd cmd,enum qm_stop_reason stop_reason) qm_try_stop_vfs() argument 4241 qm_controller_reset_prepare(struct hisi_qm * qm) qm_controller_reset_prepare() argument 4290 qm_master_ooo_check(struct hisi_qm * qm) qm_master_ooo_check() argument 4306 qm_soft_reset_prepare(struct hisi_qm * qm) qm_soft_reset_prepare() argument 4344 qm_reset_device(struct hisi_qm * qm) qm_reset_device() argument 4373 qm_soft_reset(struct hisi_qm * qm) qm_soft_reset() argument 4384 qm_vf_reset_done(struct hisi_qm * qm) qm_vf_reset_done() argument 4413 qm_try_start_vfs(struct hisi_qm * qm,enum qm_ifc_cmd cmd) qm_try_start_vfs() argument 4441 qm_dev_hw_init(struct hisi_qm * qm) qm_dev_hw_init() argument 4446 qm_restart_prepare(struct hisi_qm * qm) qm_restart_prepare() argument 4477 qm_restart_done(struct hisi_qm * qm) qm_restart_done() argument 4498 qm_controller_reset_done(struct hisi_qm * qm) qm_controller_reset_done() argument 4562 qm_controller_reset(struct hisi_qm * qm) qm_controller_reset() argument 4612 struct hisi_qm *qm = pci_get_drvdata(pdev); hisi_qm_dev_slot_reset() local 4632 struct hisi_qm *qm = pci_get_drvdata(pdev); hisi_qm_reset_prepare() local 4681 struct hisi_qm *qm = pci_get_drvdata(pf_pdev); qm_flr_reset_complete() local 4696 struct hisi_qm *qm = pci_get_drvdata(pdev); hisi_qm_reset_done() local 4736 struct hisi_qm *qm = data; qm_abnormal_irq() local 4757 struct hisi_qm *qm = pci_get_drvdata(pdev); hisi_qm_dev_shutdown() local 4770 struct hisi_qm *qm = container_of(rst_work, struct hisi_qm, rst_work); hisi_qm_controller_reset() local 4787 qm_pf_reset_vf_prepare(struct hisi_qm * qm,enum qm_stop_reason stop_reason) qm_pf_reset_vf_prepare() argument 4822 qm_pf_reset_vf_done(struct hisi_qm * qm) qm_pf_reset_vf_done() argument 4843 qm_wait_pf_reset_finish(struct hisi_qm * qm) qm_wait_pf_reset_finish() argument 4878 qm_pf_reset_vf_process(struct hisi_qm * qm,enum qm_stop_reason stop_reason) qm_pf_reset_vf_process() argument 4905 qm_handle_cmd_msg(struct hisi_qm * qm,u32 fun_num) qm_handle_cmd_msg() argument 4944 struct hisi_qm *qm = container_of(cmd_process, qm_cmd_process() local 4974 hisi_qm_alg_register(struct hisi_qm * qm,struct hisi_qm_list * qm_list,int guard) hisi_qm_alg_register() argument 5000 hisi_qm_alg_unregister(struct hisi_qm * qm,struct hisi_qm_list * qm_list,int guard) hisi_qm_alg_unregister() argument 5012 qm_unregister_abnormal_irq(struct hisi_qm * qm) qm_unregister_abnormal_irq() argument 5028 qm_register_abnormal_irq(struct hisi_qm * qm) qm_register_abnormal_irq() argument 5049 qm_unregister_mb_cmd_irq(struct hisi_qm * qm) qm_unregister_mb_cmd_irq() argument 5062 qm_register_mb_cmd_irq(struct hisi_qm * qm) qm_register_mb_cmd_irq() argument 5080 qm_unregister_aeq_irq(struct hisi_qm * qm) qm_unregister_aeq_irq() argument 5093 qm_register_aeq_irq(struct hisi_qm * qm) qm_register_aeq_irq() argument 5112 qm_unregister_eq_irq(struct hisi_qm * qm) qm_unregister_eq_irq() argument 5125 qm_register_eq_irq(struct hisi_qm * qm) qm_register_eq_irq() argument 5143 qm_irqs_unregister(struct hisi_qm * qm) qm_irqs_unregister() argument 5151 qm_irqs_register(struct hisi_qm * qm) qm_irqs_register() argument 5182 qm_get_qp_num(struct hisi_qm * qm) qm_get_qp_num() argument 5219 qm_pre_store_caps(struct hisi_qm * qm) qm_pre_store_caps() argument 5243 qm_get_hw_caps(struct hisi_qm * qm) qm_get_hw_caps() argument 5279 qm_get_version(struct hisi_qm * qm) qm_get_version() argument 5293 qm_get_pci_res(struct hisi_qm * qm) qm_get_pci_res() argument 5350 qm_clear_device(struct hisi_qm * qm) qm_clear_device() argument 5387 hisi_qm_pci_init(struct hisi_qm * qm) hisi_qm_pci_init() argument 5431 hisi_qm_init_work(struct hisi_qm * qm) hisi_qm_init_work() argument 5455 hisi_qp_alloc_memory(struct hisi_qm * qm) hisi_qp_alloc_memory() argument 5493 hisi_qm_alloc_rsv_buf(struct hisi_qm * qm) hisi_qm_alloc_rsv_buf() argument 5523 hisi_qm_memory_init(struct hisi_qm * qm) hisi_qm_memory_init() argument 5539 QM_INIT_BUF(qm,type,num) hisi_qm_memory_init() argument 5592 hisi_qm_init(struct hisi_qm * qm) hisi_qm_init() argument 5656 hisi_qm_get_dfx_access(struct hisi_qm * qm) hisi_qm_get_dfx_access() argument 5675 hisi_qm_put_dfx_access(struct hisi_qm * qm) hisi_qm_put_dfx_access() argument 5687 hisi_qm_pm_init(struct hisi_qm * qm) hisi_qm_pm_init() argument 5706 hisi_qm_pm_uninit(struct hisi_qm * qm) hisi_qm_pm_uninit() argument 5718 qm_prepare_for_suspend(struct hisi_qm * qm) qm_prepare_for_suspend() argument 5746 qm_rebuild_for_resume(struct hisi_qm * qm) qm_rebuild_for_resume() argument 5790 struct hisi_qm *qm = pci_get_drvdata(pdev); hisi_qm_suspend() local 5818 struct hisi_qm *qm = pci_get_drvdata(pdev); hisi_qm_resume() local [all...] |
H A D | debugfs.c | 153 static void dump_show(struct hisi_qm *qm, void *info, in dump_show() argument 168 static int qm_sqc_dump(struct hisi_qm *qm, char *s, char *name) in qm_sqc_dump() argument 205 qm_cqc_dump(struct hisi_qm * qm,char * s,char * name) qm_cqc_dump() argument 242 qm_eqc_aeqc_dump(struct hisi_qm * qm,char * s,char * name) qm_eqc_aeqc_dump() argument 280 q_dump_param_parse(struct hisi_qm * qm,char * s,u32 * e_id,u32 * q_id,u16 q_depth) q_dump_param_parse() argument 320 qm_sq_dump(struct hisi_qm * qm,char * s,char * name) qm_sq_dump() argument 348 qm_cq_dump(struct hisi_qm * qm,char * s,char * name) qm_cq_dump() argument 366 qm_eq_aeq_dump(struct hisi_qm * qm,char * s,char * name) qm_eq_aeq_dump() argument 413 qm_dbg_help(struct hisi_qm * qm,char * s) qm_dbg_help() argument 471 qm_cmd_write_dump(struct hisi_qm * qm,const char * cmd_buf) qm_cmd_write_dump() argument 516 struct hisi_qm *qm = filp->private_data; qm_cmd_write() local 582 struct hisi_qm *qm = pci_get_drvdata(pdev); hisi_qm_regs_dump() local 603 struct hisi_qm *qm = s->private; qm_regs_show() local 624 current_q_read(struct hisi_qm * qm) current_q_read() argument 629 current_q_write(struct hisi_qm * qm,u32 val) current_q_write() argument 647 clear_enable_read(struct hisi_qm * qm) clear_enable_read() argument 653 clear_enable_write(struct hisi_qm * qm,u32 rd_clr_ctrl) clear_enable_write() argument 663 current_qm_read(struct hisi_qm * qm) current_qm_read() argument 668 qm_get_vf_qp_num(struct hisi_qm * qm,u32 fun_num) qm_get_vf_qp_num() argument 688 current_qm_write(struct hisi_qm * qm,u32 val) current_qm_write() argument 720 struct hisi_qm *qm = file_to_qm(file); qm_debug_read() local 760 struct hisi_qm *qm = file_to_qm(file); qm_debug_write() local 815 dfx_regs_uninit(struct hisi_qm * qm,struct dfx_diff_registers * dregs,int reg_len) dfx_regs_uninit() argument 834 dfx_regs_init(struct hisi_qm * qm,const struct dfx_diff_registers * cregs,u32 reg_len) dfx_regs_init() argument 874 qm_diff_regs_init(struct hisi_qm * qm,struct dfx_diff_registers * dregs,u32 reg_len) qm_diff_regs_init() argument 897 qm_last_regs_uninit(struct hisi_qm * qm) qm_last_regs_uninit() argument 908 qm_last_regs_init(struct hisi_qm * qm) qm_last_regs_init() argument 929 qm_diff_regs_uninit(struct hisi_qm * qm,u32 reg_len) qm_diff_regs_uninit() argument 943 hisi_qm_regs_debugfs_init(struct hisi_qm * qm,struct dfx_diff_registers * dregs,u32 reg_len) hisi_qm_regs_debugfs_init() argument 975 hisi_qm_regs_debugfs_uninit(struct hisi_qm * qm,u32 reg_len) hisi_qm_regs_debugfs_uninit() argument 992 hisi_qm_acc_diff_regs_dump(struct hisi_qm * qm,struct seq_file * s,struct dfx_diff_registers * dregs,u32 regs_len) hisi_qm_acc_diff_regs_dump() argument 1024 hisi_qm_show_last_dfx_regs(struct hisi_qm * qm) hisi_qm_show_last_dfx_regs() argument 1044 struct hisi_qm *qm = s->private; qm_diff_regs_show() local 1055 struct hisi_qm *qm = s->private; qm_state_show() local 1080 struct hisi_qm *qm = filp->private_data; qm_status_read() local 1096 qm_create_debugfs_file(struct hisi_qm * qm,struct dentry * dir,enum qm_debug_file index) qm_create_debugfs_file() argument 1135 hisi_qm_debug_init(struct hisi_qm * qm) hisi_qm_debug_init() argument 1189 hisi_qm_debug_regs_clear(struct hisi_qm * qm) hisi_qm_debug_regs_clear() argument [all...] |
/linux/drivers/crypto/hisilicon/zip/ |
H A D | dae_main.c | 55 static inline bool dae_is_support(struct hisi_qm *qm) in dae_is_support() argument 63 int hisi_dae_set_user_domain(struct hisi_qm *qm) in hisi_dae_set_user_domain() argument 83 int hisi_dae_set_alg(struct hisi_qm *qm) in hisi_dae_set_alg() argument 108 hisi_dae_master_ooo_ctrl(struct hisi_qm * qm,bool enable) hisi_dae_master_ooo_ctrl() argument 125 hisi_dae_hw_error_enable(struct hisi_qm * qm) hisi_dae_hw_error_enable() argument 144 hisi_dae_hw_error_disable(struct hisi_qm * qm) hisi_dae_hw_error_disable() argument 153 hisi_dae_get_hw_err_status(struct hisi_qm * qm) hisi_dae_get_hw_err_status() argument 158 hisi_dae_clear_hw_err_status(struct hisi_qm * qm,u32 err_sts) hisi_dae_clear_hw_err_status() argument 166 hisi_dae_disable_error_report(struct hisi_qm * qm,u32 err_type) hisi_dae_disable_error_report() argument 171 hisi_dae_log_hw_error(struct hisi_qm * qm,u32 err_type) hisi_dae_log_hw_error() argument 193 hisi_dae_get_err_result(struct hisi_qm * qm) hisi_dae_get_err_result() argument 216 hisi_dae_dev_is_abnormal(struct hisi_qm * qm) hisi_dae_dev_is_abnormal() argument 230 hisi_dae_close_axi_master_ooo(struct hisi_qm * qm) hisi_dae_close_axi_master_ooo() argument 251 hisi_dae_open_axi_master_ooo(struct hisi_qm * qm) hisi_dae_open_axi_master_ooo() argument [all...] |
H A D | zip.h | 27 struct hisi_qm qm; member [all...] |
/linux/drivers/crypto/hisilicon/hpre/ |
H A D | hpre_main.c | 369 bool hpre_check_alg_support(struct hisi_qm *qm, u32 alg) in hpre_check_alg_support() argument 382 struct hisi_qm *qm = s->private; in hpre_diff_regs_show() local 469 static void hpre_config_pasid(struct hisi_qm *qm) in hpre_config_pasid() argument 489 hpre_cfg_by_dsm(struct hisi_qm * qm) hpre_cfg_by_dsm() argument 513 hpre_set_cluster(struct hisi_qm * qm) hpre_set_cluster() argument 555 disable_flr_of_bme(struct hisi_qm * qm) disable_flr_of_bme() argument 566 hpre_open_sva_prefetch(struct hisi_qm * qm) hpre_open_sva_prefetch() argument 587 hpre_close_sva_prefetch(struct hisi_qm * qm) hpre_close_sva_prefetch() argument 607 hpre_enable_clock_gate(struct hisi_qm * qm) hpre_enable_clock_gate() argument 640 hpre_disable_clock_gate(struct hisi_qm * qm) hpre_disable_clock_gate() argument 673 hpre_set_user_domain_and_cache(struct hisi_qm * qm) hpre_set_user_domain_and_cache() argument 730 hpre_cnt_regs_clear(struct hisi_qm * qm) hpre_cnt_regs_clear() argument 752 hpre_master_ooo_ctrl(struct hisi_qm * qm,bool enable) hpre_master_ooo_ctrl() argument 772 hpre_hw_error_disable(struct hisi_qm * qm) hpre_hw_error_disable() argument 785 hpre_hw_error_enable(struct hisi_qm * qm) hpre_hw_error_enable() argument 817 struct hisi_qm *qm = hpre_file_to_qm(file); hpre_clear_enable_read() local 825 struct hisi_qm *qm = hpre_file_to_qm(file); hpre_clear_enable_write() local 840 struct hisi_qm *qm = hpre_file_to_qm(file); hpre_cluster_inqry_read() local 850 struct hisi_qm *qm = hpre_file_to_qm(file); hpre_cluster_inqry_write() local 862 struct hisi_qm *qm = hpre_file_to_qm(file); hpre_ctrl_debug_read() local 898 struct hisi_qm *qm = hpre_file_to_qm(file); hpre_ctrl_debug_write() local 981 hpre_create_debugfs_file(struct hisi_qm * qm,struct dentry * dir,enum hpre_ctrl_dbgfs_file type,int indx) hpre_create_debugfs_file() argument 1006 hpre_pf_comm_regs_debugfs_init(struct hisi_qm * qm) hpre_pf_comm_regs_debugfs_init() argument 1026 hpre_cluster_debugfs_init(struct hisi_qm * qm) hpre_cluster_debugfs_init() argument 1065 hpre_ctrl_debug_init(struct hisi_qm * qm) hpre_ctrl_debug_init() argument 1083 struct hisi_qm *qm = s->private; hpre_cap_regs_show() local 1101 hpre_dfx_debug_init(struct hisi_qm * qm) hpre_dfx_debug_init() argument 1124 hpre_debugfs_init(struct hisi_qm * qm) hpre_debugfs_init() argument 1158 hpre_debugfs_exit(struct hisi_qm * qm) hpre_debugfs_exit() argument 1165 hpre_pre_store_cap_reg(struct hisi_qm * qm) hpre_pre_store_cap_reg() argument 1200 hpre_qm_init(struct hisi_qm * qm,struct pci_dev * pdev) hpre_qm_init() argument 1251 hpre_show_last_regs_init(struct hisi_qm * qm) hpre_show_last_regs_init() argument 1285 hpre_show_last_regs_uninit(struct hisi_qm * qm) hpre_show_last_regs_uninit() argument 1296 hpre_show_last_dfx_regs(struct hisi_qm * qm) hpre_show_last_dfx_regs() argument 1335 hpre_log_hw_error(struct hisi_qm * qm,u32 err_sts) hpre_log_hw_error() argument 1348 hpre_get_hw_err_status(struct hisi_qm * qm) hpre_get_hw_err_status() argument 1353 hpre_clear_hw_err_status(struct hisi_qm * qm,u32 err_sts) hpre_clear_hw_err_status() argument 1358 hpre_disable_error_report(struct hisi_qm * qm,u32 err_type) hpre_disable_error_report() argument 1366 hpre_open_axi_master_ooo(struct hisi_qm * qm) hpre_open_axi_master_ooo() argument 1377 hpre_get_err_result(struct hisi_qm * qm) hpre_get_err_result() argument 1398 hpre_dev_is_abnormal(struct hisi_qm * qm) hpre_dev_is_abnormal() argument 1409 hpre_err_info_init(struct hisi_qm * qm) hpre_err_info_init() argument 1446 struct hisi_qm *qm = &hpre->qm; hpre_pf_probe_init() local 1466 struct hisi_qm *qm = &hpre->qm; hpre_probe_init() local 1483 hpre_probe_uninit(struct hisi_qm * qm) hpre_probe_uninit() argument 1497 struct hisi_qm *qm; hpre_probe() local 1570 struct hisi_qm *qm = pci_get_drvdata(pdev); hpre_remove() local [all...] |
H A D | hpre_crypto.c | 2114 static int hpre_register_rsa(struct hisi_qm *qm) in hpre_register_rsa() argument 2129 static void hpre_unregister_rsa(struct hisi_qm *qm) in hpre_unregister_rsa() argument 2137 static int hpre_register_dh(struct hisi_qm *qm) in hpre_register_dh() argument 2151 hpre_unregister_dh(struct hisi_qm * qm) hpre_unregister_dh() argument 2159 hpre_register_ecdh(struct hisi_qm * qm) hpre_register_ecdh() argument 2184 hpre_unregister_ecdh(struct hisi_qm * qm) hpre_unregister_ecdh() argument 2195 hpre_register_x25519(struct hisi_qm * qm) hpre_register_x25519() argument 2209 hpre_unregister_x25519(struct hisi_qm * qm) hpre_unregister_x25519() argument 2217 hpre_algs_register(struct hisi_qm * qm) hpre_algs_register() argument 2259 hpre_algs_unregister(struct hisi_qm * qm) hpre_algs_unregister() argument [all...] |
H A D | hpre.h | 71 struct hisi_qm qm; member
|
/linux/drivers/vfio/pci/hisilicon/ |
H A D | hisi_acc_vfio_pci.c | 20 static int qm_wait_dev_not_ready(struct hisi_qm *qm) in qm_wait_dev_not_ready() argument 33 static u32 qm_check_reg_state(struct hisi_qm *qm, u32 regs) in qm_check_reg_state() argument 48 static int qm_read_regs(struct hisi_qm *qm, u32 reg_addr, in qm_read_regs() argument 64 static int qm_write_regs(struct hisi_qm *qm, u32 reg, in qm_write_regs() argument 78 static int qm_get_vft(struct hisi_qm *qm, u3 argument 98 qm_get_sqc(struct hisi_qm * qm,u64 * addr) qm_get_sqc() argument 113 qm_get_cqc(struct hisi_qm * qm,u64 * addr) qm_get_cqc() argument 128 qm_get_regs(struct hisi_qm * qm,struct acc_vf_data * vf_data) qm_get_regs() argument 187 qm_set_regs(struct hisi_qm * qm,struct acc_vf_data * vf_data) qm_set_regs() argument 259 qm_db(struct hisi_qm * qm,u16 qn,u8 cmd,u16 index,u8 priority) qm_db() argument 279 pf_qm_get_qp_num(struct hisi_qm * qm,int vf_id,u32 * rbase) pf_qm_get_qp_num() argument 317 qm_dev_cmd_init(struct hisi_qm * qm) qm_dev_cmd_init() argument 326 vf_qm_cache_wb(struct hisi_qm * qm) vf_qm_cache_wb() argument 343 vf_qm_fun_reset(struct hisi_qm * qm) vf_qm_fun_reset() argument 351 vf_qm_func_stop(struct hisi_qm * qm) vf_qm_func_stop() argument 469 vf_qm_xeqc_save(struct hisi_qm * qm,struct hisi_acc_vf_migration_file * migf) vf_qm_xeqc_save() argument 485 struct hisi_qm *qm = &hisi_acc_vdev->vf_qm; vf_qm_load_data() local 616 struct hisi_qm *qm = hisi_acc_vdev->pf_qm; hisi_acc_check_int_state() local [all...] |
/linux/drivers/crypto/caam/ |
H A D | qi.c | 142 static void caam_fq_ern_cb(struct qman_portal *qm, struct qman_fq *fq, in caam_fq_ern_cb() argument 539 static void cgr_cb(struct qman_portal *qm, struct qman_cgr *cgr, int congested) in cgr_cb() argument
|
/linux/include/linux/ |
H A D | hisi_acc_qm.h | 319 struct hisi_qm *qm; global() member 458 struct hisi_qm *qm; global() member 510 hisi_qm_add_list(struct hisi_qm * qm,struct hisi_qm_list * qm_list) hisi_qm_add_list() argument 517 hisi_qm_del_list(struct hisi_qm * qm,struct hisi_qm_list * qm_list) hisi_qm_del_list() argument [all...] |
/linux/drivers/crypto/hisilicon/sec2/ |
H A D | sec.h | 217 struct hisi_qm *qm; member 236 struct hisi_qm qm; member
|
H A D | sec_crypto.c | 2709 int sec_register_to_crypto(struct hisi_qm *qm) in sec_register_to_crypto() argument 2743 void sec_unregister_from_crypto(struct hisi_qm *qm) in sec_unregister_from_crypto() argument [all...] |
/linux/drivers/media/v4l2-core/ |
H A D | v4l2-ctrls-api.c | 1207 int v4l2_querymenu(struct v4l2_ctrl_handler *hdl, struct v4l2_querymenu *qm) in v4l2_querymenu() argument
|
/linux/drivers/media/usb/uvc/ |
H A D | uvc_v4l2.c | 910 struct v4l2_querymenu *qm) in uvc_ioctl_querymenu() argument
|
/linux/drivers/soc/fsl/qbman/ |
H A D | qman.c | 1375 static void qman_destroy_portal(struct qman_portal *qm) in qman_destroy_portal() argument 1408 struct qman_portal *qm = get_affine_portal(); qman_destroy_affine_portal() local [all...] |
/linux/fs/quota/ |
H A D | dquot.c | 197 int qm; in find_quota_format() local
|
/linux/drivers/net/ethernet/freescale/dpaa/ |
H A D | dpaa_eth.c | 831 static void dpaa_eth_cgscn(struct qman_portal *qm, struct qman_cgr *cgr, in dpaa_eth_cgscn() argument
|
/linux/net/core/ |
H A D | dev.c | 4233 int qm = skb_get_queue_mapping(skb); in netdev_tx_queue_mapping() local
|