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()
283 adev->id = pf->aux_idx; in ice_plug_aux_dev()
589 int aux_idx; member
4664 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()