Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/media/firewire/
Dfiredtv-avc.c1099 int write_pos; in avc_ca_pmt() local
1152 write_pos = 24; in avc_ca_pmt()
1158 if (program_info_length > sizeof(c->operand) - 4 - write_pos) { in avc_ca_pmt()
1163 memcpy(&c->operand[write_pos], &msg[read_pos], in avc_ca_pmt()
1166 write_pos += program_info_length; in avc_ca_pmt()
1169 if (write_pos + 4 >= sizeof(c->operand) - 4) { in avc_ca_pmt()
1173 c->operand[write_pos++] = msg[read_pos++]; in avc_ca_pmt()
1174 c->operand[write_pos++] = msg[read_pos++]; in avc_ca_pmt()
1175 c->operand[write_pos++] = msg[read_pos++]; in avc_ca_pmt()
1181 c->operand[write_pos++] = es_info_length >> 8; in avc_ca_pmt()
[all …]
/linux-6.1.9/drivers/char/ipmi/
Dipmi_kcs_sm.c112 int write_pos; member
130 kcs->write_pos = 0; in init_kcs_data()
182 write_data(kcs, kcs->write_data[kcs->write_pos]); in write_next_byte()
183 (kcs->write_pos)++; in write_next_byte()
255 kcs->write_pos = 0; in restart_kcs_transaction()
288 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.1.9/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.1.9/drivers/gpu/drm/amd/amdgpu/
Damdgpu_vcn.c1138 unsigned int read_pos, write_pos, available, i, read_bytes = 0; in amdgpu_debugfs_vcn_fwlog_read() local
1152 write_pos = plog->wptr; in amdgpu_debugfs_vcn_fwlog_read()
1154 if (read_pos > AMDGPU_VCNFW_LOG_SIZE || write_pos > AMDGPU_VCNFW_LOG_SIZE) in amdgpu_debugfs_vcn_fwlog_read()
1157 if (!size || (read_pos == write_pos)) in amdgpu_debugfs_vcn_fwlog_read()
1160 if (write_pos > read_pos) { in amdgpu_debugfs_vcn_fwlog_read()
1161 available = write_pos - read_pos; in amdgpu_debugfs_vcn_fwlog_read()
1165 available = read_num[0] + write_pos - plog->header_size; in amdgpu_debugfs_vcn_fwlog_read()
1167 read_num[1] = write_pos - plog->header_size; in amdgpu_debugfs_vcn_fwlog_read()
/linux-6.1.9/sound/soc/intel/catpt/
Dmessages.h396 u32 write_pos; member
Dipc.c173 glitch.write_pos); in catpt_dsp_notify_stream()
/linux-6.1.9/drivers/md/
Draid5-cache.c2366 sector_t write_pos; in r5c_recovery_rewrite_data_only_stripes() local
2373 write_pos = r5l_ring_add(log, ctx->pos, BLOCK_SECTORS); in r5c_recovery_rewrite_data_only_stripes()
2392 sync_page_io(log->rdev, write_pos, PAGE_SIZE, in r5c_recovery_rewrite_data_only_stripes()
2394 write_pos = r5l_ring_add(log, write_pos, in r5c_recovery_rewrite_data_only_stripes()
2409 ctx->pos = write_pos; in r5c_recovery_rewrite_data_only_stripes()