/linux-6.6.21/drivers/net/ethernet/amd/xgbe/ |
D | xgbe-desc.c | 531 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 …]
|
D | xgbe-dev.c | 1735 int cur_index = ring->cur; in xgbe_dev_xmit() local 1782 rdata = XGBE_GET_DESC_DATA(ring, cur_index); in xgbe_dev_xmit() 1827 cur_index++; in xgbe_dev_xmit() 1828 rdata = XGBE_GET_DESC_DATA(ring, cur_index); in xgbe_dev_xmit() 1856 if (cur_index != start_index) in xgbe_dev_xmit() 1889 for (i = cur_index - start_index + 1; i < packet->rdesc_count; i++) { in xgbe_dev_xmit() 1890 cur_index++; in xgbe_dev_xmit() 1891 rdata = XGBE_GET_DESC_DATA(ring, cur_index); in xgbe_dev_xmit() 1946 ring->cur = cur_index + 1; in xgbe_dev_xmit()
|
/linux-6.6.21/drivers/net/ethernet/synopsys/ |
D | dwc-xlgmac-desc.c | 502 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 …]
|
D | dwc-xlgmac-hw.c | 712 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-6.6.21/drivers/net/ethernet/dec/tulip/ |
D | timer.c | 53 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()
|
D | 21142.c | 191 tp->cur_index = i; in t21142_lnk_change()
|
D | tulip.h | 447 int cur_index; /* Current media index. */ member
|
D | media.c | 176 struct medialeaf *mleaf = &mtable->mleaf[tp->cur_index]; in tulip_select_media()
|
D | tulip_core.c | 403 tp->cur_index = i; in tulip_up() 1674 tp->cur_index = i; in tulip_init_one()
|
/linux-6.6.21/drivers/thermal/ |
D | db8500_thermal.c | 58 unsigned int cur_index; member 87 th->cur_index = idx; in db8500_thermal_update_config() 101 unsigned int idx = th->cur_index; in prcmu_low_irq_handler() 129 unsigned int idx = th->cur_index; in prcmu_high_irq_handler()
|
/linux-6.6.21/sound/pci/lola/ |
D | lola_clock.c | 167 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()
|
D | lola.h | 246 unsigned int cur_index; member
|
D | lola.c | 421 lola_set_clock_index(chip, chip->clock.cur_index); in lola_reset_setups()
|
/linux-6.6.21/drivers/video/fbdev/vermilion/ |
D | cr_pll.c | 89 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()
|
D | vermilion.c | 572 int cur_index; in vml_nearest_clock() local 576 cur_index = 0; in vml_nearest_clock() 583 cur_index = i; in vml_nearest_clock() 587 return vml_clocks[cur_index]; in vml_nearest_clock()
|
/linux-6.6.21/arch/powerpc/kernel/ |
D | nvram_64.c | 986 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-6.6.21/drivers/of/ |
D | base.c | 1248 int rc, cur_index = 0; in __of_parse_phandle_with_args() local 1262 if (cur_index == index) { in __of_parse_phandle_with_args() 1282 cur_index++; in __of_parse_phandle_with_args() 1501 int rc, cur_index = 0; in of_count_phandle_with_args() local 1525 cur_index += 1; in of_count_phandle_with_args() 1530 return cur_index; in of_count_phandle_with_args()
|
/linux-6.6.21/drivers/iommu/iommufd/ |
D | pages.c | 1638 unsigned long cur_index = start_index; in iopt_pages_fill_from_mm() local 1641 while (cur_index != last_index + 1) { in iopt_pages_fill_from_mm() 1642 user->upages = out_pages + (cur_index - start_index); in iopt_pages_fill_from_mm() 1643 rc = pfn_reader_user_pin(user, pages, cur_index, last_index); in iopt_pages_fill_from_mm() 1646 cur_index = user->upages_end; in iopt_pages_fill_from_mm() 1651 if (start_index != cur_index) in iopt_pages_fill_from_mm() 1652 iopt_pages_err_unpin(pages, start_index, cur_index - 1, in iopt_pages_fill_from_mm()
|
/linux-6.6.21/fs/ufs/ |
D | balloc.c | 247 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-6.6.21/fs/reiserfs/ |
D | stree.c | 1526 unsigned long cur_index; in unmap_buffers() local 1531 cur_index = 0; in unmap_buffers() 1545 cur_index += bh->b_size; in unmap_buffers() 1546 if (cur_index > tail_index) { in unmap_buffers()
|
/linux-6.6.21/drivers/media/common/videobuf2/ |
D | videobuf2-core.c | 2612 unsigned int cur_index; member 2717 fileio->cur_index = q->num_buffers; in __vb2_init_fileio() 2809 index = fileio->cur_index; in __vb2_perform_fileio() 2822 fileio->cur_index = index; in __vb2_perform_fileio() 2917 fileio->cur_index = fileio->initial_index; in __vb2_perform_fileio()
|
/linux-6.6.21/drivers/net/wireless/realtek/rtw89/ |
D | coex.c | 6730 u8 cur_index; in seq_print_segment() local 6735 cur_index = (start_idx + i) % ring_len; in seq_print_segment() 6738 steps_to_str(*(data + cur_index))); in seq_print_segment() 6741 steps_to_str(*(data + cur_index))); in seq_print_segment() 6744 steps_to_str(*(data + cur_index))); in seq_print_segment()
|