Lines Matching refs:target
647 struct i3c_device_desc *target);
663 struct i3c_device_desc *target,
679 struct i3c_device_desc *target);
694 struct i3c_i2c_device_desc *target);
709 struct i3c_i2c_device_desc *target);
752 struct i3c_device_desc *target,
800 struct i3c_device_desc *target);
815 struct i3c_device_desc *target);
1345 struct i3c_device_desc **target,
1448 int i3c_attach_i3c_device(struct i3c_device_desc *target);
1474 int i3c_reattach_i3c_device(struct i3c_device_desc *target, uint8_t old_dyn_addr);
1495 int i3c_detach_i3c_device(struct i3c_device_desc *target);
1515 int i3c_attach_i2c_device(struct i3c_i2c_device_desc *target);
1534 int i3c_detach_i2c_device(struct i3c_i2c_device_desc *target);
1631 __syscall int i3c_transfer(struct i3c_device_desc *target,
1634 static inline int z_impl_i3c_transfer(struct i3c_device_desc *target, in z_impl_i3c_transfer() argument
1638 (const struct i3c_driver_api *)target->bus->api; in z_impl_i3c_transfer()
1640 return api->i3c_xfers(target->bus, target, msgs, num_msgs); in z_impl_i3c_transfer()
1716 static inline int i3c_ibi_enable(struct i3c_device_desc *target) in i3c_ibi_enable() argument
1719 (const struct i3c_driver_api *)target->bus->api; in i3c_ibi_enable()
1725 return api->ibi_enable(target->bus, target); in i3c_ibi_enable()
1740 static inline int i3c_ibi_disable(struct i3c_device_desc *target) in i3c_ibi_disable() argument
1743 (const struct i3c_driver_api *)target->bus->api; in i3c_ibi_disable()
1749 return api->ibi_disable(target->bus, target); in i3c_ibi_disable()
1763 static inline int i3c_ibi_has_payload(struct i3c_device_desc *target) in i3c_ibi_has_payload() argument
1765 return (target->bcr & I3C_BCR_IBI_PAYLOAD_HAS_DATA_BYTE) in i3c_ibi_has_payload()
1780 static inline int i3c_device_is_ibi_capable(struct i3c_device_desc *target) in i3c_device_is_ibi_capable() argument
1782 return (target->bcr & I3C_BCR_IBI_REQUEST_CAPABLE) in i3c_device_is_ibi_capable()
1797 static inline int i3c_device_is_controller_capable(struct i3c_device_desc *target) in i3c_device_is_controller_capable() argument
1799 return I3C_BCR_DEVICE_ROLE(target->bcr) in i3c_device_is_controller_capable()
1823 static inline int i3c_write(struct i3c_device_desc *target, in i3c_write() argument
1834 return i3c_transfer(target, &msg, 1); in i3c_write()
1850 static inline int i3c_read(struct i3c_device_desc *target, in i3c_read() argument
1861 return i3c_transfer(target, &msg, 1); in i3c_read()
1881 static inline int i3c_write_read(struct i3c_device_desc *target, in i3c_write_read() argument
1899 return i3c_transfer(target, msg, 2); in i3c_write_read()
1919 static inline int i3c_burst_read(struct i3c_device_desc *target, in i3c_burst_read() argument
1924 return i3c_write_read(target, in i3c_burst_read()
1949 static inline int i3c_burst_write(struct i3c_device_desc *target, in i3c_burst_write() argument
1968 return i3c_transfer(target, msg, 2); in i3c_burst_write()
1985 static inline int i3c_reg_read_byte(struct i3c_device_desc *target, in i3c_reg_read_byte() argument
1988 return i3c_write_read(target, in i3c_reg_read_byte()
2010 static inline int i3c_reg_write_byte(struct i3c_device_desc *target, in i3c_reg_write_byte() argument
2015 return i3c_write(target, tx_buf, 2); in i3c_reg_write_byte()
2036 static inline int i3c_reg_update_byte(struct i3c_device_desc *target, in i3c_reg_update_byte() argument
2043 rc = i3c_reg_read_byte(target, reg_addr, &old_value); in i3c_reg_update_byte()
2053 return i3c_reg_write_byte(target, reg_addr, new_value); in i3c_reg_update_byte()
2081 uint8_t num_msgs, struct i3c_device_desc *target);
2122 int i3c_device_basic_info_get(struct i3c_device_desc *target);