Home
last modified time | relevance | path

Searched refs:nitrox_device (Results 1 – 15 of 15) sorted by relevance

/openbmc/linux/drivers/crypto/cavium/nitrox/
H A Dnitrox_hal.h7 void nitrox_config_aqm_rings(struct nitrox_device *ndev);
8 void nitrox_config_aqm_unit(struct nitrox_device *ndev);
9 void nitrox_config_emu_unit(struct nitrox_device *ndev);
14 void nitrox_config_pom_unit(struct nitrox_device *ndev);
15 void nitrox_config_rand_unit(struct nitrox_device *ndev);
16 void nitrox_config_efl_unit(struct nitrox_device *ndev);
17 void nitrox_config_bmi_unit(struct nitrox_device *ndev);
18 void nitrox_config_bmo_unit(struct nitrox_device *ndev);
19 void nitrox_config_lbc_unit(struct nitrox_device *ndev);
20 void invalidate_lbc(struct nitrox_device *ndev);
[all …]
H A Dnitrox_common.h14 void *crypto_alloc_context(struct nitrox_device *ndev);
16 struct nitrox_device *nitrox_get_first_device(void);
17 void nitrox_put_device(struct nitrox_device *ndev);
19 int nitrox_common_sw_init(struct nitrox_device *ndev);
20 void nitrox_common_sw_cleanup(struct nitrox_device *ndev);
23 int nitrox_process_se_request(struct nitrox_device *ndev,
H A Dnitrox_hal.c15 static void emu_enable_cores(struct nitrox_device *ndev) in emu_enable_cores()
40 void nitrox_config_emu_unit(struct nitrox_device *ndev) in nitrox_config_emu_unit()
352 void nitrox_config_aqm_rings(struct nitrox_device *ndev) in nitrox_config_aqm_rings()
412 void nitrox_config_aqm_unit(struct nitrox_device *ndev) in nitrox_config_aqm_unit()
421 void nitrox_config_pom_unit(struct nitrox_device *ndev) in nitrox_config_pom_unit()
452 void nitrox_config_efl_unit(struct nitrox_device *ndev) in nitrox_config_efl_unit()
475 void nitrox_config_bmi_unit(struct nitrox_device *ndev) in nitrox_config_bmi_unit()
498 void nitrox_config_bmo_unit(struct nitrox_device *ndev) in nitrox_config_bmo_unit()
510 void invalidate_lbc(struct nitrox_device *ndev) in invalidate_lbc()
532 void nitrox_config_lbc_unit(struct nitrox_device *ndev) in nitrox_config_lbc_unit()
[all …]
H A Dnitrox_debugfs.h8 void nitrox_debugfs_init(struct nitrox_device *ndev);
9 void nitrox_debugfs_exit(struct nitrox_device *ndev);
11 static inline void nitrox_debugfs_init(struct nitrox_device *ndev) in nitrox_debugfs_init()
15 static inline void nitrox_debugfs_exit(struct nitrox_device *ndev) in nitrox_debugfs_exit()
H A Dnitrox_isr.h7 int nitrox_register_interrupts(struct nitrox_device *ndev);
8 void nitrox_unregister_interrupts(struct nitrox_device *ndev);
9 int nitrox_sriov_register_interupts(struct nitrox_device *ndev);
10 void nitrox_sriov_unregister_interrupts(struct nitrox_device *ndev);
H A Dnitrox_lib.c27 struct nitrox_device *ndev = cmdq->ndev; in nitrox_cmdq_init()
62 struct nitrox_device *ndev; in nitrox_cmdq_cleanup()
87 static void nitrox_free_aqm_queues(struct nitrox_device *ndev) in nitrox_free_aqm_queues()
98 static int nitrox_alloc_aqm_queues(struct nitrox_device *ndev) in nitrox_alloc_aqm_queues()
138 static void nitrox_free_pktin_queues(struct nitrox_device *ndev) in nitrox_free_pktin_queues()
151 static int nitrox_alloc_pktin_queues(struct nitrox_device *ndev) in nitrox_alloc_pktin_queues()
188 static int create_crypto_dma_pool(struct nitrox_device *ndev) in create_crypto_dma_pool()
202 static void destroy_crypto_dma_pool(struct nitrox_device *ndev) in destroy_crypto_dma_pool()
215 void *crypto_alloc_context(struct nitrox_device *ndev) in crypto_alloc_context()
269 int nitrox_common_sw_init(struct nitrox_device *ndev) in nitrox_common_sw_init()
[all …]
H A Dnitrox_debugfs.c11 struct nitrox_device *ndev = s->private; in firmware_show()
22 struct nitrox_device *ndev = s->private; in device_show()
39 struct nitrox_device *ndev = s->private; in stats_show()
54 void nitrox_debugfs_exit(struct nitrox_device *ndev) in nitrox_debugfs_exit()
60 void nitrox_debugfs_init(struct nitrox_device *ndev) in nitrox_debugfs_init()
H A Dnitrox_main.c109 static int nitrox_load_fw(struct nitrox_device *ndev) in nitrox_load_fw()
234 static int nitrox_add_to_devlist(struct nitrox_device *ndev) in nitrox_add_to_devlist()
236 struct nitrox_device *dev; in nitrox_add_to_devlist()
269 struct nitrox_device *nitrox_get_first_device(void) in nitrox_get_first_device()
271 struct nitrox_device *ndev = NULL, *iter; in nitrox_get_first_device()
290 void nitrox_put_device(struct nitrox_device *ndev) in nitrox_put_device()
317 static int nitrox_pf_sw_init(struct nitrox_device *ndev) in nitrox_pf_sw_init()
342 static int nitrox_bist_check(struct nitrox_device *ndev) in nitrox_bist_check()
367 static int nitrox_pf_hw_init(struct nitrox_device *ndev) in nitrox_pf_hw_init()
412 struct nitrox_device *ndev; in nitrox_probe()
[all …]
H A Dnitrox_mbx.h5 int nitrox_mbox_init(struct nitrox_device *ndev);
6 void nitrox_mbox_cleanup(struct nitrox_device *ndev);
7 void nitrox_pf2vf_mbox_handler(struct nitrox_device *ndev);
H A Dnitrox_dev.h44 struct nitrox_device *ndev;
108 struct nitrox_device *ndev;
236 struct nitrox_device { struct
275 static inline u64 nitrox_read_csr(struct nitrox_device *ndev, u64 offset) in nitrox_read_csr() argument
286 static inline void nitrox_write_csr(struct nitrox_device *ndev, u64 offset, in nitrox_write_csr()
292 static inline bool nitrox_ready(struct nitrox_device *ndev) in nitrox_ready()
H A Dnitrox_sriov.c81 static void nitrox_pf_cleanup(struct nitrox_device *ndev) in nitrox_pf_cleanup()
97 static int nitrox_pf_reinit(struct nitrox_device *ndev) in nitrox_pf_reinit()
126 static void nitrox_sriov_cleanup(struct nitrox_device *ndev) in nitrox_sriov_cleanup()
133 static int nitrox_sriov_init(struct nitrox_device *ndev) in nitrox_sriov_init()
155 struct nitrox_device *ndev = pci_get_drvdata(pdev); in nitrox_sriov_enable()
203 struct nitrox_device *ndev = pci_get_drvdata(pdev); in nitrox_sriov_disable()
H A Dnitrox_mbx.c35 struct nitrox_device *ndev;
39 static inline u64 pf2vf_read_mbox(struct nitrox_device *ndev, int ring) in pf2vf_read_mbox()
47 static inline void pf2vf_write_mbox(struct nitrox_device *ndev, u64 value, in pf2vf_write_mbox()
56 static void pf2vf_send_response(struct nitrox_device *ndev, in pf2vf_send_response()
107 struct nitrox_device *ndev = pf2vf_resp->ndev; in pf2vf_resp_handler()
122 void nitrox_pf2vf_mbox_handler(struct nitrox_device *ndev) in nitrox_pf2vf_mbox_handler()
179 int nitrox_mbox_init(struct nitrox_device *ndev) in nitrox_mbox_init()
207 void nitrox_mbox_cleanup(struct nitrox_device *ndev) in nitrox_mbox_cleanup()
H A Dnitrox_isr.c42 static void clear_nps_core_err_intr(struct nitrox_device *ndev) in clear_nps_core_err_intr()
53 static void clear_nps_pkt_err_intr(struct nitrox_device *ndev) in clear_nps_pkt_err_intr()
111 static void clear_pom_err_intr(struct nitrox_device *ndev) in clear_pom_err_intr()
120 static void clear_pem_err_intr(struct nitrox_device *ndev) in clear_pem_err_intr()
129 static void clear_lbc_err_intr(struct nitrox_device *ndev) in clear_lbc_err_intr()
174 static void clear_efl_err_intr(struct nitrox_device *ndev) in clear_efl_err_intr()
195 static void clear_bmi_err_intr(struct nitrox_device *ndev) in clear_bmi_err_intr()
207 struct nitrox_device *ndev = qvec->ndev; in nps_core_int_tasklet()
226 struct nitrox_device *ndev = qvec->ndev; in nps_core_int_isr()
263 void nitrox_unregister_interrupts(struct nitrox_device *ndev) in nitrox_unregister_interrupts()
[all …]
H A Dnitrox_reqmgr.c57 struct nitrox_device *ndev = sr->ndev; in softreq_unmap_sgbufs()
110 struct nitrox_device *ndev = sr->ndev; in create_sg_component()
290 struct nitrox_device *ndev = sr->ndev; in post_se_instr()
320 struct nitrox_device *ndev = cmdq->ndev; in post_backlog_cmds()
352 struct nitrox_device *ndev = sr->ndev; in nitrox_enqueue_request()
381 int nitrox_process_se_request(struct nitrox_device *ndev, in nitrox_process_se_request()
539 struct nitrox_device *ndev = cmdq->ndev; in process_response_list()
H A Dnitrox_req.h203 struct nitrox_device *ndev;
520 struct nitrox_device *ndev;