Home
last modified time | relevance | path

Searched defs:hwif (Results 1 – 25 of 28) sorted by relevance

12

/linux/drivers/net/ethernet/huawei/hinic/
A Dhinic_hw_if.c142 void hinic_outbound_state_set(struct hinic_hwif *hwif, in hinic_outbound_state_set()
160 void hinic_db_state_set(struct hinic_hwif *hwif, in hinic_db_state_set()
193 static int hwif_ready(struct hinic_hwif *hwif) in hwif_ready()
211 static int wait_hwif_ready(struct hinic_hwif *hwif) in wait_hwif_ready()
255 static void read_hwif_attr(struct hinic_hwif *hwif) in read_hwif_attr()
275 static void set_ppf(struct hinic_hwif *hwif) in set_ppf()
340 static void dma_attr_init(struct hinic_hwif *hwif) in dma_attr_init()
347 u16 hinic_glb_pf_vf_offset(struct hinic_hwif *hwif) in hinic_glb_pf_vf_offset()
355 u16 hinic_global_func_id_hw(struct hinic_hwif *hwif) in hinic_global_func_id_hw()
365 u16 hinic_pf_id_of_vf_hw(struct hinic_hwif *hwif) in hinic_pf_id_of_vf_hw()
[all …]
A Dhinic_hw_api_cmd.c92 struct hinic_hwif *hwif = chain->hwif; in set_prod_idx() local
143 struct hinic_hwif *hwif = chain->hwif; in chain_busy() local
228 struct hinic_hwif *hwif = chain->hwif; in prepare_api_cmd() local
290 struct hinic_hwif *hwif = chain->hwif; in api_cmd_status_update() local
348 struct hinic_hwif *hwif = chain->hwif; in wait_for_api_cmd_completion() local
436 struct hinic_hwif *hwif = chain->hwif; in api_cmd_hw_restart() local
471 struct hinic_hwif *hwif = chain->hwif; in api_cmd_ctrl_init() local
501 struct hinic_hwif *hwif = chain->hwif; in api_cmd_set_status_addr() local
815 struct hinic_hwif *hwif = attr->hwif; in api_chain_init() local
868 struct hinic_hwif *hwif = attr->hwif; in api_cmd_create_chain() local
[all …]
A Dhinic_port.c42 struct hinic_hwif *hwif = hwdev->hwif; in change_mac() local
121 struct hinic_hwif *hwif = hwdev->hwif; in hinic_port_get_mac() local
153 struct hinic_hwif *hwif = hwdev->hwif; in hinic_port_set_mtu() local
409 struct hinic_hwif *hwif; in hinic_set_rx_csum_offload() local
438 struct hinic_hwif *hwif; in hinic_set_rx_vlan_offload() local
589 struct hinic_hwif *hwif; in hinic_rss_set_indir_tbl() local
690 struct hinic_hwif *hwif; in hinic_set_rss_type() local
749 struct hinic_hwif *hwif; in hinic_get_rss_type() local
817 struct hinic_hwif *hwif; in hinic_rss_get_template_tbl() local
876 struct hinic_hwif *hwif; in hinic_rss_get_hash_engine() local
[all …]
A Dhinic_hw_if.h146 #define HINIC_HWIF_NUM_AEQS(hwif) ((hwif)->attr.num_aeqs) argument
147 #define HINIC_HWIF_NUM_CEQS(hwif) ((hwif)->attr.num_ceqs) argument
148 #define HINIC_HWIF_NUM_IRQS(hwif) ((hwif)->attr.num_irqs) argument
149 #define HINIC_HWIF_FUNC_IDX(hwif) ((hwif)->attr.func_idx) argument
150 #define HINIC_HWIF_PCI_INTF(hwif) ((hwif)->attr.pci_intf_idx) argument
151 #define HINIC_HWIF_PF_IDX(hwif) ((hwif)->attr.pf_idx) argument
152 #define HINIC_HWIF_PPF_IDX(hwif) ((hwif)->attr.ppf_idx) argument
154 #define HINIC_FUNC_TYPE(hwif) ((hwif)->attr.func_type) argument
155 #define HINIC_IS_VF(hwif) (HINIC_FUNC_TYPE(hwif) == HINIC_VF) argument
252 static inline u32 hinic_hwif_read_reg(struct hinic_hwif *hwif, u32 reg) in hinic_hwif_read_reg()
[all …]
A Dhinic_hw_dev.c103 struct hinic_hwif *hwif = hwdev->hwif; in get_capability() local
130 struct hinic_hwif *hwif = hwdev->hwif; in get_dev_cap() local
162 struct hinic_hwif *hwif = hwdev->hwif; in init_msix() local
198 struct hinic_hwif *hwif = hwdev->hwif; in disable_msix() local
248 struct hinic_hwif *hwif = hwdev->hwif; in init_fw_ctxt() local
280 struct hinic_hwif *hwif = hwdev->hwif; in set_hw_ioctxt() local
309 struct hinic_hwif *hwif = hwdev->hwif; in wait_for_outbound_state() local
329 struct hinic_hwif *hwif = hwdev->hwif; in wait_for_db_state() local
357 struct hinic_hwif *hwif = hwdev->hwif; in clear_io_resources() local
600 struct hinic_hwif *hwif; in nic_mgmt_msg_handler() local
[all …]
A Dhinic_hw_wq.c152 struct hinic_hwif *hwif = wqs->hwif; in wqs_free_page() local
183 struct hinic_hwif *hwif = cmdq_pages->hwif; in cmdq_free_page() local
194 struct hinic_hwif *hwif = wqs->hwif; in alloc_page_arrays() local
225 struct hinic_hwif *hwif = wqs->hwif; in free_page_arrays() local
307 struct hinic_hwif *hwif) in hinic_wqs_alloc()
360 struct hinic_hwif *hwif = wqs->hwif; in hinic_wqs_free() local
380 struct hinic_hwif *hwif = wq->hwif; in alloc_wqes_shadow() local
407 struct hinic_hwif *hwif = wq->hwif; in free_wqes_shadow() local
420 static void free_wq_pages(struct hinic_wq *wq, struct hinic_hwif *hwif, in free_wq_pages()
510 struct hinic_hwif *hwif = wqs->hwif; in hinic_wq_allocate() local
[all …]
A Dhinic_hw_io.c108 struct hinic_hwif *hwif = func_to_io->hwif; in write_sq_ctxts() local
152 struct hinic_hwif *hwif = func_to_io->hwif; in write_rq_ctxts() local
211 struct hinic_hwif *hwif = func_to_io->hwif; in hinic_clean_queue_offload_ctxt() local
276 struct hinic_hwif *hwif = func_to_io->hwif; in init_qp() local
376 struct hinic_hwif *hwif = func_to_io->hwif; in hinic_io_create_qps() local
471 struct hinic_hwif *hwif = func_to_io->hwif; in hinic_io_destroy_qps() local
530 struct hinic_hwif *hwif, u16 max_qps, int num_ceqs, in hinic_io_init()
A Dhinic_hw_mgmt.c132 struct hinic_hwif *hwif = pf_to_mgmt->hwif; in prepare_header() local
252 struct hinic_hwif *hwif = pf_to_mgmt->hwif; in msg_to_mgmt_sync() local
355 struct hinic_hwif *hwif = pf_to_mgmt->hwif; in hinic_msg_to_mgmt() local
490 struct hinic_hwif *hwif = pf_to_mgmt->hwif; in recv_mgmt_msg_handler() local
552 struct hinic_hwif *hwif = pf_to_mgmt->hwif; in alloc_recv_msg() local
576 struct hinic_hwif *hwif = pf_to_mgmt->hwif; in alloc_msg_buf() local
617 struct hinic_hwif *hwif) in hinic_pf_to_mgmt_init()
A Dhinic_hw_wq.h23 struct hinic_hwif *hwif; member
51 struct hinic_hwif *hwif; member
74 struct hinic_hwif *hwif; member
A Dhinic_hw_eqs.c221 struct hinic_hwif *hwif = aeqs->hwif; in aeq_irq_handler() local
284 struct hinic_hwif *hwif = ceqs->hwif; in ceq_event_handler() local
631 struct hinic_hwif *hwif = eq->hwif; in alloc_eq_pages() local
698 struct hinic_hwif *hwif = eq->hwif; in free_eq_pages() local
723 static int init_eq(struct hinic_eq *eq, struct hinic_hwif *hwif, in init_eq()
861 int hinic_aeqs_init(struct hinic_aeqs *aeqs, struct hinic_hwif *hwif, in hinic_aeqs_init()
919 int hinic_ceqs_init(struct hinic_ceqs *ceqs, struct hinic_hwif *hwif, in hinic_ceqs_init()
A Dhinic_hw_cmdq.c134 struct hinic_hwif *hwif = cmdqs->hwif; in hinic_alloc_cmdq_buf() local
490 struct hinic_hwif *hwif = cmdqs->hwif; in hinic_cmdq_direct_resp() local
516 struct hinic_hwif *hwif = cmdqs->hwif; in hinic_set_arm_bit() local
682 struct hinic_hwif *hwif = cmdqs->hwif; in cmdq_ceq_handler() local
794 struct hinic_hwif *hwif = hwdev->hwif; in init_cmdqs_ctxt() local
881 int hinic_init_cmdqs(struct hinic_cmdqs *cmdqs, struct hinic_hwif *hwif, in hinic_init_cmdqs()
954 struct hinic_hwif *hwif = cmdqs->hwif; in hinic_free_cmdqs() local
A Dhinic_hw_qp.c281 int hinic_init_sq(struct hinic_sq *sq, struct hinic_hwif *hwif, in hinic_init_sq()
318 struct hinic_hwif *hwif = rq->hwif; in alloc_rq_cqe() local
362 struct hinic_hwif *hwif = rq->hwif; in free_rq_cqe() local
384 int hinic_init_rq(struct hinic_rq *rq, struct hinic_hwif *hwif, in hinic_init_rq()
437 struct hinic_hwif *hwif = rq->hwif; in hinic_clean_rq() local
A Dhinic_hw_qp.h80 struct hinic_hwif *hwif; member
99 struct hinic_hwif *hwif; member
A Dhinic_hw_eqs.h174 struct hinic_hwif *hwif; member
206 struct hinic_hwif *hwif; member
223 struct hinic_hwif *hwif; member
A Dhinic_tx.c137 struct hinic_hwif *hwif = hwdev->hwif; in tx_map_skb() local
188 struct hinic_hwif *hwif = hwdev->hwif; in tx_unmap_skb() local
803 struct hinic_hwif *hwif = hwdev->hwif; in tx_request_irq() local
A Dhinic_rx.c134 struct hinic_hwif *hwif = hwdev->hwif; in rx_alloc_skb() local
169 struct hinic_hwif *hwif = hwdev->hwif; in rx_unmap_skb() local
A Dhinic_hw_api_cmd.h126 struct hinic_hwif *hwif; member
173 struct hinic_hwif *hwif; member
A Dhinic_hw_io.h60 struct hinic_hwif *hwif; member
A Dhinic_hw_cmdq.h159 struct hinic_hwif *hwif; member
A Dhinic_hw_mbox.h90 struct hinic_hwif *hwif; member
A Dhinic_hw_mgmt.h130 struct hinic_hwif *hwif; member
A Dhinic_main.c381 struct hinic_hwif *hwif = hwdev->hwif; in hinic_enable_rss() local
A Dhinic_ethtool.c536 struct hinic_hwif *hwif = hwdev->hwif; in hinic_get_drvinfo() local
/linux/drivers/scsi/bfa/
A Dbfa_ioc_ct.c503 bfa_ioc_set_ctx_hwif(struct bfa_ioc_s *ioc, struct bfa_ioc_hwif_s *hwif) in bfa_ioc_set_ctx_hwif()
A Dbfa.h244 struct bfa_hwif_s hwif; member

Completed in 57 milliseconds

12