Home
last modified time | relevance | path

Searched refs:desc_idx (Results 1 – 4 of 4) sorted by relevance

/Zephyr-latest/drivers/ethernet/dwc_xgmac/
Deth_dwc_xgmac.c721 uint32_t tdrl, uint16_t desc_idx) in tx_pkt_location_in_array() argument
723 return (array_base + ((dma_chnl * tdrl) + desc_idx)); in tx_pkt_location_in_array()
738 uint16_t desc_idx; in eth_dwc_xgmac_tx_irq_work() local
741 desc_idx = in eth_dwc_xgmac_tx_irq_work()
744 for (; desc_idx != tx_desc_meta->next_to_use; in eth_dwc_xgmac_tx_irq_work()
745 desc_idx = ((desc_idx + 1) % dma_chnl_cfg->tdrl)) { in eth_dwc_xgmac_tx_irq_work()
746 tx_desc = (struct xgmac_dma_tx_desc *)(fisrt_tx_desc + desc_idx); in eth_dwc_xgmac_tx_irq_work()
752 data->tx_pkts, dma_chnl, dma_chnl_cfg->tdrl, desc_idx)); in eth_dwc_xgmac_tx_irq_work()
757 dma_chnl_cfg->tdrl, desc_idx)) = in eth_dwc_xgmac_tx_irq_work()
/Zephyr-latest/subsys/usb/device_next/
Dusbd_ch9.c782 uint8_t desc_idx = USB_GET_DESCRIPTOR_INDEX(setup->wValue); in sreq_get_descriptor() local
785 desc_type, desc_idx); in sreq_get_descriptor()
801 return sreq_get_desc_cfg(uds_ctx, buf, desc_idx, false); in sreq_get_descriptor()
803 return sreq_get_desc_cfg(uds_ctx, buf, desc_idx, true); in sreq_get_descriptor()
805 return sreq_get_desc_str(uds_ctx, buf, desc_idx); in sreq_get_descriptor()
/Zephyr-latest/subsys/usb/device_next/class/
Dusbd_hid.c339 uint8_t desc_idx = USB_GET_DESCRIPTOR_INDEX(setup->wValue); in handle_get_descriptor() local
352 LOG_DBG("Get descriptor physical %u", desc_idx); in handle_get_descriptor()
/Zephyr-latest/scripts/west_commands/completion/
Dwest-completion.fish188 set -l desc_idx (math $idx + 1)
189 printf "%s\n" $ext_cmds[$idx]\t"$ext_cmds[$desc_idx]"
194 set -l desc_idx (math $idx + 1)
195 printf "%s\n" $builtin_cmds[$idx]\t"$builtin_cmds[$desc_idx]"