Searched refs:read_idx (Results 1 – 3 of 3) sorted by relevance
91 atomic_t read_idx; member160 int read_idx; in iowarrior_callback() local182 read_idx = atomic_read(&dev->read_idx); in iowarrior_callback()185 if ((intr_idx != read_idx) in iowarrior_callback()200 if (read_idx == aux_idx) { in iowarrior_callback()202 read_idx = (++read_idx == MAX_INTERRUPT_BUFFER) ? 0 : read_idx; in iowarrior_callback()203 atomic_set(&dev->read_idx, read_idx); in iowarrior_callback()268 int intr_idx, read_idx; in read_index() local270 read_idx = atomic_read(&dev->read_idx); in read_index()273 return (read_idx == intr_idx ? -1 : read_idx); in read_index()[all …]
66 u32 read_idx; member
293 info->inbound.read_idx = debug_info.inbound.current_read_index; in get_channel_info()302 info->outbound.read_idx = debug_info.outbound.current_read_index; in get_channel_info()372 return sprintf(buf, "%d\n", device_info.outbound.read_idx); in vmbus_show_device_attr()384 return sprintf(buf, "%d\n", device_info.inbound.read_idx); in vmbus_show_device_attr()