Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/crypto/cavium/nitrox/
Dnitrox_common.h10 void *crypto_alloc_context(struct nitrox_device *ndev);
12 struct nitrox_device *nitrox_get_first_device(void);
13 void nitrox_put_device(struct nitrox_device *ndev);
15 void nitrox_pf_cleanup_isr(struct nitrox_device *ndev);
16 int nitrox_pf_init_isr(struct nitrox_device *ndev);
18 int nitrox_common_sw_init(struct nitrox_device *ndev);
19 void nitrox_common_sw_cleanup(struct nitrox_device *ndev);
22 int nitrox_process_se_request(struct nitrox_device *ndev,
28 void nitrox_config_emu_unit(struct nitrox_device *ndev);
29 void nitrox_config_pkt_input_rings(struct nitrox_device *ndev);
[all …]
Dnitrox_main.c64 static void write_to_ucd_unit(struct nitrox_device *ndev, in write_to_ucd_unit()
117 static int nitrox_load_fw(struct nitrox_device *ndev, const char *fw_name) in nitrox_load_fw()
149 static int nitrox_add_to_devlist(struct nitrox_device *ndev) in nitrox_add_to_devlist()
151 struct nitrox_device *dev; in nitrox_add_to_devlist()
176 static void nitrox_remove_from_devlist(struct nitrox_device *ndev) in nitrox_remove_from_devlist()
184 struct nitrox_device *nitrox_get_first_device(void) in nitrox_get_first_device()
186 struct nitrox_device *ndev = NULL; in nitrox_get_first_device()
203 void nitrox_put_device(struct nitrox_device *ndev) in nitrox_put_device()
237 static int nitrox_pf_sw_init(struct nitrox_device *ndev) in nitrox_pf_sw_init()
252 static void nitrox_pf_sw_cleanup(struct nitrox_device *ndev) in nitrox_pf_sw_cleanup()
[all …]
Dnitrox_hal.c11 static void emu_enable_cores(struct nitrox_device *ndev) in emu_enable_cores()
36 void nitrox_config_emu_unit(struct nitrox_device *ndev) in nitrox_config_emu_unit()
61 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()
115 void nitrox_config_pkt_input_rings(struct nitrox_device *ndev) in nitrox_config_pkt_input_rings()
146 static void reset_pkt_solicit_port(struct nitrox_device *ndev, int port) in reset_pkt_solicit_port()
171 void enable_pkt_solicit_port(struct nitrox_device *ndev, int port) in enable_pkt_solicit_port()
195 static void config_single_pkt_solicit_port(struct nitrox_device *ndev, in config_single_pkt_solicit_port()
212 void nitrox_config_pkt_solicit_ports(struct nitrox_device *ndev) in nitrox_config_pkt_solicit_ports()
226 static void enable_nps_interrupts(struct nitrox_device *ndev) in enable_nps_interrupts()
[all …]
Dnitrox_lib.c25 struct nitrox_device *ndev = cmdq->ndev; in cmdq_common_init()
56 struct nitrox_device *ndev = cmdq->ndev; in cmdq_common_cleanup()
73 static void nitrox_cleanup_pkt_cmdqs(struct nitrox_device *ndev) in nitrox_cleanup_pkt_cmdqs()
86 static int nitrox_init_pkt_cmdqs(struct nitrox_device *ndev) in nitrox_init_pkt_cmdqs()
119 static int create_crypto_dma_pool(struct nitrox_device *ndev) in create_crypto_dma_pool()
133 static void destroy_crypto_dma_pool(struct nitrox_device *ndev) in destroy_crypto_dma_pool()
146 void *crypto_alloc_context(struct nitrox_device *ndev) in crypto_alloc_context()
188 int nitrox_common_sw_init(struct nitrox_device *ndev) in nitrox_common_sw_init()
208 void nitrox_common_sw_cleanup(struct nitrox_device *ndev) in nitrox_common_sw_cleanup()
Dnitrox_isr.c31 static void clear_nps_core_err_intr(struct nitrox_device *ndev) in clear_nps_core_err_intr()
42 static void clear_nps_pkt_err_intr(struct nitrox_device *ndev) in clear_nps_pkt_err_intr()
100 static void clear_pom_err_intr(struct nitrox_device *ndev) in clear_pom_err_intr()
109 static void clear_pem_err_intr(struct nitrox_device *ndev) in clear_pem_err_intr()
118 static void clear_lbc_err_intr(struct nitrox_device *ndev) in clear_lbc_err_intr()
163 static void clear_efl_err_intr(struct nitrox_device *ndev) in clear_efl_err_intr()
184 static void clear_bmi_err_intr(struct nitrox_device *ndev) in clear_bmi_err_intr()
197 static void clear_nps_core_int_active(struct nitrox_device *ndev) in clear_nps_core_int_active()
231 struct nitrox_device *ndev = data; in nps_core_int_isr()
238 static int nitrox_enable_msix(struct nitrox_device *ndev) in nitrox_enable_msix()
[all …]
Dnitrox_dev.h29 struct nitrox_device *ndev;
125 struct nitrox_device { struct
159 static inline u64 nitrox_read_csr(struct nitrox_device *ndev, u64 offset) in nitrox_read_csr() argument
170 static inline void nitrox_write_csr(struct nitrox_device *ndev, u64 offset, in nitrox_write_csr()
176 static inline int nitrox_ready(struct nitrox_device *ndev) in nitrox_ready()
Dnitrox_reqmgr.c62 struct nitrox_device *ndev = sr->ndev; in softreq_unmap_sgbufs()
141 struct nitrox_device *ndev = sr->ndev; in create_sg_component()
438 struct nitrox_device *ndev = sr->ndev; in post_se_instr()
467 struct nitrox_device *ndev = cmdq->ndev; in post_backlog_cmds()
505 struct nitrox_device *ndev = sr->ndev; in nitrox_enqueue_request()
529 int nitrox_process_se_request(struct nitrox_device *ndev, in nitrox_process_se_request()
670 struct nitrox_device *ndev = cmdq->ndev; in process_response_list()
Dnitrox_req.h185 struct nitrox_device *ndev;
432 struct nitrox_device *ndev;