Home
last modified time | relevance | path

Searched refs:read_byte (Results 1 – 25 of 62) sorted by relevance

123

/Linux-v5.4/drivers/media/platform/mtk-jpeg/
Dmtk_jpeg_parse.c25 static int read_byte(struct mtk_jpeg_stream *stream) in read_byte() function
37 byte = read_byte(stream); in read_word_be()
41 byte = read_byte(stream); in read_word_be()
54 read_byte(stream); in read_skip()
71 byte = read_byte(&stream); in mtk_jpeg_do_parse()
77 byte = read_byte(&stream); in mtk_jpeg_do_parse()
92 if (read_byte(&stream) == -1) in mtk_jpeg_do_parse()
103 param->comp_num = read_byte(&stream); in mtk_jpeg_do_parse()
108 param->comp_id[i] = read_byte(&stream); in mtk_jpeg_do_parse()
113 byte = read_byte(&stream); in mtk_jpeg_do_parse()
[all …]
/Linux-v5.4/drivers/i2c/busses/
Di2c-pca-platform.c87 i2c->algo_data.read_byte(i2c, I2C_PCA_CON) in i2c_pca_pf_waitforcompletion()
94 if (i2c->algo_data.read_byte(i2c, I2C_PCA_CON) in i2c_pca_pf_waitforcompletion()
124 if ((i2c->algo_data.read_byte(i2c, I2C_PCA_CON) & I2C_PCA_CON_SI) == 0) in i2c_pca_pf_handler()
198 i2c->algo_data.read_byte = i2c_pca_pf_readbyte32; in i2c_pca_pf_probe()
202 i2c->algo_data.read_byte = i2c_pca_pf_readbyte16; in i2c_pca_pf_probe()
207 i2c->algo_data.read_byte = i2c_pca_pf_readbyte8; in i2c_pca_pf_probe()
Di2c-pca-isa.c97 .read_byte = pca_isa_readbyte,
/Linux-v5.4/include/linux/
Dnvram.h34 unsigned char (*read_byte)(int); member
64 if (arch_nvram_ops.read_byte) in nvram_read_byte()
65 return arch_nvram_ops.read_byte(addr); in nvram_read_byte()
Di2c-algo-pca.h59 int (*read_byte) (void *data, int reg); member
Dw1.h140 u8 (*read_byte)(void *); member
/Linux-v5.4/drivers/hwmon/
Dasc7621.c121 static inline u8 read_byte(struct i2c_client *client, u8 reg) in read_byte() function
219 currval = read_byte(client, param->msb[0]); in store_bitmask()
489 currval = read_byte(client, param->msb[0]); in store_ap2_temp()
547 currval = read_byte(client, param->msb[0]); in store_pwm_ac()
623 currval = read_byte(client, param->msb[0]); in store_pwm_enable()
630 currval = read_byte(client, param->msb[2]); in store_pwm_enable()
681 currval = read_byte(client, param->msb[0]); in store_pwm_freq()
730 currval = read_byte(client, param->msb[0]); in store_pwm_ast()
778 currval = read_byte(client, param->msb[0]); in store_temp_st()
1067 value = read_byte(client, 0x40); in asc7621_init_client()
[all …]
Dadt7x10.h21 int (*read_byte)(struct device *, u8 reg); member
Dadt7410.c38 .read_byte = adt7410_i2c_read_byte,
Dadt7310.c81 .read_byte = adt7310_spi_read_byte,
/Linux-v5.4/drivers/staging/comedi/drivers/
Dni_labpc_common.c198 unsigned int lsb = devpriv->read_byte(dev, ADC_FIFO_REG); in labpc_read_adc_fifo()
199 unsigned int msb = devpriv->read_byte(dev, ADC_FIFO_REG); in labpc_read_adc_fifo()
219 devpriv->stat1 = devpriv->read_byte(dev, STAT1_REG); in labpc_ai_eoc()
777 devpriv->stat1 = devpriv->read_byte(dev, STAT1_REG); in labpc_drain_fifo()
789 devpriv->stat1 = devpriv->read_byte(dev, STAT1_REG); in labpc_drain_fifo()
833 devpriv->stat1 = devpriv->read_byte(dev, STAT1_REG); in labpc_interrupt()
835 devpriv->stat2 = devpriv->read_byte(dev, STAT2_REG); in labpc_interrupt()
986 devpriv->stat2 = devpriv->read_byte(dev, STAT2_REG); in labpc_serial_in()
1202 devpriv->read_byte = labpc_readb; in labpc_common_attach()
1205 devpriv->read_byte = labpc_inb; in labpc_common_attach()
Dni_labpc.h46 unsigned int (*read_byte)(struct comedi_device *dev, unsigned long reg); member
/Linux-v5.4/drivers/rtc/
Drtc-m48t59.c25 #define M48T59_READ(reg) (pdata->read_byte(dev, pdata->offset + reg))
391 if (!pdata || !pdata->write_byte || !pdata->read_byte) in m48t59_rtc_probe()
409 if (!pdata->read_byte) in m48t59_rtc_probe()
410 pdata->read_byte = m48t59_mem_readb; in m48t59_rtc_probe()
/Linux-v5.4/include/linux/rtc/
Dm48t59.h51 unsigned char (*read_byte)(struct device *dev, u32 ofs); member
/Linux-v5.4/drivers/w1/masters/
Dds1wm.c109 u8 read_byte; member
205 ds1wm_data->read_byte = ds1wm_read_register(ds1wm_data, in ds1wm_isr()
294 return ds1wm_data->read_byte; in ds1wm_read()
500 .read_byte = ds1wm_read_byte,
/Linux-v5.4/drivers/mtd/nand/raw/
Dnand_legacy.c600 if (!chip->legacy.read_byte || chip->legacy.read_byte == nand_read_byte) in nand_legacy_set_defaults()
601 chip->legacy.read_byte = busw ? nand_read_byte16 : nand_read_byte; in nand_legacy_set_defaults()
Ddiskonchip.c386 ret = this->legacy.read_byte(this) << 8; in doc200x_ident_chip()
387 ret |= this->legacy.read_byte(this); in doc200x_ident_chip()
446 status = (int)this->legacy.read_byte(this); in doc200x_wait()
725 while (!(this->legacy.read_byte(this) & 0x40)) ; in doc2001plus_command()
1347 this->legacy.read_byte = doc2000_read_byte; in doc2000_init()
1363 this->legacy.read_byte = doc2001_read_byte; in doc2001_init()
1393 this->legacy.read_byte = doc2001plus_read_byte; in doc2001plus_init()
Dcmx270_nand.c183 this->legacy.read_byte = cmx270_read_byte; in cmx270_init()
Doxnas_nand.c133 chip->legacy.read_byte = oxnas_nand_read_byte; in oxnas_nand_probe()
Dsocrates_nand.c151 nand_chip->legacy.read_byte = socrates_nand_read_byte; in socrates_nand_probe()
/Linux-v5.4/drivers/w1/
Dw1_io.c234 if (dev->bus_master->read_byte) in w1_read_8()
235 res = dev->bus_master->read_byte(dev->bus_master->data); in w1_read_8()
/Linux-v5.4/drivers/mfd/
Dstmpe-i2c.c50 .read_byte = i2c_reg_read,
Dstmpe-spi.c79 .read_byte = spi_reg_read,
Dstmpe.h92 int (*read_byte)(struct stmpe *stmpe, u8 reg); member
/Linux-v5.4/Documentation/i2c/
Dfunctionality.rst30 I2C_FUNC_SMBUS_READ_BYTE Handles the SMBus read_byte command
46 I2C_FUNC_SMBUS_BYTE Handles the SMBus read_byte

123