Lines Matching refs:tps6598x

84 struct tps6598x {  struct
125 tps6598x_block_read(struct tps6598x *tps, u8 reg, void *val, size_t len) in tps6598x_block_read()
147 static int tps6598x_block_write(struct tps6598x *tps, u8 reg, in tps6598x_block_write()
164 static inline int tps6598x_read8(struct tps6598x *tps, u8 reg, u8 *val) in tps6598x_read8()
169 static inline int tps6598x_read16(struct tps6598x *tps, u8 reg, u16 *val) in tps6598x_read16()
174 static inline int tps6598x_read32(struct tps6598x *tps, u8 reg, u32 *val) in tps6598x_read32()
179 static inline int tps6598x_read64(struct tps6598x *tps, u8 reg, u64 *val) in tps6598x_read64()
184 static inline int tps6598x_write64(struct tps6598x *tps, u8 reg, u64 val) in tps6598x_write64()
190 tps6598x_write_4cc(struct tps6598x *tps, u8 reg, const char *val) in tps6598x_write_4cc()
195 static int tps6598x_read_partner_identity(struct tps6598x *tps) in tps6598x_read_partner_identity()
210 static void tps6598x_set_data_role(struct tps6598x *tps, in tps6598x_set_data_role()
227 static int tps6598x_connect(struct tps6598x *tps, u32 status) in tps6598x_connect()
271 static void tps6598x_disconnect(struct tps6598x *tps, u32 status) in tps6598x_disconnect()
286 static int tps6598x_exec_cmd(struct tps6598x *tps, const char *cmd, in tps6598x_exec_cmd()
352 struct tps6598x *tps = typec_get_drvdata(port); in tps6598x_dr_set()
382 struct tps6598x *tps = typec_get_drvdata(port); in tps6598x_pr_set()
414 static bool tps6598x_read_status(struct tps6598x *tps, u32 *status) in tps6598x_read_status()
428 static bool tps6598x_read_data_status(struct tps6598x *tps) in tps6598x_read_data_status()
443 static bool tps6598x_read_power_status(struct tps6598x *tps) in tps6598x_read_power_status()
459 static void tps6598x_handle_plug_event(struct tps6598x *tps, u32 status) in tps6598x_handle_plug_event()
474 struct tps6598x *tps = data; in cd321x_interrupt()
520 struct tps6598x *tps = data; in tps6598x_interrupt()
587 struct tps6598x *tps = container_of(to_delayed_work(work), in tps6598x_poll_work()
588 struct tps6598x, wq_poll); in tps6598x_poll_work()
595 static int tps6598x_check_mode(struct tps6598x *tps) in tps6598x_check_mode()
627 static int tps6598x_psy_get_online(struct tps6598x *tps, in tps6598x_psy_get_online()
643 struct tps6598x *tps = power_supply_get_drvdata(psy); in tps6598x_psy_get_prop()
664 static int cd321x_switch_power_state(struct tps6598x *tps, u8 target_state) in cd321x_switch_power_state()
690 static int devm_tps6598_psy_register(struct tps6598x *tps) in devm_tps6598_psy_register()
724 struct tps6598x *tps; in tps6598x_probe()
906 struct tps6598x *tps = i2c_get_clientdata(client); in tps6598x_remove()
919 struct tps6598x *tps = i2c_get_clientdata(client); in tps6598x_suspend()
935 struct tps6598x *tps = i2c_get_clientdata(client); in tps6598x_resume()