Home
last modified time | relevance | path

Searched refs:reg_idx (Results 1 – 13 of 13) sorted by relevance

/drivers/sh/intc/
Dhandle.c41 unsigned int *reg_idx, in _intc_mask_data() argument
48 while (mr && enum_id && *reg_idx < desc->hw.nr_mask_regs) { in _intc_mask_data()
49 mr = desc->hw.mask_regs + *reg_idx; in _intc_mask_data()
82 (*reg_idx)++; in _intc_mask_data()
109 unsigned int *reg_idx, in _intc_prio_data() argument
116 while (pr && enum_id && *reg_idx < desc->hw.nr_prio_regs) { in _intc_prio_data()
117 pr = desc->hw.prio_regs + *reg_idx; in _intc_prio_data()
151 (*reg_idx)++; in _intc_prio_data()
/drivers/net/ethernet/intel/ixgbe/
Dixgbe_lib.c46 adapter->rx_ring[i]->reg_idx = i; in ixgbe_cache_ring_rss()
48 adapter->tx_ring[i]->reg_idx = i; in ixgbe_cache_ring_rss()
130 adapter->tx_ring[k]->reg_idx = tx_s + j; in ixgbe_cache_ring_dcb()
131 adapter->rx_ring[k]->reg_idx = rx_s + j; in ixgbe_cache_ring_dcb()
156 adapter->rx_ring[i]->reg_idx = i; in ixgbe_cache_ring_fdir()
158 adapter->tx_ring[i]->reg_idx = i; in ixgbe_cache_ring_fdir()
192 adapter->rx_ring[f->mask + i]->reg_idx = fcoe_rx_i; in ixgbe_cache_ring_fcoe()
193 adapter->tx_ring[f->mask + i]->reg_idx = fcoe_tx_i; in ixgbe_cache_ring_fcoe()
209 adapter->rx_ring[0]->reg_idx = adapter->num_vfs * 2; in ixgbe_cache_ring_sriov()
210 adapter->tx_ring[0]->reg_idx = adapter->num_vfs * 2; in ixgbe_cache_ring_sriov()
[all …]
Dixgbe_main.c676 u32 head = IXGBE_READ_REG(hw, IXGBE_TDH(ring->reg_idx)); in ixgbe_get_tx_pending()
677 u32 tail = IXGBE_READ_REG(hw, IXGBE_TDT(ring->reg_idx)); in ixgbe_get_tx_pending()
850 IXGBE_READ_REG(hw, IXGBE_TDH(tx_ring->reg_idx)), in ixgbe_clean_tx_irq()
851 IXGBE_READ_REG(hw, IXGBE_TDT(tx_ring->reg_idx)), in ixgbe_clean_tx_irq()
901 reg_offset = IXGBE_DCA_TXCTRL(tx_ring->reg_idx); in ixgbe_update_tx_dca()
905 reg_offset = IXGBE_DCA_TXCTRL_82599(tx_ring->reg_idx); in ixgbe_update_tx_dca()
931 u8 reg_idx = rx_ring->reg_idx; in ixgbe_update_rx_dca() local
952 IXGBE_WRITE_REG(hw, IXGBE_DCA_RXCTRL(reg_idx), rxctrl); in ixgbe_update_rx_dca()
1828 ixgbe_set_ivar(adapter, 0, ring->reg_idx, v_idx); in ixgbe_configure_msix()
1831 ixgbe_set_ivar(adapter, 1, ring->reg_idx, v_idx); in ixgbe_configure_msix()
[all …]
Dixgbe_fcoe.c679 fcoe_q = adapter->rx_ring[fcoe_i]->reg_idx; in ixgbe_configure_fcoe()
687 fcoe_q = adapter->rx_ring[fcoe_i]->reg_idx; in ixgbe_configure_fcoe()
695 fcoe_q = adapter->rx_ring[fcoe_i]->reg_idx; in ixgbe_configure_fcoe()
Dixgbe_ethtool.c1560 reg_ctl = IXGBE_READ_REG(hw, IXGBE_TXDCTL(tx_ring->reg_idx)); in ixgbe_free_desc_rings()
1562 IXGBE_WRITE_REG(hw, IXGBE_TXDCTL(tx_ring->reg_idx), reg_ctl); in ixgbe_free_desc_rings()
1594 tx_ring->reg_idx = adapter->tx_ring[0]->reg_idx; in ixgbe_setup_desc_rings()
1618 rx_ring->reg_idx = adapter->rx_ring[0]->reg_idx; in ixgbe_setup_desc_rings()
2602 adapter->rx_ring[input->action]->reg_idx); in ixgbe_add_ethtool_fdir_entry()
Dixgbe.h225 u8 reg_idx; /* holds the special value that gets member
/drivers/hwmon/
Dw83791d.c787 u8 reg_idx = 0; in store_pwmenable() local
800 reg_idx = 0; in store_pwmenable()
805 reg_idx = 0; in store_pwmenable()
810 reg_idx = 1; in store_pwmenable()
816 reg_cfg_tmp = w83791d_read(client, W83791D_REG_FAN_CFG[reg_idx]); in store_pwmenable()
820 w83791d_write(client, W83791D_REG_FAN_CFG[reg_idx], reg_cfg_tmp); in store_pwmenable()
894 u8 reg_idx = 0; in store_temp_tolerance() local
903 reg_idx = 0; in store_temp_tolerance()
908 reg_idx = 0; in store_temp_tolerance()
913 reg_idx = 1; in store_temp_tolerance()
[all …]
/drivers/net/ethernet/intel/igb/
Digb_main.c666 adapter->rx_ring[i]->reg_idx = rbase_offset + in igb_cache_ring_register()
674 adapter->rx_ring[i]->reg_idx = rbase_offset + i; in igb_cache_ring_register()
676 adapter->tx_ring[j]->reg_idx = rbase_offset + j; in igb_cache_ring_register()
815 rx_queue = q_vector->rx.ring->reg_idx; in igb_assign_vector()
817 tx_queue = q_vector->tx.ring->reg_idx; in igb_assign_vector()
2764 int reg_idx = ring->reg_idx; in igb_configure_tx_ring() local
2767 wr32(E1000_TXDCTL(reg_idx), 0); in igb_configure_tx_ring()
2771 wr32(E1000_TDLEN(reg_idx), in igb_configure_tx_ring()
2773 wr32(E1000_TDBAL(reg_idx), in igb_configure_tx_ring()
2775 wr32(E1000_TDBAH(reg_idx), tdba >> 32); in igb_configure_tx_ring()
[all …]
Digb.h224 u8 reg_idx; /* physical index of the ring */ member
Digb_ethtool.c1353 tx_ring->reg_idx = adapter->vfs_allocated_count; in igb_setup_desc_rings()
1367 rx_ring->reg_idx = adapter->vfs_allocated_count; in igb_setup_desc_rings()
/drivers/net/ethernet/intel/ixgbevf/
Dixgbevf_main.c115 IXGBE_WRITE_REG(hw, IXGBE_VFRDT(rx_ring->reg_idx), val); in ixgbevf_release_rx_desc()
724 j = adapter->rx_ring[r_idx].reg_idx; in ixgbevf_configure_msix()
734 j = adapter->tx_ring[r_idx].reg_idx; in ixgbevf_configure_msix()
1291 j = ring->reg_idx; in ixgbevf_configure_tx()
1401 j = adapter->rx_ring[i].reg_idx; in ixgbevf_configure_rx()
1555 int j = adapter->rx_ring[rxr].reg_idx; in ixgbevf_rx_desc_queue_enable()
1620 j = adapter->tx_ring[i].reg_idx; in ixgbevf_up_complete()
1628 j = adapter->tx_ring[i].reg_idx; in ixgbevf_up_complete()
1635 j = adapter->rx_ring[i].reg_idx; in ixgbevf_up_complete()
1840 j = adapter->tx_ring[i].reg_idx; in ixgbevf_down()
[all …]
Dixgbevf.h82 u16 reg_idx; /* holds the special value that gets the hardware register member
/drivers/media/radio/wl128x/
Dfmdrv_common.c639 u8 reg_idx = fmdev->rx.region.fm_band; in fm_rx_update_af_cache() local
653 if (reg_idx == FM_BAND_EUROPE_US && af > FM_RDS_MAX_AF) in fm_rx_update_af_cache()
655 if (reg_idx == FM_BAND_JAPAN && af > FM_RDS_MAX_AF_JAPAN) in fm_rx_update_af_cache()