/linux/drivers/usb/typec/tipd/ |
H A D | core.c | 162 tps6598x_block_read(struct tps6598x *tps, u8 reg, void *val, size_t len) in tps6598x_block_read() 184 static int tps6598x_block_write(struct tps6598x *tps, u8 reg, in tps6598x_block_write() 201 static inline int tps6598x_read8(struct tps6598x *tps, u8 reg, u8 *val) in tps6598x_read8() 206 static inline int tps6598x_read16(struct tps6598x *tps, u8 reg, u16 *val) in tps6598x_read16() 211 static inline int tps6598x_read32(struct tps6598x *tps, u8 reg, u32 *val) in tps6598x_read32() 216 static inline int tps6598x_read64(struct tps6598x *tps, u8 reg, u64 *val) in tps6598x_read64() 221 static inline int tps6598x_write8(struct tps6598x *tps, u8 reg, u8 val) in tps6598x_write8() 226 static inline int tps6598x_write64(struct tps6598x *tps, u8 reg, u64 val) in tps6598x_write64() 232 tps6598x_write_4cc(struct tps6598x *tps, u8 reg, const char *val) in tps6598x_write_4cc() 237 static int tps6598x_read_partner_identity(struct tps6598x *tps) in tps6598x_read_partner_identity() [all …]
|
/linux/drivers/mfd/ |
H A D | tps65217.c | 38 struct tps65217 *tps = irq_data_get_irq_chip_data(data); in tps65217_irq_lock() local 45 struct tps65217 *tps = irq_data_get_irq_chip_data(data); in tps65217_irq_sync_unlock() local 58 struct tps65217 *tps = irq_data_get_irq_chip_data(data); in tps65217_irq_enable() local 66 struct tps65217 *tps = irq_data_get_irq_chip_data(data); in tps65217_irq_disable() local 105 struct tps65217 *tps = data; in tps65217_irq_thread() local 134 struct tps65217 *tps = h->host_data; in tps65217_irq_map() local 149 static int tps65217_irq_init(struct tps65217 *tps, int irq) in tps65217_irq_init() 189 int tps65217_reg_read(struct tps65217 *tps, unsigned int reg, in tps65217_reg_read() 204 int tps65217_reg_write(struct tps65217 *tps, unsigned int reg, in tps65217_reg_write() 250 static int tps65217_update_bits(struct tps65217 *tps, unsigned int reg, in tps65217_update_bits() [all …]
|
H A D | tps65218.c | 47 int tps65218_reg_write(struct tps65218 *tps, unsigned int reg, in tps65218_reg_write() 79 static int tps65218_update_bits(struct tps65218 *tps, unsigned int reg, in tps65218_update_bits() 103 int tps65218_set_bits(struct tps65218 *tps, unsigned int reg, in tps65218_set_bits() 110 int tps65218_clear_bits(struct tps65218 *tps, unsigned int reg, in tps65218_clear_bits() 205 static int tps65218_voltage_set_strict(struct tps65218 *tps) in tps65218_voltage_set_strict() 227 static int tps65218_voltage_set_uv_hyst(struct tps65218 *tps) in tps65218_voltage_set_uv_hyst() 248 static int tps65218_voltage_set_uvlo(struct tps65218 *tps) in tps65218_voltage_set_uvlo() 284 struct tps65218 *tps; in tps65218_probe() local
|
H A D | tps65219.c | 14 static int tps65219_warm_reset(struct tps65219 *tps) in tps65219_warm_reset() 21 static int tps65219_cold_reset(struct tps65219 *tps) in tps65219_cold_reset() 28 static int tps65219_soft_shutdown(struct tps65219 *tps) in tps65219_soft_shutdown() 41 static int tps65219_restart(struct tps65219 *tps, unsigned long reboot_mode) in tps65219_restart() 230 struct tps65219 *tps; in tps65219_probe() local
|
H A D | tps6594-core.c | 431 struct tps6594 *tps = irq_drv_data; in tps6594_handle_post_irq() local 505 static int tps6594_check_crc_mode(struct tps6594 *tps, bool primary_pmic) in tps6594_check_crc_mode() 535 static int tps6594_set_crc_feature(struct tps6594 *tps) in tps6594_set_crc_feature() 572 static int tps6594_enable_crc(struct tps6594 *tps) in tps6594_enable_crc() 607 int tps6594_device_init(struct tps6594 *tps, bool enable_crc) in tps6594_device_init()
|
H A D | tps65010.c | 184 struct tps65010 *tps = s->private; in dbg_show() local 307 static void tps65010_interrupt(struct tps65010 *tps) in tps65010_interrupt() 399 struct tps65010 *tps; in tps65010_work() local 434 struct tps65010 *tps = _tps; in tps65010_irq() local 464 struct tps65010 *tps; in tps65010_output() local 481 struct tps65010 *tps; in tps65010_gpio_get() local 506 struct tps65010 *tps = i2c_get_clientdata(client); in tps65010_remove() local 521 struct tps65010 *tps; in tps65010_probe() local
|
H A D | tps65086.c | 67 struct tps65086 *tps; in tps65086_probe() local 123 struct tps65086 *tps = i2c_get_clientdata(client); in tps65086_remove() local
|
/linux/drivers/regulator/ |
H A D | tps6507x-regulator.c | 113 static inline int tps6507x_pmic_read(struct tps6507x_pmic *tps, u8 reg) in tps6507x_pmic_read() 126 static inline int tps6507x_pmic_write(struct tps6507x_pmic *tps, u8 reg, u8 val) in tps6507x_pmic_write() 131 static int tps6507x_pmic_set_bits(struct tps6507x_pmic *tps, u8 reg, u8 mask) in tps6507x_pmic_set_bits() 154 static int tps6507x_pmic_clear_bits(struct tps6507x_pmic *tps, u8 reg, u8 mask) in tps6507x_pmic_clear_bits() 177 static int tps6507x_pmic_reg_read(struct tps6507x_pmic *tps, u8 reg) in tps6507x_pmic_reg_read() 191 static int tps6507x_pmic_reg_write(struct tps6507x_pmic *tps, u8 reg, u8 val) in tps6507x_pmic_reg_write() 207 struct tps6507x_pmic *tps = rdev_get_drvdata(dev); in tps6507x_pmic_is_enabled() local 225 struct tps6507x_pmic *tps = rdev_get_drvdata(dev); in tps6507x_pmic_enable() local 238 struct tps6507x_pmic *tps = rdev_get_drvdata(dev); in tps6507x_pmic_disable() local 252 struct tps6507x_pmic *tps = rdev_get_drvdata(dev); in tps6507x_pmic_get_voltage_sel() local [all …]
|
H A D | tps65218-regulator.c | 70 struct tps65218 *tps = rdev_get_drvdata(dev); in tps65218_pmic_set_voltage_sel() local 93 struct tps65218 *tps = rdev_get_drvdata(dev); in tps65218_pmic_enable() local 107 struct tps65218 *tps = rdev_get_drvdata(dev); in tps65218_pmic_disable() local 120 struct tps65218 *tps = rdev_get_drvdata(dev); in tps65218_pmic_set_suspend_enable() local 133 struct tps65218 *tps = rdev_get_drvdata(dev); in tps65218_pmic_set_suspend_disable() local 193 struct tps65218 *tps = rdev_get_drvdata(dev); in tps65218_pmic_set_input_current_lim() local 211 struct tps65218 *tps = rdev_get_drvdata(dev); in tps65218_pmic_set_current_limit() local 306 struct tps65218 *tps = dev_get_drvdata(pdev->dev.parent); in tps65218_regulator_probe() local
|
H A D | tps65217-regulator.c | 66 struct tps65217 *tps = rdev_get_drvdata(dev); in tps65217_pmic_enable() local 80 struct tps65217 *tps = rdev_get_drvdata(dev); in tps65217_pmic_disable() local 95 struct tps65217 *tps = rdev_get_drvdata(dev); in tps65217_pmic_set_voltage_sel() local 116 struct tps65217 *tps = rdev_get_drvdata(dev); in tps65217_pmic_set_suspend_enable() local 129 struct tps65217 *tps = rdev_get_drvdata(dev); in tps65217_pmic_set_suspend_disable() local 215 struct tps65217 *tps = dev_get_drvdata(pdev->dev.parent); in tps65217_regulator_probe() local
|
H A D | tps62360-regulator.c | 81 static bool find_voltage_set_register(struct tps62360_chip *tps, in find_voltage_set_register() 109 struct tps62360_chip *tps = rdev_get_drvdata(dev); in tps62360_dcdc_get_voltage_sel() local 127 struct tps62360_chip *tps = rdev_get_drvdata(dev); in tps62360_dcdc_set_voltage_sel() local 163 struct tps62360_chip *tps = rdev_get_drvdata(rdev); in tps62360_set_mode() local 208 struct tps62360_chip *tps = rdev_get_drvdata(rdev); in tps62360_get_mode() local 232 static int tps62360_init_dcdc(struct tps62360_chip *tps, in tps62360_init_dcdc() 324 struct tps62360_chip *tps; in tps62360_probe() local 464 struct tps62360_chip *tps = i2c_get_clientdata(client); in tps62360_shutdown() local
|
H A D | tps65132-regulator.c | 63 struct tps65132_regulator *tps = rdev_get_drvdata(rdev); in tps65132_regulator_enable() local 89 struct tps65132_regulator *tps = rdev_get_drvdata(rdev); in tps65132_regulator_disable() local 110 struct tps65132_regulator *tps = rdev_get_drvdata(rdev); in tps65132_regulator_is_enabled() local 135 struct tps65132_regulator *tps = config->driver_data; in tps65132_of_parse_cb() local 226 struct tps65132_regulator *tps; in tps65132_probe() local
|
H A D | tps65219-regulator.c | 141 struct tps65219 *tps = rdev_get_drvdata(dev); in tps65219_set_mode() local 159 struct tps65219 *tps = rdev_get_drvdata(dev); in tps65219_get_mode() local 307 struct tps65219 *tps = dev_get_drvdata(pdev->dev.parent); in tps65219_regulator_probe() local
|
H A D | tps51632-regulator.c | 82 struct tps51632_chip *tps = rdev_get_drvdata(rdev); in tps51632_dcdc_set_ramp_delay() local 105 static int tps51632_init_dcdc(struct tps51632_chip *tps, in tps51632_init_dcdc() 253 struct tps51632_chip *tps; in tps51632_probe() local
|
H A D | tps65023-regulator.c | 170 struct tps_pmic *tps = rdev_get_drvdata(dev); in tps65023_dcdc_get_voltage_sel() local 185 struct tps_pmic *tps = rdev_get_drvdata(dev); in tps65023_dcdc_set_voltage_sel() local 265 struct tps_pmic *tps; in tps_65023_probe() local
|
/linux/drivers/rtc/ |
H A D | rtc-tps6594.c | 53 struct tps6594 *tps = dev_get_drvdata(dev->parent); in tps6594_rtc_alarm_irq_enable() local 63 static int tps6594_rtc_shadow_timestamp(struct device *dev, struct tps6594 *tps) in tps6594_rtc_shadow_timestamp() 87 struct tps6594 *tps = dev_get_drvdata(dev->parent); in tps6594_rtc_read_time() local 122 struct tps6594 *tps = dev_get_drvdata(dev->parent); in tps6594_rtc_set_time() local 154 struct tps6594 *tps = dev_get_drvdata(dev->parent); in tps6594_rtc_read_alarm() local 181 struct tps6594 *tps = dev_get_drvdata(dev->parent); in tps6594_rtc_set_alarm() local 210 struct tps6594 *tps = dev_get_drvdata(dev->parent); in tps6594_rtc_set_calibration() local 240 struct tps6594 *tps = dev_get_drvdata(dev->parent); in tps6594_rtc_get_calibration() local 336 struct tps6594 *tps = dev_get_drvdata(dev->parent); in tps6594_rtc_interrupt() local 362 struct tps6594 *tps = dev_get_drvdata(pdev->dev.parent); in tps6594_rtc_probe() local [all …]
|
H A D | rtc-tps65910.c | 50 struct tps65910 *tps = dev_get_drvdata(dev->parent); in tps65910_rtc_alarm_irq_enable() local 71 struct tps65910 *tps = dev_get_drvdata(dev->parent); in tps65910_rtc_read_time() local 102 struct tps65910 *tps = dev_get_drvdata(dev->parent); in tps65910_rtc_set_time() local 144 struct tps65910 *tps = dev_get_drvdata(dev->parent); in tps65910_rtc_read_alarm() local 174 struct tps65910 *tps = dev_get_drvdata(dev->parent); in tps65910_rtc_set_alarm() local 205 struct tps65910 *tps = dev_get_drvdata(dev->parent); in tps65910_rtc_set_calibration() local 250 struct tps65910 *tps = dev_get_drvdata(dev->parent); in tps65910_rtc_get_calibration() local 333 struct tps65910 *tps = dev_get_drvdata(dev->parent); in tps65910_rtc_interrupt() local
|
/linux/drivers/misc/ |
H A D | tps6594-esm.c | 35 struct tps6594 *tps = dev_get_drvdata(pdev->dev.parent); in tps6594_esm_probe() local 86 struct tps6594 *tps = dev_get_drvdata(pdev->dev.parent); in tps6594_esm_remove() local 109 struct tps6594 *tps = dev_get_drvdata(dev->parent); in tps6594_esm_suspend() local 122 struct tps6594 *tps = dev_get_drvdata(dev->parent); in tps6594_esm_resume() local
|
/linux/tools/perf/util/ |
H A D | trace-event-info.c | 144 static bool name_in_tp_list(char *sys, struct tracepoint_path *tps) in name_in_tp_list() 155 #define for_each_event_tps(dir, dent, tps) \ argument 161 static int copy_event_system(const char *sys, struct tracepoint_path *tps) in copy_event_system() 224 static int record_ftrace_files(struct tracepoint_path *tps) in record_ftrace_files() 242 static bool system_in_tp_list(char *sys, struct tracepoint_path *tps) in system_in_tp_list() 253 static int record_event_files(struct tracepoint_path *tps) in record_event_files() 392 put_tracepoints_path(struct tracepoint_path *tps) in put_tracepoints_path() 595 struct tracepoint_path *tps; in tracing_data_get() local
|
/linux/drivers/video/backlight/ |
H A D | tps65217_bl.c | 21 struct tps65217 *tps; member 170 struct tps65217 *tps = dev_get_drvdata(pdev->dev.parent); in tps65217_bl_parse_dt() local 256 struct tps65217 *tps = dev_get_drvdata(pdev->dev.parent); in tps65217_bl_probe() local
|
/linux/include/linux/mfd/ |
H A D | tps65090.h | 116 struct tps65090 *tps = dev_get_drvdata(dev); in tps65090_write() local 123 struct tps65090 *tps = dev_get_drvdata(dev); in tps65090_read() local 136 struct tps65090 *tps = dev_get_drvdata(dev); in tps65090_set_bits() local 144 struct tps65090 *tps = dev_get_drvdata(dev); in tps65090_clr_bits() local
|
/linux/drivers/input/misc/ |
H A D | tps65219-pwrbutton.c | 47 struct tps65219 *tps = dev_get_drvdata(pdev->dev.parent); in tps65219_pb_probe() local 122 struct tps65219 *tps = dev_get_drvdata(pdev->dev.parent); in tps65219_pb_remove() local
|
/linux/drivers/gpio/ |
H A D | gpio-tps65912.c | 20 struct tps65912 *tps; member 100 struct tps65912 *tps = dev_get_drvdata(pdev->dev.parent); in tps65912_gpio_probe() local
|
H A D | gpio-tps65219.c | 23 struct tps65219 *tps; member 160 struct tps65219 *tps = dev_get_drvdata(pdev->dev.parent); in tps65219_gpio_probe() local
|
/linux/drivers/power/supply/ |
H A D | tps65217_charger.c | 30 struct tps65217 *tps; member 185 struct tps65217 *tps = dev_get_drvdata(pdev->dev.parent); in tps65217_charger_probe() local
|