Lines Matching +full:1 +full:mv
36 #define TUSB6010_ASYNC_CS 1
40 #define NOKIA_N810_WIMAX (1 << 2)
41 #define NOKIA_N810 (1 << 1)
42 #define NOKIA_N800 (1 << 0)
66 .multipoint = 1,
67 .dyn_fifo = 1,
132 * VMMC slot 1 on both N800 and N810
155 /* Slot index 1, VSD power, GPIO 23 */
156 GPIO_LOOKUP_IDX("gpio-0-31", 23, "vsd", 1, GPIO_ACTIVE_HIGH),
157 /* Slot index 1, VIO power, GPIO 9 */
158 GPIO_LOOKUP_IDX("gpio-0-31", 9, "vio", 1, GPIO_ACTIVE_HIGH),
166 int mV; in n8x0_mmc_set_power_menelaus() local
169 dev_dbg(dev, "Set slot %d power: %s (vdd %d)\n", slot + 1, in n8x0_mmc_set_power_menelaus()
175 switch (1 << vdd) { in n8x0_mmc_set_power_menelaus()
179 mV = 3100; in n8x0_mmc_set_power_menelaus()
182 mV = 3000; in n8x0_mmc_set_power_menelaus()
185 mV = 2800; in n8x0_mmc_set_power_menelaus()
188 mV = 1850; in n8x0_mmc_set_power_menelaus()
193 return menelaus_set_vmmc(mV); in n8x0_mmc_set_power_menelaus()
197 switch (1 << vdd) { in n8x0_mmc_set_power_menelaus()
200 mV = 3300; in n8x0_mmc_set_power_menelaus()
204 mV = 3000; in n8x0_mmc_set_power_menelaus()
208 mV = 2800; in n8x0_mmc_set_power_menelaus()
212 mV = 2400; in n8x0_mmc_set_power_menelaus()
216 mV = 2200; in n8x0_mmc_set_power_menelaus()
219 mV = 2000; in n8x0_mmc_set_power_menelaus()
222 mV = 1800; in n8x0_mmc_set_power_menelaus()
227 return menelaus_set_vdcdc(3, mV); in n8x0_mmc_set_power_menelaus()
247 dev_dbg(dev, "Set slot %d bus mode %s\n", slot + 1, in n8x0_mmc_set_bus_mode()
249 BUG_ON(slot != 0 && slot != 1); in n8x0_mmc_set_bus_mode()
253 r = menelaus_set_mmc_opendrain(slot, 1); in n8x0_mmc_set_bus_mode()
270 BUG_ON(slot != 1 && slot != 2); in n8x0_mmc_get_cover_state()
271 if (slot == 1) in n8x0_mmc_get_cover_state()
283 bit = 1 << 1; in n8x0_mmc_callback()
285 index = 1; in n8x0_mmc_callback()
287 bit = 1; in n8x0_mmc_callback()
293 *openp = 1; in n8x0_mmc_callback()
310 r = menelaus_set_slot_sel(1); in n8x0_mmc_late_init()
319 r = menelaus_set_mmc_slot(2, 0, vs2sel, 1); in n8x0_mmc_late_init()
324 n8x0_mmc_set_power(dev, 1, MMC_POWER_ON, 16); in n8x0_mmc_late_init()
326 r = menelaus_set_mmc_slot(1, 1, 0, 1); in n8x0_mmc_late_init()
329 r = menelaus_set_mmc_slot(2, 1, vs2sel, 1); in n8x0_mmc_late_init()
338 bit = 1 << 1; in n8x0_mmc_late_init()
341 bit = 1; in n8x0_mmc_late_init()
351 *openp = 1; in n8x0_mmc_late_init()
369 menelaus_set_mmc_slot(1, 0, 0, 0); in n8x0_mmc_shutdown()
397 .slots[1] = {
424 mmc1_data.slots[1].name = "internal"; in n8x0_mmc_init()
425 mmc1_data.slots[1].ban_openended = 1; in n8x0_mmc_init()
453 ret = menelaus_set_regulator_sleep(1, val); in n8x0_auto_sleep_regulators()