Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/power/supply/
Daxp20x_battery.c168 static int axp20x_get_constant_charge_current(struct axp20x_batt_ps *axp, in axp20x_get_constant_charge_current() argument
173 ret = regmap_read(axp->regmap, AXP20X_CHRG_CTRL1, val); in axp20x_get_constant_charge_current()
179 *val = *val * axp->data->ccc_scale + axp->data->ccc_offset; in axp20x_get_constant_charge_current()
408 static int axp20x_set_max_constant_charge_current(struct axp20x_batt_ps *axp, in axp20x_set_max_constant_charge_current() argument
413 charge_current = (charge_current - axp->data->ccc_offset) / in axp20x_set_max_constant_charge_current()
414 axp->data->ccc_scale; in axp20x_set_max_constant_charge_current()
419 charge_current = charge_current * axp->data->ccc_scale + in axp20x_set_max_constant_charge_current()
420 axp->data->ccc_offset; in axp20x_set_max_constant_charge_current()
422 if (charge_current > axp->max_ccc) in axp20x_set_max_constant_charge_current()
423 dev_warn(axp->dev, in axp20x_set_max_constant_charge_current()
[all …]
/Linux-v6.1/kernel/
Dauditsc.c2739 struct audit_aux_data_pids *axp; in audit_signal_info_syscall() local
2758 axp = (void *)ctx->aux_pids; in audit_signal_info_syscall()
2759 if (!axp || axp->pid_count == AUDIT_AUX_PIDS) { in audit_signal_info_syscall()
2760 axp = kzalloc(sizeof(*axp), GFP_ATOMIC); in audit_signal_info_syscall()
2761 if (!axp) in audit_signal_info_syscall()
2764 axp->d.type = AUDIT_OBJ_PID; in audit_signal_info_syscall()
2765 axp->d.next = ctx->aux_pids; in audit_signal_info_syscall()
2766 ctx->aux_pids = (void *)axp; in audit_signal_info_syscall()
2768 BUG_ON(axp->pid_count >= AUDIT_AUX_PIDS); in audit_signal_info_syscall()
2770 axp->target_pid[axp->pid_count] = task_tgid_nr(t); in audit_signal_info_syscall()
[all …]
/Linux-v6.1/arch/arm/boot/dts/
Darmada-xp-matrix.dts15 …compatible = "marvell,axp-matrix", "marvell,armadaxp-mv78460", "marvell,armadaxp", "marvell,armada…
Darmada-xp-db.dts28 …compatible = "marvell,axp-db", "marvell,armadaxp-mv78460", "marvell,armadaxp", "marvell,armada-370…
Darmada-xp-gp.dts28 …compatible = "marvell,axp-gp", "marvell,armadaxp-mv78460", "marvell,armadaxp", "marvell,armada-370…
Dsun5i-a13-empire-electronix-d709.dts65 /* TODO: backlight uses axp gpio1 as enable pin */
Dsun7i-a20-olinuxino-lime2.dts87 regulator-name = "axp-ipsout";
/Linux-v6.1/
DMAINTAINERS22274 N: axp[128]