| /linux/drivers/net/ethernet/amd/xgbe/ |
| H A D | xgbe-desc.c | 427 unsigned int start_index, cur_index; in xgbe_map_tx_skb() local 435 cur_index = ring->cur; in xgbe_map_tx_skb() 449 cur_index++; in xgbe_map_tx_skb() 450 rdata = XGBE_GET_DESC_DATA(ring, cur_index); in xgbe_map_tx_skb() 464 cur_index, &skb_dma, packet->header_len); in xgbe_map_tx_skb() 470 cur_index++; in xgbe_map_tx_skb() 471 rdata = XGBE_GET_DESC_DATA(ring, cur_index); in xgbe_map_tx_skb() 488 cur_index, &skb_dma, len); in xgbe_map_tx_skb() 495 cur_index++; in xgbe_map_tx_skb() 496 rdata = XGBE_GET_DESC_DATA(ring, cur_index); in xgbe_map_tx_skb() [all …]
|
| /linux/drivers/net/ethernet/synopsys/ |
| H A D | dwc-xlgmac-desc.c | 498 unsigned int start_index, cur_index; in xlgmac_map_tx_skb() local 509 cur_index = ring->cur; in xlgmac_map_tx_skb() 525 cur_index++; in xlgmac_map_tx_skb() 526 desc_data = XLGMAC_GET_DESC_DATA(ring, cur_index); in xlgmac_map_tx_skb() 540 cur_index, &skb_dma, pkt_info->header_len); in xlgmac_map_tx_skb() 546 cur_index++; in xlgmac_map_tx_skb() 547 desc_data = XLGMAC_GET_DESC_DATA(ring, cur_index); in xlgmac_map_tx_skb() 564 cur_index, &skb_dma, len); in xlgmac_map_tx_skb() 571 cur_index++; in xlgmac_map_tx_skb() 572 desc_data = XLGMAC_GET_DESC_DATA(ring, cur_index); in xlgmac_map_tx_skb() [all …]
|
| H A 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/drivers/net/ethernet/dec/tulip/ |
| H A 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()
|
| H A D | 21142.c | 191 tp->cur_index = i; in t21142_lnk_change()
|
| H A D | tulip.h | 447 int cur_index; /* Current media index. */ member
|
| H A D | media.c | 176 struct medialeaf *mleaf = &mtable->mleaf[tp->cur_index]; in tulip_select_media()
|
| H A D | tulip_core.c | 403 tp->cur_index = i; in tulip_up() 1671 tp->cur_index = i; in tulip_init_one()
|
| /linux/drivers/thermal/ |
| H A 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/drivers/gpu/drm/amd/display/dc/dml2_0/ |
| H A D | dml2_dc_resource_mgmt.c | 486 unsigned int cur_index; in sort_pipes_for_splitting() local 498 cur_index = 0; in sort_pipes_for_splitting() 501 …pipes_assigned_to_plane[odm_slice_index][cur_index] > pipes->pipes_assigned_to_plane[odm_slice_ind… in sort_pipes_for_splitting() 502 swap(pipes->pipes_assigned_to_plane[odm_slice_index][cur_index + 1], in sort_pipes_for_splitting() 503 pipes->pipes_assigned_to_plane[odm_slice_index][cur_index]); in sort_pipes_for_splitting() 508 cur_index++; in sort_pipes_for_splitting() 510 if (cur_index == pipes->num_pipes_assigned_to_plane_for_mpcc_combine - 1) { in sort_pipes_for_splitting() 511 cur_index = 0; in sort_pipes_for_splitting()
|
| /linux/arch/powerpc/kernel/ |
| H A 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/tools/accounting/ |
| H A D | delaytop.c | 1021 static size_t cur_index; in toggle_display_mode() local 1023 cur_index = (cur_index + 1) % MAX_MODE_SIZE; in toggle_display_mode() 1024 cfg.display_mode = modes[cur_index]; in toggle_display_mode()
|
| /linux/drivers/media/common/videobuf2/ |
| H A D | videobuf2-core.c | 2822 unsigned int cur_index; member 2943 fileio->cur_index = fileio->initial_index; in __vb2_init_fileio() 3035 index = fileio->cur_index; in __vb2_perform_fileio() 3048 fileio->cur_index = index; in __vb2_perform_fileio() 3146 fileio->cur_index = fileio->initial_index; in __vb2_perform_fileio()
|
| /linux/arch/x86/boot/startup/ |
| H A D | sev-shared.c | 616 pc->cur_index = 0; in svsm_pval_4k_page()
|