Searched refs:ocr (Results 1 - 25 of 32) sorted by relevance

12

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/mmc/core/
H A Dsd_ops.h16 int mmc_send_app_op_cond(struct mmc_host *host, u32 ocr, u32 *rocr);
17 int mmc_send_if_cond(struct mmc_host *host, u32 ocr);
H A Dcore.h38 u32 mmc_select_voltage(struct mmc_host *host, u32 ocr);
55 int mmc_attach_mmc(struct mmc_host *host, u32 ocr);
56 int mmc_attach_sd(struct mmc_host *host, u32 ocr);
57 int mmc_attach_sdio(struct mmc_host *host, u32 ocr);
H A Dsd.h8 int mmc_sd_get_cid(struct mmc_host *host, u32 ocr, u32 *cid);
H A Dsdio_ops.h15 int mmc_send_io_op_cond(struct mmc_host *host, u32 ocr, u32 *rocr);
H A Dsd.c402 int mmc_sd_get_cid(struct mmc_host *host, u32 ocr, u32 *cid) argument
417 * of the ocr to indicate that we can handle
420 err = mmc_send_if_cond(host, ocr);
422 ocr |= 1 << 30;
424 err = mmc_send_app_op_cond(host, ocr, NULL);
549 static int mmc_sd_init_card(struct mmc_host *host, u32 ocr, argument
559 err = mmc_sd_get_cid(host, ocr, cid);
719 err = mmc_sd_init_card(host, host->ocr, host->card);
729 mmc_sd_init_card(host, host->ocr, host->card);
763 int mmc_attach_sd(struct mmc_host *host, u32 ocr) argument
[all...]
H A Dmmc_ops.h18 int mmc_send_op_cond(struct mmc_host *host, u32 ocr, u32 *rocr);
H A Dsdio.c329 static int mmc_sdio_init_card(struct mmc_host *host, u32 ocr, argument
342 err = mmc_send_io_op_cond(host, host->ocr, &ocr);
365 if (ocr & R4_MEMORY_PRESENT
366 && mmc_sd_get_cid(host, host->ocr & ocr, card->raw_cid) == 0) {
615 err = mmc_sdio_init_card(host, host->ocr, host->card,
661 int mmc_attach_sdio(struct mmc_host *host, u32 ocr) argument
676 if (ocr & 0x7F) {
680 ocr
[all...]
H A Dmmc.c359 static int mmc_init_card(struct mmc_host *host, u32 ocr, argument
379 err = mmc_send_op_cond(host, ocr | (1 << 30), NULL);
620 err = mmc_init_card(host, host->ocr, host->card);
630 mmc_init_card(host, host->ocr, host->card);
698 int mmc_attach_mmc(struct mmc_host *host, u32 ocr) argument
711 err = mmc_spi_read_ocr(host, 1, &ocr);
720 if (ocr & 0x7F) {
724 ocr &= ~0x7F;
727 host->ocr = mmc_select_voltage(host, ocr);
[all...]
H A Dsd_ops.c149 int mmc_send_app_op_cond(struct mmc_host *host, u32 ocr, u32 *rocr) argument
160 cmd.arg = ocr & (1 << 30); /* SPI only defines one bit */
162 cmd.arg = ocr;
171 if (ocr == 0)
194 int mmc_send_if_cond(struct mmc_host *host, u32 ocr) argument
207 cmd.arg = ((ocr & 0xFF8000) != 0) << 8 | test_pattern;
H A Dcore.c833 u32 mmc_select_voltage(struct mmc_host *host, u32 ocr) argument
837 ocr &= host->ocr_avail;
839 bit = ffs(ocr);
843 ocr &= 3 << bit;
850 ocr = 0;
853 return ocr;
880 /* If ocr is set, we use it */
881 if (host->ocr)
882 bit = ffs(host->ocr) - 1;
1399 u32 ocr; local
[all...]
H A Dsdio_ops.c22 int mmc_send_io_op_cond(struct mmc_host *host, u32 ocr, u32 *rocr) argument
32 cmd.arg = ocr;
41 if (ocr == 0)
H A Dmmc_ops.c136 int mmc_send_op_cond(struct mmc_host *host, u32 ocr, u32 *rocr) argument
146 cmd.arg = mmc_host_is_spi(host) ? 0 : ocr;
155 if (ocr == 0)
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/can/sja1000/
H A Dsja1000_isa.c48 static char __devinitdata ocr[MAXDEV] = {[0 ... (MAXDEV - 1)] = -1}; variable
71 module_param_array(ocr, byte, NULL, S_IRUGO);
72 MODULE_PARM_DESC(ocr, "Output control register "
192 if (ocr[idx] != -1)
193 priv->ocr = ocr[idx] & 0xff;
194 else if (ocr[0] != -1)
195 priv->ocr = ocr[0] & 0xff;
197 priv->ocr
[all...]
H A Dsja1000_of_platform.c151 priv->ocr |= *prop & OCR_MODE_MASK;
153 priv->ocr |= OCR_MODE_NORMAL; /* default */
157 priv->ocr |= (*prop << OCR_TX_SHIFT) & OCR_TX_MASK;
159 priv->ocr |= OCR_TX0_PULLDOWN; /* default */
183 "reg_base=0x%p irq=%d clock=%d ocr=0x%02x cdr=0x%02x\n",
185 priv->ocr, priv->cdr);
H A Dsja1000_platform.c116 priv->ocr = pdata->ocr;
H A Dsja1000.h173 u8 ocr; /* output control register */ member in struct:sja1000_priv
H A Dplx_pci.c143 u8 ocr; /* output control register */ member in struct:plx_pci_card_info
529 priv->ocr = ci->ocr;
H A Dems_pci.c325 priv->ocr = EMS_PCI_OCR;
H A Dkvaser_pci.c262 priv->ocr = KVASER_PCI_OCR;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/linux/can/platform/
H A Dsja1000.h31 u8 ocr; /* output control register */ member in struct:sja1000_platform_data
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/arm/plat-mxc/
H A Diomux-v1.c92 unsigned int port, unsigned int pin, unsigned int ocr)
96 unsigned long value = ocr << shift;
128 unsigned int ocr = (gpio_mode & GPIO_OCR_MASK) >> GPIO_OCR_SHIFT; local
147 imx_iomuxv1_set_ocr(port, pin, ocr);
91 imx_iomuxv1_set_ocr( unsigned int port, unsigned int pin, unsigned int ocr) argument
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/arm/mach-imx/
H A Dpcm970-baseboard.c201 .ocr = OCR_TX1_PULLDOWN | OCR_TX0_PUSHPULL,
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/linux/mmc/
H A Dhost.h176 u32 ocr; /* the current OCR setting */ member in struct:mmc_host
H A Dsh_mmcif.h39 u32 ocr; member in struct:sh_mmcif_plat_data
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/linux/
H A Daudit.h565 #define audit_log_bprm_fcaps(b, ncr, ocr) ({ 0; })
566 #define audit_log_capset(pid, ncr, ocr) ((void)0)

Completed in 300 milliseconds

12