Home
last modified time | relevance | path

Searched refs:write_pos (Results 1 – 13 of 13) sorted by relevance

/linux-6.12.1/drivers/media/firewire/
Dfiredtv-avc.c1101 int write_pos; in avc_ca_pmt() local
1154 write_pos = 24; in avc_ca_pmt()
1160 if (program_info_length > sizeof(c->operand) - 4 - write_pos) { in avc_ca_pmt()
1165 memcpy(&c->operand[write_pos], &msg[read_pos], in avc_ca_pmt()
1168 write_pos += program_info_length; in avc_ca_pmt()
1171 if (write_pos + 4 >= sizeof(c->operand) - 4) { in avc_ca_pmt()
1175 c->operand[write_pos++] = msg[read_pos++]; in avc_ca_pmt()
1176 c->operand[write_pos++] = msg[read_pos++]; in avc_ca_pmt()
1177 c->operand[write_pos++] = msg[read_pos++]; in avc_ca_pmt()
1183 c->operand[write_pos++] = es_info_length >> 8; in avc_ca_pmt()
[all …]
/linux-6.12.1/drivers/char/ipmi/
Dipmi_kcs_sm.c112 int write_pos; member
130 kcs->write_pos = 0; in init_kcs_data_with_state()
188 write_data(kcs, kcs->write_data[kcs->write_pos]); in write_next_byte()
189 (kcs->write_pos)++; in write_next_byte()
261 kcs->write_pos = 0; in restart_kcs_transaction()
294 kcs->write_pos = 0; in start_kcs_transaction()
Dipmi_smic_sm.c94 int write_pos; member
109 smic->write_pos = 0; in init_smic_data()
147 smic->write_pos = 0; in start_smic_transaction()
224 smic->write_pos = 0; in start_error_recovery()
233 write_si_sm_data(smic, smic->write_data[smic->write_pos]); in write_next_byte()
234 (smic->write_pos)++; in write_next_byte()
/linux-6.12.1/drivers/staging/fbtft/
Dfb_agm1264k-fl.c255 signed short *write_pos; in iterate_diffusion_matrix() local
261 write_pos = &convert_buf[(y + j) * xres + x + i]; in iterate_diffusion_matrix()
265 *write_pos = pixel; in iterate_diffusion_matrix()
267 signed short p = *write_pos + error * coeff; in iterate_diffusion_matrix()
273 *write_pos = p; in iterate_diffusion_matrix()
/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/
Damdgpu_umsch_mm.c914 unsigned int read_pos, write_pos, available, i, read_bytes = 0; in amdgpu_debugfs_umsch_fwlog_read() local
928 write_pos = plog->wptr; in amdgpu_debugfs_umsch_fwlog_read()
930 if (read_pos > AMDGPU_UMSCHFW_LOG_SIZE || write_pos > AMDGPU_UMSCHFW_LOG_SIZE) in amdgpu_debugfs_umsch_fwlog_read()
933 if (!size || (read_pos == write_pos)) in amdgpu_debugfs_umsch_fwlog_read()
936 if (write_pos > read_pos) { in amdgpu_debugfs_umsch_fwlog_read()
937 available = write_pos - read_pos; in amdgpu_debugfs_umsch_fwlog_read()
941 available = read_num[0] + write_pos - plog->header_size; in amdgpu_debugfs_umsch_fwlog_read()
943 read_num[1] = write_pos - plog->header_size; in amdgpu_debugfs_umsch_fwlog_read()
Damdgpu_vcn.c1089 unsigned int read_pos, write_pos, available, i, read_bytes = 0; in amdgpu_debugfs_vcn_fwlog_read() local
1103 write_pos = plog->wptr; in amdgpu_debugfs_vcn_fwlog_read()
1105 if (read_pos > AMDGPU_VCNFW_LOG_SIZE || write_pos > AMDGPU_VCNFW_LOG_SIZE) in amdgpu_debugfs_vcn_fwlog_read()
1108 if (!size || (read_pos == write_pos)) in amdgpu_debugfs_vcn_fwlog_read()
1111 if (write_pos > read_pos) { in amdgpu_debugfs_vcn_fwlog_read()
1112 available = write_pos - read_pos; in amdgpu_debugfs_vcn_fwlog_read()
1116 available = read_num[0] + write_pos - plog->header_size; in amdgpu_debugfs_vcn_fwlog_read()
1118 read_num[1] = write_pos - plog->header_size; in amdgpu_debugfs_vcn_fwlog_read()
/linux-6.12.1/Documentation/trace/coresight/
Dultrasoc-smb.rst31 buf_size buf_status read_pos write_pos
36 * ``write_pos``: Shows the value on the write pointer register.
/linux-6.12.1/Documentation/ABI/testing/
Dsysfs-bus-coresight-devices-ultra_smb27 What: /sys/bus/coresight/devices/ultra_smb<N>/mgmt/write_pos
/linux-6.12.1/fs/ceph/
Dfile.c1746 u64 write_pos = pos; in ceph_sync_write() local
1756 ceph_fscrypt_adjust_off_and_len(inode, &write_pos, &write_len); in ceph_sync_write()
1759 ceph_calc_file_object_mapping(&ci->i_layout, write_pos, in ceph_sync_write()
1765 if (pos + len > write_pos + write_len) in ceph_sync_write()
1766 len = write_pos + write_len - pos; in ceph_sync_write()
1774 first = pos != write_pos; in ceph_sync_write()
1775 last = (pos + len) != (write_pos + write_len); in ceph_sync_write()
1779 ci->i_vino.ino, pos, len, write_pos, write_len, in ceph_sync_write()
1786 num_pages = calc_pages_for(write_pos, write_len); in ceph_sync_write()
1795 u64 first_pos = write_pos; in ceph_sync_write()
[all …]
/linux-6.12.1/sound/soc/intel/catpt/
Dmessages.h396 u32 write_pos; member
Dipc.c173 glitch.write_pos); in catpt_dsp_notify_stream()
/linux-6.12.1/drivers/md/
Draid5-cache.c2363 sector_t write_pos; in r5c_recovery_rewrite_data_only_stripes() local
2370 write_pos = r5l_ring_add(log, ctx->pos, BLOCK_SECTORS); in r5c_recovery_rewrite_data_only_stripes()
2389 sync_page_io(log->rdev, write_pos, PAGE_SIZE, in r5c_recovery_rewrite_data_only_stripes()
2391 write_pos = r5l_ring_add(log, write_pos, in r5c_recovery_rewrite_data_only_stripes()
2406 ctx->pos = write_pos; in r5c_recovery_rewrite_data_only_stripes()
/linux-6.12.1/drivers/hwtracing/coresight/
Dultrasoc-smb.c179 coresight_simple_reg32(write_pos, SMB_LB_WR_ADDR_REG),