Lines Matching refs:as3722_reg_lookup
75 static const struct as3722_register_mapping as3722_reg_lookup[] = { variable
337 as3722_reg_lookup[id].vsel_reg, in as3722_ldo3_set_tracking_mode()
427 if (!as3722_reg_lookup[id].control_reg) in as3722_sd_get_mode()
430 ret = as3722_read(as3722, as3722_reg_lookup[id].control_reg, &val); in as3722_sd_get_mode()
433 as3722_reg_lookup[id].control_reg, ret); in as3722_sd_get_mode()
437 if (val & as3722_reg_lookup[id].mode_mask) in as3722_sd_get_mode()
452 if (!as3722_reg_lookup[id].control_reg) in as3722_sd_set_mode()
457 val = as3722_reg_lookup[id].mode_mask; in as3722_sd_set_mode()
465 ret = as3722_update_bits(as3722, as3722_reg_lookup[id].control_reg, in as3722_sd_set_mode()
466 as3722_reg_lookup[id].mode_mask, val); in as3722_sd_set_mode()
469 as3722_reg_lookup[id].control_reg, ret); in as3722_sd_set_mode()
554 val = ext_pwr_ctrl << (ffs(as3722_reg_lookup[id].sleep_ctrl_mask) - 1); in as3722_extreg_init()
556 as3722_reg_lookup[id].sleep_ctrl_reg, in as3722_extreg_init()
557 as3722_reg_lookup[id].sleep_ctrl_mask, val); in as3722_extreg_init()
560 as3722_reg_lookup[id].sleep_ctrl_reg, ret); in as3722_extreg_init()
669 desc->name = as3722_reg_lookup[id].name; in as3722_regulator_probe()
670 desc->supply_name = as3722_reg_lookup[id].sname; in as3722_regulator_probe()
671 desc->id = as3722_reg_lookup[id].regulator_id; in as3722_regulator_probe()
672 desc->n_voltages = as3722_reg_lookup[id].n_voltages; in as3722_regulator_probe()
675 desc->enable_reg = as3722_reg_lookup[id].enable_reg; in as3722_regulator_probe()
676 desc->enable_mask = as3722_reg_lookup[id].enable_mask; in as3722_regulator_probe()
677 desc->vsel_reg = as3722_reg_lookup[id].vsel_reg; in as3722_regulator_probe()
678 desc->vsel_mask = as3722_reg_lookup[id].vsel_mask; in as3722_regulator_probe()
691 desc->csel_reg = as3722_reg_lookup[id].vsel_reg; in as3722_regulator_probe()
728 desc->csel_reg = as3722_reg_lookup[id].vsel_reg; in as3722_regulator_probe()
790 desc->csel_reg = as3722_reg_lookup[id].vsel_reg; in as3722_regulator_probe()