Home
last modified time | relevance | path

Searched refs:hinic_hwif (Results 1 - 25 of 48) sorted by relevance

12

/kernel/linux/linux-6.6/drivers/net/ethernet/huawei/hinic/
H A Dhinic_hw_if.c38 int hinic_msix_attr_set(struct hinic_hwif *hwif, u16 msix_index, in hinic_msix_attr_set()
67 int hinic_msix_attr_cnt_clear(struct hinic_hwif *hwif, u16 msix_index) in hinic_msix_attr_cnt_clear()
86 void hinic_set_pf_action(struct hinic_hwif *hwif, enum hinic_pf_action action) in hinic_set_pf_action()
100 enum hinic_outbound_state hinic_outbound_state_get(struct hinic_hwif *hwif) in hinic_outbound_state_get()
107 void hinic_outbound_state_set(struct hinic_hwif *hwif, in hinic_outbound_state_set()
118 enum hinic_db_state hinic_db_state_get(struct hinic_hwif *hwif) in hinic_db_state_get()
125 void hinic_db_state_set(struct hinic_hwif *hwif, in hinic_db_state_set()
136 void hinic_set_msix_state(struct hinic_hwif *hwif, u16 msix_idx, in hinic_set_msix_state()
158 static int hwif_ready(struct hinic_hwif *hwif) in hwif_ready()
176 static int wait_hwif_ready(struct hinic_hwif *hwi
[all...]
H A Dhinic_hw_if.h240 struct hinic_hwif { struct
248 static inline u32 hinic_hwif_read_reg(struct hinic_hwif *hwif, u32 reg) in hinic_hwif_read_reg()
255 static inline void hinic_hwif_write_reg(struct hinic_hwif *hwif, u32 reg, in hinic_hwif_write_reg()
263 int hinic_msix_attr_set(struct hinic_hwif *hwif, u16 msix_index,
268 void hinic_set_msix_state(struct hinic_hwif *hwif, u16 msix_idx,
271 int hinic_msix_attr_cnt_clear(struct hinic_hwif *hwif, u16 msix_index);
273 void hinic_set_pf_action(struct hinic_hwif *hwif, enum hinic_pf_action action);
275 enum hinic_outbound_state hinic_outbound_state_get(struct hinic_hwif *hwif);
277 void hinic_outbound_state_set(struct hinic_hwif *hwif,
280 enum hinic_db_state hinic_db_state_get(struct hinic_hwif *hwi
[all...]
H A Dhinic_hw_wq.h23 struct hinic_hwif *hwif;
51 struct hinic_hwif *hwif;
74 struct hinic_hwif *hwif;
78 struct hinic_wq *wq, struct hinic_hwif *hwif,
86 struct hinic_hwif *hwif);
H A Dhinic_hw_api_cmd.c92 struct hinic_hwif *hwif = chain->hwif; in set_prod_idx()
143 struct hinic_hwif *hwif = chain->hwif; in chain_busy()
228 struct hinic_hwif *hwif = chain->hwif; in prepare_api_cmd()
290 struct hinic_hwif *hwif = chain->hwif; in api_cmd_status_update()
348 struct hinic_hwif *hwif = chain->hwif; in wait_for_api_cmd_completion()
436 struct hinic_hwif *hwif = chain->hwif; in api_cmd_hw_restart()
471 struct hinic_hwif *hwif = chain->hwif; in api_cmd_ctrl_init()
501 struct hinic_hwif *hwif = chain->hwif; in api_cmd_set_status_addr()
519 struct hinic_hwif *hwif = chain->hwif; in api_cmd_set_num_cells()
533 struct hinic_hwif *hwi in api_cmd_head_init()
[all...]
H A Dhinic_port.c39 struct hinic_hwif *hwif = hwdev->hwif; in change_mac()
118 struct hinic_hwif *hwif = hwdev->hwif; in hinic_port_get_mac()
149 struct hinic_hwif *hwif = hwdev->hwif; in hinic_port_set_mtu()
240 struct hinic_hwif *hwif = hwdev->hwif; in hinic_port_link_state()
272 struct hinic_hwif *hwif = hwdev->hwif; in hinic_port_set_state()
306 struct hinic_hwif *hwif = hwdev->hwif; in hinic_port_set_func_state()
337 struct hinic_hwif *hwif = hwdev->hwif; in hinic_port_get_cap()
367 struct hinic_hwif *hwif = hwdev->hwif; in hinic_port_set_tso()
394 struct hinic_hwif *hwif; in hinic_set_rx_csum_offload()
423 struct hinic_hwif *hwi in hinic_set_rx_vlan_offload()
[all...]
H A Dhinic_hw_dev.c97 struct hinic_hwif *hwif = hwdev->hwif; in get_capability()
124 struct hinic_hwif *hwif = hwdev->hwif; in get_dev_cap()
156 struct hinic_hwif *hwif = hwdev->hwif; in init_msix()
191 struct hinic_hwif *hwif = hwdev->hwif; in disable_msix()
241 struct hinic_hwif *hwif = hwdev->hwif; in init_fw_ctxt()
273 struct hinic_hwif *hwif = hwdev->hwif; in set_hw_ioctxt()
302 struct hinic_hwif *hwif = hwdev->hwif; in wait_for_outbound_state()
322 struct hinic_hwif *hwif = hwdev->hwif; in wait_for_db_state()
350 struct hinic_hwif *hwif = hwdev->hwif; in clear_io_resources()
385 struct hinic_hwif *hwi in set_resources_state()
[all...]
H A Dhinic_hw_eqs.h174 struct hinic_hwif *hwif;
206 struct hinic_hwif *hwif;
223 struct hinic_hwif *hwif;
246 int hinic_aeqs_init(struct hinic_aeqs *aeqs, struct hinic_hwif *hwif,
252 int hinic_ceqs_init(struct hinic_ceqs *ceqs, struct hinic_hwif *hwif,
H A Dhinic_hw_wq.c103 static int queue_alloc_page(struct hinic_hwif *hwif, u64 **vaddr, u64 *paddr, in queue_alloc_page()
152 struct hinic_hwif *hwif = wqs->hwif; in wqs_free_page()
181 struct hinic_hwif *hwif = cmdq_pages->hwif; in cmdq_free_page()
192 struct hinic_hwif *hwif = wqs->hwif; in alloc_page_arrays()
223 struct hinic_hwif *hwif = wqs->hwif; in free_page_arrays()
305 struct hinic_hwif *hwif) in hinic_wqs_alloc()
358 struct hinic_hwif *hwif = wqs->hwif; in hinic_wqs_free()
378 struct hinic_hwif *hwif = wq->hwif; in alloc_wqes_shadow()
404 struct hinic_hwif *hwif = wq->hwif; in free_wqes_shadow()
417 static void free_wq_pages(struct hinic_wq *wq, struct hinic_hwif *hwi
[all...]
H A Dhinic_hw_qp.h80 struct hinic_hwif *hwif;
99 struct hinic_hwif *hwif;
138 int hinic_init_sq(struct hinic_sq *sq, struct hinic_hwif *hwif,
144 int hinic_init_rq(struct hinic_rq *rq, struct hinic_hwif *hwif,
H A Dhinic_hw_mgmt.c132 struct hinic_hwif *hwif = pf_to_mgmt->hwif; in prepare_header()
252 struct hinic_hwif *hwif = pf_to_mgmt->hwif; in msg_to_mgmt_sync()
355 struct hinic_hwif *hwif = pf_to_mgmt->hwif; in hinic_msg_to_mgmt()
490 struct hinic_hwif *hwif = pf_to_mgmt->hwif; in recv_mgmt_msg_handler()
552 struct hinic_hwif *hwif = pf_to_mgmt->hwif; in alloc_recv_msg()
576 struct hinic_hwif *hwif = pf_to_mgmt->hwif; in alloc_msg_buf()
617 struct hinic_hwif *hwif) in hinic_pf_to_mgmt_init()
H A Dhinic_hw_api_cmd.h126 struct hinic_hwif *hwif;
173 struct hinic_hwif *hwif;
199 struct hinic_hwif *hwif);
H A Dhinic_hw_io.h60 struct hinic_hwif *hwif;
118 struct hinic_hwif *hwif, u16 max_qps, int num_ceqs,
/kernel/linux/linux-5.10/drivers/net/ethernet/huawei/hinic/
H A Dhinic_hw_if.h244 struct hinic_hwif { struct
252 static inline u32 hinic_hwif_read_reg(struct hinic_hwif *hwif, u32 reg) in hinic_hwif_read_reg()
259 static inline void hinic_hwif_write_reg(struct hinic_hwif *hwif, u32 reg, in hinic_hwif_write_reg()
267 int hinic_msix_attr_set(struct hinic_hwif *hwif, u16 msix_index,
272 int hinic_msix_attr_get(struct hinic_hwif *hwif, u16 msix_index,
277 void hinic_set_msix_state(struct hinic_hwif *hwif, u16 msix_idx,
280 int hinic_msix_attr_cnt_clear(struct hinic_hwif *hwif, u16 msix_index);
282 void hinic_set_pf_action(struct hinic_hwif *hwif, enum hinic_pf_action action);
284 enum hinic_outbound_state hinic_outbound_state_get(struct hinic_hwif *hwif);
286 void hinic_outbound_state_set(struct hinic_hwif *hwi
[all...]
H A Dhinic_hw_if.c38 int hinic_msix_attr_set(struct hinic_hwif *hwif, u16 msix_index, in hinic_msix_attr_set()
72 int hinic_msix_attr_get(struct hinic_hwif *hwif, u16 msix_index, in hinic_msix_attr_get()
100 int hinic_msix_attr_cnt_clear(struct hinic_hwif *hwif, u16 msix_index) in hinic_msix_attr_cnt_clear()
121 void hinic_set_pf_action(struct hinic_hwif *hwif, enum hinic_pf_action action) in hinic_set_pf_action()
135 enum hinic_outbound_state hinic_outbound_state_get(struct hinic_hwif *hwif) in hinic_outbound_state_get()
142 void hinic_outbound_state_set(struct hinic_hwif *hwif, in hinic_outbound_state_set()
153 enum hinic_db_state hinic_db_state_get(struct hinic_hwif *hwif) in hinic_db_state_get()
160 void hinic_db_state_set(struct hinic_hwif *hwif, in hinic_db_state_set()
171 void hinic_set_msix_state(struct hinic_hwif *hwif, u16 msix_idx, in hinic_set_msix_state()
193 static int hwif_ready(struct hinic_hwif *hwi
[all...]
H A Dhinic_hw_wq.h23 struct hinic_hwif *hwif;
51 struct hinic_hwif *hwif;
74 struct hinic_hwif *hwif;
78 struct hinic_wq *wq, struct hinic_hwif *hwif,
86 struct hinic_hwif *hwif);
H A Dhinic_hw_api_cmd.c92 struct hinic_hwif *hwif = chain->hwif; in set_prod_idx()
143 struct hinic_hwif *hwif = chain->hwif; in chain_busy()
228 struct hinic_hwif *hwif = chain->hwif; in prepare_api_cmd()
290 struct hinic_hwif *hwif = chain->hwif; in api_cmd_status_update()
348 struct hinic_hwif *hwif = chain->hwif; in wait_for_api_cmd_completion()
436 struct hinic_hwif *hwif = chain->hwif; in api_cmd_hw_restart()
471 struct hinic_hwif *hwif = chain->hwif; in api_cmd_ctrl_init()
501 struct hinic_hwif *hwif = chain->hwif; in api_cmd_set_status_addr()
519 struct hinic_hwif *hwif = chain->hwif; in api_cmd_set_num_cells()
533 struct hinic_hwif *hwi in api_cmd_head_init()
[all...]
H A Dhinic_port.c42 struct hinic_hwif *hwif = hwdev->hwif; in change_mac()
121 struct hinic_hwif *hwif = hwdev->hwif; in hinic_port_get_mac()
153 struct hinic_hwif *hwif = hwdev->hwif; in hinic_port_set_mtu()
255 struct hinic_hwif *hwif = hwdev->hwif; in hinic_port_link_state()
287 struct hinic_hwif *hwif = hwdev->hwif; in hinic_port_set_state()
321 struct hinic_hwif *hwif = hwdev->hwif; in hinic_port_set_func_state()
352 struct hinic_hwif *hwif = hwdev->hwif; in hinic_port_get_cap()
382 struct hinic_hwif *hwif = hwdev->hwif; in hinic_port_set_tso()
409 struct hinic_hwif *hwif; in hinic_set_rx_csum_offload()
438 struct hinic_hwif *hwi in hinic_set_rx_vlan_offload()
[all...]
H A Dhinic_hw_eqs.h174 struct hinic_hwif *hwif;
206 struct hinic_hwif *hwif;
223 struct hinic_hwif *hwif;
246 int hinic_aeqs_init(struct hinic_aeqs *aeqs, struct hinic_hwif *hwif,
252 int hinic_ceqs_init(struct hinic_ceqs *ceqs, struct hinic_hwif *hwif,
H A Dhinic_hw_wq.c102 static int queue_alloc_page(struct hinic_hwif *hwif, u64 **vaddr, u64 *paddr, in queue_alloc_page()
151 struct hinic_hwif *hwif = wqs->hwif; in wqs_free_page()
182 struct hinic_hwif *hwif = cmdq_pages->hwif; in cmdq_free_page()
193 struct hinic_hwif *hwif = wqs->hwif; in alloc_page_arrays()
224 struct hinic_hwif *hwif = wqs->hwif; in free_page_arrays()
306 struct hinic_hwif *hwif) in hinic_wqs_alloc()
359 struct hinic_hwif *hwif = wqs->hwif; in hinic_wqs_free()
379 struct hinic_hwif *hwif = wq->hwif; in alloc_wqes_shadow()
405 struct hinic_hwif *hwif = wq->hwif; in free_wqes_shadow()
418 static void free_wq_pages(struct hinic_wq *wq, struct hinic_hwif *hwi
[all...]
H A Dhinic_hw_dev.c103 struct hinic_hwif *hwif = hwdev->hwif; in get_capability()
130 struct hinic_hwif *hwif = hwdev->hwif; in get_dev_cap()
162 struct hinic_hwif *hwif = hwdev->hwif; in init_msix()
197 struct hinic_hwif *hwif = hwdev->hwif; in disable_msix()
247 struct hinic_hwif *hwif = hwdev->hwif; in init_fw_ctxt()
279 struct hinic_hwif *hwif = hwdev->hwif; in set_hw_ioctxt()
308 struct hinic_hwif *hwif = hwdev->hwif; in wait_for_outbound_state()
328 struct hinic_hwif *hwif = hwdev->hwif; in wait_for_db_state()
356 struct hinic_hwif *hwif = hwdev->hwif; in clear_io_resources()
391 struct hinic_hwif *hwi in set_resources_state()
[all...]
H A Dhinic_hw_qp.h80 struct hinic_hwif *hwif;
99 struct hinic_hwif *hwif;
138 int hinic_init_sq(struct hinic_sq *sq, struct hinic_hwif *hwif,
144 int hinic_init_rq(struct hinic_rq *rq, struct hinic_hwif *hwif,
H A Dhinic_hw_mgmt.c132 struct hinic_hwif *hwif = pf_to_mgmt->hwif; in prepare_header()
252 struct hinic_hwif *hwif = pf_to_mgmt->hwif; in msg_to_mgmt_sync()
355 struct hinic_hwif *hwif = pf_to_mgmt->hwif; in hinic_msg_to_mgmt()
494 struct hinic_hwif *hwif = pf_to_mgmt->hwif; in recv_mgmt_msg_handler()
556 struct hinic_hwif *hwif = pf_to_mgmt->hwif; in alloc_recv_msg()
580 struct hinic_hwif *hwif = pf_to_mgmt->hwif; in alloc_msg_buf()
621 struct hinic_hwif *hwif) in hinic_pf_to_mgmt_init()
H A Dhinic_hw_api_cmd.h126 struct hinic_hwif *hwif;
173 struct hinic_hwif *hwif;
199 struct hinic_hwif *hwif);
H A Dhinic_hw_io.h60 struct hinic_hwif *hwif;
118 struct hinic_hwif *hwif, u16 max_qps, int num_ceqs,
H A Dhinic_hw_io.c108 struct hinic_hwif *hwif = func_to_io->hwif; in write_sq_ctxts()
152 struct hinic_hwif *hwif = func_to_io->hwif; in write_rq_ctxts()
211 struct hinic_hwif *hwif = func_to_io->hwif; in hinic_clean_queue_offload_ctxt()
276 struct hinic_hwif *hwif = func_to_io->hwif; in init_qp()
376 struct hinic_hwif *hwif = func_to_io->hwif; in hinic_io_create_qps()
471 struct hinic_hwif *hwif = func_to_io->hwif; in hinic_io_destroy_qps()
530 struct hinic_hwif *hwif, u16 max_qps, int num_ceqs, in hinic_io_init()

Completed in 18 milliseconds

12