Lines Matching refs:spec
467 static inline bool i2c_is_ready_dt(const struct i2c_dt_spec *spec) in i2c_is_ready_dt() argument
470 return device_is_ready(spec->bus); in i2c_is_ready_dt()
884 static inline int i2c_transfer_cb_dt(const struct i2c_dt_spec *spec, in i2c_transfer_cb_dt() argument
890 return i2c_transfer_cb(spec->bus, msgs, num_msgs, spec->addr, cb, userdata); 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() argument
962 return i2c_write_read_cb(spec->bus, msgs, num_msgs, spec->addr, write_buf, num_write, in i2c_write_read_cb_dt()
1110 static inline int i2c_transfer_dt(const struct i2c_dt_spec *spec, in i2c_transfer_dt() argument
1113 return i2c_transfer(spec->bus, msgs, num_msgs, spec->addr); in i2c_transfer_dt()
1297 static inline int i2c_write_dt(const struct i2c_dt_spec *spec, in i2c_write_dt() argument
1300 return i2c_write(spec->bus, buf, num_bytes, spec->addr); in i2c_write_dt()
1342 static inline int i2c_read_dt(const struct i2c_dt_spec *spec, in i2c_read_dt() argument
1345 return i2c_read(spec->bus, buf, num_bytes, spec->addr); in i2c_read_dt()
1400 static inline int i2c_write_read_dt(const struct i2c_dt_spec *spec, in i2c_write_read_dt() argument
1404 return i2c_write_read(spec->bus, spec->addr, in i2c_write_read_dt()
1452 static inline int i2c_burst_read_dt(const struct i2c_dt_spec *spec, in i2c_burst_read_dt() argument
1457 return i2c_burst_read(spec->bus, spec->addr, in i2c_burst_read_dt()
1515 static inline int i2c_burst_write_dt(const struct i2c_dt_spec *spec, in i2c_burst_write_dt() argument
1520 return i2c_burst_write(spec->bus, spec->addr, in i2c_burst_write_dt()
1561 static inline int i2c_reg_read_byte_dt(const struct i2c_dt_spec *spec, in i2c_reg_read_byte_dt() argument
1564 return i2c_reg_read_byte(spec->bus, spec->addr, reg_addr, value); in i2c_reg_read_byte_dt()
1607 static inline int i2c_reg_write_byte_dt(const struct i2c_dt_spec *spec, in i2c_reg_write_byte_dt() argument
1610 return i2c_reg_write_byte(spec->bus, spec->addr, reg_addr, value); in i2c_reg_write_byte_dt()
1667 static inline int i2c_reg_update_byte_dt(const struct i2c_dt_spec *spec, in i2c_reg_update_byte_dt() argument
1671 return i2c_reg_update_byte(spec->bus, spec->addr, in i2c_reg_update_byte_dt()