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.c518 struct hinic_msix_config interrupt_info = {0}; in rx_request_irq() local
535 interrupt_info.msix_index = rq->msix_entry; in rx_request_irq()
536 interrupt_info.coalesce_timer_cnt = intr_coal->coalesce_timer_cfg; in rx_request_irq()
537 interrupt_info.pending_cnt = intr_coal->pending_limt; in rx_request_irq()
538 interrupt_info.resend_timer_cnt = intr_coal->resend_timer_cfg; in rx_request_irq()
540 err = hinic_set_interrupt_cfg(hwdev, &interrupt_info); in rx_request_irq()
Dhinic_tx.c797 struct hinic_msix_config interrupt_info = {0}; in tx_request_irq() local
816 interrupt_info.msix_index = sq->msix_entry; in tx_request_irq()
817 interrupt_info.coalesce_timer_cnt = intr_coal->coalesce_timer_cfg; in tx_request_irq()
818 interrupt_info.pending_cnt = intr_coal->pending_limt; in tx_request_irq()
819 interrupt_info.resend_timer_cnt = intr_coal->resend_timer_cfg; in tx_request_irq()
821 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.c686 struct hinic_msix_config interrupt_info = {0}; in set_queue_coalesce() local
706 interrupt_info.msix_index = msix_idx; in set_queue_coalesce()
707 interrupt_info.coalesce_timer_cnt = intr_coal->coalesce_timer_cfg; in set_queue_coalesce()
708 interrupt_info.pending_cnt = intr_coal->pending_limt; in set_queue_coalesce()
709 interrupt_info.resend_timer_cnt = intr_coal->resend_timer_cfg; in set_queue_coalesce()
711 err = hinic_set_interrupt_cfg(nic_dev->hwdev, &interrupt_info); in set_queue_coalesce()