Home
last modified time | relevance | path

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

/linux-6.1.9/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()
/linux-6.1.9/drivers/net/ethernet/intel/ice/ !
Dice_idc.c283 adev->id = pf->aux_idx; in ice_plug_aux_dev()
Dice.h589 int aux_idx; member
Dice_main.c4664 pf->aux_idx = -1; in ice_probe()
4923 pf->aux_idx = ida_alloc(&ice_aux_ida, GFP_KERNEL); in ice_probe()
4924 if (pf->aux_idx < 0) { in ice_probe()
4945 ida_free(&ice_aux_ida, pf->aux_idx); in ice_probe()
5059 if (pf->aux_idx >= 0) in ice_remove()
5060 ida_free(&ice_aux_ida, pf->aux_idx); in ice_remove()