Home
last modified time | relevance | path

Searched refs:is_read (Results 1 – 25 of 36) sorted by relevance

12

/openbmc/u-boot/drivers/i2c/
H A Dsandbox_i2c.c54 bool is_read; in sandbox_i2c_xfer() local
74 is_read = nmsgs > 1; in sandbox_i2c_xfer()
75 if (i2c->speed_hz > (is_read ? 400000 : 100000)) { in sandbox_i2c_xfer()
H A Dcros_ec_ldo.c22 bool is_read = nmsgs > 1; in cros_ec_ldo_xfer() local
40 if (is_read) { in cros_ec_ldo_xfer()
H A Dat91_i2c.c48 bool is_read = msg->flags & I2C_M_RD; in at91_i2c_xfer_msg() local
53 if (is_read) { in at91_i2c_xfer_msg()
112 bool is_read; in at91_i2c_xfer() local
137 is_read = m_start->flags & I2C_M_RD; in at91_i2c_xfer()
140 (is_read ? TWI_MMR_MREAD : 0), &reg->mmr); in at91_i2c_xfer()
H A Ds3c24x0_i2c.c230 bool is_read = msg->flags & I2C_M_RD; in s3c24x0_do_msg() local
242 if (is_read) in s3c24x0_do_msg()
255 if (is_read) { in s3c24x0_do_msg()
/openbmc/u-boot/drivers/mmc/
H A Dbcm2835_sdhost.c270 static int bcm2835_transfer_block_pio(struct bcm2835_host *host, bool is_read) in bcm2835_transfer_block_pio() argument
281 buf = is_read ? (u32 *)data->dest : (u32 *)data->src; in bcm2835_transfer_block_pio()
283 if (is_read) in bcm2835_transfer_block_pio()
300 if (is_read) in bcm2835_transfer_block_pio()
308 if ((is_read && in bcm2835_transfer_block_pio()
312 (!is_read && in bcm2835_transfer_block_pio()
334 if (is_read) in bcm2835_transfer_block_pio()
348 bool is_read; in bcm2835_transfer_pio() local
351 is_read = (host->data->flags & MMC_DATA_READ) != 0; in bcm2835_transfer_pio()
352 ret = bcm2835_transfer_block_pio(host, is_read); in bcm2835_transfer_pio()
[all …]
/openbmc/qemu/block/
H A Dwin32-aio.c55 bool is_read; member
74 if (waiocb->is_read) { in win32_aio_process_completion()
84 if (ret == 0 && waiocb->is_read) { in win32_aio_process_completion()
125 waiocb->is_read = (type == QEMU_AIO_READ); in win32_aio_submit()
H A Dio_uring.c34 bool is_read; member
198 if (luringcb->is_read) { in luring_process_completions()
412 .is_read = (type == QEMU_AIO_READ), in luring_co_submit()
H A Dlinux-aio.c46 bool is_read; member
90 if (laiocb->is_read) { in qemu_laio_process_completion()
431 .is_read = (type == QEMU_AIO_READ), in laio_co_submit()
H A Dblock-backend.c2117 BlockdevOnError blk_get_on_error(BlockBackend *blk, bool is_read) in blk_get_on_error() argument
2120 return is_read ? blk->on_read_error : blk->on_write_error; in blk_get_on_error()
2123 BlockErrorAction blk_get_error_action(BlockBackend *blk, bool is_read, in blk_get_error_action() argument
2126 BlockdevOnError on_err = blk_get_on_error(blk, is_read); in blk_get_error_action()
2147 bool is_read, int error) in send_qmp_error_event() argument
2153 optype = is_read ? IO_OPERATION_TYPE_READ : IO_OPERATION_TYPE_WRITE; in send_qmp_error_event()
2165 bool is_read, int error) in blk_error_action() argument
2186 send_qmp_error_event(blk, action, is_read, error); in blk_error_action()
2189 send_qmp_error_event(blk, action, is_read, error); in blk_error_action()
/openbmc/qemu/include/qemu/
H A Dselfmap.h18 bool is_read; member
/openbmc/u-boot/drivers/spi/
H A Dtegra20_slink.c238 int is_read = 0; in tegra30_spi_xfer() local
261 for (tm = 0, is_read = 0; tm < SPI_TIMEOUT; ++tm) { in tegra30_spi_xfer()
267 if (is_read && (status & SLINK_STAT_TXF_EMPTY)) in tegra30_spi_xfer()
276 is_read = 1; in tegra30_spi_xfer()
H A Dtegra20_sflash.c238 int is_read = 0; in tegra20_sflash_xfer() local
262 for (tm = 0, is_read = 0; tm < SPI_TIMEOUT; ++tm) { in tegra20_sflash_xfer()
268 if (is_read && (status & SPI_STAT_TXF_EMPTY)) in tegra20_sflash_xfer()
277 is_read = 1; in tegra20_sflash_xfer()
/openbmc/qemu/target/hexagon/
H A Dgen_trans_funcs.py100 if reg.is_read() and reg.is_new():
107 if reg_type == "P" and reg.is_written() and not reg.is_read():
H A Dgen_analyze_funcs.py67 if reg.is_read():
H A Dgen_idef_parser_funcs.py143 prefix = "in " if reg.is_read() else ""
H A Dhex_common.py400 def is_read(self): member in Dest
410 def is_read(self): member in Source
438 def is_read(self): member in ReadWrite
1122 if reg.is_read() and not (reg.is_hvx_reg() and reg.is_readwrite()):
/openbmc/qemu/include/block/
H A Dblockjob_int.h166 int is_read, int error);
/openbmc/qemu/hw/sd/
H A Dpl181.c217 int is_read; in pl181_fifo_run() local
219 is_read = (s->datactrl & PL181_DATA_DIRECTION) != 0; in pl181_fifo_run()
220 if (s->datacnt != 0 && (!is_read || sdbus_data_ready(&s->sdbus)) in pl181_fifo_run()
222 if (is_read) { in pl181_fifo_run()
H A Dbcm2835_sdhost.c183 int is_read; in bcm2835_sdhost_fifo_run() local
186 is_read = (s->cmd & SDCMD_READ_CMD) != 0; in bcm2835_sdhost_fifo_run()
189 if (is_read) { in bcm2835_sdhost_fifo_run()
/openbmc/qemu/include/system/
H A Dblock-backend-io.h101 BlockdevOnError blk_get_on_error(BlockBackend *blk, bool is_read);
102 BlockErrorAction blk_get_error_action(BlockBackend *blk, bool is_read,
105 bool is_read, int error);
/openbmc/qemu/util/
H A Dselfmap.c65 e->is_read = fields[1][0] == 'r'; in read_self_maps()
/openbmc/u-boot/board/ge/bx50v3/
H A Dbx50v3.c561 bool is_read; member
597 if (!vpd->is_read) { in process_vpd()
686 vpd.is_read = true; in board_init()
/openbmc/qemu/include/hw/i3c/
H A Di3c.h130 bool (*target_match)(I3CTarget *candidate, uint8_t address, bool is_read,
/openbmc/qemu/
H A Dblockjob.c579 int is_read, int error) in block_job_error_action() argument
604 is_read ? IO_OPERATION_TYPE_READ : in block_job_error_action()
/openbmc/qemu/hw/block/
H A Dvirtio-blk.c73 bool is_read, bool acct_failed) in virtio_blk_handle_rw_error() argument
76 BlockErrorAction action = blk_get_error_action(s->blk, is_read, error); in virtio_blk_handle_rw_error()
95 blk_error_action(s->blk, action, is_read, error); in virtio_blk_handle_rw_error()
119 bool is_read = !(p & VIRTIO_BLK_T_OUT); in virtio_blk_rw_complete() local
128 if (virtio_blk_handle_rw_error(req, -ret, is_read, true)) { in virtio_blk_rw_complete()

12