reader 12 arch/um/drivers/cow.h extern int read_cow_header(int (*reader)(__u64, char *, int, void *), reader 277 arch/um/drivers/cow_user.c int read_cow_header(int (*reader)(__u64, char *, int, void *), void *arg, reader 294 arch/um/drivers/cow_user.c n = (*reader)(0, (char *) header, sizeof(*header), arg); reader 336 arch/x86/kernel/apm_32.c unsigned int reader: 1; reader 1184 arch/x86/kernel/apm_32.c if ((as == sender) || (!as->reader)) reader 1625 arch/x86/kernel/apm_32.c as->reader = (filp->f_mode & FMODE_READ) == FMODE_READ; reader 108 drivers/char/apm-emulation.c unsigned int reader: 1; reader 196 drivers/char/apm-emulation.c if (as->reader) reader 368 drivers/char/apm-emulation.c as->reader = (filp->f_mode & FMODE_READ) == FMODE_READ; reader 534 drivers/char/apm-emulation.c if (as->suspend_state != SUSPEND_WAIT && as->reader && reader 413 drivers/gpu/drm/via/via_dma.c uint32_t reader, ptr; reader 424 drivers/gpu/drm/via/via_dma.c reader = *(dev_priv->hw_addr_ptr); reader 437 drivers/gpu/drm/via/via_dma.c diff = (uint32_t) (ptr - reader) - dev_priv->dma_diff; reader 443 drivers/gpu/drm/via/via_dma.c reader = *(dev_priv->hw_addr_ptr); reader 444 drivers/gpu/drm/via/via_dma.c diff = (uint32_t) (ptr - reader) - dev_priv->dma_diff; reader 450 drivers/gpu/drm/via/via_dma.c reader = *(dev_priv->hw_addr_ptr); reader 451 drivers/gpu/drm/via/via_dma.c diff = (uint32_t) (ptr - reader) - dev_priv->dma_diff; reader 456 drivers/gpu/drm/via/via_dma.c ptr, reader, dev_priv->dma_diff); reader 525 drivers/gpu/drm/via/via_dma.c uint32_t reader; reader 562 drivers/gpu/drm/via/via_dma.c reader = *(dev_priv->hw_addr_ptr); reader 573 drivers/gpu/drm/via/via_dma.c dev_priv->dma_diff = ptr - reader; reader 76 drivers/hid/hid-roccat.c struct roccat_reader *reader = file->private_data; reader 77 drivers/hid/hid-roccat.c struct roccat_device *device = reader->device; reader 85 drivers/hid/hid-roccat.c if (reader->cbuf_start == device->cbuf_end) { reader 90 drivers/hid/hid-roccat.c while (reader->cbuf_start == device->cbuf_end) { reader 118 drivers/hid/hid-roccat.c report = &device->cbuf[reader->cbuf_start]; reader 130 drivers/hid/hid-roccat.c reader->cbuf_start = (reader->cbuf_start + 1) % ROCCAT_CBUF_SIZE; reader 139 drivers/hid/hid-roccat.c struct roccat_reader *reader = file->private_data; reader 140 drivers/hid/hid-roccat.c poll_wait(file, &reader->device->wait, wait); reader 141 drivers/hid/hid-roccat.c if (reader->cbuf_start != reader->device->cbuf_end) reader 143 drivers/hid/hid-roccat.c if (!reader->device->exist) reader 151 drivers/hid/hid-roccat.c struct roccat_reader *reader; reader 155 drivers/hid/hid-roccat.c reader = kzalloc(sizeof(struct roccat_reader), GFP_KERNEL); reader 156 drivers/hid/hid-roccat.c if (!reader) reader 187 drivers/hid/hid-roccat.c reader->device = device; reader 189 drivers/hid/hid-roccat.c reader->cbuf_start = device->cbuf_end; reader 191 drivers/hid/hid-roccat.c list_add_tail(&reader->node, &device->readers); reader 192 drivers/hid/hid-roccat.c file->private_data = reader; reader 199 drivers/hid/hid-roccat.c kfree(reader); reader 206 drivers/hid/hid-roccat.c struct roccat_reader *reader = file->private_data; reader 219 drivers/hid/hid-roccat.c list_del(&reader->node); reader 221 drivers/hid/hid-roccat.c kfree(reader); reader 250 drivers/hid/hid-roccat.c struct roccat_reader *reader; reader 268 drivers/hid/hid-roccat.c list_for_each_entry(reader, &device->readers, node) { reader 275 drivers/hid/hid-roccat.c if (reader->cbuf_start == device->cbuf_end) reader 276 drivers/hid/hid-roccat.c reader->cbuf_start = (reader->cbuf_start + 1) % ROCCAT_CBUF_SIZE; reader 28 drivers/misc/ibmasm/event.c struct event_reader *reader; reader 30 drivers/misc/ibmasm/event.c list_for_each_entry(reader, &sp->event_buffer->readers, node) reader 31 drivers/misc/ibmasm/event.c wake_up_interruptible(&reader->wait); reader 77 drivers/misc/ibmasm/event.c int ibmasm_get_next_event(struct service_processor *sp, struct event_reader *reader) reader 84 drivers/misc/ibmasm/event.c reader->cancelled = 0; reader 86 drivers/misc/ibmasm/event.c if (wait_event_interruptible(reader->wait, reader 87 drivers/misc/ibmasm/event.c event_available(buffer, reader) || reader->cancelled)) reader 90 drivers/misc/ibmasm/event.c if (!event_available(buffer, reader)) reader 97 drivers/misc/ibmasm/event.c while (event->serial_number < reader->next_serial_number) { reader 101 drivers/misc/ibmasm/event.c memcpy(reader->data, event->data, event->data_size); reader 102 drivers/misc/ibmasm/event.c reader->data_size = event->data_size; reader 103 drivers/misc/ibmasm/event.c reader->next_serial_number = event->serial_number + 1; reader 110 drivers/misc/ibmasm/event.c void ibmasm_cancel_next_event(struct event_reader *reader) reader 112 drivers/misc/ibmasm/event.c reader->cancelled = 1; reader 113 drivers/misc/ibmasm/event.c wake_up_interruptible(&reader->wait); reader 116 drivers/misc/ibmasm/event.c void ibmasm_event_reader_register(struct service_processor *sp, struct event_reader *reader) reader 120 drivers/misc/ibmasm/event.c reader->next_serial_number = sp->event_buffer->next_serial_number; reader 121 drivers/misc/ibmasm/event.c init_waitqueue_head(&reader->wait); reader 123 drivers/misc/ibmasm/event.c list_add(&reader->node, &sp->event_buffer->readers); reader 127 drivers/misc/ibmasm/event.c void ibmasm_event_reader_unregister(struct service_processor *sp, struct event_reader *reader) reader 132 drivers/misc/ibmasm/event.c list_del(&reader->node); reader 166 drivers/misc/ibmasm/ibmasm.h void ibmasm_event_reader_register(struct service_processor *sp, struct event_reader *reader); reader 167 drivers/misc/ibmasm/ibmasm.h void ibmasm_event_reader_unregister(struct service_processor *sp, struct event_reader *reader); reader 168 drivers/misc/ibmasm/ibmasm.h int ibmasm_get_next_event(struct service_processor *sp, struct event_reader *reader); reader 169 drivers/misc/ibmasm/ibmasm.h void ibmasm_cancel_next_event(struct event_reader *reader); reader 220 drivers/misc/ibmasm/ibmasmfs.c struct event_reader reader; reader 351 drivers/misc/ibmasm/ibmasmfs.c ibmasm_event_reader_register(sp, &event_data->reader); reader 363 drivers/misc/ibmasm/ibmasmfs.c ibmasm_event_reader_unregister(event_data->sp, &event_data->reader); reader 371 drivers/misc/ibmasm/ibmasmfs.c struct event_reader *reader = &event_data->reader; reader 391 drivers/misc/ibmasm/ibmasmfs.c ret = ibmasm_get_next_event(sp, reader); reader 395 drivers/misc/ibmasm/ibmasmfs.c if (count < reader->data_size) { reader 400 drivers/misc/ibmasm/ibmasmfs.c if (copy_to_user(buf, reader->data, reader->data_size)) { reader 404 drivers/misc/ibmasm/ibmasmfs.c ret = reader->data_size; reader 422 drivers/misc/ibmasm/ibmasmfs.c ibmasm_cancel_next_event(&event_data->reader); reader 172 drivers/misc/ibmasm/remote.c unsigned long reader; reader 176 drivers/misc/ibmasm/remote.c reader = get_queue_reader(sp); reader 179 drivers/misc/ibmasm/remote.c while (reader != writer) { reader 180 drivers/misc/ibmasm/remote.c memcpy_fromio(&input, get_queue_entry(sp, reader), reader 191 drivers/misc/ibmasm/remote.c reader = advance_queue_reader(sp, reader); reader 93 drivers/misc/ibmasm/remote.h #define set_queue_reader(sp, reader) writel(reader, mouse_addr(sp) + CONDOR_MOUSE_Q_READER) reader 100 drivers/misc/ibmasm/remote.h static inline int advance_queue_reader(struct service_processor *sp, unsigned long reader) reader 102 drivers/misc/ibmasm/remote.h reader++; reader 103 drivers/misc/ibmasm/remote.h if (reader == REMOTE_QUEUE_SIZE) reader 104 drivers/misc/ibmasm/remote.h reader = 0; reader 106 drivers/misc/ibmasm/remote.h set_queue_reader(sp, reader); reader 107 drivers/misc/ibmasm/remote.h return reader; reader 84 drivers/mmc/host/cb710-mmc.c struct cb710_mmc_reader *reader = mmc_priv(cb710_slot_to_mmc(slot)); reader 87 drivers/mmc/host/cb710-mmc.c spin_lock_irqsave(&reader->irq_lock, flags); reader 90 drivers/mmc/host/cb710-mmc.c spin_unlock_irqrestore(&reader->irq_lock, flags); reader 342 drivers/mmc/host/cb710-mmc.c static u16 cb710_encode_cmd_flags(struct cb710_mmc_reader *reader, reader 444 drivers/mmc/host/cb710-mmc.c struct cb710_mmc_reader *reader = mmc_priv(mmc); reader 447 drivers/mmc/host/cb710-mmc.c u16 cb_cmd = cb710_encode_cmd_flags(reader, cmd); reader 484 drivers/mmc/host/cb710-mmc.c struct cb710_mmc_reader *reader = mmc_priv(mmc); reader 486 drivers/mmc/host/cb710-mmc.c WARN_ON(reader->mrq != NULL); reader 488 drivers/mmc/host/cb710-mmc.c reader->mrq = mrq; reader 494 drivers/mmc/host/cb710-mmc.c tasklet_schedule(&reader->finish_req_tasklet); reader 561 drivers/mmc/host/cb710-mmc.c struct cb710_mmc_reader *reader = mmc_priv(mmc); reader 566 drivers/mmc/host/cb710-mmc.c if (ios->power_mode != reader->last_power_mode) { reader 581 drivers/mmc/host/cb710-mmc.c reader->last_power_mode = MMC_POWER_ON; reader 585 drivers/mmc/host/cb710-mmc.c reader->last_power_mode = MMC_POWER_OFF; reader 618 drivers/mmc/host/cb710-mmc.c struct cb710_mmc_reader *reader = mmc_priv(mmc); reader 639 drivers/mmc/host/cb710-mmc.c spin_lock(&reader->irq_lock); reader 641 drivers/mmc/host/cb710-mmc.c spin_unlock(&reader->irq_lock); reader 650 drivers/mmc/host/cb710-mmc.c struct cb710_mmc_reader *reader = mmc_priv(mmc); reader 651 drivers/mmc/host/cb710-mmc.c struct mmc_request *mrq = reader->mrq; reader 653 drivers/mmc/host/cb710-mmc.c reader->mrq = NULL; reader 689 drivers/mmc/host/cb710-mmc.c struct cb710_mmc_reader *reader; reader 693 drivers/mmc/host/cb710-mmc.c mmc = mmc_alloc_host(sizeof(*reader), cb710_slot_dev(slot)); reader 711 drivers/mmc/host/cb710-mmc.c reader = mmc_priv(mmc); reader 713 drivers/mmc/host/cb710-mmc.c tasklet_init(&reader->finish_req_tasklet, reader 715 drivers/mmc/host/cb710-mmc.c spin_lock_init(&reader->irq_lock); reader 744 drivers/mmc/host/cb710-mmc.c struct cb710_mmc_reader *reader = mmc_priv(mmc); reader 758 drivers/mmc/host/cb710-mmc.c tasklet_kill(&reader->finish_req_tasklet); reader 280 drivers/net/ethernet/sfc/mcdi_mon.c ssize_t (*reader)(struct device *, reader 299 drivers/net/ethernet/sfc/mcdi_mon.c attr->dev_attr.show = reader; reader 3173 kernel/trace/ring_buffer.c struct buffer_page *reader = cpu_buffer->reader_page; reader 3181 kernel/trace/ring_buffer.c return reader->read == rb_page_commit(reader) && reader 3182 kernel/trace/ring_buffer.c (commit == reader || reader 3591 kernel/trace/ring_buffer.c struct buffer_page *reader; reader 3599 kernel/trace/ring_buffer.c reader = cpu_buffer->reader_page; reader 3605 kernel/trace/ring_buffer.c (iter->head_page == reader && commit_page == head_page && reader 3674 kernel/trace/ring_buffer.c struct buffer_page *reader = NULL; reader 3691 kernel/trace/ring_buffer.c reader = NULL; reader 3695 kernel/trace/ring_buffer.c reader = cpu_buffer->reader_page; reader 3698 kernel/trace/ring_buffer.c if (cpu_buffer->reader_page->read < rb_page_size(reader)) reader 3703 kernel/trace/ring_buffer.c cpu_buffer->reader_page->read > rb_page_size(reader))) reader 3707 kernel/trace/ring_buffer.c reader = NULL; reader 3727 kernel/trace/ring_buffer.c reader = rb_set_head_page(cpu_buffer); reader 3728 kernel/trace/ring_buffer.c if (!reader) reader 3730 kernel/trace/ring_buffer.c cpu_buffer->reader_page->list.next = rb_list_head(reader->list.next); reader 3731 kernel/trace/ring_buffer.c cpu_buffer->reader_page->list.prev = reader->list.prev; reader 3738 kernel/trace/ring_buffer.c cpu_buffer->pages = reader->list.prev; reader 3766 kernel/trace/ring_buffer.c ret = rb_head_page_replace(reader, cpu_buffer->reader_page); reader 3779 kernel/trace/ring_buffer.c rb_list_head(reader->list.next)->prev = &cpu_buffer->reader_page->list; reader 3785 kernel/trace/ring_buffer.c cpu_buffer->reader_page = reader; reader 3797 kernel/trace/ring_buffer.c if (reader && reader->read == 0) reader 3798 kernel/trace/ring_buffer.c cpu_buffer->read_stamp = reader->page->time_stamp; reader 3803 kernel/trace/ring_buffer.c return reader; reader 3809 kernel/trace/ring_buffer.c struct buffer_page *reader; reader 3812 kernel/trace/ring_buffer.c reader = rb_get_reader_page(cpu_buffer); reader 3815 kernel/trace/ring_buffer.c if (RB_WARN_ON(cpu_buffer, !reader)) reader 3881 kernel/trace/ring_buffer.c struct buffer_page *reader; reader 3896 kernel/trace/ring_buffer.c reader = rb_get_reader_page(cpu_buffer); reader 3897 kernel/trace/ring_buffer.c if (!reader) reader 4706 kernel/trace/ring_buffer.c struct buffer_page *reader; reader 4735 kernel/trace/ring_buffer.c reader = rb_get_reader_page(cpu_buffer); reader 4736 kernel/trace/ring_buffer.c if (!reader) reader 4741 kernel/trace/ring_buffer.c read = reader->read; reader 4742 kernel/trace/ring_buffer.c commit = rb_page_commit(reader); reader 4790 kernel/trace/ring_buffer.c rpos = reader->read; reader 4809 kernel/trace/ring_buffer.c cpu_buffer->read += rb_page_entries(reader); reader 4814 kernel/trace/ring_buffer.c bpage = reader->page; reader 4815 kernel/trace/ring_buffer.c reader->page = *data_page; reader 4816 kernel/trace/ring_buffer.c local_set(&reader->write, 0); reader 4817 kernel/trace/ring_buffer.c local_set(&reader->entries, 0); reader 4818 kernel/trace/ring_buffer.c reader->read = 0; reader 4826 kernel/trace/ring_buffer.c if (reader->real_end) reader 4827 kernel/trace/ring_buffer.c local_set(&bpage->commit, reader->real_end); reader 770 net/sunrpc/cache.c int reader; /* if 0, then request */ reader 814 net/sunrpc/cache.c ->reader) { reader 825 net/sunrpc/cache.c WARN_ON_ONCE(rq->q.reader); reader 973 net/sunrpc/cache.c if (!cq->reader) { reader 999 net/sunrpc/cache.c if (!cq->reader) { reader 1025 net/sunrpc/cache.c rp->q.reader = 1; reader 1048 net/sunrpc/cache.c if (!cq->reader) { reader 1081 net/sunrpc/cache.c if (!cq->reader) { reader 1221 net/sunrpc/cache.c crq->q.reader = 0; reader 46 sound/soc/sti/uniperif_reader.c struct uniperif *reader = dev_id; reader 49 sound/soc/sti/uniperif_reader.c spin_lock(&reader->irq_lock); reader 50 sound/soc/sti/uniperif_reader.c if (!reader->substream) reader 53 sound/soc/sti/uniperif_reader.c snd_pcm_stream_lock(reader->substream); reader 54 sound/soc/sti/uniperif_reader.c if (reader->state == UNIPERIF_STATE_STOPPED) { reader 56 sound/soc/sti/uniperif_reader.c dev_warn(reader->dev, "unexpected IRQ\n"); reader 61 sound/soc/sti/uniperif_reader.c status = GET_UNIPERIF_ITS(reader); reader 62 sound/soc/sti/uniperif_reader.c SET_UNIPERIF_ITS_BCLR(reader, status); reader 65 sound/soc/sti/uniperif_reader.c if (unlikely(status & UNIPERIF_ITS_FIFO_ERROR_MASK(reader))) { reader 66 sound/soc/sti/uniperif_reader.c dev_err(reader->dev, "FIFO error detected\n"); reader 68 sound/soc/sti/uniperif_reader.c snd_pcm_stop_xrun(reader->substream); reader 74 sound/soc/sti/uniperif_reader.c snd_pcm_stream_unlock(reader->substream); reader 76 sound/soc/sti/uniperif_reader.c spin_unlock(&reader->irq_lock); reader 82 sound/soc/sti/uniperif_reader.c struct uniperif *reader) reader 87 sound/soc/sti/uniperif_reader.c if ((reader->daifmt & SND_SOC_DAIFMT_FORMAT_MASK) reader 104 sound/soc/sti/uniperif_reader.c SET_UNIPERIF_I2S_FMT_NBIT_32(reader); reader 105 sound/soc/sti/uniperif_reader.c SET_UNIPERIF_I2S_FMT_DATA_SIZE_32(reader); reader 108 sound/soc/sti/uniperif_reader.c SET_UNIPERIF_I2S_FMT_NBIT_16(reader); reader 109 sound/soc/sti/uniperif_reader.c SET_UNIPERIF_I2S_FMT_DATA_SIZE_16(reader); reader 112 sound/soc/sti/uniperif_reader.c dev_err(reader->dev, "subframe format not supported\n"); reader 120 sound/soc/sti/uniperif_reader.c SET_UNIPERIF_CONFIG_MEM_FMT_16_16(reader); reader 128 sound/soc/sti/uniperif_reader.c SET_UNIPERIF_CONFIG_MEM_FMT_16_0(reader); reader 132 sound/soc/sti/uniperif_reader.c dev_err(reader->dev, "format not supported\n"); reader 139 sound/soc/sti/uniperif_reader.c dev_err(reader->dev, "%s: invalid nb of channels\n", __func__); reader 143 sound/soc/sti/uniperif_reader.c SET_UNIPERIF_I2S_FMT_NUM_CH(reader, runtime->channels / 2); reader 144 sound/soc/sti/uniperif_reader.c SET_UNIPERIF_I2S_FMT_ORDER_MSB(reader); reader 150 sound/soc/sti/uniperif_reader.c struct uniperif *reader) reader 160 sound/soc/sti/uniperif_reader.c SET_UNIPERIF_CONFIG_MEM_FMT_16_0(reader); reader 161 sound/soc/sti/uniperif_reader.c SET_UNIPERIF_I2S_FMT_DATA_SIZE_32(reader); reader 164 sound/soc/sti/uniperif_reader.c SET_UNIPERIF_I2S_FMT_NUM_CH(reader, frame_size / 4 / 2); reader 166 sound/soc/sti/uniperif_reader.c SET_UNIPERIF_I2S_FMT_ORDER_MSB(reader); reader 167 sound/soc/sti/uniperif_reader.c SET_UNIPERIF_I2S_FMT_ALIGN_LEFT(reader); reader 168 sound/soc/sti/uniperif_reader.c SET_UNIPERIF_TDM_ENABLE_TDM_ENABLE(reader); reader 177 sound/soc/sti/uniperif_reader.c sti_uniperiph_get_tdm_word_pos(reader, word_pos); reader 178 sound/soc/sti/uniperif_reader.c SET_UNIPERIF_TDM_WORD_POS(reader, 1_2, word_pos[WORD_1_2]); reader 179 sound/soc/sti/uniperif_reader.c SET_UNIPERIF_TDM_WORD_POS(reader, 3_4, word_pos[WORD_3_4]); reader 180 sound/soc/sti/uniperif_reader.c SET_UNIPERIF_TDM_WORD_POS(reader, 5_6, word_pos[WORD_5_6]); reader 181 sound/soc/sti/uniperif_reader.c SET_UNIPERIF_TDM_WORD_POS(reader, 7_8, word_pos[WORD_7_8]); reader 190 sound/soc/sti/uniperif_reader.c struct uniperif *reader = priv->dai_data.uni; reader 195 sound/soc/sti/uniperif_reader.c if (reader->state != UNIPERIF_STATE_STOPPED) { reader 196 sound/soc/sti/uniperif_reader.c dev_err(reader->dev, "%s: invalid reader state %d\n", __func__, reader 197 sound/soc/sti/uniperif_reader.c reader->state); reader 202 sound/soc/sti/uniperif_reader.c if (reader->type == SND_ST_UNIPERIF_TYPE_TDM) { reader 211 sound/soc/sti/uniperif_reader.c if (reader->ver < SND_ST_UNIPERIF_VERSION_UNI_PLR_TOP_1_0) reader 224 sound/soc/sti/uniperif_reader.c (trigger_limit > UNIPERIF_CONFIG_DMA_TRIG_LIMIT_MASK(reader))) { reader 225 sound/soc/sti/uniperif_reader.c dev_err(reader->dev, "invalid trigger limit %d\n", reader 230 sound/soc/sti/uniperif_reader.c SET_UNIPERIF_CONFIG_DMA_TRIG_LIMIT(reader, trigger_limit); reader 232 sound/soc/sti/uniperif_reader.c if (UNIPERIF_TYPE_IS_TDM(reader)) reader 233 sound/soc/sti/uniperif_reader.c ret = uni_reader_prepare_tdm(runtime, reader); reader 235 sound/soc/sti/uniperif_reader.c ret = uni_reader_prepare_pcm(runtime, reader); reader 239 sound/soc/sti/uniperif_reader.c switch (reader->daifmt & SND_SOC_DAIFMT_FORMAT_MASK) { reader 241 sound/soc/sti/uniperif_reader.c SET_UNIPERIF_I2S_FMT_ALIGN_LEFT(reader); reader 242 sound/soc/sti/uniperif_reader.c SET_UNIPERIF_I2S_FMT_PADDING_I2S_MODE(reader); reader 245 sound/soc/sti/uniperif_reader.c SET_UNIPERIF_I2S_FMT_ALIGN_LEFT(reader); reader 246 sound/soc/sti/uniperif_reader.c SET_UNIPERIF_I2S_FMT_PADDING_SONY_MODE(reader); reader 249 sound/soc/sti/uniperif_reader.c SET_UNIPERIF_I2S_FMT_ALIGN_RIGHT(reader); reader 250 sound/soc/sti/uniperif_reader.c SET_UNIPERIF_I2S_FMT_PADDING_SONY_MODE(reader); reader 253 sound/soc/sti/uniperif_reader.c dev_err(reader->dev, "format not supported\n"); reader 258 sound/soc/sti/uniperif_reader.c switch (reader->daifmt & SND_SOC_DAIFMT_INV_MASK) { reader 260 sound/soc/sti/uniperif_reader.c SET_UNIPERIF_I2S_FMT_LR_POL_LOW(reader); reader 261 sound/soc/sti/uniperif_reader.c SET_UNIPERIF_I2S_FMT_SCLK_EDGE_RISING(reader); reader 264 sound/soc/sti/uniperif_reader.c SET_UNIPERIF_I2S_FMT_LR_POL_HIG(reader); reader 265 sound/soc/sti/uniperif_reader.c SET_UNIPERIF_I2S_FMT_SCLK_EDGE_RISING(reader); reader 268 sound/soc/sti/uniperif_reader.c SET_UNIPERIF_I2S_FMT_LR_POL_LOW(reader); reader 269 sound/soc/sti/uniperif_reader.c SET_UNIPERIF_I2S_FMT_SCLK_EDGE_FALLING(reader); reader 272 sound/soc/sti/uniperif_reader.c SET_UNIPERIF_I2S_FMT_LR_POL_HIG(reader); reader 273 sound/soc/sti/uniperif_reader.c SET_UNIPERIF_I2S_FMT_SCLK_EDGE_FALLING(reader); reader 278 sound/soc/sti/uniperif_reader.c SET_UNIPERIF_ITS_BCLR(reader, GET_UNIPERIF_ITS(reader)); reader 280 sound/soc/sti/uniperif_reader.c SET_UNIPERIF_I2S_FMT_NO_OF_SAMPLES_TO_READ(reader, 0); reader 283 sound/soc/sti/uniperif_reader.c SET_UNIPERIF_ITM_BSET_DMA_ERROR(reader); reader 284 sound/soc/sti/uniperif_reader.c SET_UNIPERIF_ITM_BSET_FIFO_ERROR(reader); reader 285 sound/soc/sti/uniperif_reader.c SET_UNIPERIF_ITM_BSET_MEM_BLK_READ(reader); reader 288 sound/soc/sti/uniperif_reader.c if (reader->underflow_enabled) { reader 289 sound/soc/sti/uniperif_reader.c SET_UNIPERIF_ITM_BSET_UNDERFLOW_REC_DONE(reader); reader 290 sound/soc/sti/uniperif_reader.c SET_UNIPERIF_ITM_BSET_UNDERFLOW_REC_FAILED(reader); reader 294 sound/soc/sti/uniperif_reader.c return sti_uniperiph_reset(reader); reader 297 sound/soc/sti/uniperif_reader.c static int uni_reader_start(struct uniperif *reader) reader 300 sound/soc/sti/uniperif_reader.c if (reader->state != UNIPERIF_STATE_STOPPED) { reader 301 sound/soc/sti/uniperif_reader.c dev_err(reader->dev, "%s: invalid reader state\n", __func__); reader 306 sound/soc/sti/uniperif_reader.c SET_UNIPERIF_ITS_BCLR_FIFO_ERROR(reader); reader 307 sound/soc/sti/uniperif_reader.c SET_UNIPERIF_ITM_BSET_FIFO_ERROR(reader); reader 310 sound/soc/sti/uniperif_reader.c SET_UNIPERIF_CTRL_OPERATION_PCM_DATA(reader); reader 313 sound/soc/sti/uniperif_reader.c reader->state = UNIPERIF_STATE_STARTED; reader 317 sound/soc/sti/uniperif_reader.c static int uni_reader_stop(struct uniperif *reader) reader 320 sound/soc/sti/uniperif_reader.c if (reader->state == UNIPERIF_STATE_STOPPED) { reader 321 sound/soc/sti/uniperif_reader.c dev_err(reader->dev, "%s: invalid reader state\n", __func__); reader 326 sound/soc/sti/uniperif_reader.c SET_UNIPERIF_CTRL_OPERATION_OFF(reader); reader 329 sound/soc/sti/uniperif_reader.c SET_UNIPERIF_ITM_BCLR(reader, GET_UNIPERIF_ITM(reader)); reader 332 sound/soc/sti/uniperif_reader.c reader->state = UNIPERIF_STATE_STOPPED; reader 341 sound/soc/sti/uniperif_reader.c struct uniperif *reader = priv->dai_data.uni; reader 345 sound/soc/sti/uniperif_reader.c return uni_reader_start(reader); reader 347 sound/soc/sti/uniperif_reader.c return uni_reader_stop(reader); reader 357 sound/soc/sti/uniperif_reader.c struct uniperif *reader = priv->dai_data.uni; reader 361 sound/soc/sti/uniperif_reader.c spin_lock_irqsave(&reader->irq_lock, flags); reader 362 sound/soc/sti/uniperif_reader.c reader->substream = substream; reader 363 sound/soc/sti/uniperif_reader.c spin_unlock_irqrestore(&reader->irq_lock, flags); reader 365 sound/soc/sti/uniperif_reader.c if (!UNIPERIF_TYPE_IS_TDM(reader)) reader 372 sound/soc/sti/uniperif_reader.c reader, SNDRV_PCM_HW_PARAM_CHANNELS, reader 380 sound/soc/sti/uniperif_reader.c reader, SNDRV_PCM_HW_PARAM_FORMAT, reader 388 sound/soc/sti/uniperif_reader.c struct uniperif *reader = priv->dai_data.uni; reader 391 sound/soc/sti/uniperif_reader.c spin_lock_irqsave(&reader->irq_lock, flags); reader 392 sound/soc/sti/uniperif_reader.c if (reader->state != UNIPERIF_STATE_STOPPED) { reader 394 sound/soc/sti/uniperif_reader.c uni_reader_stop(reader); reader 396 sound/soc/sti/uniperif_reader.c reader->substream = NULL; reader 397 sound/soc/sti/uniperif_reader.c spin_unlock_irqrestore(&reader->irq_lock, flags); reader 411 sound/soc/sti/uniperif_reader.c struct uniperif *reader) reader 415 sound/soc/sti/uniperif_reader.c reader->dev = &pdev->dev; reader 416 sound/soc/sti/uniperif_reader.c reader->state = UNIPERIF_STATE_STOPPED; reader 417 sound/soc/sti/uniperif_reader.c reader->dai_ops = &uni_reader_dai_ops; reader 419 sound/soc/sti/uniperif_reader.c if (UNIPERIF_TYPE_IS_TDM(reader)) reader 420 sound/soc/sti/uniperif_reader.c reader->hw = &uni_tdm_hw; reader 422 sound/soc/sti/uniperif_reader.c reader->hw = &uni_reader_pcm_hw; reader 424 sound/soc/sti/uniperif_reader.c ret = devm_request_irq(&pdev->dev, reader->irq, reader 426 sound/soc/sti/uniperif_reader.c dev_name(&pdev->dev), reader); reader 432 sound/soc/sti/uniperif_reader.c spin_lock_init(&reader->irq_lock); reader 2044 tools/perf/util/session.c struct reader; reader 2058 tools/perf/util/session.c reader__process_events(struct reader *rd, struct perf_session *session, reader 2169 tools/perf/util/session.c struct reader rd = { reader 60 tools/testing/radix-tree/regression4.c pthread_t reader, writer; reader 67 tools/testing/radix-tree/regression4.c if (pthread_create(&reader, NULL, reader_fn, NULL) || reader 73 tools/testing/radix-tree/regression4.c if (pthread_join(reader, NULL) || pthread_join(writer, NULL)) {