Home
last modified time | relevance | path

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

/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_dev.c850 struct hinic_msix_config *interrupt_info) in hinic_get_interrupt_cfg() argument
852 u16 out_size = sizeof(*interrupt_info); in hinic_get_interrupt_cfg()
856 if (!hwdev || !interrupt_info) in hinic_get_interrupt_cfg()
861 interrupt_info->func_id = HINIC_HWIF_FUNC_IDX(hwdev->hwif); in hinic_get_interrupt_cfg()
865 interrupt_info, sizeof(*interrupt_info), in hinic_get_interrupt_cfg()
866 interrupt_info, &out_size, HINIC_MGMT_MSG_SYNC); in hinic_get_interrupt_cfg()
867 if (err || !out_size || interrupt_info->status) { in hinic_get_interrupt_cfg()
869 err, interrupt_info->status, out_size); in hinic_get_interrupt_cfg()
877 struct hinic_msix_config *interrupt_info) in hinic_set_interrupt_cfg() argument
879 u16 out_size = sizeof(*interrupt_info); in hinic_set_interrupt_cfg()
[all …]
Dhinic_rx.c515 struct hinic_msix_config interrupt_info = {0}; in rx_request_irq() local
532 interrupt_info.msix_index = rq->msix_entry; in rx_request_irq()
533 interrupt_info.coalesce_timer_cnt = intr_coal->coalesce_timer_cfg; in rx_request_irq()
534 interrupt_info.pending_cnt = intr_coal->pending_limt; in rx_request_irq()
535 interrupt_info.resend_timer_cnt = intr_coal->resend_timer_cfg; in rx_request_irq()
537 err = hinic_set_interrupt_cfg(hwdev, &interrupt_info); in rx_request_irq()
Dhinic_tx.c798 struct hinic_msix_config interrupt_info = {0}; in tx_request_irq() local
817 interrupt_info.msix_index = sq->msix_entry; in tx_request_irq()
818 interrupt_info.coalesce_timer_cnt = intr_coal->coalesce_timer_cfg; in tx_request_irq()
819 interrupt_info.pending_cnt = intr_coal->pending_limt; in tx_request_irq()
820 interrupt_info.resend_timer_cnt = intr_coal->resend_timer_cfg; in tx_request_irq()
822 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.c681 struct hinic_msix_config interrupt_info = {0}; in set_queue_coalesce() local
701 interrupt_info.msix_index = msix_idx; in set_queue_coalesce()
702 interrupt_info.coalesce_timer_cnt = intr_coal->coalesce_timer_cfg; in set_queue_coalesce()
703 interrupt_info.pending_cnt = intr_coal->pending_limt; in set_queue_coalesce()
704 interrupt_info.resend_timer_cnt = intr_coal->resend_timer_cfg; in set_queue_coalesce()
706 err = hinic_set_interrupt_cfg(nic_dev->hwdev, &interrupt_info); in set_queue_coalesce()