Searched refs:read_byte (Results 1 - 69 of 69) sorted by relevance

/linux-4.4.14/drivers/hwmon/
H A Dadt7x10.h20 int (*read_byte)(struct device *, u8 reg); member in struct:adt7x10_ops
H A Dadt7410.c39 .read_byte = adt7410_i2c_read_byte,
H A Dadt7310.c82 .read_byte = adt7310_spi_read_byte,
H A Dasc7621.c134 static inline u8 read_byte(struct i2c_client *client, u8 reg) read_byte() function
232 currval = read_byte(client, param->msb[0]); store_bitmask()
502 currval = read_byte(client, param->msb[0]); store_ap2_temp()
560 currval = read_byte(client, param->msb[0]); store_pwm_ac()
637 currval = read_byte(client, param->msb[0]); store_pwm_enable()
644 currval = read_byte(client, param->msb[2]); store_pwm_enable()
695 currval = read_byte(client, param->msb[0]); store_pwm_freq()
744 currval = read_byte(client, param->msb[0]); store_pwm_ast()
792 currval = read_byte(client, param->msb[0]); store_temp_st()
1081 value = read_byte(client, 0x40); asc7621_init_client()
1163 company = read_byte(client, asc7621_detect()
1165 verstep = read_byte(client, asc7621_detect()
H A Dadt7x10.c88 return d->ops->read_byte(dev, reg); adt7x10_read_byte()
/linux-4.4.14/drivers/i2c/busses/
H A Di2c-pca-platform.c87 i2c->algo_data.read_byte(i2c, I2C_PCA_CON) i2c_pca_pf_waitforcompletion()
94 if (i2c->algo_data.read_byte(i2c, I2C_PCA_CON) i2c_pca_pf_waitforcompletion()
124 if ((i2c->algo_data.read_byte(i2c, I2C_PCA_CON) & I2C_PCA_CON_SI) == 0) i2c_pca_pf_handler()
198 i2c->algo_data.read_byte = i2c_pca_pf_readbyte32; i2c_pca_pf_probe()
202 i2c->algo_data.read_byte = i2c_pca_pf_readbyte16; i2c_pca_pf_probe()
207 i2c->algo_data.read_byte = i2c_pca_pf_readbyte8; i2c_pca_pf_probe()
H A Di2c-pca-isa.c106 .read_byte = pca_isa_readbyte,
/linux-4.4.14/drivers/mtd/nand/
H A Dplat_nand.c71 data->chip.read_byte = pdata->ctrl.read_byte; plat_nand_probe()
H A Djz4740_nand.c375 *nand_maf_id = chip->read_byte(mtd); jz_nand_detect_bank()
376 *nand_dev_id = chip->read_byte(mtd); jz_nand_detect_bank()
382 if (*nand_maf_id != chip->read_byte(mtd) jz_nand_detect_bank()
383 || *nand_dev_id != chip->read_byte(mtd)) { jz_nand_detect_bank()
H A Ddiskonchip.c323 printk("read_byte returns %02x\n", ret); doc2000_read_byte()
397 ret = this->read_byte(mtd) << 8; doc200x_ident_chip()
398 ret |= this->read_byte(mtd); doc200x_ident_chip()
457 status = (int)this->read_byte(mtd); doc200x_wait()
528 printk("read_byte returns %02x\n", ret); doc2001plus_read_byte()
746 while (!(this->read_byte(mtd) & 0x40)) ; doc2001plus_command()
1366 this->read_byte = doc2000_read_byte; doc2000_init()
1382 this->read_byte = doc2001_read_byte; doc2001_init()
1412 this->read_byte = doc2001plus_read_byte; doc2001plus_init()
H A Dnand_base.c352 bad = chip->read_byte(mtd); nand_block_bad()
482 return (chip->read_byte(mtd) & NAND_STATUS_WP) ? 0 : 1; nand_check_wp()
589 if ((chip->read_byte(mtd) & NAND_STATUS_READY)) nand_wait_status_ready()
885 if (chip->read_byte(mtd) & NAND_STATUS_READY) panic_nand_wait()
924 if (chip->read_byte(mtd) & NAND_STATUS_READY) nand_wait()
932 status = (int)chip->read_byte(mtd); nand_wait()
3078 *subfeature_param++ = chip->read_byte(mtd); nand_onfi_get_features()
3141 if (!chip->read_byte || chip->read_byte == nand_read_byte) nand_set_defaults()
3142 chip->read_byte = busw ? nand_read_byte16 : nand_read_byte; nand_set_defaults()
3303 if (chip->read_byte(mtd) != 'O' || chip->read_byte(mtd) != 'N' || nand_flash_detect_onfi()
3304 chip->read_byte(mtd) != 'F' || chip->read_byte(mtd) != 'I') nand_flash_detect_onfi()
3310 ((uint8_t *)p)[j] = chip->read_byte(mtd); nand_flash_detect_onfi()
3408 if (chip->read_byte(mtd) != 'J' || chip->read_byte(mtd) != 'E' || nand_flash_detect_jedec()
3409 chip->read_byte(mtd) != 'D' || chip->read_byte(mtd) != 'E' || nand_flash_detect_jedec()
3410 chip->read_byte(mtd) != 'C') nand_flash_detect_jedec()
3416 ((uint8_t *)p)[j] = chip->read_byte(mtd); nand_flash_detect_jedec()
3804 *maf_id = chip->read_byte(mtd); nand_get_flash_type()
3805 *dev_id = chip->read_byte(mtd); nand_get_flash_type()
3818 id_data[i] = chip->read_byte(mtd); nand_get_flash_type()
4024 if (nand_maf_id != chip->read_byte(mtd) || nand_scan_ident()
4025 nand_dev_id != chip->read_byte(mtd)) { nand_scan_ident()
H A Dcmx270_nand.c196 this->read_byte = cmx270_read_byte; cmx270_init()
H A Dsocrates_nand.c178 nand_chip->read_byte = socrates_nand_read_byte; socrates_nand_probe()
H A Dxway_nand.c173 .read_byte = xway_read_byte,
H A Dtmio_nand.c214 return nand_chip->read_byte(mtd); tmio_nand_wait()
407 nand_chip->read_byte = tmio_nand_read_byte; tmio_probe()
H A Dnandsim.c1916 NS_ERR("read_byte: chip is disabled, return %#x\n", (uint)outb); ns_nand_read_byte()
1920 NS_ERR("read_byte: ALE or CLE pin is high, return %#x\n", (uint)outb); ns_nand_read_byte()
1924 NS_WARN("read_byte: unexpected data output cycle, state is %s " ns_nand_read_byte()
1931 NS_DBG("read_byte: return %#x status\n", ns->regs.status); ns_nand_read_byte()
1937 NS_WARN("read_byte: no more data to output, return %#x\n", (uint)outb); ns_nand_read_byte()
1952 NS_DBG("read_byte: read ID byte %d, total = %d\n", ns->regs.count, ns->regs.num); ns_nand_read_byte()
1961 NS_DBG("read_byte: all bytes were read\n"); ns_nand_read_byte()
2148 return chip->read_byte(mtd) | (chip->read_byte(mtd) << 8); ns_nand_read_word()
2201 buf[i] = ((struct nand_chip *)mtd->priv)->read_byte(mtd); ns_nand_read_buf()
2254 chip->read_byte = ns_nand_read_byte; ns_init_module()
H A Dams-delta.c220 this->read_byte = ams_delta_read_byte; ams_delta_init()
H A Dfsl_ifc_nand.c890 chip->read_byte = fsl_ifc_read_byte16; fsl_ifc_chip_init()
892 chip->read_byte = fsl_ifc_read_byte; fsl_ifc_chip_init()
910 chip->read_byte = fsl_ifc_read_byte16; fsl_ifc_chip_init()
913 chip->read_byte = fsl_ifc_read_byte; fsl_ifc_chip_init()
H A Dfsl_upm.c168 fun->chip.read_byte = fun_read_byte; fun_chip_init()
H A Dnuc900_nand.c263 chip->read_byte = nuc900_nand_read_byte; nuc900_nand_probe()
H A Dr852.c377 status = (int)chip->read_byte(mtd); r852_wait()
866 chip->read_byte = r852_read_byte; r852_probe()
H A Dvf610_nfc.c456 /* Alternate buffers are only supported through read_byte */ vf610_nfc_read_buf()
729 chip->read_byte = vf610_nfc_read_byte; vf610_nfc_probe()
H A Dcs553x_nand.c223 this->read_byte = cs553x_read_byte; cs553x_init_one()
H A Dtxx9ndfmc.c330 chip->read_byte = txx9ndfmc_read_byte; txx9ndfmc_probe()
H A Ddocg4.c494 dev_warn(doc->dev, "unexpected call to read_byte()\n"); docg4_read_byte()
720 /* next call to read_byte() will expect a status */ docg4_command()
1237 nand->read_byte = docg4_read_byte; init_mtd_structs()
H A Dpxa3xx_nand.c464 id = chip->read_byte(host->mtd); pxa3xx_nand_init_timings_compat()
465 id |= chip->read_byte(host->mtd) << 0x8; pxa3xx_nand_init_timings_compat()
1735 chip->read_byte = pxa3xx_nand_read_byte; alloc_nand_resource()
H A Dau1550nd.c464 this->read_byte = (pd->devwidth) ? au_read_byte16 : au_read_byte; au1550nd_probe()
H A Dfsl_elbc_nand.c574 dev_err(priv->dev, "read_byte beyond end of buffer\n"); fsl_elbc_read_byte()
759 chip->read_byte = fsl_elbc_read_byte; fsl_elbc_chip_init()
H A Dbf5xx_nand.c770 chip->read_byte = bf5xx_nand_read_byte; bf5xx_nand_probe()
H A Dcafe_nand.c625 cafe->nand.read_byte = cafe_read_byte; cafe_nand_probe()
H A Dhisi504_nand.c747 chip->read_byte = hisi_nfc_read_byte; hisi_nfc_probe()
H A Dmpc5121_nfc.c709 chip->read_byte = mpc5121_nfc_read_byte; mpc5121_nfc_probe()
H A Dlpc32xx_slc.c833 chip->read_byte = lpc32xx_nand_read_byte; lpc32xx_nand_probe()
H A Dsh_flctl.c1138 nand->read_byte = flctl_read_byte; flctl_probe()
H A Dsunxi_nand.c1338 nand->read_byte = sunxi_nfc_read_byte; sunxi_nand_chip_init()
H A Ddenali.c1472 denali->nand.read_byte = denali_read_byte; denali_init()
H A Dmxc_nand.c1529 this->read_byte = mxc_nand_read_byte; mxcnd_probe()
H A Datmel_nand.c1872 while (!(chip->read_byte(mtd) & NAND_STATUS_READY)) { nfc_nand_command()
/linux-4.4.14/include/linux/rtc/
H A Dm48t59.h54 unsigned char (*read_byte)(struct device *dev, u32 ofs); member in struct:m48t59_plat_data
/linux-4.4.14/drivers/staging/comedi/drivers/
H A Dni_labpc.h60 unsigned int (*read_byte)(struct comedi_device *, unsigned long reg); member in struct:labpc_private
H A Dni_labpc_common.c205 unsigned int lsb = devpriv->read_byte(dev, ADC_FIFO_REG); labpc_read_adc_fifo()
206 unsigned int msb = devpriv->read_byte(dev, ADC_FIFO_REG); labpc_read_adc_fifo()
226 devpriv->stat1 = devpriv->read_byte(dev, STAT1_REG); labpc_ai_eoc()
775 devpriv->stat1 = devpriv->read_byte(dev, STAT1_REG); labpc_drain_fifo()
787 devpriv->stat1 = devpriv->read_byte(dev, STAT1_REG); labpc_drain_fifo()
829 devpriv->stat1 = devpriv->read_byte(dev, STAT1_REG); labpc_interrupt()
831 devpriv->stat2 = devpriv->read_byte(dev, STAT2_REG); labpc_interrupt()
977 devpriv->stat2 = devpriv->read_byte(dev, STAT2_REG); labpc_serial_in()
1193 devpriv->read_byte = labpc_readb; labpc_common_attach()
1196 devpriv->read_byte = labpc_inb; labpc_common_attach()
/linux-4.4.14/drivers/iio/common/st_sensors/
H A Dst_sensors_i2c.c62 .read_byte = st_sensors_i2c_read_byte,
H A Dst_sensors_spi.c101 .read_byte = st_sensors_spi_read_byte,
H A Dst_sensors_core.c36 err = sdata->tf->read_byte(&sdata->tb, sdata->dev, reg_addr, &new_data); st_sensors_write_data_with_mask()
59 err = sdata->tf->read_byte(&sdata->tb, sdata->dev, (u8)reg, &readdata); st_sensors_debugfs_reg_access()
527 err = sdata->tf->read_byte(&sdata->tb, sdata->dev, st_sensors_check_device_support()
/linux-4.4.14/include/linux/
H A Di2c-algo-pca.h58 int (*read_byte) (void *data, int reg); member in struct:i2c_algo_pca_data
/linux-4.4.14/drivers/w1/
H A Dw1.h120 * @read_byte: Reads a bytes. Same as 8 touch_bit(1) calls.
125 * @read_block: Same as a series of read_byte() calls
160 u8 (*read_byte)(void *); member in struct:w1_bus_master
H A Dw1_io.c248 if (dev->bus_master->read_byte) w1_read_8()
249 res = dev->bus_master->read_byte(dev->bus_master->data); w1_read_8()
H A Dw1_int.c120 !(master->write_byte && master->read_byte && master->reset_bus)) { w1_add_master_device()
/linux-4.4.14/drivers/rtc/
H A Drtc-m48t59.c28 #define M48T59_READ(reg) (pdata->read_byte(dev, pdata->offset + reg))
409 if (!pdata || !pdata->write_byte || !pdata->read_byte) m48t59_rtc_probe()
427 if (!pdata->read_byte) m48t59_rtc_probe()
428 pdata->read_byte = m48t59_mem_readb; m48t59_rtc_probe()
/linux-4.4.14/drivers/mfd/
H A Dstmpe-i2c.c50 .read_byte = i2c_reg_read,
H A Dstmpe-spi.c79 .read_byte = spi_reg_read,
H A Dstmpe.h81 * @read_byte: read single byte
92 int (*read_byte)(struct stmpe *stmpe, u8 reg); member in struct:stmpe_client_info
H A Dstmpe.c40 ret = stmpe->ci->read_byte(stmpe, reg); __stmpe_reg_read()
/linux-4.4.14/drivers/w1/masters/
H A Dds1wm.c109 u8 read_byte; member in struct:ds1wm_data
152 ds1wm_data->read_byte = ds1wm_read_register(ds1wm_data, ds1wm_isr()
241 return ds1wm_data->read_byte; ds1wm_read()
447 .read_byte = ds1wm_read_byte,
H A Dds2482.c504 data->w1_ch[idx].w1_bm.read_byte = ds2482_w1_read_byte; ds2482_probe()
H A Domap_hdq.c104 .read_byte = omap_w1_read_byte,
H A Dds2490.c967 dev->master.read_byte = &ds9490r_read_byte; ds_w1_init()
/linux-4.4.14/include/linux/iio/common/
H A Dst_sensors.h152 * @read_byte: Function used to read one byte.
157 int (*read_byte) (struct st_sensor_transfer_buffer *tb, member in struct:st_sensor_transfer_function
/linux-4.4.14/arch/sparc/kernel/
H A Dtime_32.c254 .read_byte = mostek_read_byte,
H A Dtime_64.c508 .read_byte = mostek_read_byte,
/linux-4.4.14/include/linux/mtd/
H A Dnand.h548 * @read_byte: [REPLACEABLE] read one byte from the chip
648 uint8_t (*read_byte)(struct mtd_info *mtd); member in struct:nand_chip
882 * @read_byte: platform specific function to read one byte from chip
896 unsigned char (*read_byte)(struct mtd_info *mtd); member in struct:platform_nand_ctrl
/linux-4.4.14/drivers/gpu/drm/gma500/
H A Dcdv_intel_dp.c53 uint8_t *read_byte);
59 uint8_t write_byte, uint8_t *read_byte) i2c_algo_dp_aux_transaction()
65 write_byte, read_byte); i2c_algo_dp_aux_transaction()
750 uint8_t write_byte, uint8_t *read_byte) cdv_intel_dp_i2c_aux_ch()
825 *read_byte = reply[1]; cdv_intel_dp_i2c_aux_ch()
58 i2c_algo_dp_aux_transaction(struct i2c_adapter *adapter, int mode, uint8_t write_byte, uint8_t *read_byte) i2c_algo_dp_aux_transaction() argument
749 cdv_intel_dp_i2c_aux_ch(struct i2c_adapter *adapter, int mode, uint8_t write_byte, uint8_t *read_byte) cdv_intel_dp_i2c_aux_ch() argument
/linux-4.4.14/drivers/mtd/nand/bcm47xxnflash/
H A Dops_bcm4706.c392 b47n->nand_chip.read_byte = bcm47xxnflash_ops_bcm4706_read_byte; bcm47xxnflash_ops_bcm4706_init()
/linux-4.4.14/drivers/i2c/algos/
H A Di2c-algo-pca.c36 #define pca_inw(adap, reg) adap->read_byte(adap->data, reg)
/linux-4.4.14/drivers/mtd/nand/gpmi-nand/
H A Dgpmi-nand.c1319 chip->oob_poi[0] = chip->read_byte(mtd); gpmi_ecc_read_oob()
1781 block_mark = chip->read_byte(mtd); mx23_boot_init()
1907 chip->read_byte = gpmi_read_byte; gpmi_nand_init()
/linux-4.4.14/drivers/media/usb/gspca/
H A Dw996Xcf.c228 read_byte which ends with SDA high */ w9968cf_smbus_write_nack()
/linux-4.4.14/drivers/staging/mt29f_spinand/
H A Dmt29f_spinand.c900 chip->read_byte = spinand_read_byte; spinand_probe()
/linux-4.4.14/drivers/scsi/
H A Ddc395x.c4100 u8 read_byte; trms1040_get_data() local
4113 read_byte = inb(io_port + TRM_S1040_GEN_NVRAM); trms1040_get_data()
4115 if (read_byte & NVR_BITIN) trms1040_get_data()
/linux-4.4.14/drivers/mtd/nand/brcmnand/
H A Dbrcmnand.c1974 chip->read_byte = brcmnand_read_byte; brcmnand_init_cs()

Completed in 1419 milliseconds