| /OK3568_Linux_fs/kernel/arch/powerpc/platforms/cell/ |
| H A 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() 402 msic->read_offset = dcr_read(msic->dcr_host, MSIC_WRITE_OFFSET_REG) in axon_msi_probe()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/i915/gt/uc/ |
| H A D | intel_guc_log.c | 215 unsigned int buffer_size, read_offset, write_offset, bytes_to_copy, full_cnt; in guc_read_update_log_buffer() local 257 read_offset = log_buf_state_local.read_ptr; in guc_read_update_log_buffer() 286 read_offset = 0; in guc_read_update_log_buffer() 288 } else if (unlikely((read_offset > buffer_size) || in guc_read_update_log_buffer() 292 read_offset = 0; in guc_read_update_log_buffer() 297 if (read_offset > write_offset) { in guc_read_update_log_buffer() 299 bytes_to_copy = buffer_size - read_offset; in guc_read_update_log_buffer() 301 bytes_to_copy = write_offset - read_offset; in guc_read_update_log_buffer() 303 i915_memcpy_from_wc(dst_data + read_offset, in guc_read_update_log_buffer() 304 src_data + read_offset, bytes_to_copy); in guc_read_update_log_buffer()
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v2/ta/rk_test/ |
| H A D | rktest_otp.c | 18 uint32_t read_offset = 0; in handle_otp_read() local 27 res = rk_otp_read(read_offset, read_data, read_len); in handle_otp_read()
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v1/ta/rk_test/ |
| H A D | rktest_otp.c | 19 uint32_t read_offset = 0; in handle_otp_read() local 28 res = rk_otp_read(read_offset, read_data, read_len); in handle_otp_read()
|
| /OK3568_Linux_fs/kernel/drivers/fsi/ |
| H A D | fsi-occ.c | 63 size_t read_offset; member 112 if (WARN_ON_ONCE(client->read_offset > client->data_size)) { in occ_read() 118 rc = min(len, client->data_size - client->read_offset); in occ_read() 119 if (copy_to_user(buf, client->buffer + client->read_offset, rc)) in occ_read() 122 client->read_offset += rc; in occ_read() 188 client->read_offset = 0; in occ_write()
|
| /OK3568_Linux_fs/kernel/drivers/rtc/ |
| H A 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()
|
| H A D | rtc-tps65910.c | 360 .read_offset = tps65910_read_offset, 367 .read_offset = tps65910_read_offset,
|
| H A D | rtc-armada38x.c | 457 .read_offset = armada38x_rtc_read_offset, 465 .read_offset = armada38x_rtc_read_offset,
|
| H A D | rtc-pcf85063.c | 312 .read_offset = pcf85063_read_offset, 320 .read_offset = pcf85063_read_offset,
|
| /OK3568_Linux_fs/kernel/drivers/input/mouse/ |
| H A 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()
|
| /OK3568_Linux_fs/kernel/drivers/media/pci/saa7134/ |
| H A 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()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/netronome/nfp/ |
| H A 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()
|
| /OK3568_Linux_fs/kernel/drivers/input/touchscreen/cyttsp5/ |
| H A D | cyttsp5_core.c | 1838 struct cyttsp5_core_data *cd, u16 read_offset, u16 read_length, in cyttsp5_hid_output_get_data_structure_() argument 1855 write_buf[0] = LOW_BYTE(read_offset); in cyttsp5_hid_output_get_data_structure_() 1856 write_buf[1] = HI_BYTE(read_offset); in cyttsp5_hid_output_get_data_structure_() 1879 read_offset += read_len; in cyttsp5_hid_output_get_data_structure_() 1898 struct cyttsp5_core_data *cd, u16 read_offset, u16 read_length, in cyttsp5_hid_output_get_data_structure() argument 1911 rc = cyttsp5_hid_output_get_data_structure_(cd, read_offset, in cyttsp5_hid_output_get_data_structure() 1922 int protect, u16 read_offset, u16 read_length, u8 data_id, in _cyttsp5_request_hid_output_get_data_structure() argument 1929 read_offset, read_length, data_id, status, in _cyttsp5_request_hid_output_get_data_structure() 1933 read_offset, read_length, data_id, status, in _cyttsp5_request_hid_output_get_data_structure() 2009 struct cyttsp5_core_data *cd, u16 read_offset, u16 read_length, in cyttsp5_hid_output_get_selftest_result_() argument [all …]
|
| H A D | cyttsp5_regs.h | 857 u16 read_offset, u16 read_length, u8 data_id, 864 u16 read_offset, u16 read_length, u8 test_id, u8 *status, 872 u16 read_offset, u16 read_count, u8 data_id,
|
| /OK3568_Linux_fs/kernel/kernel/ |
| H A D | relay.c | 1048 size_t read_subbuf, read_offset, write_subbuf, write_offset; in relay_file_read_subbuf_avail() local 1054 read_offset = read_pos % subbuf_size; in relay_file_read_subbuf_avail() 1058 if (read_offset + padding < write_offset) in relay_file_read_subbuf_avail() 1059 avail = write_offset - (read_offset + padding); in relay_file_read_subbuf_avail() 1061 avail = (subbuf_size - padding) - read_offset; in relay_file_read_subbuf_avail()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/etnaviv/ |
| H A D | etnaviv_gem_submit.c | 339 if (r->read_offset == 0) { in submit_perfmon_validate() 344 if (r->read_offset >= bo->obj->base.size - sizeof(u32)) { in submit_perfmon_validate() 363 submit->pmrs[i].offset = r->read_offset; in submit_perfmon_validate()
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/drm/ |
| H A D | etnaviv_drm.h | 169 __u32 read_offset; /* in, offset from read_bo */ member
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/drm/ |
| H A D | etnaviv_drm.h | 169 __u32 read_offset; /* in, offset from read_bo */ member
|
| /OK3568_Linux_fs/kernel/include/uapi/drm/ |
| H A D | etnaviv_drm.h | 175 __u32 read_offset; /* in, offset from read_bo */ member
|
| /OK3568_Linux_fs/kernel/drivers/mailbox/ |
| H A D | bcm-flexrm-mailbox.c | 992 u32 read_offset, write_offset; in flexrm_new_request() local 1021 read_offset = readl_relaxed(ring->regs + RING_BD_READ_PTR); in flexrm_new_request() 1023 read_offset *= RING_DESC_SIZE; in flexrm_new_request() 1024 read_offset += (u32)(BD_START_ADDR_DECODE(val) - ring->bd_dma_base); in flexrm_new_request() 1042 if (write_offset == read_offset) in flexrm_new_request()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/atheros/atl1e/ |
| H A 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()
|
| H A D | atl1e.h | 386 u32 read_offset; /* the offset where we have read */ member
|
| /OK3568_Linux_fs/kernel/drivers/input/touchscreen/ |
| H A D | cyttsp4_core.c | 189 int read_offset; in cyttsp4_si_get_cydata() local 213 read_offset = si->si_ofs.cydata_ofs; in cyttsp4_si_get_cydata() 216 rc = cyttsp4_adap_read(cd, read_offset, in cyttsp4_si_get_cydata() 235 read_offset += offsetof(struct cyttsp4_cydata, mfgid_sz) in cyttsp4_si_get_cydata() 239 rc = cyttsp4_adap_read(cd, read_offset, si->si_ptrs.cydata->mfgid_sz, in cyttsp4_si_get_cydata() 247 read_offset += si->si_ptrs.cydata->mfgid_sz; in cyttsp4_si_get_cydata() 250 rc = cyttsp4_adap_read(cd, read_offset, in cyttsp4_si_get_cydata()
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | rtc.h | 68 int (*read_offset)(struct device *, long *offset); member
|
| /OK3568_Linux_fs/kernel/drivers/scsi/lpfc/ |
| H A D | lpfc_bsg.h | 327 uint32_t read_offset; member
|