Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/crypto/cavium/nitrox/
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);
10 void nitrox_config_pkt_input_rings(struct nitrox_device *ndev);
11 void nitrox_config_pkt_solicit_ports(struct nitrox_device *ndev);
12 void nitrox_config_nps_core_unit(struct nitrox_device *ndev);
13 void nitrox_config_nps_pkt_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);
[all …]
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,
Dnitrox_hal.c14 static void emu_enable_cores(struct nitrox_device *ndev) in emu_enable_cores()
39 void nitrox_config_emu_unit(struct nitrox_device *ndev) in nitrox_config_emu_unit()
64 static void reset_pkt_input_ring(struct nitrox_device *ndev, int ring) in reset_pkt_input_ring()
93 void enable_pkt_input_ring(struct nitrox_device *ndev, int ring) in enable_pkt_input_ring()
119 void nitrox_config_pkt_input_rings(struct nitrox_device *ndev) in nitrox_config_pkt_input_rings()
160 static void reset_pkt_solicit_port(struct nitrox_device *ndev, int port) in reset_pkt_solicit_port()
190 void enable_pkt_solicit_port(struct nitrox_device *ndev, int port) in enable_pkt_solicit_port()
217 static void config_pkt_solicit_port(struct nitrox_device *ndev, int port) in config_pkt_solicit_port()
235 void nitrox_config_pkt_solicit_ports(struct nitrox_device *ndev) in nitrox_config_pkt_solicit_ports()
249 static void enable_nps_core_interrupts(struct nitrox_device *ndev) in enable_nps_core_interrupts()
[all …]
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 …]
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);
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()
Dnitrox_debugfs.c10 struct nitrox_device *ndev = s->private; in firmware_show()
21 struct nitrox_device *ndev = s->private; in device_show()
38 struct nitrox_device *ndev = s->private; in stats_show()
53 void nitrox_debugfs_exit(struct nitrox_device *ndev) in nitrox_debugfs_exit()
59 void nitrox_debugfs_init(struct nitrox_device *ndev) in nitrox_debugfs_init()
Dnitrox_mbx.c33 struct nitrox_device *ndev;
37 static inline u64 pf2vf_read_mbox(struct nitrox_device *ndev, int ring) in pf2vf_read_mbox()
45 static inline void pf2vf_write_mbox(struct nitrox_device *ndev, u64 value, in pf2vf_write_mbox()
54 static void pf2vf_send_response(struct nitrox_device *ndev, in pf2vf_send_response()
105 struct nitrox_device *ndev = pf2vf_resp->ndev; in pf2vf_resp_handler()
120 void nitrox_pf2vf_mbox_handler(struct nitrox_device *ndev) in nitrox_pf2vf_mbox_handler()
174 int nitrox_mbox_init(struct nitrox_device *ndev) in nitrox_mbox_init()
201 void nitrox_mbox_cleanup(struct nitrox_device *ndev) in nitrox_mbox_cleanup()
Dnitrox_main.c80 static void write_to_ucd_unit(struct nitrox_device *ndev, u32 ucode_size, in write_to_ucd_unit()
119 static int nitrox_load_fw(struct nitrox_device *ndev) in nitrox_load_fw()
244 static int nitrox_add_to_devlist(struct nitrox_device *ndev) in nitrox_add_to_devlist()
246 struct nitrox_device *dev; in nitrox_add_to_devlist()
271 static void nitrox_remove_from_devlist(struct nitrox_device *ndev) in nitrox_remove_from_devlist()
279 struct nitrox_device *nitrox_get_first_device(void) in nitrox_get_first_device()
281 struct nitrox_device *ndev; in nitrox_get_first_device()
298 void nitrox_put_device(struct nitrox_device *ndev) in nitrox_put_device()
327 static int nitrox_pf_sw_init(struct nitrox_device *ndev) in nitrox_pf_sw_init()
342 static void nitrox_pf_sw_cleanup(struct nitrox_device *ndev) in nitrox_pf_sw_cleanup()
[all …]
Dnitrox_isr.c41 static void clear_nps_core_err_intr(struct nitrox_device *ndev) in clear_nps_core_err_intr()
52 static void clear_nps_pkt_err_intr(struct nitrox_device *ndev) in clear_nps_pkt_err_intr()
110 static void clear_pom_err_intr(struct nitrox_device *ndev) in clear_pom_err_intr()
119 static void clear_pem_err_intr(struct nitrox_device *ndev) in clear_pem_err_intr()
128 static void clear_lbc_err_intr(struct nitrox_device *ndev) in clear_lbc_err_intr()
173 static void clear_efl_err_intr(struct nitrox_device *ndev) in clear_efl_err_intr()
194 static void clear_bmi_err_intr(struct nitrox_device *ndev) in clear_bmi_err_intr()
206 struct nitrox_device *ndev = qvec->ndev; in nps_core_int_tasklet()
225 struct nitrox_device *ndev = qvec->ndev; in nps_core_int_isr()
262 void nitrox_unregister_interrupts(struct nitrox_device *ndev) in nitrox_unregister_interrupts()
[all …]
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()
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()
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);
Dnitrox_reqmgr.c56 struct nitrox_device *ndev = sr->ndev; in softreq_unmap_sgbufs()
108 struct nitrox_device *ndev = sr->ndev; in create_sg_component()
287 struct nitrox_device *ndev = sr->ndev; in post_se_instr()
317 struct nitrox_device *ndev = cmdq->ndev; in post_backlog_cmds()
349 struct nitrox_device *ndev = sr->ndev; in nitrox_enqueue_request()
376 int nitrox_process_se_request(struct nitrox_device *ndev, in nitrox_process_se_request()
535 struct nitrox_device *ndev = cmdq->ndev; in process_response_list()
Dnitrox_req.h202 struct nitrox_device *ndev;
516 struct nitrox_device *ndev;