Searched refs:mt6370_priv (Results 1 – 6 of 6) sorted by relevance
/openbmc/linux/drivers/power/supply/ |
H A D | mt6370-charger.c | 88 struct mt6370_priv { struct 177 static inline int mt6370_chg_field_get(struct mt6370_priv *priv, in mt6370_chg_field_get() 196 static inline int mt6370_chg_field_set(struct mt6370_priv *priv, in mt6370_chg_field_set() 238 struct mt6370_priv *priv = rcfg->driver_data; in mt6370_chg_otg_of_parse_cb() 256 struct mt6370_priv *priv = container_of(work, struct mt6370_priv, in mt6370_chg_bc12_work_func() 313 static int mt6370_chg_toggle_cfo(struct mt6370_priv *priv) in mt6370_chg_toggle_cfo() 345 static int mt6370_chg_read_adc_chan(struct mt6370_priv *priv, unsigned int chan, in mt6370_chg_read_adc_chan() 362 struct mt6370_priv *priv = container_of(work, struct mt6370_priv, in mt6370_chg_mivr_dwork_func() 393 static void mt6370_chg_pwr_rdy_check(struct mt6370_priv *priv) in mt6370_chg_pwr_rdy_check() 425 static int mt6370_chg_get_online(struct mt6370_priv *priv, in mt6370_chg_get_online() [all …]
|
/openbmc/linux/drivers/leds/rgb/ |
H A D | leds-mt6370-rgb.c | 132 struct mt6370_priv *priv; 145 struct mt6370_priv { struct 254 static int mt6370_set_led_brightness(struct mt6370_priv *priv, unsigned int led_no, in mt6370_set_led_brightness() 264 static int mt6370_get_led_brightness(struct mt6370_priv *priv, unsigned int led_no, in mt6370_get_led_brightness() 274 static int mt6370_set_led_duty(struct mt6370_priv *priv, unsigned int led_no, unsigned int ton, in mt6370_set_led_duty() 302 static int mt6370_set_led_freq(struct mt6370_priv *priv, unsigned int led_no, unsigned int ton, in mt6370_set_led_freq() 335 static void mt6370_get_breath_reg_base(struct mt6370_priv *priv, unsigned int led_no, in mt6370_get_breath_reg_base() 357 static int mt6370_gen_breath_pattern(struct mt6370_priv *priv, struct led_pattern *pattern, u32 len, in mt6370_gen_breath_pattern() 398 static int mt6370_set_led_mode(struct mt6370_priv *priv, unsigned int led_no, in mt6370_set_led_mode() 425 struct mt6370_priv *priv = led->priv; in mt6370_mc_brightness_set() [all …]
|
/openbmc/linux/drivers/usb/typec/tcpm/ |
H A D | tcpci_mt6370.c | 28 struct mt6370_priv { struct 82 struct mt6370_priv *priv = container_of(data, struct mt6370_priv, in mt6370_tcpc_set_vbus() 101 struct mt6370_priv *priv = dev_id; in mt6370_irq_handler() 106 static int mt6370_check_vendor_info(struct mt6370_priv *priv) in mt6370_check_vendor_info() 130 struct mt6370_priv *priv; in mt6370_tcpc_probe()
|
/openbmc/linux/drivers/video/backlight/ |
H A D | mt6370-backlight.c | 63 struct mt6370_priv { struct 75 struct mt6370_priv *priv = bl_get_data(bl_dev); in mt6370_bl_update_status() argument 100 struct mt6370_priv *priv = bl_get_data(bl_dev); in mt6370_bl_get_brightness() 129 static int mt6370_init_backlight_properties(struct mt6370_priv *priv, in mt6370_init_backlight_properties() 239 static int mt6370_check_vendor_info(struct mt6370_priv *priv) in mt6370_check_vendor_info() 281 struct mt6370_priv *priv; in mt6370_bl_probe() 323 struct mt6370_priv *priv = platform_get_drvdata(pdev); in mt6370_bl_remove()
|
/openbmc/linux/drivers/leds/flash/ |
H A D | leds-mt6370-flash.c | 73 struct mt6370_priv *priv; 77 struct mt6370_priv { struct 90 struct mt6370_priv *priv = led->priv; in mt6370_torch_brightness_set() argument 167 struct mt6370_priv *priv = led->priv; in _mt6370_flash_brightness_set() 198 struct mt6370_priv *priv = led->priv; in mt6370_strobe_set() 263 struct mt6370_priv *priv = led->priv; in mt6370_strobe_get() 275 struct mt6370_priv *priv = led->priv; in mt6370_timeout_set() 285 struct mt6370_priv *priv = led->priv; in mt6370_fault_get() 348 struct mt6370_priv *priv = led->priv; in mt6370_flash_external_strobe_set() 440 struct mt6370_priv *priv = led->priv; in mt6370_init_flash_properties() [all …]
|
/openbmc/linux/drivers/regulator/ |
H A D | mt6370-regulator.c | 62 struct mt6370_priv { struct 153 struct mt6370_priv *priv = config->driver_data; in mt6370_of_parse_cb() 287 static int mt6370_regulator_irq_register(struct mt6370_priv *priv) in mt6370_regulator_irq_register() 323 static int mt6370_regualtor_register(struct mt6370_priv *priv) in mt6370_regualtor_register() 351 struct mt6370_priv *priv; in mt6370_regulator_probe()
|