Home
last modified time | relevance | path

Searched refs:i2c_dt_spec (Results 1 – 25 of 301) sorted by relevance

12345678910>>...13

/Zephyr-latest/include/zephyr/drivers/usb_c/
Dtcpci_priv.h52 int tcpci_read_reg8(const struct i2c_dt_spec *bus, uint8_t reg, uint8_t *value);
62 int tcpci_write_reg8(const struct i2c_dt_spec *bus, uint8_t reg, uint8_t value);
74 int tcpci_update_reg8(const struct i2c_dt_spec *bus, uint8_t reg, uint8_t mask, uint8_t value);
84 int tcpci_read_reg16(const struct i2c_dt_spec *bus, uint8_t reg, uint16_t *value);
94 int tcpci_write_reg16(const struct i2c_dt_spec *bus, uint8_t reg, uint16_t value);
116 int tcpci_tcpm_get_cc(const struct i2c_dt_spec *bus, enum tc_cc_voltage_state *cc1,
/Zephyr-latest/drivers/sensor/st/stmemsc/
Dstmemsc_i2c.c15 int stmemsc_i2c_read(const struct i2c_dt_spec *stmemsc, in stmemsc_i2c_read()
21 int stmemsc_i2c_write(const struct i2c_dt_spec *stmemsc, in stmemsc_i2c_write()
27 int stmemsc_i2c_read_incr(const struct i2c_dt_spec *stmemsc, in stmemsc_i2c_read_incr()
34 int stmemsc_i2c_write_incr(const struct i2c_dt_spec *stmemsc, in stmemsc_i2c_write_incr()
Dstmemsc.h33 int stmemsc_i2c_read(const struct i2c_dt_spec *stmemsc,
35 int stmemsc_i2c_write(const struct i2c_dt_spec *stmemsc,
51 int stmemsc_i2c_read_incr(const struct i2c_dt_spec *stmemsc,
53 int stmemsc_i2c_write_incr(const struct i2c_dt_spec *stmemsc,
/Zephyr-latest/drivers/sensor/ti/ina23x/
Dina23x_common.h20 int ina23x_reg_read_24(const struct i2c_dt_spec *bus, uint8_t reg, uint32_t *val);
21 int ina23x_reg_read_16(const struct i2c_dt_spec *bus, uint8_t reg, uint16_t *val);
22 int ina23x_reg_write(const struct i2c_dt_spec *bus, uint8_t reg, uint16_t val);
Dina23x_common.c11 int ina23x_reg_read_24(const struct i2c_dt_spec *bus, uint8_t reg, uint32_t *val) in ina23x_reg_read_24()
26 int ina23x_reg_read_16(const struct i2c_dt_spec *bus, uint8_t reg, uint16_t *val) in ina23x_reg_read_16()
41 int ina23x_reg_write(const struct i2c_dt_spec *bus, uint8_t reg, uint16_t val) in ina23x_reg_write()
/Zephyr-latest/drivers/w1/
Dw1_ds2482_84_common.h105 static inline int ds2482_84_write(const struct i2c_dt_spec *spec, uint8_t cmd, const uint8_t *data) in ds2482_84_write()
119 static inline int ds2482_84_read(const struct i2c_dt_spec *spec, uint8_t rp, uint8_t *reg) in ds2482_84_read()
155 static inline int ds2482_84_reset_bus(const struct i2c_dt_spec *spec) in ds2482_84_reset_bus()
176 static inline int ds2482_84_reset_device(const struct i2c_dt_spec *spec) in ds2482_84_reset_device()
197 static inline int ds2482_84_single_bit(const struct i2c_dt_spec *spec, uint8_t bit_msk) in ds2482_84_single_bit()
218 static inline int ds2482_84_read_bit(const struct i2c_dt_spec *spec) in ds2482_84_read_bit()
223 static inline int ds2482_84_write_bit(const struct i2c_dt_spec *spec, bool bit) in ds2482_84_write_bit()
228 static inline int ds2482_84_read_byte(const struct i2c_dt_spec *spec) in ds2482_84_read_byte()
254 static inline int ds2482_84_write_byte(const struct i2c_dt_spec *spec, uint8_t byte) in ds2482_84_write_byte()
275 static inline int ds2482_84_write_config(const struct i2c_dt_spec *spec, uint8_t cfg) in ds2482_84_write_config()
/Zephyr-latest/drivers/sensor/ti/tmp007/
Dtmp007.h36 struct i2c_dt_spec i2c;
67 int tmp007_reg_read(const struct i2c_dt_spec *i2c, uint8_t reg, uint16_t *val);
69 int tmp007_reg_write(const struct i2c_dt_spec *i2c, uint8_t reg, uint16_t val);
71 int tmp007_reg_update(const struct i2c_dt_spec *i2c, uint8_t reg,
Dtmp007.c23 int tmp007_reg_read(const struct i2c_dt_spec *i2c, uint8_t reg, uint16_t *val) in tmp007_reg_read()
35 int tmp007_reg_write(const struct i2c_dt_spec *i2c, uint8_t reg, uint16_t val) in tmp007_reg_write()
42 int tmp007_reg_update(const struct i2c_dt_spec *i2c, uint8_t reg, in tmp007_reg_update()
/Zephyr-latest/drivers/sensor/th02/
Dth02.c22 static uint8_t read8(const struct i2c_dt_spec *i2c, uint8_t d) in read8()
32 static int is_ready(const struct i2c_dt_spec *i2c) in is_ready()
48 static uint16_t get_humi(const struct i2c_dt_spec *i2c) in get_humi()
66 uint16_t get_temp(const struct i2c_dt_spec *i2c) in get_temp()
Dth02.h28 struct i2c_dt_spec i2c;
/Zephyr-latest/drivers/led/
Dis31fl3216a.c33 struct i2c_dt_spec i2c;
36 static int is31fl3216a_write_buffer(const struct i2c_dt_spec *i2c, in is31fl3216a_write_buffer()
50 static int is31fl3216a_write_reg(const struct i2c_dt_spec *i2c, uint8_t reg, in is31fl3216a_write_reg()
58 static int is31fl3216a_update_pwm(const struct i2c_dt_spec *i2c) in is31fl3216a_update_pwm()
137 static int is31fl3216a_init_registers(const struct i2c_dt_spec *i2c) in is31fl3216a_init_registers()
/Zephyr-latest/drivers/crypto/
Dcrypto_ataes132a_priv.h139 static inline int burst_write_i2c(const struct i2c_dt_spec *spec, in burst_write_i2c()
160 static inline int burst_read_i2c(const struct i2c_dt_spec *spec, in burst_read_i2c()
180 static inline int read_reg_i2c(const struct i2c_dt_spec *spec, in read_reg_i2c()
186 static inline int write_reg_i2c(const struct i2c_dt_spec *spec, in write_reg_i2c()
193 struct i2c_dt_spec i2c;
/Zephyr-latest/include/zephyr/drivers/
Di2c.h77 struct i2c_dt_spec { struct
467 static inline bool i2c_is_ready_dt(const struct i2c_dt_spec *spec) in i2c_is_ready_dt()
884 static inline int i2c_transfer_cb_dt(const struct i2c_dt_spec *spec, in i2c_transfer_cb_dt()
957 static inline int i2c_write_read_cb_dt(const struct i2c_dt_spec *spec, struct i2c_msg *msgs, in i2c_write_read_cb_dt()
1035 const struct i2c_dt_spec *dt_spec = (const struct i2c_dt_spec *)iodev_sqe->sqe.iodev->data; in i2c_iodev_submit()
1058 const struct i2c_dt_spec _i2c_dt_spec_##name = \
1073 const struct i2c_dt_spec _i2c_dt_spec_##name = { \
1110 static inline int i2c_transfer_dt(const struct i2c_dt_spec *spec, in i2c_transfer_dt()
1297 static inline int i2c_write_dt(const struct i2c_dt_spec *spec, in i2c_write_dt()
1342 static inline int i2c_read_dt(const struct i2c_dt_spec *spec, in i2c_read_dt()
[all …]
/Zephyr-latest/drivers/mfd/
Dmfd_nct38xx.c11 const struct i2c_dt_spec i2c_dev;
40 const struct i2c_dt_spec *mfd_nct38xx_get_i2c_dt_spec(const struct device *dev) in mfd_nct38xx_get_i2c_dt_spec()
/Zephyr-latest/drivers/gpio/
Dgpio_pcal64xxa.c97 typedef int (*pcal64xxa_pins_cfg_apply)(const struct i2c_dt_spec *i2c,
99 typedef int (*pcal64xxa_pins_cfg_read)(const struct i2c_dt_spec *i2c,
101 typedef int (*pcal64xxa_triggers_apply)(const struct i2c_dt_spec *i2c,
103 typedef int (*pcal64xxa_reset_state_apply)(const struct i2c_dt_spec *i2c);
104 typedef int (*pcal64xxa_inputs_read)(const struct i2c_dt_spec *i2c, pcal64xxa_data_t *int_sources,
106 typedef int (*pcal64xxa_outputs_write)(const struct i2c_dt_spec *i2c, pcal64xxa_data_t outputs);
121 struct i2c_dt_spec i2c;
419 static int pcal64xxa_i2c_write(const struct i2c_dt_spec *i2c, uint8_t register_address, in pcal64xxa_i2c_write()
434 static int pcal64xxa_i2c_read(const struct i2c_dt_spec *i2c, uint8_t register_address, in pcal64xxa_i2c_read()
450 static int pcal6408a_pins_cfg_apply(const struct i2c_dt_spec *i2c, in pcal6408a_pins_cfg_apply()
[all …]
/Zephyr-latest/drivers/usb_c/tcpc/
Dtcpci.c212 int tcpci_read_reg8(const struct i2c_dt_spec *i2c, uint8_t reg, uint8_t *value) in tcpci_read_reg8()
231 int tcpci_write_reg8(const struct i2c_dt_spec *i2c, uint8_t reg, uint8_t value) in tcpci_write_reg8()
251 int tcpci_update_reg8(const struct i2c_dt_spec *i2c, uint8_t reg, uint8_t mask, uint8_t value) in tcpci_update_reg8()
269 int tcpci_read_reg16(const struct i2c_dt_spec *i2c, uint8_t reg, uint16_t *value) in tcpci_read_reg16()
289 int tcpci_write_reg16(const struct i2c_dt_spec *i2c, uint8_t reg, uint16_t value) in tcpci_write_reg16()
376 int tcpci_tcpm_get_cc(const struct i2c_dt_spec *bus, enum tc_cc_voltage_state *cc1, in tcpci_tcpm_get_cc()
/Zephyr-latest/drivers/sensor/maxim/max31790/
Dmax31790_fan_fault.h13 struct i2c_dt_spec i2c;
Dmax31790_fan_speed.h13 struct i2c_dt_spec i2c;
/Zephyr-latest/include/zephyr/drivers/mfd/
Dnct38xx.h34 const struct i2c_dt_spec *mfd_nct38xx_get_i2c_dt_spec(const struct device *dev);
/Zephyr-latest/drivers/i2c/
Di2c_common.c32 struct i2c_dt_spec messages_allowlist[] = {
46 struct i2c_dt_spec *allowed = &messages_allowlist[a]; in i2c_dump_msgs_rw()
/Zephyr-latest/drivers/sensor/f75303/
Df75303.h27 struct i2c_dt_spec i2c;
/Zephyr-latest/drivers/sensor/maxim/max44009/
Dmax44009.h28 struct i2c_dt_spec i2c;
/Zephyr-latest/drivers/fuel_gauge/max17048/
Dmax17048.h31 struct i2c_dt_spec i2c;
/Zephyr-latest/drivers/sensor/wsen/wsen_hids_2525020210002/
Dwsen_hids_2525020210002.h37 const struct i2c_dt_spec i2c;
/Zephyr-latest/drivers/sensor/ti/opt3001/
Dopt3001.h32 struct i2c_dt_spec i2c;

12345678910>>...13