Home
last modified time | relevance | path

Searched refs:axp (Results 1 – 8 of 8) sorted by relevance

/linux/drivers/power/supply/
H A Daxp20x_battery.c245 static int axp20x_get_constant_charge_current(struct axp20x_batt_ps *axp, in axp20x_get_constant_charge_current() argument
250 ret = regmap_read(axp->regmap, AXP20X_CHRG_CTRL1, val); in axp20x_get_constant_charge_current()
256 *val = *val * axp->data->ccc_scale + axp->data->ccc_offset; in axp20x_get_constant_charge_current()
261 static int axp717_get_constant_charge_current(struct axp20x_batt_ps *axp, in axp717_get_constant_charge_current() argument
266 ret = regmap_read(axp->regmap, AXP717_ICC_CHG_SET, val); in axp717_get_constant_charge_current()
271 axp->data->ccc_scale; in axp717_get_constant_charge_current()
694 static int axp717_set_constant_charge_current(struct axp20x_batt_ps *axp, in axp717_set_constant_charge_current() argument
699 if (charge_current > axp->max_ccc) in axp717_set_constant_charge_current()
705 val = (charge_current - axp->data->ccc_offset) / in axp717_set_constant_charge_current()
706 axp->data->ccc_scale; in axp717_set_constant_charge_current()
[all …]
/linux/kernel/
H A Dauditsc.c2709 struct audit_aux_data_pids *axp; in audit_signal_info_syscall() local
2728 axp = (void *)ctx->aux_pids; in audit_signal_info_syscall()
2729 if (!axp || axp->pid_count == AUDIT_AUX_PIDS) { in audit_signal_info_syscall()
2730 axp = kzalloc(sizeof(*axp), GFP_ATOMIC); in audit_signal_info_syscall()
2731 if (!axp) in audit_signal_info_syscall()
2734 axp->d.type = AUDIT_OBJ_PID; in audit_signal_info_syscall()
2735 axp->d.next = ctx->aux_pids; in audit_signal_info_syscall()
2736 ctx->aux_pids = (void *)axp; in audit_signal_info_syscall()
2738 BUG_ON(axp->pid_count >= AUDIT_AUX_PIDS); in audit_signal_info_syscall()
2740 axp->target_pid[axp->pid_count] = task_tgid_nr(t); in audit_signal_info_syscall()
[all …]
/linux/arch/arm/boot/dts/marvell/
H A Darmada-xp-matrix.dts15 …compatible = "marvell,axp-matrix", "marvell,armadaxp-mv78460", "marvell,armadaxp", "marvell,armada…
H A Darmada-xp-db.dts28 …compatible = "marvell,axp-db", "marvell,armadaxp-mv78460", "marvell,armadaxp", "marvell,armada-370…
H A Darmada-xp-gp.dts28 …compatible = "marvell,axp-gp", "marvell,armadaxp-mv78460", "marvell,armadaxp", "marvell,armada-370…
/linux/arch/arm/boot/dts/allwinner/
H A Dsun7i-a20-olinuxino-lime2.dts85 reg_axp_ipsout: regulator-axp-ipsout {
87 regulator-name = "axp-ipsout";
H A Dsun5i-a13-empire-electronix-d709.dts65 /* TODO: backlight uses axp gpio1 as enable pin */
/linux/
H A DMAINTAINERS28185 N: axp[128]