Home
last modified time | relevance | path

Searched refs:slot_reg (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/pci/hotplug/
H A Dshpchp_hpc.c362 u32 slot_reg = shpc_readl(ctrl, SLOT_REG(slot->hp_slot)); in shpchp_get_attention_status() local
363 u8 state = (slot_reg & ATN_LED_STATE_MASK) >> ATN_LED_STATE_SHIFT; in shpchp_get_attention_status()
386 u32 slot_reg = shpc_readl(ctrl, SLOT_REG(slot->hp_slot)); in shpchp_get_power_status() local
387 u8 state = (slot_reg & SLOT_STATE_MASK) >> SLOT_STATE_SHIFT; in shpchp_get_power_status()
411 u32 slot_reg = shpc_readl(ctrl, SLOT_REG(slot->hp_slot)); in shpchp_get_latch_status() local
413 *status = !!(slot_reg & MRL_SENSOR); /* 0 -> close; 1 -> open */ in shpchp_get_latch_status()
421 u32 slot_reg = shpc_readl(ctrl, SLOT_REG(slot->hp_slot)); in shpchp_get_adapter_status() local
422 u8 state = (slot_reg & PRSNT_MASK) >> PRSNT_SHIFT; in shpchp_get_adapter_status()
442 u32 slot_reg = shpc_readl(ctrl, SLOT_REG(slot->hp_slot)); in shpchp_get_adapter_speed() local
443 u8 m66_cap = !!(slot_reg & MHZ66_CAP); in shpchp_get_adapter_speed()
[all …]
/linux/drivers/regulator/
H A Dwm8350-regulator.c574 int slot_reg; in wm8350_dcdc_set_slot() local
586 slot_reg = WM8350_DCDC1_TIMEOUTS; in wm8350_dcdc_set_slot()
589 slot_reg = WM8350_DCDC2_TIMEOUTS; in wm8350_dcdc_set_slot()
592 slot_reg = WM8350_DCDC3_TIMEOUTS; in wm8350_dcdc_set_slot()
595 slot_reg = WM8350_DCDC4_TIMEOUTS; in wm8350_dcdc_set_slot()
598 slot_reg = WM8350_DCDC5_TIMEOUTS; in wm8350_dcdc_set_slot()
601 slot_reg = WM8350_DCDC6_TIMEOUTS; in wm8350_dcdc_set_slot()
607 val = wm8350_reg_read(wm8350, slot_reg) & in wm8350_dcdc_set_slot()
610 wm8350_reg_write(wm8350, slot_reg, in wm8350_dcdc_set_slot()
621 int slot_reg; in wm8350_ldo_set_slot() local
[all …]