Searched refs:read_pos (Results 1 – 13 of 13) sorted by relevance
/linux-6.3-rc2/drivers/char/ipmi/ |
A D | ipmi_kcs_sm.c | 116 int read_pos; member 133 kcs->read_pos = 0; in init_kcs_data_with_state() 209 if (kcs->read_pos >= MAX_KCS_READ_SIZE) { in read_next_byte() 215 (kcs->read_pos)++; in read_next_byte() 262 kcs->read_pos = 0; in restart_kcs_transaction() 295 kcs->read_pos = 0; in start_kcs_transaction() 305 if (length < kcs->read_pos) { in get_kcs_result() 306 kcs->read_pos = length; in get_kcs_result() 312 if ((length >= 3) && (kcs->read_pos < 3)) { in get_kcs_result() 316 kcs->read_pos = 3; in get_kcs_result() [all …]
|
A D | ipmi_smic_sm.c | 98 int read_pos; member 112 smic->read_pos = 0; in init_smic_data() 148 smic->read_pos = 0; in start_smic_transaction() 161 for (i = 0; i < smic->read_pos; i++) in smic_get_result() 165 if (length < smic->read_pos) { in smic_get_result() 166 smic->read_pos = length; in smic_get_result() 173 smic->read_pos = 3; in smic_get_result() 179 return smic->read_pos; in smic_get_result() 225 smic->read_pos = 0; in start_error_recovery() 240 if (smic->read_pos >= MAX_SMIC_READ_SIZE) { in read_next_byte() [all …]
|
/linux-6.3-rc2/kernel/ |
A D | relay.c | 879 size_t read_pos, in relay_file_read_consume() argument 896 if (!read_pos) in relay_file_read_consume() 965 read_subbuf = read_pos / subbuf_size; in relay_file_read_subbuf_avail() 966 read_offset = read_pos % subbuf_size; in relay_file_read_subbuf_avail() 994 read_subbuf = read_pos / subbuf_size; in relay_file_read_start_pos() 998 if (read_pos >= padding_start && read_pos < padding_end) { in relay_file_read_start_pos() 1000 read_pos = read_subbuf * subbuf_size; in relay_file_read_start_pos() 1003 return read_pos; in relay_file_read_start_pos() 1013 size_t read_pos, in relay_file_read_end_pos() argument 1020 read_subbuf = read_pos / subbuf_size; in relay_file_read_end_pos() [all …]
|
/linux-6.3-rc2/drivers/media/firewire/ |
A D | firedtv-avc.c | 1098 int read_pos; in avc_ca_pmt() local 1151 read_pos = 6; in avc_ca_pmt() 1154 pmt_cmd_id = msg[read_pos++]; in avc_ca_pmt() 1165 read_pos += program_info_length; in avc_ca_pmt() 1168 while (read_pos + 4 < length) { in avc_ca_pmt() 1173 c->operand[write_pos++] = msg[read_pos++]; in avc_ca_pmt() 1177 ((msg[read_pos] & 0x0f) << 8) + msg[read_pos + 1]; in avc_ca_pmt() 1178 read_pos += 2; in avc_ca_pmt() 1184 if (read_pos >= length) { in avc_ca_pmt() 1188 pmt_cmd_id = msg[read_pos++]; in avc_ca_pmt() [all …]
|
/linux-6.3-rc2/drivers/gpu/drm/amd/amdgpu/ |
A D | amdgpu_vcn.c | 1040 unsigned int read_pos, write_pos, available, i, read_bytes = 0; in amdgpu_debugfs_vcn_fwlog_read() local 1053 read_pos = plog->rptr; in amdgpu_debugfs_vcn_fwlog_read() 1059 if (!size || (read_pos == write_pos)) in amdgpu_debugfs_vcn_fwlog_read() 1062 if (write_pos > read_pos) { in amdgpu_debugfs_vcn_fwlog_read() 1063 available = write_pos - read_pos; in amdgpu_debugfs_vcn_fwlog_read() 1066 read_num[0] = AMDGPU_VCNFW_LOG_SIZE - read_pos; in amdgpu_debugfs_vcn_fwlog_read() 1078 if (read_pos == AMDGPU_VCNFW_LOG_SIZE) in amdgpu_debugfs_vcn_fwlog_read() 1079 read_pos = plog->header_size; in amdgpu_debugfs_vcn_fwlog_read() 1081 (log_buf + read_pos), read_num[i])) in amdgpu_debugfs_vcn_fwlog_read() 1085 read_pos += read_num[i]; in amdgpu_debugfs_vcn_fwlog_read() [all …]
|
/linux-6.3-rc2/fs/ |
A D | seq_file.c | 194 if (unlikely(iocb->ki_pos != m->read_pos)) { in seq_read_iter() 199 m->read_pos = 0; in seq_read_iter() 204 m->read_pos = iocb->ki_pos; in seq_read_iter() 290 m->read_pos += copied; in seq_read_iter() 322 if (offset != m->read_pos) { in seq_lseek() 328 m->read_pos = 0; in seq_lseek() 332 m->read_pos = offset; in seq_lseek()
|
/linux-6.3-rc2/Documentation/trace/coresight/ |
A D | ultrasoc-smb.rst | 31 buf_size buf_status read_pos write_pos 35 * ``read_pos``: Shows the value on the read pointer register.
|
/linux-6.3-rc2/drivers/input/misc/ |
A D | ims-pcu.c | 93 u8 read_pos; member 434 memcpy(pcu->cmd_buf, pcu->read_buf, pcu->read_pos); in ims_pcu_handle_response() 435 pcu->cmd_buf_len = pcu->read_pos; in ims_pcu_handle_response() 455 pcu->read_buf[pcu->read_pos++] = data; in ims_pcu_process_data() 465 pcu->read_pos); in ims_pcu_process_data() 468 pcu->read_pos = 0; in ims_pcu_process_data() 477 if (pcu->read_pos < IMS_PCU_MIN_PACKET_LEN) { in ims_pcu_process_data() 480 pcu->read_pos); in ims_pcu_process_data() 484 pcu->read_pos); in ims_pcu_process_data() 491 pcu->read_pos = 0; in ims_pcu_process_data() [all …]
|
/linux-6.3-rc2/Documentation/ABI/testing/ |
A D | sysfs-bus-coresight-devices-ultra_smb | 21 What: /sys/bus/coresight/devices/ultra_smb<N>/mgmt/read_pos
|
/linux-6.3-rc2/security/integrity/ima/ |
A D | ima_kexec.c | 34 file.read_pos = 0; in ima_dump_measurement_list()
|
/linux-6.3-rc2/include/linux/ |
A D | seq_file.h | 24 loff_t read_pos; member
|
/linux-6.3-rc2/drivers/gpu/drm/mediatek/ |
A D | mtk_dp.c | 740 int read_pos; in mtk_dp_aux_read_rx_fifo() local 745 for (read_pos = 0; read_pos < length; read_pos++) { in mtk_dp_aux_read_rx_fifo() 752 buf[read_pos] = (u8)(mtk_dp_read(mtk_dp, MTK_DP_AUX_P0_3620) & in mtk_dp_aux_read_rx_fifo()
|
/linux-6.3-rc2/drivers/hwtracing/coresight/ |
A D | ultrasoc-smb.c | 195 coresight_simple_reg32(read_pos, SMB_LB_RD_ADDR_REG),
|
Completed in 46 milliseconds