Home
last modified time | relevance | path

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

/drivers/usb/misc/
Diowarrior.c158 int aux_idx; in iowarrior_callback() local
177 aux_idx = (intr_idx == 0) ? (MAX_INTERRUPT_BUFFER - 1) : (intr_idx - 1); in iowarrior_callback()
184 offset = aux_idx * (dev->report_size + 1); in iowarrior_callback()
194 aux_idx = (intr_idx == (MAX_INTERRUPT_BUFFER - 1)) ? 0 : (intr_idx + 1); in iowarrior_callback()
195 if (read_idx == aux_idx) { in iowarrior_callback()
208 atomic_set(&dev->intr_idx, aux_idx); in iowarrior_callback()
/drivers/net/ethernet/intel/ice/
Dice_idc.c283 adev->id = pf->aux_idx; in ice_plug_aux_dev()
Dice.h597 int aux_idx; member
Dice_main.c4717 pf->aux_idx = -1; in ice_probe()
4975 pf->aux_idx = ida_alloc(&ice_aux_ida, GFP_KERNEL); in ice_probe()
4976 if (pf->aux_idx < 0) { in ice_probe()
4997 ida_free(&ice_aux_ida, pf->aux_idx); in ice_probe()
5110 if (pf->aux_idx >= 0) in ice_remove()
5111 ida_free(&ice_aux_ida, pf->aux_idx); in ice_remove()