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

12

/linux-master/drivers/gpu/drm/i915/
H A Dintel_sbi.c15 u32 *val, bool is_read)
31 intel_uncore_write_fw(uncore, SBI_DATA, is_read ? 0 : *val);
37 if (!is_read)
54 if (is_read)
13 intel_sbi_rw(struct drm_i915_private *i915, u16 reg, enum intel_sbi_destination destination, u32 *val, bool is_read) argument
H A Dvlv_sideband.c81 const bool is_read = (opcode == SB_MRD_NP || opcode == SB_CRRDDA_NP); local
93 is_read ? "read" : "write");
100 intel_uncore_write_fw(uncore, VLV_IOSF_DATA, is_read ? 0 : *val);
112 if (is_read)
117 is_read ? "read" : "write");
H A Dintel_pcode.c58 bool is_read)
84 if (is_read)
86 if (is_read && val1)
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) argument
/linux-master/tools/lib/perf/
H A Dlib.c10 static ssize_t ion(bool is_read, int fd, void *buf, size_t n) argument
16 /* buf must be treated as const if !is_read. */
17 ssize_t ret = is_read ? read(fd, buf, left) :
/linux-master/drivers/md/bcache/
H A Dio.c84 int is_read,
129 is_read ? ", recovering." : ".");
142 int is_read = (bio_data_dir(bio) == READ ? 1 : 0); local
164 bch_count_io_errors(ca, error, is_read, m);
82 bch_count_io_errors(struct cache *ca, blk_status_t error, int is_read, const char *m) argument
/linux-master/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)
/linux-master/arch/arm64/kvm/hyp/
H A Dvgic-v3-sr.c1041 bool is_read; local
1056 is_read = (esr & ESR_ELx_SYS64_ISS_DIR_MASK) == ESR_ELx_SYS64_ISS_DIR_READ;
1061 if (unlikely(!is_read))
1067 if (unlikely(is_read))
1072 if (is_read)
1078 if (is_read)
1085 if (is_read)
1092 if (is_read)
1099 if (is_read)
1106 if (is_read)
[all...]
/linux-master/arch/x86/xen/
H A Dpmu.c199 int index, bool is_read)
247 if (is_read)
261 static bool xen_amd_pmu_emulate(unsigned int msr, u64 *val, bool is_read) argument
292 if (is_read)
302 static bool pmu_msr_chk_emulated(unsigned int msr, uint64_t *val, bool is_read, argument
308 *emul = xen_amd_pmu_emulate(msr, val, is_read);
310 *emul = xen_intel_pmu_emulate(msr, val, type, index, is_read);
198 xen_intel_pmu_emulate(unsigned int msr, u64 *val, int type, int index, bool is_read) argument
/linux-master/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, argument
187 if (is_read) {
207 if (!is_read) {
546 static int do_reg_access(void *context, bool is_read, unsigned int reg, argument
556 ret = br_trans_tx_prepare(br, is_read, reg, value, count);
572 if (is_read)
/linux-master/arch/arm64/kvm/
H A Dtrace_arm.h393 TP_PROTO(struct kvm_vcpu *vcpu, u32 sysreg, bool is_read),
394 TP_ARGS(vcpu, sysreg, is_read),
399 __field(bool, is_read)
405 __entry->is_read = is_read;
410 __entry->is_read ? 'R' : 'W',
/linux-master/drivers/usb/gadget/function/
H A Dtcm.h88 unsigned is_read:1; member in struct:usbg_cmd
/linux-master/drivers/gpu/drm/i915/gvt/
H A Dmmio.h103 void *pdata, unsigned int bytes, bool is_read);
/linux-master/arch/m68k/mac/
H A Dmisc.c178 int is_read; local
193 is_read = command & (RTC_FLG_READ << 8);
196 is_read = command & RTC_FLG_READ;
198 if (is_read) {
/linux-master/drivers/mmc/host/
H A Dbcm2835.c328 static void bcm2835_transfer_block_pio(struct bcm2835_host *host, bool is_read) argument
367 if (is_read)
376 if ((is_read &&
380 (!is_read &&
393 is_read ? "read" : "write",
408 if (is_read)
427 bool is_read; local
429 is_read = (host->data->flags & MMC_DATA_READ) != 0;
430 bcm2835_transfer_block_pio(host, is_read);
437 is_read
[all...]
H A Dtmio_mmc_core.c347 int is_read = host->data->flags & MMC_DATA_READ; local
357 if (is_read)
371 if (is_read) {
382 if (is_read)
400 if (is_read)
/linux-master/drivers/gpu/drm/amd/display/dc/hdcp/
H A Dhdcp_msg.c226 bool is_read)
283 if (is_read) {
221 dpcd_access_helper( struct dc_link *link, uint32_t length, uint8_t *data, uint32_t dpcd_addr, bool is_read) argument
/linux-master/block/
H A Dfops.c166 bool is_read = (iov_iter_rw(iter) == READ), is_sync; local
167 blk_opf_t opf = is_read ? REQ_OP_READ : dio_bio_write_op(iocb);
193 if (is_read && user_backed_iter(iter))
230 if (is_read) {
301 bool is_read = iov_iter_rw(iter) == READ; local
302 blk_opf_t opf = is_read ? REQ_OP_READ : dio_bio_write_op(iocb);
337 if (is_read) {
/linux-master/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) argument
46 if (is_read)
65 bool is_read)
72 if (is_read)
63 hclge_comm_cmd_setup_basic_desc(struct hclge_desc *desc, enum hclge_opcode_type opcode, bool is_read) argument
H A Dhclge_comm_cmd.h485 void hclge_comm_cmd_reuse_desc(struct hclge_desc *desc, bool is_read);
491 bool is_read);
/linux-master/drivers/gpu/drm/msm/dsi/
H A Ddsi_manager.c490 bool is_read = (msg->rx_buf && msg->rx_len); local
491 bool need_sync = (IS_SYNC_NEEDED() && !is_read);
503 return is_read ? msg->rx_len : msg->tx_len;
519 ret = is_read ? msm_dsi_host_cmd_rx(host, msg) :
/linux-master/drivers/i2c/busses/
H A Di2c-uniphier.c158 bool is_read = msg->flags & I2C_M_RD; local
162 if (is_read)
H A Di2c-at91-master.c656 bool is_read; local
681 is_read = (m_start->flags & I2C_M_RD);
688 ((is_read) ? AT91_TWI_ACR_DIR : 0));
698 ((!dev->use_alt_cmd && is_read) ? AT91_TWI_MREAD : 0));
/linux-master/drivers/target/
H A Dtarget_core_rd.c379 static sense_reason_t rd_do_prot_rw(struct se_cmd *cmd, bool is_read) argument
403 if (is_read)
411 sbc_dif_copy_prot(cmd, sectors, is_read, prot_sg, prot_offset);
/linux-master/drivers/gpu/drm/mediatek/
H A Dmtk_dp.c781 static int mtk_dp_aux_wait_for_completion(struct mtk_dp *mtk_dp, bool is_read) argument
788 if (is_read) {
812 static int mtk_dp_aux_do_transfer(struct mtk_dp *mtk_dp, bool is_read, u8 cmd, argument
817 if (is_read && (length > DP_AUX_MAX_PAYLOAD_BYTES ||
821 if (!is_read)
833 if (!is_read) {
845 ret = mtk_dp_aux_wait_for_completion(mtk_dp, is_read);
868 } else if (is_read) {
2100 bool is_read; local
2118 is_read
[all...]
/linux-master/drivers/i2c/
H A Di2c-core-smbus.c304 bool is_read = msg->flags & I2C_M_RD; local
307 dma_buf = kzalloc(I2C_SMBUS_BLOCK_MAX + (is_read ? 2 : 3), GFP_KERNEL);

Completed in 423 milliseconds

12