Home
last modified time | relevance | path

Searched refs:cur_index (Results 1 – 21 of 21) sorted by relevance

/Linux-v6.1/drivers/net/ethernet/amd/xgbe/
Dxgbe-desc.c531 unsigned int start_index, cur_index; in xgbe_map_tx_skb() local
539 cur_index = ring->cur; in xgbe_map_tx_skb()
553 cur_index++; in xgbe_map_tx_skb()
554 rdata = XGBE_GET_DESC_DATA(ring, cur_index); in xgbe_map_tx_skb()
568 cur_index, &skb_dma, packet->header_len); in xgbe_map_tx_skb()
574 cur_index++; in xgbe_map_tx_skb()
575 rdata = XGBE_GET_DESC_DATA(ring, cur_index); in xgbe_map_tx_skb()
592 cur_index, &skb_dma, len); in xgbe_map_tx_skb()
599 cur_index++; in xgbe_map_tx_skb()
600 rdata = XGBE_GET_DESC_DATA(ring, cur_index); in xgbe_map_tx_skb()
[all …]
Dxgbe-dev.c1678 int cur_index = ring->cur; in xgbe_dev_xmit() local
1725 rdata = XGBE_GET_DESC_DATA(ring, cur_index); in xgbe_dev_xmit()
1770 cur_index++; in xgbe_dev_xmit()
1771 rdata = XGBE_GET_DESC_DATA(ring, cur_index); in xgbe_dev_xmit()
1799 if (cur_index != start_index) in xgbe_dev_xmit()
1832 for (i = cur_index - start_index + 1; i < packet->rdesc_count; i++) { in xgbe_dev_xmit()
1833 cur_index++; in xgbe_dev_xmit()
1834 rdata = XGBE_GET_DESC_DATA(ring, cur_index); in xgbe_dev_xmit()
1889 ring->cur = cur_index + 1; in xgbe_dev_xmit()
/Linux-v6.1/drivers/net/ethernet/synopsys/
Ddwc-xlgmac-desc.c502 unsigned int start_index, cur_index; in xlgmac_map_tx_skb() local
513 cur_index = ring->cur; in xlgmac_map_tx_skb()
529 cur_index++; in xlgmac_map_tx_skb()
530 desc_data = XLGMAC_GET_DESC_DATA(ring, cur_index); in xlgmac_map_tx_skb()
544 cur_index, &skb_dma, pkt_info->header_len); in xlgmac_map_tx_skb()
550 cur_index++; in xlgmac_map_tx_skb()
551 desc_data = XLGMAC_GET_DESC_DATA(ring, cur_index); in xlgmac_map_tx_skb()
568 cur_index, &skb_dma, len); in xlgmac_map_tx_skb()
575 cur_index++; in xlgmac_map_tx_skb()
576 desc_data = XLGMAC_GET_DESC_DATA(ring, cur_index); in xlgmac_map_tx_skb()
[all …]
Ddwc-xlgmac-hw.c712 int cur_index = ring->cur; in xlgmac_dev_xmit() local
758 desc_data = XLGMAC_GET_DESC_DATA(ring, cur_index); in xlgmac_dev_xmit()
821 cur_index++; in xlgmac_dev_xmit()
822 desc_data = XLGMAC_GET_DESC_DATA(ring, cur_index); in xlgmac_dev_xmit()
872 if (cur_index != start_index) in xlgmac_dev_xmit()
920 for (i = cur_index - start_index + 1; i < pkt_info->desc_count; i++) { in xlgmac_dev_xmit()
921 cur_index++; in xlgmac_dev_xmit()
922 desc_data = XLGMAC_GET_DESC_DATA(ring, cur_index); in xlgmac_dev_xmit()
997 ring->cur = cur_index + 1; in xlgmac_dev_xmit()
/Linux-v6.1/drivers/net/ethernet/dec/tulip/
Dtimer.c53 mleaf = &tp->mtable->mleaf[tp->cur_index]; in tulip_media_task()
90 if (--tp->cur_index < 0) { in tulip_media_task()
92 tp->cur_index = tp->mtable->leafcount - 1; in tulip_media_task()
94 dev->if_port = tp->mtable->mleaf[tp->cur_index].media; in tulip_media_task()
100 medianame[tp->mtable->mleaf[tp->cur_index].media]); in tulip_media_task()
D21142.c191 tp->cur_index = i; in t21142_lnk_change()
Dtulip.h447 int cur_index; /* Current media index. */ member
Dmedia.c176 struct medialeaf *mleaf = &mtable->mleaf[tp->cur_index]; in tulip_select_media()
Dtulip_core.c403 tp->cur_index = i; in tulip_up()
1674 tp->cur_index = i; in tulip_init_one()
/Linux-v6.1/drivers/thermal/
Ddb8500_thermal.c57 unsigned int cur_index; member
86 th->cur_index = idx; in db8500_thermal_update_config()
100 unsigned int idx = th->cur_index; in prcmu_low_irq_handler()
128 unsigned int idx = th->cur_index; in prcmu_high_irq_handler()
/Linux-v6.1/sound/pci/lola/
Dlola_clock.c167 chip->clock.cur_index = idx_list; in lola_init_clock_widget()
252 if (chip->clock.sample_clock[chip->clock.cur_index].type != in lola_update_ext_clock_freq()
265 if (idx == chip->clock.cur_index) { in lola_set_clock()
282 if (idx != chip->clock.cur_index) { in lola_set_clock()
287 chip->clock.cur_index = idx; in lola_set_clock()
Dlola.h246 unsigned int cur_index; member
Dlola.c421 lola_set_clock_index(chip, chip->clock.cur_index); in lola_reset_setups()
/Linux-v6.1/drivers/video/fbdev/vermilion/
Dcr_pll.c89 int cur_index = 0; in crvml_nearest_index() local
99 cur_index = i; in crvml_nearest_index()
103 return cur_index; in crvml_nearest_index()
Dvermilion.c570 int cur_index; in vml_nearest_clock() local
574 cur_index = 0; in vml_nearest_clock()
581 cur_index = i; in vml_nearest_clock()
585 return vml_clocks[cur_index]; in vml_nearest_clock()
/Linux-v6.1/arch/powerpc/kernel/
Dnvram_64.c986 loff_t cur_index = 0; in nvram_scan_partitions() local
1004 while (cur_index < total_size) { in nvram_scan_partitions()
1006 err = ppc_md.nvram_read(header, NVRAM_HEADER_LEN, &cur_index); in nvram_scan_partitions()
1013 cur_index -= NVRAM_HEADER_LEN; /* nvram_read will advance us */ in nvram_scan_partitions()
1041 tmp_part->index = cur_index; in nvram_scan_partitions()
1044 cur_index += phead.length * NVRAM_BLOCK_LEN; in nvram_scan_partitions()
/Linux-v6.1/drivers/of/
Dbase.c1430 int rc, cur_index = 0; in __of_parse_phandle_with_args() local
1444 if (cur_index == index) { in __of_parse_phandle_with_args()
1464 cur_index++; in __of_parse_phandle_with_args()
1682 int rc, cur_index = 0; in of_count_phandle_with_args() local
1706 cur_index += 1; in of_count_phandle_with_args()
1711 return cur_index; in of_count_phandle_with_args()
/Linux-v6.1/fs/ufs/
Dballoc.c247 pgoff_t index, cur_index, last_index; in ufs_change_blocknr() local
260 cur_index = locked_page->index; in ufs_change_blocknr()
266 if (likely(cur_index != index)) { in ufs_change_blocknr()
315 if (likely(cur_index != index)) in ufs_change_blocknr()
/Linux-v6.1/fs/reiserfs/
Dstree.c1528 unsigned long cur_index; in unmap_buffers() local
1533 cur_index = 0; in unmap_buffers()
1547 cur_index += bh->b_size; in unmap_buffers()
1548 if (cur_index > tail_index) { in unmap_buffers()
/Linux-v6.1/drivers/media/common/videobuf2/
Dvideobuf2-core.c2618 unsigned int cur_index; member
2723 fileio->cur_index = q->num_buffers; in __vb2_init_fileio()
2815 index = fileio->cur_index; in __vb2_perform_fileio()
2828 fileio->cur_index = index; in __vb2_perform_fileio()
2923 fileio->cur_index = fileio->initial_index; in __vb2_perform_fileio()
/Linux-v6.1/drivers/net/wireless/realtek/rtw89/
Dcoex.c5950 u8 cur_index; in seq_print_segment() local
5955 cur_index = (start_idx + i) % ring_len; in seq_print_segment()
5958 steps_to_str(*(data + cur_index))); in seq_print_segment()
5961 steps_to_str(*(data + cur_index))); in seq_print_segment()
5964 steps_to_str(*(data + cur_index))); in seq_print_segment()