Home
last modified time | relevance | path

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

/linux-6.12.1/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_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()
65 static void reset_pkt_input_ring(struct nitrox_device *ndev, int ring) in reset_pkt_input_ring()
94 void enable_pkt_input_ring(struct nitrox_device *ndev, int ring) in enable_pkt_input_ring()
120 void nitrox_config_pkt_input_rings(struct nitrox_device *ndev) in nitrox_config_pkt_input_rings()
161 static void reset_pkt_solicit_port(struct nitrox_device *ndev, int port) in reset_pkt_solicit_port()
191 void enable_pkt_solicit_port(struct nitrox_device *ndev, int port) in enable_pkt_solicit_port()
218 static void config_pkt_solicit_port(struct nitrox_device *ndev, int port) in config_pkt_solicit_port()
236 void nitrox_config_pkt_solicit_ports(struct nitrox_device *ndev) in nitrox_config_pkt_solicit_ports()
250 static void enable_nps_core_interrupts(struct nitrox_device *ndev) in enable_nps_core_interrupts()
[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_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_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_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_main.c70 static void write_to_ucd_unit(struct nitrox_device *ndev, u32 ucode_size, in write_to_ucd_unit()
109 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()
261 static void nitrox_remove_from_devlist(struct nitrox_device *ndev) in nitrox_remove_from_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()
332 static void nitrox_pf_sw_cleanup(struct nitrox_device *ndev) in nitrox_pf_sw_cleanup()
[all …]
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()
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()
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_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_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 …]
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.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()
Dnitrox_req.h203 struct nitrox_device *ndev;
520 struct nitrox_device *ndev;