/linux-6.12.1/drivers/char/ipmi/ |
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() 214 kcs->read_data[kcs->read_pos] = read_data(kcs); 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() 310 memcpy(data, kcs->read_data, kcs->read_pos); in get_kcs_result() [all …]
|
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() 169 memcpy(data, smic->read_data, smic->read_pos); in smic_get_result() 171 if ((length >= 3) && (smic->read_pos < 3)) { in smic_get_result() 173 smic->read_pos = 3; in smic_get_result() 179 return smic->read_pos; in smic_get_result() [all …]
|
/linux-6.12.1/kernel/ |
D | relay.c | 879 size_t read_pos, in relay_file_read_consume() argument 896 if (!read_pos) in relay_file_read_consume() 899 read_subbuf = read_pos / buf->chan->subbuf_size; in relay_file_read_consume() 956 static size_t relay_file_read_subbuf_avail(size_t read_pos, in relay_file_read_subbuf_avail() argument 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() 992 size_t read_pos = (consumed * subbuf_size + buf->bytes_consumed) in relay_file_read_start_pos() local 995 read_subbuf = read_pos / subbuf_size; in relay_file_read_start_pos() 999 if (read_pos >= padding_start && read_pos < padding_end) { in relay_file_read_start_pos() 1001 read_pos = read_subbuf * subbuf_size; in relay_file_read_start_pos() [all …]
|
/linux-6.12.1/fs/bcachefs/ |
D | io_read.h | 57 struct bpos read_pos; member 116 struct bch_read_bio *rbio, struct bpos read_pos, in bch2_read_extent() argument 120 __bch2_read_extent(trans, rbio, rbio->bio.bi_iter, read_pos, in bch2_read_extent()
|
D | io_read.c | 408 rbio->read_pos, BTREE_ITER_slots); in bch2_read_retry_nodecode() 430 rbio->read_pos, in bch2_read_retry_nodecode() 457 .inum = rbio->read_pos.inode, in bch2_rbio_retry() 679 rbio->read_pos.inode, in __bch2_read_endio() 680 rbio->read_pos.offset << 9, in __bch2_read_endio() 688 bch_err_inum_offset_ratelimited(c, rbio->read_pos.inode, in __bch2_read_endio() 689 rbio->read_pos.offset << 9, in __bch2_read_endio() 694 bch_err_inum_offset_ratelimited(c, rbio->read_pos.inode, in __bch2_read_endio() 695 rbio->read_pos.offset << 9, in __bch2_read_endio() 721 rbio->read_pos.inode, in bch2_read_endio() [all …]
|
/linux-6.12.1/drivers/media/firewire/ |
D | firedtv-avc.c | 1100 int read_pos; in avc_ca_pmt() local 1153 read_pos = 6; in avc_ca_pmt() 1156 pmt_cmd_id = msg[read_pos++]; in avc_ca_pmt() 1165 memcpy(&c->operand[write_pos], &msg[read_pos], in avc_ca_pmt() 1167 read_pos += program_info_length; in avc_ca_pmt() 1170 while (read_pos + 4 < length) { 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() 1179 ((msg[read_pos] & 0x0f) << 8) + msg[read_pos + 1]; in avc_ca_pmt() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_umsch_mm.c | 914 unsigned int read_pos, write_pos, available, i, read_bytes = 0; in amdgpu_debugfs_umsch_fwlog_read() local 927 read_pos = plog->rptr; 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() 940 read_num[0] = AMDGPU_UMSCHFW_LOG_SIZE - read_pos; in amdgpu_debugfs_umsch_fwlog_read() 952 if (read_pos == AMDGPU_UMSCHFW_LOG_SIZE) in amdgpu_debugfs_umsch_fwlog_read() 953 read_pos = plog->header_size; in amdgpu_debugfs_umsch_fwlog_read() 955 (log_buf + read_pos), read_num[i])) in amdgpu_debugfs_umsch_fwlog_read() [all …]
|
D | amdgpu_vcn.c | 1089 unsigned int read_pos, write_pos, available, i, read_bytes = 0; in amdgpu_debugfs_vcn_fwlog_read() local 1102 read_pos = plog->rptr; 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() 1115 read_num[0] = AMDGPU_VCNFW_LOG_SIZE - read_pos; in amdgpu_debugfs_vcn_fwlog_read() 1127 if (read_pos == AMDGPU_VCNFW_LOG_SIZE) in amdgpu_debugfs_vcn_fwlog_read() 1128 read_pos = plog->header_size; in amdgpu_debugfs_vcn_fwlog_read() 1130 (log_buf + read_pos), read_num[i])) in amdgpu_debugfs_vcn_fwlog_read() [all …]
|
/linux-6.12.1/fs/ |
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.12.1/Documentation/trace/coresight/ |
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.12.1/drivers/input/misc/ |
D | ims-pcu.c | 93 u8 read_pos; member 433 memcpy(pcu->cmd_buf, pcu->read_buf, pcu->read_pos); in ims_pcu_handle_response() 434 pcu->cmd_buf_len = pcu->read_pos; in ims_pcu_handle_response() 454 pcu->read_buf[pcu->read_pos++] = data; in ims_pcu_process_data() 464 pcu->read_pos); in ims_pcu_process_data() 467 pcu->read_pos = 0; in ims_pcu_process_data() 476 if (pcu->read_pos < IMS_PCU_MIN_PACKET_LEN) { in ims_pcu_process_data() 479 pcu->read_pos); in ims_pcu_process_data() 483 pcu->read_pos); in ims_pcu_process_data() 490 pcu->read_pos = 0; in ims_pcu_process_data() [all …]
|
/linux-6.12.1/Documentation/ABI/testing/ |
D | sysfs-bus-coresight-devices-ultra_smb | 21 What: /sys/bus/coresight/devices/ultra_smb<N>/mgmt/read_pos
|
/linux-6.12.1/security/integrity/ima/ |
D | ima_kexec.c | 35 file.read_pos = 0; in ima_dump_measurement_list()
|
/linux-6.12.1/include/linux/ |
D | seq_file.h | 23 loff_t read_pos; member
|
/linux-6.12.1/drivers/gpu/drm/mediatek/ |
D | mtk_dp.c | 827 int read_pos; in mtk_dp_aux_read_rx_fifo() local 832 for (read_pos = 0; read_pos < length; read_pos++) { in mtk_dp_aux_read_rx_fifo() 839 buf[read_pos] = (u8)(mtk_dp_read(mtk_dp, MTK_DP_AUX_P0_3620) & in mtk_dp_aux_read_rx_fifo()
|
/linux-6.12.1/drivers/hwtracing/coresight/ |
D | ultrasoc-smb.c | 178 coresight_simple_reg32(read_pos, SMB_LB_RD_ADDR_REG),
|