Lines Matching full:spec

462  * @param spec I2C specification from devicetree
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()
874 * i2c_transfer_cb(spec->bus, msgs, num_msgs, spec->addr, cb, userdata);
876 * @param spec I2C specification from devicetree.
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()
941 * i2c_write_read_cb(spec->bus, msgs, num_msgs,
942 * spec->addr, write_buf,
945 * @param spec I2C specification from devicetree.
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()
1102 * i2c_transfer(spec->bus, msgs, num_msgs, spec->addr);
1104 * @param spec I2C specification from devicetree.
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()
1289 * i2c_write(spec->bus, buf, num_bytes, spec->addr);
1291 * @param spec I2C specification from devicetree.
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()
1334 * i2c_read(spec->bus, buf, num_bytes, spec->addr);
1336 * @param spec I2C specification from devicetree.
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()
1388 * i2c_write_read(spec->bus, spec->addr,
1392 * @param spec I2C specification from devicetree.
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()
1443 * i2c_burst_read(spec->bus, spec->addr, start_addr, buf, num_bytes);
1445 * @param spec I2C specification from devicetree.
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()
1506 * i2c_burst_write(spec->bus, spec->addr, start_addr, buf, num_bytes);
1508 * @param spec I2C specification from devicetree.
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()
1553 * i2c_reg_read_byte(spec->bus, spec->addr, reg_addr, value);
1555 * @param spec I2C specification from devicetree.
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()
1599 * i2c_reg_write_byte(spec->bus, spec->addr, reg_addr, value);
1601 * @param spec I2C specification from devicetree.
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()
1658 * i2c_reg_update_byte(spec->bus, spec->addr, reg_addr, mask, value);
1660 * @param spec I2C specification from devicetree.
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()