Searched refs:cur_index (Results 1 – 15 of 15) sorted by relevance
/drivers/net/ethernet/amd/xgbe/ |
D | xgbe-desc.c | 499 unsigned int start_index, cur_index; in xgbe_map_tx_skb() local 507 cur_index = ring->cur; in xgbe_map_tx_skb() 521 cur_index++; in xgbe_map_tx_skb() 522 rdata = XGBE_GET_DESC_DATA(ring, cur_index); in xgbe_map_tx_skb() 536 cur_index, &skb_dma, packet->header_len); in xgbe_map_tx_skb() 542 cur_index++; in xgbe_map_tx_skb() 543 rdata = XGBE_GET_DESC_DATA(ring, cur_index); in xgbe_map_tx_skb() 560 cur_index, &skb_dma, len); in xgbe_map_tx_skb() 567 cur_index++; in xgbe_map_tx_skb() 568 rdata = XGBE_GET_DESC_DATA(ring, cur_index); in xgbe_map_tx_skb() [all …]
|
D | xgbe-dev.c | 1466 int cur_index = ring->cur; in xgbe_dev_xmit() local 1509 rdata = XGBE_GET_DESC_DATA(ring, cur_index); in xgbe_dev_xmit() 1554 cur_index++; in xgbe_dev_xmit() 1555 rdata = XGBE_GET_DESC_DATA(ring, cur_index); in xgbe_dev_xmit() 1583 if (cur_index != start_index) in xgbe_dev_xmit() 1609 for (i = cur_index - start_index + 1; i < packet->rdesc_count; i++) { in xgbe_dev_xmit() 1610 cur_index++; in xgbe_dev_xmit() 1611 rdata = XGBE_GET_DESC_DATA(ring, cur_index); in xgbe_dev_xmit() 1663 ring->cur = cur_index + 1; in xgbe_dev_xmit()
|
/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 | 414 tp->cur_index = i; in tulip_up() 1681 tp->cur_index = i; in tulip_init_one()
|
/drivers/video/fbdev/vermilion/ |
D | cr_pll.c | 103 int cur_index = 0; in crvml_nearest_index() local 113 cur_index = i; in crvml_nearest_index() 117 return cur_index; in crvml_nearest_index()
|
D | vermilion.c | 579 int cur_index; in vml_nearest_clock() local 583 cur_index = 0; in vml_nearest_clock() 590 cur_index = i; in vml_nearest_clock() 594 return vml_clocks[cur_index]; in vml_nearest_clock()
|
/drivers/thermal/ |
D | db8500_thermal.c | 41 unsigned int cur_index; member 231 pzone->cur_index = idx; in db8500_thermal_update_config() 243 unsigned int idx = pzone->cur_index; in prcmu_low_irq_handler() 274 unsigned int idx = pzone->cur_index; in prcmu_high_irq_handler()
|
/drivers/iommu/ |
D | of_iommu.c | 49 int bytes, cur_index = 0; in of_get_dma_window() local 92 if (cur_index++ == index) in of_get_dma_window()
|
/drivers/vfio/pci/ |
D | vfio_pci.c | 1340 int cur_index; member 1349 if (devs->cur_index == devs->max_index) in vfio_pci_get_devs() 1361 devs->devices[devs->cur_index++] = device; in vfio_pci_get_devs() 1379 struct vfio_devices devs = { .cur_index = 0 }; in vfio_pci_try_bus_reset() 1402 for (i = 0; i < devs.cur_index; i++) { in vfio_pci_try_bus_reset() 1415 for (i = 0; i < devs.cur_index; i++) { in vfio_pci_try_bus_reset()
|
/drivers/of/ |
D | base.c | 1660 int rc, cur_index = 0; in __of_parse_phandle_with_args() local 1671 if (cur_index == index) { in __of_parse_phandle_with_args() 1691 cur_index++; in __of_parse_phandle_with_args() 1834 int rc, cur_index = 0; in of_count_phandle_with_args() local 1841 cur_index += 1; in of_count_phandle_with_args() 1846 return cur_index; in of_count_phandle_with_args()
|
/drivers/media/v4l2-core/ |
D | videobuf2-core.c | 2152 unsigned int cur_index; member 2257 fileio->cur_index = q->num_buffers; in __vb2_init_fileio() 2343 index = fileio->cur_index; in __vb2_perform_fileio() 2356 fileio->cur_index = index; in __vb2_perform_fileio() 2451 fileio->cur_index = fileio->initial_index; in __vb2_perform_fileio()
|
/drivers/staging/lustre/lustre/llite/ |
D | vvp_io.c | 166 loff_t cur_index = start >> PAGE_SHIFT; in vvp_prep_size() local 169 if ((size == 0 && cur_index != 0) || in vvp_prep_size() 170 size_index < cur_index) in vvp_prep_size()
|