Home
last modified time | relevance | path

Searched refs:pm2 (Results 1 – 6 of 6) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/power/supply/
H A Dpm2301_charger.c107 static void set_lpn_pin(struct pm2xxx_charger *pm2) in set_lpn_pin() argument
109 if (!pm2->ac.charger_connected && gpio_is_valid(pm2->lpn_pin)) { in set_lpn_pin()
110 gpio_set_value(pm2->lpn_pin, 1); in set_lpn_pin()
115 static void clear_lpn_pin(struct pm2xxx_charger *pm2) in clear_lpn_pin() argument
117 if (!pm2->ac.charger_connected && gpio_is_valid(pm2->lpn_pin)) in clear_lpn_pin()
118 gpio_set_value(pm2->lpn_pin, 0); in clear_lpn_pin()
121 static int pm2xxx_reg_read(struct pm2xxx_charger *pm2, int reg, u8 *val) in pm2xxx_reg_read() argument
126 pm_runtime_get_sync(pm2->dev); in pm2xxx_reg_read()
128 ret = i2c_smbus_read_i2c_block_data(pm2->config.pm2xxx_i2c, reg, in pm2xxx_reg_read()
131 dev_err(pm2->dev, "Error reading register at 0x%x\n", reg); in pm2xxx_reg_read()
[all …]
/OK3568_Linux_fs/kernel/arch/x86/kernel/
H A Dtsc.c355 static unsigned long calc_pmtimer_ref(u64 deltatsc, u64 pm1, u64 pm2) in calc_pmtimer_ref() argument
359 if (!pm1 && !pm2) in calc_pmtimer_ref()
362 if (pm2 < pm1) in calc_pmtimer_ref()
363 pm2 += (u64)ACPI_PM_OVRRUN; in calc_pmtimer_ref()
364 pm2 -= pm1; in calc_pmtimer_ref()
365 tmp = pm2 * 1000000000LL; in calc_pmtimer_ref()
/OK3568_Linux_fs/kernel/sound/soc/codecs/
H A Dwm8960.c899 u16 pm2 = snd_soc_component_read(component, WM8960_POWER2); in wm8960_set_bias_level_out3() local
932 if (wm8960->clk_id == WM8960_SYSCLK_AUTO && (pm2 & 0x1)) in wm8960_set_bias_level_out3()
989 u16 pm2 = snd_soc_component_read(component, WM8960_POWER2); in wm8960_set_bias_level_capless() local
1053 if (wm8960->clk_id == WM8960_SYSCLK_AUTO && (pm2 & 0x1)) in wm8960_set_bias_level_capless()
/OK3568_Linux_fs/kernel/arch/arm/boot/dts/
H A Dtegra30-colibri.dtsi113 lcd-d18-pm2 {
/OK3568_Linux_fs/kernel/fs/btrfs/
H A Dsend.c7476 struct pending_dir_move *pm2; in btrfs_ioctl_send() local
7478 pm2 = list_first_entry(&pm->list, in btrfs_ioctl_send()
7480 free_pending_move(sctx, pm2); in btrfs_ioctl_send()
/OK3568_Linux_fs/external/xserver/
H A DChangeLog189196 Add pm2 to the build