Home
last modified time | relevance | path

Searched refs:interrupt_info (Results 1 – 5 of 5) sorted by relevance

/linux-5.19.10/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_dev.c841 struct hinic_msix_config *interrupt_info) in hinic_get_interrupt_cfg() argument
843 u16 out_size = sizeof(*interrupt_info); in hinic_get_interrupt_cfg()
847 if (!hwdev || !interrupt_info) in hinic_get_interrupt_cfg()
852 interrupt_info->func_id = HINIC_HWIF_FUNC_IDX(hwdev->hwif); in hinic_get_interrupt_cfg()
856 interrupt_info, sizeof(*interrupt_info), in hinic_get_interrupt_cfg()
857 interrupt_info, &out_size, HINIC_MGMT_MSG_SYNC); in hinic_get_interrupt_cfg()
858 if (err || !out_size || interrupt_info->status) { in hinic_get_interrupt_cfg()
860 err, interrupt_info->status, out_size); in hinic_get_interrupt_cfg()
868 struct hinic_msix_config *interrupt_info) in hinic_set_interrupt_cfg() argument
870 u16 out_size = sizeof(*interrupt_info); in hinic_set_interrupt_cfg()
[all …]
Dhinic_rx.c516 struct hinic_msix_config interrupt_info = {0}; in rx_request_irq() local
533 interrupt_info.msix_index = rq->msix_entry; in rx_request_irq()
534 interrupt_info.coalesce_timer_cnt = intr_coal->coalesce_timer_cfg; in rx_request_irq()
535 interrupt_info.pending_cnt = intr_coal->pending_limt; in rx_request_irq()
536 interrupt_info.resend_timer_cnt = intr_coal->resend_timer_cfg; in rx_request_irq()
538 err = hinic_set_interrupt_cfg(hwdev, &interrupt_info); in rx_request_irq()
Dhinic_tx.c799 struct hinic_msix_config interrupt_info = {0}; in tx_request_irq() local
819 interrupt_info.msix_index = sq->msix_entry; in tx_request_irq()
820 interrupt_info.coalesce_timer_cnt = intr_coal->coalesce_timer_cfg; in tx_request_irq()
821 interrupt_info.pending_cnt = intr_coal->pending_limt; in tx_request_irq()
822 interrupt_info.resend_timer_cnt = intr_coal->resend_timer_cfg; in tx_request_irq()
824 err = hinic_set_interrupt_cfg(hwdev, &interrupt_info); in tx_request_irq()
Dhinic_hw_dev.h591 struct hinic_msix_config *interrupt_info);
594 struct hinic_msix_config *interrupt_info);
Dhinic_ethtool.c683 struct hinic_msix_config interrupt_info = {0}; in set_queue_coalesce() local
703 interrupt_info.msix_index = msix_idx; in set_queue_coalesce()
704 interrupt_info.coalesce_timer_cnt = intr_coal->coalesce_timer_cfg; in set_queue_coalesce()
705 interrupt_info.pending_cnt = intr_coal->pending_limt; in set_queue_coalesce()
706 interrupt_info.resend_timer_cnt = intr_coal->resend_timer_cfg; in set_queue_coalesce()
708 err = hinic_set_interrupt_cfg(nic_dev->hwdev, &interrupt_info); in set_queue_coalesce()