/linux-6.1.9/arch/powerpc/platforms/cell/ ! |
D | axon_msi.c | 71 u32 read_offset; member 106 while (msic->read_offset != write_offset && retry < 100) { in axon_msi_cascade() 107 idx = msic->read_offset / sizeof(__le32); in axon_msi_cascade() 112 write_offset, msic->read_offset, msi); in axon_msi_cascade() 136 msic->read_offset += MSIC_FIFO_ENTRY_SIZE; in axon_msi_cascade() 137 msic->read_offset &= MSIC_FIFO_SIZE_MASK; in axon_msi_cascade() 143 msic->read_offset += MSIC_FIFO_ENTRY_SIZE; in axon_msi_cascade() 144 msic->read_offset &= MSIC_FIFO_SIZE_MASK; in axon_msi_cascade() 396 msic->read_offset = dcr_read(msic->dcr_host, MSIC_WRITE_OFFSET_REG) in axon_msi_probe()
|
/linux-6.1.9/drivers/gpu/drm/i915/gt/uc/ ! |
D | intel_guc_log.c | 377 unsigned int buffer_size, read_offset, write_offset, bytes_to_copy, full_cnt; in _guc_log_copy_debuglogs_for_relay() local 421 read_offset = log_buf_state_local.read_ptr; in _guc_log_copy_debuglogs_for_relay() 450 read_offset = 0; in _guc_log_copy_debuglogs_for_relay() 452 } else if (unlikely((read_offset > buffer_size) || in _guc_log_copy_debuglogs_for_relay() 456 read_offset = 0; in _guc_log_copy_debuglogs_for_relay() 461 if (read_offset > write_offset) { in _guc_log_copy_debuglogs_for_relay() 463 bytes_to_copy = buffer_size - read_offset; in _guc_log_copy_debuglogs_for_relay() 465 bytes_to_copy = write_offset - read_offset; in _guc_log_copy_debuglogs_for_relay() 467 i915_memcpy_from_wc(dst_data + read_offset, in _guc_log_copy_debuglogs_for_relay() 468 src_data + read_offset, bytes_to_copy); in _guc_log_copy_debuglogs_for_relay()
|
D | intel_guc_capture.c | 1353 unsigned int buffer_size, read_offset, write_offset, full_count; in __guc_capture_process_output() local 1375 read_offset = log_buf_state_local.read_ptr; in __guc_capture_process_output() 1387 read_offset = 0; in __guc_capture_process_output() 1389 } else if (unlikely((read_offset > buffer_size) || in __guc_capture_process_output() 1393 read_offset = 0; in __guc_capture_process_output() 1398 buf.rd = read_offset; in __guc_capture_process_output()
|
/linux-6.1.9/drivers/fsi/ ! |
D | fsi-occ.c | 72 size_t read_offset; member 122 if (WARN_ON_ONCE(client->read_offset > client->data_size)) { in occ_read() 128 rc = min(len, client->data_size - client->read_offset); in occ_read() 129 if (copy_to_user(buf, client->buffer + client->read_offset, rc)) in occ_read() 132 client->read_offset += rc; in occ_read() 187 client->read_offset = 0; in occ_write()
|
/linux-6.1.9/drivers/rtc/ ! |
D | rtc-meson.c | 262 unsigned int read_offset, read_size; in meson_rtc_regmem_read() local 264 read_offset = RTC_REGMEM_0 + (offset / 4); in meson_rtc_regmem_read() 267 return regmap_bulk_read(rtc->serial, read_offset, buf, read_size); in meson_rtc_regmem_read()
|
D | rtc-zynqmp.c | 254 .read_offset = xlnx_rtc_read_offset,
|
D | rtc-pcf2123.c | 368 .read_offset = pcf2123_read_offset,
|
D | rtc-optee.c | 186 .read_offset = optee_rtc_readoffset,
|
D | interface.c | 1042 if (!rtc->ops->read_offset) in rtc_read_offset() 1046 ret = rtc->ops->read_offset(rtc->dev.parent, offset); in rtc_read_offset()
|
D | rtc-tps65910.c | 361 .read_offset = tps65910_read_offset,
|
D | rtc-pcf8523.c | 381 .read_offset = pcf8523_rtc_read_offset,
|
/linux-6.1.9/drivers/input/mouse/ ! |
D | cyapa_gen6.c | 561 u16 read_offset, u16 read_len, u8 data_id, in cyapa_pip_retrieve_data_structure() argument 566 __le16 read_offset; in cyapa_pip_retrieve_data_structure() member 579 put_unaligned_le16(read_offset, &cmd.read_offset); in cyapa_pip_retrieve_data_structure()
|
/linux-6.1.9/drivers/net/ethernet/netronome/nfp/ ! |
D | nfp_asm.h | 404 static inline u32 nfp_get_ind_csr_ctx_ptr_offs(u32 read_offset) in nfp_get_ind_csr_ctx_ptr_offs() argument 406 return (read_offset & ~NFP_IND_ME_CTX_PTR_BASE_MASK) | NFP_CSR_CTX_PTR; in nfp_get_ind_csr_ctx_ptr_offs()
|
/linux-6.1.9/kernel/ ! |
D | relay.c | 960 size_t read_subbuf, read_offset, write_subbuf, write_offset; in relay_file_read_subbuf_avail() local 966 read_offset = read_pos % subbuf_size; in relay_file_read_subbuf_avail() 970 if (read_offset + padding < write_offset) in relay_file_read_subbuf_avail() 971 avail = write_offset - (read_offset + padding); in relay_file_read_subbuf_avail() 973 avail = (subbuf_size - padding) - read_offset; in relay_file_read_subbuf_avail()
|
/linux-6.1.9/drivers/media/pci/saa7134/ ! |
D | saa7134-alsa.c | 599 dev->dmasound.read_offset += snd_pcm_lib_period_bytes(substream); in snd_card_saa7134_capture_pointer() 600 if (dev->dmasound.read_offset == dev->dmasound.bufsize) in snd_card_saa7134_capture_pointer() 601 dev->dmasound.read_offset = 0; in snd_card_saa7134_capture_pointer() 604 return bytes_to_frames(runtime, dev->dmasound.read_offset); in snd_card_saa7134_capture_pointer() 810 dev->dmasound.read_offset = 0; in snd_card_saa7134_capture_open()
|
/linux-6.1.9/drivers/gpu/drm/etnaviv/ ! |
D | etnaviv_gem_submit.c | 328 if (r->read_offset == 0) { in submit_perfmon_validate() 333 if (r->read_offset >= bo->obj->base.size - sizeof(u32)) { in submit_perfmon_validate() 352 submit->pmrs[i].offset = r->read_offset; in submit_perfmon_validate()
|
/linux-6.1.9/drivers/bus/mhi/ep/ ! |
D | main.c | 283 size_t tr_len, read_offset, write_offset; in mhi_ep_read_channel() local 314 read_offset = mhi_chan->tre_size - mhi_chan->tre_bytes_left; in mhi_ep_read_channel() 316 read_addr = mhi_chan->tre_loc + read_offset; in mhi_ep_read_channel() 444 u32 buf_left, read_offset; in mhi_ep_queue_skb() local 476 read_offset = skb->len - buf_left; in mhi_ep_queue_skb() 477 read_addr = skb->data + read_offset; in mhi_ep_queue_skb()
|
/linux-6.1.9/include/uapi/drm/ ! |
D | etnaviv_drm.h | 178 __u32 read_offset; /* in, offset from read_bo */ member
|
/linux-6.1.9/include/linux/ ! |
D | rtc.h | 67 int (*read_offset)(struct device *, long *offset); member
|
/linux-6.1.9/drivers/mailbox/ ! |
D | bcm-flexrm-mailbox.c | 982 u32 read_offset, write_offset; in flexrm_new_request() local 1011 read_offset = readl_relaxed(ring->regs + RING_BD_READ_PTR); in flexrm_new_request() 1013 read_offset *= RING_DESC_SIZE; in flexrm_new_request() 1014 read_offset += (u32)(BD_START_ADDR_DECODE(val) - ring->bd_dma_base); in flexrm_new_request() 1032 if (write_offset == read_offset) in flexrm_new_request()
|
/linux-6.1.9/drivers/net/ethernet/atheros/atl1e/ ! |
D | atl1e_main.c | 759 rx_page_desc[i].rx_page[j].read_offset = 0; in atl1e_init_ring_ptrs() 1407 if (likely(rx_page->read_offset < write_offset)) { in atl1e_clean_rx_irq() 1414 rx_page->read_offset); in atl1e_clean_rx_irq() 1471 rx_page->read_offset += in atl1e_clean_rx_irq() 1477 if (rx_page->read_offset >= rx_ring->page_size) { in atl1e_clean_rx_irq() 1482 rx_page->read_offset = in atl1e_clean_rx_irq() 1492 } while (rx_page->read_offset < write_offset); in atl1e_clean_rx_irq()
|
D | atl1e.h | 386 u32 read_offset; /* the offset where we have read */ member
|
/linux-6.1.9/drivers/input/touchscreen/ ! |
D | cyttsp4_core.c | 203 int read_offset; in cyttsp4_si_get_cydata() local 227 read_offset = si->si_ofs.cydata_ofs; in cyttsp4_si_get_cydata() 230 rc = cyttsp4_adap_read(cd, read_offset, in cyttsp4_si_get_cydata() 249 read_offset += offsetof(struct cyttsp4_cydata, mfgid_sz) in cyttsp4_si_get_cydata() 253 rc = cyttsp4_adap_read(cd, read_offset, si->si_ptrs.cydata->mfgid_sz, in cyttsp4_si_get_cydata() 261 read_offset += si->si_ptrs.cydata->mfgid_sz; in cyttsp4_si_get_cydata() 264 rc = cyttsp4_adap_read(cd, read_offset, in cyttsp4_si_get_cydata()
|
/linux-6.1.9/drivers/scsi/lpfc/ ! |
D | lpfc_bsg.h | 316 uint32_t read_offset; member
|
/linux-6.1.9/drivers/spmi/ ! |
D | spmi-pmic-arb.c | 494 u32 read_cmd, read_offset, write_cmd, write_offset; in pmic_arb_masked_write() local 500 &read_cmd, &read_offset); in pmic_arb_masked_write() 510 rc = pmic_arb_read_cmd_unlocked(ctrl, read_cmd, read_offset, sid, addr, in pmic_arb_masked_write()
|