Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/huawei/hinic/
H A Dhinic_hw_dev.c835 struct hinic_msix_config *interrupt_info) in hinic_get_interrupt_cfg() argument
837 u16 out_size = sizeof(*interrupt_info); in hinic_get_interrupt_cfg()
841 if (!hwdev || !interrupt_info) in hinic_get_interrupt_cfg()
850 interrupt_info, sizeof(*interrupt_info), in hinic_get_interrupt_cfg()
852 if (err || !out_size || interrupt_info->status) { in hinic_get_interrupt_cfg()
854 err, interrupt_info->status, out_size); in hinic_get_interrupt_cfg()
862 struct hinic_msix_config *interrupt_info) in hinic_set_interrupt_cfg() argument
864 u16 out_size = sizeof(*interrupt_info); in hinic_set_interrupt_cfg()
885 interrupt_info, sizeof(*interrupt_info), in hinic_set_interrupt_cfg()
887 if (err || !out_size || interrupt_info->status) { in hinic_set_interrupt_cfg()
[all …]
H A 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()
H A 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()
H A Dhinic_ethtool.c682 struct hinic_msix_config interrupt_info = {0}; in set_queue_coalesce() local
702 interrupt_info.msix_index = msix_idx; in set_queue_coalesce()
703 interrupt_info.coalesce_timer_cnt = intr_coal->coalesce_timer_cfg; in set_queue_coalesce()
704 interrupt_info.pending_cnt = intr_coal->pending_limt; in set_queue_coalesce()
705 interrupt_info.resend_timer_cnt = intr_coal->resend_timer_cfg; in set_queue_coalesce()
707 err = hinic_set_interrupt_cfg(nic_dev->hwdev, &interrupt_info); in set_queue_coalesce()
H A Dhinic_hw_dev.h655 struct hinic_msix_config *interrupt_info);