Home
last modified time | relevance | path

Searched refs:indices (Results 1 – 16 of 16) sorted by relevance

/drivers/net/ethernet/intel/ixgbe/
Dixgbe_lib.c65 if (fcoe->indices) { in ixgbe_cache_ring_dcb_sriov()
69 reg_idx = (vmdq->offset + vmdq->indices) * queues_per_pool; in ixgbe_cache_ring_dcb_sriov()
77 reg_idx = (vmdq->offset + vmdq->indices) * queues_per_pool; in ixgbe_cache_ring_dcb_sriov()
158 rss_i = adapter->ring_feature[RING_F_RSS].indices; in ixgbe_cache_ring_dcb()
207 if ((reg_idx & ~vmdq->mask) >= rss->indices) { in ixgbe_cache_ring_sriov()
231 if ((reg_idx & rss->mask) >= rss->indices) in ixgbe_cache_ring_sriov()
365 adapter->ring_feature[RING_F_VMDQ].indices = vmdq_i; in ixgbe_set_dcb_sriov_queues()
372 adapter->ring_feature[RING_F_RSS].indices = 1; in ixgbe_set_dcb_sriov_queues()
396 fcoe->indices = fcoe_i; in ixgbe_set_dcb_sriov_queues()
404 fcoe->indices = 1; in ixgbe_set_dcb_sriov_queues()
[all …]
Dixgbe_fcoe.c671 fcoe->indices); in ixgbe_configure_fcoe()
677 fcoe_i = fcoe->offset + (i % fcoe->indices); in ixgbe_configure_fcoe()
Dixgbe_main.c3865 u16 rss_i = adapter->ring_feature[RING_F_RSS].indices; in ixgbe_setup_reta()
3893 u16 rss_i = adapter->ring_feature[RING_F_RSS].indices; in ixgbe_setup_vfreta()
4152 int rss_i = adapter->ring_feature[RING_F_RSS].indices; in ixgbe_setup_psrtype()
5078 u16 rss_i = adapter->ring_feature[RING_F_RSS].indices - 1; in ixgbe_configure_dcb()
5345 u16 rss_i = adapter->ring_feature[RING_F_RSS].indices; in ixgbe_fwd_ring_up()
8541 while (txq >= f->indices) in ixgbe_select_queue()
8542 txq -= f->indices; in ixgbe_select_queue()
10617 unsigned int indices = MAX_TX_QUEUES; in ixgbe_probe() local
10665 indices = 4 * MAX_TRAFFIC_CLASS; in ixgbe_probe()
10667 indices = IXGBE_MAX_RSS_INDICES; in ixgbe_probe()
[all …]
Dixgbe.h387 u16 indices; /* current value of indices */ member
Dixgbe_ethtool.c3073 rss_m = adapter->ring_feature[RING_F_RSS].indices - 1; in ixgbe_get_reta()
3230 ch->combined_count = adapter->ring_feature[RING_F_RSS].indices; in ixgbe_get_channels()
3249 ch->combined_count = adapter->ring_feature[RING_F_FDIR].indices; in ixgbe_get_channels()
/drivers/net/dsa/
Dvitesse-vsc73xx-core.c931 u8 indices[6]; in vsc73xx_get_strings() local
944 indices[0] = (val & 0x1f); /* RX counter 0 */ in vsc73xx_get_strings()
945 indices[1] = ((val >> 5) & 0x1f); /* RX counter 1 */ in vsc73xx_get_strings()
946 indices[2] = ((val >> 10) & 0x1f); /* RX counter 2 */ in vsc73xx_get_strings()
947 indices[3] = ((val >> 16) & 0x1f); /* TX counter 0 */ in vsc73xx_get_strings()
948 indices[4] = ((val >> 21) & 0x1f); /* TX counter 1 */ in vsc73xx_get_strings()
949 indices[5] = ((val >> 26) & 0x1f); /* TX counter 2 */ in vsc73xx_get_strings()
964 cnt = vsc73xx_find_counter(vsc, indices[i], false); in vsc73xx_get_strings()
977 cnt = vsc73xx_find_counter(vsc, indices[i], true); in vsc73xx_get_strings()
/drivers/gpu/drm/msm/hdmi/
Dhdmi_i2c.c99 int indices[MAX_TRANSACTIONS]; in msm_hdmi_i2c_xfer() local
134 indices[i] = index; in msm_hdmi_i2c_xfer()
191 HDMI_DDC_DATA_INDEX(indices[i]) | in msm_hdmi_i2c_xfer()
/drivers/gpu/drm/mga/
Dmga_state.c911 drm_mga_indices_t *indices = data; in mga_dma_indices() local
915 if (indices->idx < 0 || indices->idx > dma->buf_count) in mga_dma_indices()
918 buf = dma->buflist[indices->idx]; in mga_dma_indices()
921 buf_priv->discard = indices->discard; in mga_dma_indices()
924 if (indices->discard) { in mga_dma_indices()
935 mga_dma_dispatch_indices(dev, buf, indices->start, indices->end); in mga_dma_indices()
/drivers/video/fbdev/core/
Dtileblit.c69 blit.indices = (u32 *) fb_get_buffer_offset(info, &info->pixmap, size); in tile_putcs()
71 blit.indices[i] = (u32)(scr_readw(s++) & charmask); in tile_putcs()
Dsvgalib.c290 fb_writeb(blit->indices[i], fb2); in svga_tileblit()
/drivers/net/ethernet/microchip/sparx5/
Dsparx5_calendar.c48 u32 indices[SPX5_DSM_CAL_LEN]; member
400 data->indices[indices_len] = slot; in sparx5_dsm_calendar_calc()
409 data->new_slots[kdx] = data->indices[jdx]; in sparx5_dsm_calendar_calc()
/drivers/net/ethernet/intel/fm10k/
Dfm10k_main.c1493 f->indices = pcs; in fm10k_set_qos_queues()
1503 f->indices = rss_i; in fm10k_set_qos_queues()
1533 f->indices = rss_i; in fm10k_set_rss_queues()
1872 rss_i = interface->ring_feature[RING_F_RSS].indices; in fm10k_cache_ring_qos()
1924 u16 i, rss_i = interface->ring_feature[RING_F_RSS].indices; in fm10k_init_reta()
Dfm10k_ethtool.c976 u16 rss_i = interface->ring_feature[RING_F_RSS].indices; in fm10k_write_reta()
1039 rss_i = interface->ring_feature[RING_F_RSS].indices; in fm10k_set_reta()
1129 ch->combined_count = interface->ring_feature[RING_F_RSS].indices; in fm10k_get_channels()
Dfm10k.h212 u16 indices; /* current value of indices */ member
/drivers/gpu/drm/amd/amdgpu/
Dgfx_v8_0.c3929 int indices; in gfx_v8_0_parse_ind_reg_list() local
3949 for (indices = 0; in gfx_v8_0_parse_ind_reg_list()
3950 indices < *indices_count; in gfx_v8_0_parse_ind_reg_list()
3951 indices++) { in gfx_v8_0_parse_ind_reg_list()
3952 if (unique_indices[indices] == in gfx_v8_0_parse_ind_reg_list()
3957 if (indices >= *indices_count) { in gfx_v8_0_parse_ind_reg_list()
3960 indices = *indices_count; in gfx_v8_0_parse_ind_reg_list()
3965 register_list_format[ind_offset] = indices; in gfx_v8_0_parse_ind_reg_list()
/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_main.c2215 __be64 indices; in read_eq_indices() local
2220 sizeof(indices), (__be32 *)&indices, in read_eq_indices()
2224 *cidx = (be64_to_cpu(indices) >> 25) & 0xffff; in read_eq_indices()
2225 *pidx = (be64_to_cpu(indices) >> 9) & 0xffff; in read_eq_indices()