/drivers/media/v4l2-core/ |
D | videobuf-core.c | 197 if (q->read_buf) { in videobuf_queue_is_busy() 795 q->read_buf = videobuf_alloc_vb(q); in videobuf_read_zerocopy() 796 if (NULL == q->read_buf) in videobuf_read_zerocopy() 799 q->read_buf->memory = V4L2_MEMORY_USERPTR; in videobuf_read_zerocopy() 800 q->read_buf->baddr = (unsigned long)data; in videobuf_read_zerocopy() 801 q->read_buf->bsize = count; in videobuf_read_zerocopy() 804 retval = q->ops->buf_prepare(q, q->read_buf, field); in videobuf_read_zerocopy() 810 q->ops->buf_queue(q, q->read_buf); in videobuf_read_zerocopy() 812 retval = videobuf_waiton(q, q->read_buf, 0, 0); in videobuf_read_zerocopy() 814 CALL(q, sync, q, q->read_buf); in videobuf_read_zerocopy() [all …]
|
/drivers/media/pci/pt1/ |
D | va1j5jf8007s.c | 56 u8 write_buf[1], read_buf[1]; in va1j5jf8007s_read_snr() local 74 msgs[1].len = sizeof(read_buf); in va1j5jf8007s_read_snr() 75 msgs[1].buf = read_buf; in va1j5jf8007s_read_snr() 81 word |= read_buf[0]; in va1j5jf8007s_read_snr() 253 u8 write_buf[2], read_buf[1]; in va1j5jf8007s_check_frequency() local 268 msgs[1].len = sizeof(read_buf); in va1j5jf8007s_check_frequency() 269 msgs[1].buf = read_buf; in va1j5jf8007s_check_frequency() 274 *lock = read_buf[0] & 0x40; in va1j5jf8007s_check_frequency() 301 u8 write_buf[1], read_buf[1]; in va1j5jf8007s_check_modulation() local 315 msgs[1].len = sizeof(read_buf); in va1j5jf8007s_check_modulation() [all …]
|
D | va1j5jf8007t.c | 54 u8 write_buf[1], read_buf[1]; in va1j5jf8007t_read_snr() local 72 msgs[1].len = sizeof(read_buf); in va1j5jf8007t_read_snr() 73 msgs[1].buf = read_buf; in va1j5jf8007t_read_snr() 79 word |= read_buf[0]; in va1j5jf8007t_read_snr() 192 u8 write_buf[2], read_buf[1]; in va1j5jf8007t_check_frequency() local 207 msgs[1].len = sizeof(read_buf); in va1j5jf8007t_check_frequency() 208 msgs[1].buf = read_buf; in va1j5jf8007t_check_frequency() 213 *lock = read_buf[0] & 0x40; in va1j5jf8007t_check_frequency() 240 u8 write_buf[1], read_buf[1]; in va1j5jf8007t_check_modulation() local 254 msgs[1].len = sizeof(read_buf); in va1j5jf8007t_check_modulation() [all …]
|
/drivers/net/usb/ |
D | smsc95xx.c | 629 u32 read_buf; in smsc95xx_set_features() local 632 ret = smsc95xx_read_reg(dev, COE_CR, &read_buf); in smsc95xx_set_features() 637 read_buf |= Tx_COE_EN_; in smsc95xx_set_features() 639 read_buf &= ~Tx_COE_EN_; in smsc95xx_set_features() 642 read_buf |= Rx_COE_EN_; in smsc95xx_set_features() 644 read_buf &= ~Rx_COE_EN_; in smsc95xx_set_features() 646 ret = smsc95xx_write_reg(dev, COE_CR, read_buf); in smsc95xx_set_features() 650 netif_dbg(dev, hw, dev->net, "COE_CR = 0x%08x\n", read_buf); in smsc95xx_set_features() 878 u32 read_buf, write_buf, burst_cap; in smsc95xx_reset() local 890 ret = smsc95xx_read_reg(dev, HW_CFG, &read_buf); in smsc95xx_reset() [all …]
|
/drivers/input/misc/ |
D | drv2667.c | 137 unsigned int read_buf; in drv2667_set_waveform_freq() local 151 error = regmap_read(haptics->regmap, DRV2667_PAGE, &read_buf); in drv2667_set_waveform_freq() 158 if (read_buf == DRV2667_PAGE_0 || in drv2667_set_waveform_freq() 159 haptics->page != read_buf) { in drv2667_set_waveform_freq() 175 if (read_buf == DRV2667_PAGE_0 || in drv2667_set_waveform_freq() 176 haptics->page != read_buf) { in drv2667_set_waveform_freq() 177 error = regmap_write(haptics->regmap, DRV2667_PAGE, read_buf); in drv2667_set_waveform_freq()
|
D | ims-pcu.c | 97 u8 read_buf[IMS_PCU_BUF_SIZE]; member 415 u32 data = get_unaligned_be32(&pcu->read_buf[3]); in ims_pcu_report_events() 424 switch (pcu->read_buf[0]) { in ims_pcu_handle_response() 436 if (pcu->read_buf[0] == pcu->expected_response && in ims_pcu_handle_response() 437 pcu->read_buf[1] == pcu->ack_id - 1) { in ims_pcu_handle_response() 439 memcpy(pcu->cmd_buf, pcu->read_buf, pcu->read_pos); in ims_pcu_handle_response() 460 pcu->read_buf[pcu->read_pos++] = data; in ims_pcu_process_data() 500 pcu->read_buf[pcu->read_pos++] = data; in ims_pcu_process_data()
|
/drivers/mtd/nand/ |
D | nand_base.c | 1099 chip->read_buf(mtd, buf, mtd->writesize); in nand_read_page_raw() 1101 chip->read_buf(mtd, chip->oob_poi, mtd->oobsize); in nand_read_page_raw() 1125 chip->read_buf(mtd, buf, eccsize); in nand_read_page_raw_syndrome() 1129 chip->read_buf(mtd, oob, chip->ecc.prepad); in nand_read_page_raw_syndrome() 1133 chip->read_buf(mtd, oob, eccbytes); in nand_read_page_raw_syndrome() 1137 chip->read_buf(mtd, oob, chip->ecc.postpad); in nand_read_page_raw_syndrome() 1144 chip->read_buf(mtd, oob, size); in nand_read_page_raw_syndrome() 1232 chip->read_buf(mtd, p, datafrag_len); in nand_read_subpage() 1250 chip->read_buf(mtd, chip->oob_poi, mtd->oobsize); in nand_read_subpage() 1265 chip->read_buf(mtd, &chip->oob_poi[aligned_pos], aligned_len); in nand_read_subpage() [all …]
|
D | plat_nand.c | 73 data->chip.read_buf = pdata->ctrl.read_buf; in plat_nand_probe()
|
D | lpc32xx_slc.c | 378 chip->read_buf(mtd, chip->oob_poi, mtd->oobsize); in lpc32xx_nand_read_oob_syndrome() 615 chip->read_buf(mtd, chip->oob_poi, mtd->oobsize); in lpc32xx_nand_read_page_syndrome() 651 chip->read_buf(mtd, buf, chip->ecc.size * chip->ecc.steps); in lpc32xx_nand_read_page_raw_syndrome() 652 chip->read_buf(mtd, chip->oob_poi, mtd->oobsize); in lpc32xx_nand_read_page_raw_syndrome() 830 chip->read_buf = lpc32xx_nand_read_buf; in lpc32xx_nand_probe()
|
D | cafe_nand.c | 364 chip->read_buf(mtd, chip->oob_poi, mtd->oobsize); in cafe_nand_read_oob() 387 chip->read_buf(mtd, buf, mtd->writesize); in cafe_nand_read_page() 388 chip->read_buf(mtd, chip->oob_poi, mtd->oobsize); in cafe_nand_read_page() 670 cafe->nand.read_buf = cafe_read_buf; in cafe_nand_probe()
|
D | cmx270_nand.c | 197 this->read_buf = cmx270_read_buf; in cmx270_init()
|
D | fsmc_nand.c | 737 chip->read_buf(mtd, p, eccsize); in fsmc_read_page_hwecc() 753 chip->read_buf(mtd, oob + j, len); in fsmc_read_page_hwecc() 1047 nand->read_buf = fsmc_read_buf_dma; in fsmc_nand_probe() 1053 nand->read_buf = fsmc_read_buf; in fsmc_nand_probe()
|
D | pasemi_nand.c | 153 chip->read_buf = pasemi_read_buf; in pasemi_nand_probe()
|
D | socrates_nand.c | 182 nand_chip->read_buf = socrates_nand_read_buf; in socrates_nand_probe()
|
D | orion_nand.c | 141 nc->read_buf = orion_nand_read_buf; in orion_nand_probe()
|
D | bf5xx_nand.c | 764 chip->read_buf = (plat->data_width) ? in bf5xx_nand_probe() 797 chip->read_buf = bf5xx_nand_dma_read_buf; in bf5xx_nand_probe()
|
D | ams-delta.c | 226 this->read_buf = ams_delta_read_buf; in ams_delta_init()
|
D | atmel_nand.c | 943 chip->read_buf(mtd, buf, eccsize); in atmel_nand_pmecc_read_page() 944 chip->read_buf(mtd, oob, mtd->oobsize); in atmel_nand_pmecc_read_page() 1301 chip->read_buf(mtd, p, eccsize); in atmel_nand_read_page() 1317 chip->read_buf(mtd, ecc_pos, eccbytes); in atmel_nand_read_page() 1333 chip->read_buf(mtd, oob, mtd->oobsize); in atmel_nand_read_page() 2105 nand_chip->read_buf = atmel_read_buf; in atmel_nand_probe()
|
D | nuc900_nand.c | 265 chip->read_buf = nuc900_nand_read_buf; in nuc900_nand_probe()
|
D | sh_flctl.c | 567 chip->read_buf(mtd, buf, mtd->writesize); in flctl_read_page_hwecc() 569 chip->read_buf(mtd, chip->oob_poi, mtd->oobsize); in flctl_read_page_hwecc() 1140 nand->read_buf = flctl_read_buf; in flctl_probe()
|
D | omap2.c | 1569 chip->read_buf(mtd, buf, mtd->writesize); in omap_read_page_bch() 1573 chip->read_buf(mtd, oob, chip->ecc.total); in omap_read_page_bch() 1747 nand_chip->read_buf = omap_read_buf_pref; in omap_nand_probe() 1780 nand_chip->read_buf = omap_read_buf_dma_pref; in omap_nand_probe() 1818 nand_chip->read_buf = omap_read_buf_irq_pref; in omap_nand_probe()
|
D | cs553x_nand.c | 224 this->read_buf = cs553x_read_buf; in cs553x_init_one()
|
/drivers/tty/ |
D | n_tty.c | 112 char read_buf[N_TTY_BUF_SIZE]; member 136 static inline unsigned char read_buf(struct n_tty_data *ldata, size_t i) in read_buf() function 138 return ldata->read_buf[i & (N_TTY_BUF_SIZE - 1)]; in read_buf() 143 return &ldata->read_buf[i & (N_TTY_BUF_SIZE - 1)]; in read_buf_addr() 1037 c = read_buf(ldata, head); in eraser() 1063 echo_char_raw(read_buf(ldata, head), ldata); in eraser() 1082 c = read_buf(ldata, tail); in eraser() 1338 echo_char(read_buf(ldata, tail), tty); in n_tty_receive_char_special() 2001 is_eof = n == 1 && read_buf(ldata, tail) == EOF_CHAR(tty); in copy_from_read_buf() 2077 if (found && !ldata->push && read_buf(ldata, eol) == __DISABLED_CHAR) { in canon_copy_from_read_buf() [all …]
|
/drivers/staging/mt29f_spinand/ |
D | mt29f_spinand.c | 637 chip->read_buf(mtd, p, eccsize * eccsteps); in spinand_read_page_hwecc() 639 chip->read_buf(mtd, chip->oob_poi, mtd->oobsize); in spinand_read_page_hwecc() 885 chip->read_buf = spinand_read_buf; in spinand_probe()
|
/drivers/media/pci/bt8xx/ |
D | bttv-driver.c | 2977 if (NULL == fh->cap.read_buf) { in bttv_poll() 2981 fh->cap.read_buf = videobuf_sg_alloc(fh->cap.msize); in bttv_poll() 2982 if (NULL == fh->cap.read_buf) in bttv_poll() 2984 fh->cap.read_buf->memory = V4L2_MEMORY_USERPTR; in bttv_poll() 2986 if (0 != fh->cap.ops->buf_prepare(&fh->cap,fh->cap.read_buf,field)) { in bttv_poll() 2987 kfree (fh->cap.read_buf); in bttv_poll() 2988 fh->cap.read_buf = NULL; in bttv_poll() 2991 fh->cap.ops->buf_queue(&fh->cap,fh->cap.read_buf); in bttv_poll() 2994 buf = (struct bttv_buffer*)fh->cap.read_buf; in bttv_poll() 3089 if (fh->cap.read_buf) { in bttv_release() [all …]
|