Searched refs:pm2 (Results 1 – 4 of 4) sorted by relevance
/Linux-v4.19/drivers/power/supply/ |
D | pm2301_charger.c | 115 static void set_lpn_pin(struct pm2xxx_charger *pm2) in set_lpn_pin() argument 117 if (!pm2->ac.charger_connected && gpio_is_valid(pm2->lpn_pin)) { in set_lpn_pin() 118 gpio_set_value(pm2->lpn_pin, 1); in set_lpn_pin() 123 static void clear_lpn_pin(struct pm2xxx_charger *pm2) in clear_lpn_pin() argument 125 if (!pm2->ac.charger_connected && gpio_is_valid(pm2->lpn_pin)) in clear_lpn_pin() 126 gpio_set_value(pm2->lpn_pin, 0); in clear_lpn_pin() 129 static int pm2xxx_reg_read(struct pm2xxx_charger *pm2, int reg, u8 *val) in pm2xxx_reg_read() argument 134 pm_runtime_get_sync(pm2->dev); in pm2xxx_reg_read() 136 ret = i2c_smbus_read_i2c_block_data(pm2->config.pm2xxx_i2c, reg, in pm2xxx_reg_read() 139 dev_err(pm2->dev, "Error reading register at 0x%x\n", reg); in pm2xxx_reg_read() [all …]
|
/Linux-v4.19/arch/x86/kernel/ |
D | tsc.c | 344 static unsigned long calc_pmtimer_ref(u64 deltatsc, u64 pm1, u64 pm2) in calc_pmtimer_ref() argument 348 if (!pm1 && !pm2) in calc_pmtimer_ref() 351 if (pm2 < pm1) in calc_pmtimer_ref() 352 pm2 += (u64)ACPI_PM_OVRRUN; in calc_pmtimer_ref() 353 pm2 -= pm1; in calc_pmtimer_ref() 354 tmp = pm2 * 1000000000LL; in calc_pmtimer_ref()
|
/Linux-v4.19/sound/soc/codecs/ |
D | wm8960.c | 900 u16 pm2 = snd_soc_component_read32(component, WM8960_POWER2); in wm8960_set_bias_level_out3() local 933 if (wm8960->clk_id == WM8960_SYSCLK_AUTO && (pm2 & 0x1)) in wm8960_set_bias_level_out3() 990 u16 pm2 = snd_soc_component_read32(component, WM8960_POWER2); in wm8960_set_bias_level_capless() local 1054 if (wm8960->clk_id == WM8960_SYSCLK_AUTO && (pm2 & 0x1)) in wm8960_set_bias_level_capless()
|
/Linux-v4.19/fs/btrfs/ |
D | send.c | 6833 struct pending_dir_move *pm2; in btrfs_ioctl_send() local 6835 pm2 = list_first_entry(&pm->list, in btrfs_ioctl_send() 6837 free_pending_move(sctx, pm2); in btrfs_ioctl_send()
|