Home
last modified time | relevance | path

Searched refs:is_read (Results 1 - 25 of 84) sorted by relevance

1234

/kernel/linux/linux-6.6/drivers/gpu/drm/i915/
H A Dintel_sbi.c15 u32 *val, bool is_read) in intel_sbi_rw()
31 intel_uncore_write_fw(uncore, SBI_DATA, is_read ? 0 : *val); in intel_sbi_rw()
37 if (!is_read) in intel_sbi_rw()
54 if (is_read) in intel_sbi_rw()
13 intel_sbi_rw(struct drm_i915_private *i915, u16 reg, enum intel_sbi_destination destination, u32 *val, bool is_read) intel_sbi_rw() argument
H A Dvlv_sideband.c82 const bool is_read = (opcode == SB_MRD_NP || opcode == SB_CRRDDA_NP); in vlv_sideband_rw() local
94 is_read ? "read" : "write"); in vlv_sideband_rw()
101 intel_uncore_write_fw(uncore, VLV_IOSF_DATA, is_read ? 0 : *val); in vlv_sideband_rw()
113 if (is_read) in vlv_sideband_rw()
118 is_read ? "read" : "write"); in vlv_sideband_rw()
H A Dintel_pcode.c58 bool is_read) in __snb_pcode_rw()
84 if (is_read) in __snb_pcode_rw()
86 if (is_read && val1) in __snb_pcode_rw()
55 __snb_pcode_rw(struct intel_uncore *uncore, u32 mbox, u32 *val, u32 *val1, int fast_timeout_us, int slow_timeout_ms, bool is_read) __snb_pcode_rw() argument
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/
H A Dintel_sideband.c98 const bool is_read = (opcode == SB_MRD_NP || opcode == SB_CRRDDA_NP); in vlv_sideband_rw() local
110 is_read ? "read" : "write"); in vlv_sideband_rw()
117 intel_uncore_write_fw(uncore, VLV_IOSF_DATA, is_read ? 0 : *val); in vlv_sideband_rw()
129 if (is_read) in vlv_sideband_rw()
134 is_read ? "read" : "write"); in vlv_sideband_rw()
290 u32 *val, bool is_read) in intel_sbi_rw()
306 intel_uncore_write_fw(uncore, SBI_DATA, is_read ? 0 : *val); in intel_sbi_rw()
312 if (!is_read) in intel_sbi_rw()
329 if (is_read) in intel_sbi_rw()
400 bool is_read) in __sandybridge_pcode_rw()
288 intel_sbi_rw(struct drm_i915_private *i915, u16 reg, enum intel_sbi_destination destination, u32 *val, bool is_read) intel_sbi_rw() argument
396 __sandybridge_pcode_rw(struct drm_i915_private *i915, u32 mbox, u32 *val, u32 *val1, int fast_timeout_us, int slow_timeout_ms, bool is_read) __sandybridge_pcode_rw() argument
[all...]
/kernel/linux/linux-5.10/arch/arm64/kvm/hyp/
H A Dvgic-v3-sr.c978 bool is_read; in __vgic_v3_perform_cpuif_access() local
993 is_read = (esr & ESR_ELx_SYS64_ISS_DIR_MASK) == ESR_ELx_SYS64_ISS_DIR_READ; in __vgic_v3_perform_cpuif_access()
998 if (unlikely(!is_read)) in __vgic_v3_perform_cpuif_access()
1004 if (unlikely(is_read)) in __vgic_v3_perform_cpuif_access()
1009 if (is_read) in __vgic_v3_perform_cpuif_access()
1015 if (is_read) in __vgic_v3_perform_cpuif_access()
1022 if (is_read) in __vgic_v3_perform_cpuif_access()
1029 if (is_read) in __vgic_v3_perform_cpuif_access()
1036 if (is_read) in __vgic_v3_perform_cpuif_access()
1043 if (is_read) in __vgic_v3_perform_cpuif_access()
[all...]
/kernel/linux/linux-6.6/arch/arm64/kvm/hyp/
H A Dvgic-v3-sr.c1022 bool is_read; in __vgic_v3_perform_cpuif_access() local
1037 is_read = (esr & ESR_ELx_SYS64_ISS_DIR_MASK) == ESR_ELx_SYS64_ISS_DIR_READ; in __vgic_v3_perform_cpuif_access()
1042 if (unlikely(!is_read)) in __vgic_v3_perform_cpuif_access()
1048 if (unlikely(is_read)) in __vgic_v3_perform_cpuif_access()
1053 if (is_read) in __vgic_v3_perform_cpuif_access()
1059 if (is_read) in __vgic_v3_perform_cpuif_access()
1066 if (is_read) in __vgic_v3_perform_cpuif_access()
1073 if (is_read) in __vgic_v3_perform_cpuif_access()
1080 if (is_read) in __vgic_v3_perform_cpuif_access()
1087 if (is_read) in __vgic_v3_perform_cpuif_access()
[all...]
/kernel/linux/linux-5.10/drivers/md/bcache/
H A Dio.c83 int is_read, in bch_count_io_errors()
128 is_read ? ", recovering." : "."); in bch_count_io_errors()
141 int is_read = (bio_data_dir(bio) == READ ? 1 : 0); in bch_bbio_count_io_errors() local
163 bch_count_io_errors(ca, error, is_read, m); in bch_bbio_count_io_errors()
81 bch_count_io_errors(struct cache *ca, blk_status_t error, int is_read, const char *m) bch_count_io_errors() argument
/kernel/linux/linux-6.6/drivers/md/bcache/
H A Dio.c84 int is_read, in bch_count_io_errors()
129 is_read ? ", recovering." : "."); in bch_count_io_errors()
142 int is_read = (bio_data_dir(bio) == READ ? 1 : 0); in bch_bbio_count_io_errors() local
164 bch_count_io_errors(ca, error, is_read, m); in bch_bbio_count_io_errors()
82 bch_count_io_errors(struct cache *ca, blk_status_t error, int is_read, const char *m) bch_count_io_errors() argument
/kernel/linux/linux-5.10/tools/lib/perf/
H A Dlib.c10 static ssize_t ion(bool is_read, int fd, void *buf, size_t n) in ion() argument
16 /* buf must be treated as const if !is_read. */ in ion()
17 ssize_t ret = is_read ? read(fd, buf, left) : in ion()
/kernel/linux/linux-6.6/arch/x86/xen/
H A Dpmu.c199 int index, bool is_read) in xen_intel_pmu_emulate()
247 if (is_read) in xen_intel_pmu_emulate()
261 static bool xen_amd_pmu_emulate(unsigned int msr, u64 *val, bool is_read) in xen_amd_pmu_emulate() argument
292 if (is_read) in xen_amd_pmu_emulate()
302 static bool pmu_msr_chk_emulated(unsigned int msr, uint64_t *val, bool is_read, in pmu_msr_chk_emulated() argument
308 *emul = xen_amd_pmu_emulate(msr, val, is_read); in pmu_msr_chk_emulated()
310 *emul = xen_intel_pmu_emulate(msr, val, type, index, is_read); in pmu_msr_chk_emulated()
198 xen_intel_pmu_emulate(unsigned int msr, u64 *val, int type, int index, bool is_read) xen_intel_pmu_emulate() argument
/kernel/linux/linux-6.6/tools/lib/perf/
H A Dlib.c10 static ssize_t ion(bool is_read, int fd, void *buf, size_t n) in ion() argument
16 /* buf must be treated as const if !is_read. */ in ion()
17 ssize_t ret = is_read ? read(fd, buf, left) : in ion()
/kernel/linux/linux-5.10/drivers/base/regmap/
H A Dregmap-spi-avmm.c184 static int br_trans_tx_prepare(struct spi_avmm_bridge *br, bool is_read, u32 reg, in br_trans_tx_prepare() argument
193 if (is_read) { in br_trans_tx_prepare()
213 if (!is_read) { in br_trans_tx_prepare()
552 static int do_reg_access(void *context, bool is_read, unsigned int reg, in do_reg_access() argument
562 ret = br_trans_tx_prepare(br, is_read, reg, value, count); in do_reg_access()
578 if (is_read) in do_reg_access()
/kernel/linux/linux-6.6/arch/arm64/kvm/
H A Dtrace_arm.h368 TP_PROTO(struct kvm_vcpu *vcpu, u32 sysreg, bool is_read),
369 TP_ARGS(vcpu, sysreg, is_read),
374 __field(bool, is_read)
380 __entry->is_read = is_read;
385 __entry->is_read ? 'R' : 'W',
/kernel/linux/linux-6.6/drivers/base/regmap/
H A Dregmap-spi-avmm.c178 static int br_trans_tx_prepare(struct spi_avmm_bridge *br, bool is_read, u32 reg, in br_trans_tx_prepare() argument
187 if (is_read) { in br_trans_tx_prepare()
207 if (!is_read) { in br_trans_tx_prepare()
546 static int do_reg_access(void *context, bool is_read, unsigned int reg, in do_reg_access() argument
556 ret = br_trans_tx_prepare(br, is_read, reg, value, count); in do_reg_access()
572 if (is_read) in do_reg_access()
/kernel/linux/linux-6.6/drivers/net/ethernet/hisilicon/hns3/hns3vf/
H A Dhclgevf_cmd.h111 #define hclgevf_cmd_setup_basic_desc(desc, opcode, is_read) \
112 hclge_comm_cmd_setup_basic_desc(desc, opcode, is_read)
/kernel/linux/linux-5.10/drivers/mmc/host/
H A Dbcm2835.c328 static void bcm2835_transfer_block_pio(struct bcm2835_host *host, bool is_read) in bcm2835_transfer_block_pio() argument
370 if (is_read) in bcm2835_transfer_block_pio()
379 if ((is_read && in bcm2835_transfer_block_pio()
383 (!is_read && in bcm2835_transfer_block_pio()
396 is_read ? "read" : "write", in bcm2835_transfer_block_pio()
411 if (is_read) in bcm2835_transfer_block_pio()
432 bool is_read; in bcm2835_transfer_pio() local
434 is_read = (host->data->flags & MMC_DATA_READ) != 0; in bcm2835_transfer_pio()
435 bcm2835_transfer_block_pio(host, is_read); in bcm2835_transfer_pio()
442 is_read in bcm2835_transfer_pio()
[all...]
/kernel/linux/linux-6.6/drivers/mmc/host/
H A Dbcm2835.c328 static void bcm2835_transfer_block_pio(struct bcm2835_host *host, bool is_read) in bcm2835_transfer_block_pio() argument
367 if (is_read) in bcm2835_transfer_block_pio()
376 if ((is_read && in bcm2835_transfer_block_pio()
380 (!is_read && in bcm2835_transfer_block_pio()
393 is_read ? "read" : "write", in bcm2835_transfer_block_pio()
408 if (is_read) in bcm2835_transfer_block_pio()
427 bool is_read; in bcm2835_transfer_pio() local
429 is_read = (host->data->flags & MMC_DATA_READ) != 0; in bcm2835_transfer_pio()
430 bcm2835_transfer_block_pio(host, is_read); in bcm2835_transfer_pio()
437 is_read in bcm2835_transfer_pio()
[all...]
/kernel/linux/linux-6.6/block/
H A Dfops.c169 bool is_read = (iov_iter_rw(iter) == READ), is_sync; in __blkdev_direct_IO() local
170 blk_opf_t opf = is_read ? REQ_OP_READ : dio_bio_write_op(iocb); in __blkdev_direct_IO()
199 if (is_read && user_backed_iter(iter)) in __blkdev_direct_IO()
235 if (is_read) { in __blkdev_direct_IO()
306 bool is_read = iov_iter_rw(iter) == READ; in __blkdev_direct_IO_async() local
307 blk_opf_t opf = is_read ? REQ_OP_READ : dio_bio_write_op(iocb); in __blkdev_direct_IO_async()
344 if (is_read) { in __blkdev_direct_IO_async()
/kernel/linux/linux-5.10/arch/m68k/mac/
H A Dmisc.c177 int is_read; in via_rtc_command() local
192 is_read = command & (RTC_FLG_READ << 8); in via_rtc_command()
195 is_read = command & RTC_FLG_READ; in via_rtc_command()
197 if (is_read) { in via_rtc_command()
/kernel/linux/linux-5.10/arch/x86/xen/
H A Dpmu.c190 int index, bool is_read) in xen_intel_pmu_emulate()
238 if (is_read) in xen_intel_pmu_emulate()
252 static bool xen_amd_pmu_emulate(unsigned int msr, u64 *val, bool is_read) in xen_amd_pmu_emulate() argument
283 if (is_read) in xen_amd_pmu_emulate()
189 xen_intel_pmu_emulate(unsigned int msr, u64 *val, int type, int index, bool is_read) xen_intel_pmu_emulate() argument
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_cmd.c79 void hclge_cmd_reuse_desc(struct hclge_desc *desc, bool is_read) in hclge_cmd_reuse_desc() argument
82 if (is_read) in hclge_cmd_reuse_desc()
89 enum hclge_opcode_type opcode, bool is_read) in hclge_cmd_setup_basic_desc()
95 if (is_read) in hclge_cmd_setup_basic_desc()
88 hclge_cmd_setup_basic_desc(struct hclge_desc *desc, enum hclge_opcode_type opcode, bool is_read) hclge_cmd_setup_basic_desc() argument
/kernel/linux/linux-6.6/arch/m68k/mac/
H A Dmisc.c176 int is_read; in via_rtc_command() local
191 is_read = command & (RTC_FLG_READ << 8); in via_rtc_command()
194 is_read = command & RTC_FLG_READ; in via_rtc_command()
196 if (is_read) { in via_rtc_command()
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/dsi/
H A Ddsi_manager.c746 bool is_read = (msg->rx_buf && msg->rx_len); in msm_dsi_manager_cmd_xfer() local
747 bool need_sync = (IS_SYNC_NEEDED() && !is_read); in msm_dsi_manager_cmd_xfer()
759 return is_read ? msg->rx_len : msg->tx_len; in msm_dsi_manager_cmd_xfer()
775 ret = is_read ? msm_dsi_host_cmd_rx(host, msg) : in msm_dsi_manager_cmd_xfer()
/kernel/linux/linux-6.6/drivers/net/ethernet/hisilicon/hns3/hns3_common/
H A Dhclge_comm_cmd.c42 void hclge_comm_cmd_reuse_desc(struct hclge_desc *desc, bool is_read) in hclge_comm_cmd_reuse_desc() argument
46 if (is_read) in hclge_comm_cmd_reuse_desc()
65 bool is_read) in hclge_comm_cmd_setup_basic_desc()
72 if (is_read) in hclge_comm_cmd_setup_basic_desc()
63 hclge_comm_cmd_setup_basic_desc(struct hclge_desc *desc, enum hclge_opcode_type opcode, bool is_read) hclge_comm_cmd_setup_basic_desc() argument
/kernel/linux/linux-6.6/drivers/gpu/drm/msm/dsi/
H A Ddsi_manager.c570 bool is_read = (msg->rx_buf && msg->rx_len); in msm_dsi_manager_cmd_xfer() local
571 bool need_sync = (IS_SYNC_NEEDED() && !is_read); in msm_dsi_manager_cmd_xfer()
583 return is_read ? msg->rx_len : msg->tx_len; in msm_dsi_manager_cmd_xfer()
599 ret = is_read ? msm_dsi_host_cmd_rx(host, msg) : in msm_dsi_manager_cmd_xfer()

Completed in 21 milliseconds

1234