Home
last modified time | relevance | path

Searched refs:do_read (Results 1 – 18 of 18) sorted by relevance

/openbmc/linux/tools/perf/util/
H A Dtrace-event-read.c54 static int do_read(void *data, int size) in do_read() function
78 do_read(buf, r); in skip()
87 if (do_read(&data, 4) < 0) in read4()
96 if (do_read(&data, 8) < 0) in read8()
182 if (do_read(buf, size) < 0) { in read_ftrace_printk()
202 if (do_read(buf, 12) < 0) in read_header_files()
216 if (do_read(header_page, size) < 0) { in read_header_files()
232 if (do_read(buf, 13) < 0) in read_header_files()
257 ret = do_read(buf, size); in read_ftrace_file()
283 ret = do_read(buf, size); in read_event_file()
[all …]
/openbmc/qemu/hw/rtc/
H A Dm48t59.c363 goto do_read; in m48t59_read()
370 goto do_read; in m48t59_read()
377 goto do_read; in m48t59_read()
380 goto do_read; in m48t59_read()
383 goto do_read; in m48t59_read()
386 goto do_read; in m48t59_read()
389 goto do_read; in m48t59_read()
393 goto do_read; in m48t59_read()
397 goto do_read; in m48t59_read()
446 do_read: in m48t59_read()
/openbmc/u-boot/cmd/
H A Dread.c15 int do_read(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) in do_read() function
78 read, 6, 0, do_read,
H A Dpmic.c113 static int do_read(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) in do_read() function
190 U_BOOT_CMD_MKENT(read, 2, 1, do_read, "", ""),
/openbmc/u-boot/common/
H A Dusb.c944 static int usb_setup_descriptor(struct usb_device *dev, bool do_read) in usb_setup_descriptor() argument
972 if (do_read && dev->speed == USB_SPEED_FULL) { in usb_setup_descriptor()
1019 static int usb_prepare_device(struct usb_device *dev, int addr, bool do_read, in usb_prepare_device() argument
1035 err = usb_setup_descriptor(dev, do_read); in usb_prepare_device()
1059 if (!do_read) { in usb_prepare_device()
1151 int usb_setup_device(struct usb_device *dev, bool do_read, in usb_setup_device() argument
1161 ret = usb_prepare_device(dev, addr, do_read, parent); in usb_setup_device()
1179 bool do_read = true; in usb_new_device() local
1189 do_read = false; in usb_new_device()
1191 err = usb_setup_device(dev, do_read, dev->parent); in usb_new_device()
/openbmc/linux/tools/spi/
H A Dspidev_fdx.c18 static void do_read(int fd, int len) in do_read() function
155 do_read(fd, readcount); in main()
/openbmc/linux/tools/testing/selftests/powerpc/mm/
H A Dsubpage_prot.c52 static inline void do_read(const volatile void *addr) in do_read() function
122 do_read(addr); in run_test()
/openbmc/linux/drivers/mtd/nand/raw/
H A Dr852.c172 static void r852_do_dma(struct r852_device *dev, uint8_t *buf, int do_read) in r852_do_dma() argument
181 dev->dma_dir = do_read; in r852_do_dma()
185 dbg_verbose("doing dma %s ", do_read ? "read" : "write"); in r852_do_dma()
189 dev->dma_state = do_read ? DMA_INTERNAL : DMA_MEMORY; in r852_do_dma()
198 do_read ? DMA_FROM_DEVICE : DMA_TO_DEVICE); in r852_do_dma()
206 if (!do_read) in r852_do_dma()
223 if (do_read && bounce) in r852_do_dma()
/openbmc/linux/drivers/mtd/tests/
H A Dstresstest.c65 static int do_read(void) in do_read() function
122 return do_read(); in do_operation()
/openbmc/linux/tools/kvm/kvm_stat/
H A Dkvm_stat801 self.do_read = True
848 self.do_read = False
854 self.do_read = True
875 if not self.do_read:
/openbmc/linux/drivers/infiniband/sw/rxe/
H A Drxe_comp.c363 static inline enum comp_state do_read(struct rxe_qp *qp, in do_read() function
706 state = do_read(qp, pkt, wqe); in rxe_completer()
/openbmc/u-boot/drivers/usb/gadget/
H A Df_mass_storage.c683 static int do_read(struct fsg_common *common) in do_read() function
1859 reply = do_read(common); in do_scsi_command()
1869 reply = do_read(common); in do_scsi_command()
1879 reply = do_read(common); in do_scsi_command()
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dbpf_iter.c571 static int do_read(const char *path, const char *expected) in do_read() function
608 err = do_read(path, "abcd"); in test_file_iter()
624 do_read(path, "ABCD"); in test_file_iter()
/openbmc/linux/drivers/mmc/host/
H A Dcavium.c298 static void do_read(struct cvm_mmc_host *host, struct mmc_request *req, in do_read() function
472 do_read(host, req, rsp_sts & MIO_EMM_RSP_STS_DBUF); in cvm_mmc_interrupt()
/openbmc/linux/drivers/usb/gadget/function/
H A Df_mass_storage.c606 static int do_read(struct fsg_common *common) in do_read() function
1949 reply = do_read(common); in do_scsi_command()
1960 reply = do_read(common); in do_scsi_command()
1971 reply = do_read(common); in do_scsi_command()
1982 reply = do_read(common); in do_scsi_command()
/openbmc/u-boot/include/
H A Dusb.h819 int usb_setup_device(struct usb_device *dev, bool do_read,
/openbmc/linux/arch/x86/kernel/
H A Dapm_32.c1463 static ssize_t do_read(struct file *fp, char __user *buf, size_t count, loff_t *ppos) in do_read() function
1908 .read = do_read,
/openbmc/linux/drivers/scsi/qla2xxx/
H A Dqla_attr.c901 goto do_read; in qla2x00_sysfs_read_xgmac_stats()
912 do_read: in qla2x00_sysfs_read_xgmac_stats()
956 goto do_read; in qla2x00_sysfs_read_dcbx_tlv()
971 do_read: in qla2x00_sysfs_read_dcbx_tlv()