Searched refs:aux_idx (Results 1 – 4 of 4) sorted by relevance
158 int aux_idx; in iowarrior_callback() local177 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()
293 adev->id = pf->aux_idx; in ice_plug_aux_dev()
497 int aux_idx; member
4291 pf->aux_idx = -1; in ice_probe()4549 pf->aux_idx = ida_alloc(&ice_aux_ida, GFP_KERNEL); in ice_probe()4550 if (pf->aux_idx < 0) { in ice_probe()4570 ida_free(&ice_aux_ida, pf->aux_idx); in ice_probe()4681 if (pf->aux_idx >= 0) in ice_remove()4682 ida_free(&ice_aux_ida, pf->aux_idx); in ice_remove()