Searched refs:Vcc (Results 1 - 67 of 67) sorted by relevance

/linux-4.4.14/drivers/pcmcia/
H A Dsa1111_badge4.c31 * PCM Vcc:
33 * PCM Vcc on BadgePAD 4 can be jumpered for 3v3 (short pins 1 and 3
39 * on JP6) or tied to PCM Vcc (short pins 2 and 4 on JP6). N.B.,
43 * CF Vcc:
45 * CF Vcc on BadgePAD 4 can be jumpered either for 3v3 (short pins 1
54 * tenths of volts; e.g. pcmv=33,120,50 indicates 3v3 PCM Vcc, 12v0
55 * PCM Vpp, and 5v0 CF Vcc.
83 if ((state->Vcc != 0) && badge4_pcmcia_configure_socket()
84 (state->Vcc != badge4_pcmvcc)) { badge4_pcmcia_configure_socket()
86 badge4_pcmvcc, state->Vcc); badge4_pcmcia_configure_socket()
99 if ((state->Vcc != 0) && badge4_pcmcia_configure_socket()
100 (state->Vcc != badge4_cfvcc)) { badge4_pcmcia_configure_socket()
102 badge4_cfvcc, state->Vcc); badge4_pcmcia_configure_socket()
118 need5V = ((state->Vcc == 50) || (state->Vpp == 50)); badge4_pcmcia_configure_socket()
H A Dsa1111_lubbock.c76 switch (state->Vcc) { lubbock_pcmcia_configure_socket()
89 printk(KERN_ERR "%s(): unrecognized Vcc %u\n", lubbock_pcmcia_configure_socket()
90 __func__, state->Vcc); lubbock_pcmcia_configure_socket()
103 if (state->Vpp == state->Vcc) lubbock_pcmcia_configure_socket()
117 switch (state->Vcc) { lubbock_pcmcia_configure_socket()
130 printk(KERN_ERR "%s(): unrecognized Vcc %u\n", lubbock_pcmcia_configure_socket()
131 __func__, state->Vcc); lubbock_pcmcia_configure_socket()
136 if (state->Vpp != state->Vcc && state->Vpp != 0) { lubbock_pcmcia_configure_socket()
157 if (ret == 0 && state->Vcc == 33) { lubbock_pcmcia_configure_socket()
182 * It takes about 100ms to turn off Vcc. lubbock_pcmcia_configure_socket()
192 ((socket_state_t *)state)->Vcc = 50; lubbock_pcmcia_configure_socket()
H A Dsa1111_jornada720.c34 skt->nr, state->Vcc, state->Vpp); jornada720_pcmcia_configure_socket()
40 switch (state->Vcc) { jornada720_pcmcia_configure_socket()
57 switch (state->Vcc) { jornada720_pcmcia_configure_socket()
75 if (state->Vpp != state->Vcc && state->Vpp != 0) { jornada720_pcmcia_configure_socket()
H A Dyenta_socket.h27 #define CB_BADVCCREQ 0x00000200 /* Invalid Vcc request by host software */
28 #define CB_5VCARD 0x00000400 /* Card Vcc at 5.0 volts? */
29 #define CB_3VCARD 0x00000800 /* Card Vcc at 3.3 volts? */
30 #define CB_XVCARD 0x00001000 /* Card Vcc at X.X volts? */
31 #define CB_YVCARD 0x00002000 /* Card Vcc at Y.Y volts? */
32 #define CB_5VSOCKET 0x10000000 /* Socket Vcc at 5.0 volts? */
33 #define CB_3VSOCKET 0x20000000 /* Socket Vcc at 3.3 volts? */
34 #define CB_XVSOCKET 0x40000000 /* Socket Vcc at X.X volts? */
35 #define CB_YVSOCKET 0x80000000 /* Socket Vcc at Y.Y volts? */
46 #define CB_FBADVCCREQ 0x00000200 /* Force bad Vcc request */
H A Dsa1100_h3600.c106 if (state->Vcc != 0 && state->Vcc != 33 && state->Vcc != 50) { h3600_pcmcia_configure_socket()
107 printk(KERN_ERR "h3600_pcmcia: unrecognized Vcc %u.%uV\n", h3600_pcmcia_configure_socket()
108 state->Vcc / 10, state->Vcc % 10); h3600_pcmcia_configure_socket()
H A Dsa1111_neponset.c59 else if (state->Vpp == state->Vcc) neponset_pcmcia_configure_socket()
73 if (state->Vpp != state->Vcc && state->Vpp != 0) { neponset_pcmcia_configure_socket()
85 * pa_dwr_set is the mask for selecting Vcc on both sockets. neponset_pcmcia_configure_socket()
88 switch (state->Vcc) { neponset_pcmcia_configure_socket()
H A Dsa1100_assabet.c46 switch (state->Vcc) { assabet_pcmcia_configure_socket()
60 printk(KERN_ERR "%s(): unrecognized Vcc %u\n", __func__, assabet_pcmcia_configure_socket()
61 state->Vcc); assabet_pcmcia_configure_socket()
H A Dsa1100_cerf.c59 switch (state->Vcc) { cerf_pcmcia_configure_socket()
66 printk(KERN_ERR "%s(): unrecognized Vcc %u\n", cerf_pcmcia_configure_socket()
67 __func__, state->Vcc); cerf_pcmcia_configure_socket()
H A Dsa1100_shannon.c67 switch (state->Vcc) { shannon_pcmcia_configure_socket()
76 printk(KERN_ERR "%s(): unrecognized Vcc %u\n", shannon_pcmcia_configure_socket()
77 __func__, state->Vcc); shannon_pcmcia_configure_socket()
H A Dsa1100_simpad.c69 switch (state->Vcc) { simpad_pcmcia_configure_socket()
85 printk(KERN_ERR "%s(): unrecognized Vcc %u\n", simpad_pcmcia_configure_socket()
86 __func__, state->Vcc); simpad_pcmcia_configure_socket()
H A Dpxa2xx_trizeps4.c102 switch (state->Vcc) { trizeps_pcmcia_configure_socket()
106 pr_err("%s(): Vcc 5V not supported in socket\n", __func__); trizeps_pcmcia_configure_socket()
109 pr_err("%s(): bad Vcc %u\n", __func__, state->Vcc); trizeps_pcmcia_configure_socket()
120 if (state->Vpp != state->Vcc) { trizeps_pcmcia_configure_socket()
H A Dpxa2xx_e740.c65 switch (state->Vcc) { e740_pcmcia_configure_socket()
80 printk(KERN_ERR "e740_cs: Unsupported Vcc: %d\n", state->Vcc); e740_pcmcia_configure_socket()
H A Dpxa2xx_hx4700.c66 switch (state->Vcc) { hx4700_pcmcia_configure_socket()
74 printk(KERN_ERR "pcmcia: Unsupported Vcc: %d\n", state->Vcc); hx4700_pcmcia_configure_socket()
H A Dpxa2xx_stargate2.c63 switch (state->Vcc) { sg2_pcmcia_configure_socket()
75 pr_err("%s(): bad Vcc %u\n", sg2_pcmcia_configure_socket()
76 __func__, state->Vcc); sg2_pcmcia_configure_socket()
H A Dpxa2xx_mainstone.c94 switch (state->Vcc) { mst_pcmcia_configure_socket()
99 printk(KERN_ERR "%s(): bad Vcc %u\n", mst_pcmcia_configure_socket()
100 __func__, state->Vcc); mst_pcmcia_configure_socket()
108 if(state->Vpp == state->Vcc) { mst_pcmcia_configure_socket()
H A Dpxa2xx_sharpsl.c117 switch (state->Vcc) { sharpsl_pcmcia_configure_socket()
122 printk(KERN_ERR "sharpsl_pcmcia_configure_socket(): bad Vcc %u\n", state->Vcc); sharpsl_pcmcia_configure_socket()
126 if ((state->Vpp!=state->Vcc) && (state->Vpp!=0)) { sharpsl_pcmcia_configure_socket()
139 ncpr |= (state->Vcc == 33) ? 0x0002 : sharpsl_pcmcia_configure_socket()
140 (state->Vcc == 50) ? 0x0002 : 0; sharpsl_pcmcia_configure_socket()
142 ncpr |= (state->Vcc == 33) ? 0x0001 : sharpsl_pcmcia_configure_socket()
143 (state->Vcc == 50) ? 0x0002 : 0; sharpsl_pcmcia_configure_socket()
H A Dsocket_sysfs.c56 if (s->socket.Vcc) pccard_show_voltage()
57 return sprintf(buf, "%d.%dV\n", s->socket.Vcc / 10, pccard_show_voltage()
58 s->socket.Vcc % 10); pccard_show_voltage()
79 return sprintf(buf, "%d.%dV\n", s->socket.Vcc / 10, s->socket.Vcc % 10); pccard_show_vcc()
H A Dpxa2xx_viper.c97 switch (state->Vcc) { viper_pcmcia_configure_socket()
105 dev_err(&arcom_pcmcia_dev->dev, "Unsupported Vcc:%d\n", state->Vcc); viper_pcmcia_configure_socket()
H A Dpxa2xx_vpac270.c84 !(state->Vcc == 33 || state->Vcc == 50)); vpac270_pcmcia_configure_socket()
H A Ddb1xxx_ss.c249 switch (state->Vcc) { db1x_pcmcia_configure()
257 printk(KERN_INFO "pcmcia%d unsupported Vcc %d\n", db1x_pcmcia_configure()
258 sock->nr, state->Vcc); db1x_pcmcia_configure()
274 /* sanity check: Vpp must be 0, 12, or Vcc */ db1x_pcmcia_configure()
275 if (((state->Vcc == 33) && (state->Vpp == 50)) || db1x_pcmcia_configure()
276 ((state->Vcc == 50) && (state->Vpp == 33))) { db1x_pcmcia_configure()
277 printk(KERN_INFO "pcmcia%d bad Vcc/Vpp combo (%d %d)\n", db1x_pcmcia_configure()
278 sock->nr, state->Vcc, state->Vpp); db1x_pcmcia_configure()
355 /* if Vcc is not zero, we have applied power to a card */ db1x_pcmcia_get_status()
H A Di82365.h70 #define I365_VCC_MASK 0x18 /* Mask for turning off Vcc */
74 #define I365_VCC_5V 0x10 /* Vcc = 5.0v */
75 #define I365_VCC_3V 0x18 /* Vcc = 3.3v */
H A Dpxa2xx_palmtc.c108 if (state->Vcc == 0) palmtc_pcmcia_configure_socket()
110 else if (state->Vcc == 33) palmtc_pcmcia_configure_socket()
H A Dvrc4171_card.c305 static inline uint8_t set_Vcc_value(u_char Vcc) set_Vcc_value() argument
307 switch (Vcc) { set_Vcc_value()
325 (state->Vpp != state->Vcc && state->Vpp != 0) || pccard_set_socket()
326 (state->Vcc != 50 && state->Vcc != 33 && state->Vcc != 0)) pccard_set_socket()
334 voltage = set_Vcc_value(state->Vcc); pccard_set_socket()
338 if (state->Vpp == state->Vcc) pccard_set_socket()
H A Dsa1111_generic.c115 if (state->Vcc != 0) sa1111_pcmcia_configure_socket()
117 if (state->Vcc == 50) sa1111_pcmcia_configure_socket()
H A Dat91_cf.c120 /* switch Vcc if needed and possible */ at91_cf_set_socket()
122 switch (s->Vcc) { at91_cf_set_socket()
137 dev_dbg(&cf->pdev->dev, "Vcc %d, io_irq %d, flags %04x csc %04x\n", at91_cf_set_socket()
138 s->Vcc, s->io_irq, s->flags, s->csc_mask); at91_cf_set_socket()
H A Dbfin_cf_pcmcia.c131 switch (s->Vcc) { bfin_cf_set_socket()
147 dev_dbg(&cf->pdev->dev, ": Vcc %d, io_irq %d, flags %04x csc %04x\n", bfin_cf_set_socket()
148 s->Vcc, s->io_irq, s->flags, s->csc_mask); bfin_cf_set_socket()
H A Delectra_cf.c131 vcc = (s->flags & SS_RESET) ? 0 : s->Vcc; electra_cf_set_socket()
151 pr_debug("%s: Vcc %d, io_irq %d, flags %04x csc %04x\n", electra_cf_set_socket()
152 driver_name, s->Vcc, s->io_irq, s->flags, s->csc_mask); electra_cf_set_socket()
H A Di82365.c927 pr_debug("SetSocket(%d, flags %#3.3x, Vcc %d, Vpp %d, " i365_set_socket()
929 state->Vcc, state->Vpp, state->io_irq, state->csc_mask); i365_set_socket()
949 else if (state->Vpp == state->Vcc) i365_set_socket()
953 if (state->Vcc != 0) { i365_set_socket()
955 if (state->Vcc == 33) i365_set_socket()
957 else if (state->Vcc == 50) i365_set_socket()
965 else if (state->Vpp == state->Vcc) i365_set_socket()
969 if (state->Vcc != 0) { i365_set_socket()
971 if (state->Vcc == 33) i365_set_socket()
973 else if (state->Vcc == 50) i365_set_socket()
978 switch (state->Vcc) { i365_set_socket()
991 switch (state->Vcc) { i365_set_socket()
H A Domap_cf.c133 switch (s->Vcc) { omap_cf_set_socket()
147 pr_debug("%s: Vcc %d, io_irq %d, flags %04x csc %04x\n", omap_cf_set_socket()
148 driver_name, s->Vcc, s->io_irq, s->flags, s->csc_mask); omap_cf_set_socket()
H A Di82092.c494 switch (state->Vcc) { i82092aa_set_socket()
498 printk("setting voltage to Vcc to 5V on socket %i\n",sock); i82092aa_set_socket()
502 printk("i82092aa: i82092aa_set_socket called with invalid VCC power value: %i ", state->Vcc); i82092aa_set_socket()
521 printk("i82092aa: i82092aa_set_socket called with invalid VPP power value: %i ", state->Vcc); i82092aa_set_socket()
H A Dm32r_pcc.c422 pr_debug("m32r_pcc: SetSocket(%d, flags %#3.3x, Vcc %d, Vpp %d, " _pcc_set_socket()
424 state->Vcc, state->Vpp, state->io_irq, state->csc_mask); _pcc_set_socket()
426 if (state->Vcc) { _pcc_set_socket()
430 if (state->Vcc == 50) { _pcc_set_socket()
H A Dpxa2xx_colibri.c96 !(state->Vcc == 33 && state->Vpp < 50)); colibri_pcmcia_configure_socket()
H A Dvrc4173_cardu.c201 static inline uint8_t set_Vcc_value(u_char Vcc) set_Vcc_value() argument
203 switch (Vcc) { set_Vcc_value()
231 if (((state->Vpp == 33) || (state->Vpp == 50)) && (state->Vpp != state->Vcc)) cardu_set_socket()
234 val = set_Vcc_value(state->Vcc); cardu_set_socket()
H A Dm32r_cfc.c468 pr_debug("m32r_cfc: SetSocket(%d, flags %#3.3x, Vcc %d, Vpp %d, " _pcc_set_socket()
470 state->Vcc, state->Vpp, state->io_irq, state->csc_mask); _pcc_set_socket()
473 if (state->Vcc) { _pcc_set_socket()
474 if ((state->Vcc != 50) && (state->Vcc != 33)) _pcc_set_socket()
H A Dpd6729.c330 switch (state->Vcc) { pd6729_set_socket()
335 "setting voltage to Vcc to 3.3V on socket %i\n", pd6729_set_socket()
342 "setting voltage to Vcc to 5V on socket %i\n", pd6729_set_socket()
350 "value: %i\n", state->Vcc); pd6729_set_socket()
361 dev_dbg(&sock->dev, "setting Vpp to Vcc for socket %i\n", pd6729_set_socket()
H A Dsoc_common.c235 stat |= skt->cs_state.Vcc ? SS_POWERON : 0; soc_common_pcmcia_skt_state()
430 debug(skt, 2, "mask: %s%s%s%s%s%s flags: %s%s%s%s%s%s Vcc %d Vpp %d irq %d\n", soc_common_pcmcia_set_socket()
443 state->Vcc, state->Vpp, state->io_irq); soc_common_pcmcia_set_socket()
618 p += sprintf(p, "Vcc : %d\n", skt->cs_state.Vcc); show_status()
H A Dcirrus.h64 #define PD67_MC1_VCC_3V 0x02 /* 3.3v Vcc */
H A Dtcic.c627 dev_dbg(&sock->dev, "SetSocket(%d, flags %#3.3x, Vcc %d, Vpp %d, " tcic_set_socket()
629 state->Vcc, state->Vpp, state->io_irq, state->csc_mask); tcic_set_socket()
635 if (state->Vcc == 50) { tcic_set_socket()
642 } else if (state->Vcc != 0) tcic_set_socket()
H A Dyenta_socket.c256 switch (state->Vcc) { yenta_set_power()
278 switch (state->Vcc) { yenta_set_power()
300 switch (state->Vcc) { yenta_set_power()
333 if (state->Vcc == 0) yenta_set_socket()
397 if (state->Vcc != 0) yenta_set_socket()
H A Dpcmcia_cis.c164 unsigned int vcc = p_dev->socket->socket.Vcc; pcmcia_do_loop_config()
174 /* check for matching Vcc? */ pcmcia_do_loop_config()
H A Dxxs1500_ss.c84 switch (state->Vcc) { xxs1500_pcmcia_configure()
H A Dcs.c376 skt->socket.Vcc = skt->socket.Vpp = 33; socket_setup()
378 skt->socket.Vcc = skt->socket.Vpp = 50; socket_setup()
H A Dpcmcia_resource.c507 /* Do power control. We don't allow changes in Vcc. */ pcmcia_enable_device()
/linux-4.4.14/arch/sh/include/mach-se/mach/
H A Dmrshpc.h12 __raw_writew(0x0674, MRSHPC_CPWCR); /* Card Vcc is 3.3v? */ mrshpc_setup_windows()
14 __raw_writew(0x0678, MRSHPC_CPWCR); /* Card Vcc is 5V */ mrshpc_setup_windows()
/linux-4.4.14/drivers/media/usb/dvb-usb/
H A Dfriio.h89 /* 0.15Vcc step 0x00: < 0.15Vcc, ..., 0x04: >= 0.6Vcc (<= 1Vcc) */
/linux-4.4.14/net/atm/
H A Dlec_arpc.h18 struct atm_vcc *vcc; /* Vcc this entry is attached */
19 struct atm_vcc *recv_vcc; /* Vcc we receive data from */
H A Dlec.c1386 "Vcc vpi:%d vci:%d, Recv_vcc vpi:%d vci:%d Last_used:%lx, Timestamp:%lx, No_tries:%d ", dump_arp_table()
1414 "Vcc vpi:%d vci:%d, Recv_vcc vpi:%d vci:%d Last_used:%lx, Timestamp:%lx, No_tries:%d ", dump_arp_table()
1439 "Vcc vpi:%d vci:%d, Recv_vcc vpi:%d vci:%d Last_used:%lx, Timestamp:%lx, No_tries:%d ", dump_arp_table()
1464 "Vcc vpi:%d vci:%d, Recv_vcc vpi:%d vci:%d Last_used:%lx, Timestamp:%lx, No_tries:%d ", dump_arp_table()
1921 /* Vcc to this host exists */ lec_arp_update()
1950 * Notifies: Vcc setup ready
1962 /* Vcc for Multicast Forward. No timer, LANEv2 7.1.20 and 2.3.5.3 */ lec_vcc_added()
1986 * Vcc which we don't want to make default vcc, lec_vcc_added()
2033 pr_debug("Currently -> Vcc: %d, Rvcc:%d\n", lec_vcc_added()
/linux-4.4.14/include/linux/spi/
H A Dads7846.h23 /* Settling time of the analog signals; a function of Vcc and the
/linux-4.4.14/drivers/staging/fbtft/
H A Dfb_ili9325.c61 Display module configuration: Vcc = IOVcc = Vci = 3.3V
79 2.40 < Vcc < 3.30 => 2.40 < 3.3 < 3.30
/linux-4.4.14/include/linux/rtc/
H A Dds1685.h262 * DS1689/DS1693 - Vcc, Vbat, Pwr Cycle Counters & Customer-specific S/N.
268 #define RTC_BANK1_VCC_CTR_LSB 0x54 /* Vcc Counter Addr (LSB) */
269 #define RTC_BANK1_VCC_CTR_MSB 0x57 /* Vcc Counter Addr (MSB) */
/linux-4.4.14/arch/arm/mach-omap2/
H A Dhsmmc.c47 * card with Vcc regulator (from twl4030 or whatever). OMAP has both omap_hsmmc1_before_set_reg()
275 * NOTE: MMC slots should have a Vcc regulator set up. omap_hsmmc_pdata_init()
/linux-4.4.14/drivers/mtd/chips/
H A Dcfi_probe.c318 printk("Vcc Minimum: %2d.%d V\n", cfip->VccMin >> 4, cfip->VccMin & 0xf); print_cfi_ident()
319 printk("Vcc Maximum: %2d.%d V\n", cfip->VccMax >> 4, cfip->VccMax & 0xf); print_cfi_ident()
H A Dcfi_cmdset_0020.c98 printk(" Vcc Logic Supply Optimum Program/Erase Voltage: %d.%d V\n", cfi_tell_features()
H A Dcfi_cmdset_0001.c160 printk(" Vcc Logic Supply Optimum Program/Erase Voltage: %d.%d V\n", cfi_tell_features()
/linux-4.4.14/include/pcmcia/
H A Dds.h279 #define CONF_AUTO_CHECK_VCC 0x0100 /* check for matching Vcc? */
H A Dss.h56 u_char Vcc, Vpp; member in struct:socket_state_t
/linux-4.4.14/drivers/media/pci/ttpci/
H A Dbudget-av.c84 * 0 - Vcc/Reset (Reset is controlled by capacitor). Resets the frontend *AS WELL*!
230 saa7146_setgpio(saa, 0, SAA7146_GPIO_OUTHI); /* Vcc off */ ciintf_slot_reset()
232 saa7146_setgpio(saa, 0, SAA7146_GPIO_OUTLO); /* Vcc on */ ciintf_slot_reset()
233 msleep(20); /* 20 ms Vcc settling time */ ciintf_slot_reset()
/linux-4.4.14/arch/m32r/include/asm/
H A Ds1d13806.h60 {0x0008,0x04}, // LCD panel Vcc on
/linux-4.4.14/drivers/net/wireless/hostap/
H A Dhostap_cs.c432 PDEBUG(DEBUG_HW, "%s: setting Vcc=33 (constant)\n", dev_info); hostap_cs_probe()
/linux-4.4.14/drivers/input/touchscreen/
H A Dad7877.c116 /* DAC Register Default RANGE 0 to Vcc, Volatge Mode, DAC On */
/linux-4.4.14/arch/arm/mach-pxa/
H A Dviper.c758 /* Vcc regulator control */
/linux-4.4.14/drivers/rtc/
H A Drtc-ds1685.c662 * Check for a kickstart interrupt. With Vcc applied, this ds1685_rtc_work_queue()
695 * Check for a wake-up interrupt. With Vcc applied, this is ds1685_rtc_work_queue()
/linux-4.4.14/drivers/mmc/host/
H A Domap_hsmmc.c365 * If we don't see a Vcc regulator, assume it's a fixed omap_hsmmc_set_power()
379 * Assume Vcc regulator is used only to power the card ... OMAP omap_hsmmc_set_power()
H A Dtmio_mmc_pio.c873 * It seems, VccQ should be switched on after Vcc, this is also what the tmio_mmc_power_on()
/linux-4.4.14/drivers/misc/
H A Dbh1770glc.c173 static const char reg_vcc[] = "Vcc";
/linux-4.4.14/sound/soc/codecs/
H A Dsta32x.c139 "Vcc" /* power amp spply, 10V - 36V */
/linux-4.4.14/drivers/hwmon/
H A Dadt7475.c250 { 68, 71 }, /* Vcc */

Completed in 1153 milliseconds