/linux-2.6.39/drivers/net/can/sja1000/ |
D | sja1000_isa.c | 48 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) in sja1000_isa_probe() 193 priv->ocr = ocr[idx] & 0xff; in sja1000_isa_probe() 194 else if (ocr[0] != -1) in sja1000_isa_probe() 195 priv->ocr = ocr[0] & 0xff; in sja1000_isa_probe() 197 priv->ocr = OCR_DEFAULT; in sja1000_isa_probe()
|
D | sja1000_of_platform.c | 146 priv->ocr |= *prop & OCR_MODE_MASK; in sja1000_ofp_probe() 148 priv->ocr |= OCR_MODE_NORMAL; /* default */ in sja1000_ofp_probe() 152 priv->ocr |= (*prop << OCR_TX_SHIFT) & OCR_TX_MASK; in sja1000_ofp_probe() 154 priv->ocr |= OCR_TX0_PULLDOWN; /* default */ in sja1000_ofp_probe() 180 priv->ocr, priv->cdr); in sja1000_ofp_probe()
|
D | sja1000_platform.c | 116 priv->ocr = pdata->ocr; in sp_probe()
|
D | plx_pci.c | 143 u8 ocr; /* output control register */ member 529 priv->ocr = ci->ocr; in plx_pci_add_card()
|
D | sja1000.h | 173 u8 ocr; /* output control register */ member
|
D | tscan1.c | 141 priv->ocr = OCR_TX0_PUSHPULL; in tscan1_probe()
|
/linux-2.6.39/drivers/mmc/core/ |
D | sd.c | 403 int mmc_sd_get_cid(struct mmc_host *host, u32 ocr, u32 *cid) in mmc_sd_get_cid() argument 421 err = mmc_send_if_cond(host, ocr); in mmc_sd_get_cid() 423 ocr |= 1 << 30; in mmc_sd_get_cid() 425 err = mmc_send_app_op_cond(host, ocr, NULL); in mmc_sd_get_cid() 550 static int mmc_sd_init_card(struct mmc_host *host, u32 ocr, in mmc_sd_init_card() argument 560 err = mmc_sd_get_cid(host, ocr, cid); in mmc_sd_init_card() 720 err = mmc_sd_init_card(host, host->ocr, host->card); in mmc_sd_resume() 732 ret = mmc_sd_init_card(host, host->ocr, host->card); in mmc_sd_power_restore() 771 u32 ocr; in mmc_attach_sd() local 776 err = mmc_send_app_op_cond(host, 0, &ocr); in mmc_attach_sd() [all …]
|
D | sdio.c | 330 static int mmc_sdio_init_card(struct mmc_host *host, u32 ocr, in mmc_sdio_init_card() argument 343 err = mmc_send_io_op_cond(host, host->ocr, &ocr); in mmc_sdio_init_card() 366 if (ocr & R4_MEMORY_PRESENT in mmc_sdio_init_card() 367 && mmc_sd_get_cid(host, host->ocr & ocr, card->raw_cid) == 0) { in mmc_sdio_init_card() 649 err = mmc_sdio_init_card(host, host->ocr, host->card, in mmc_sdio_resume() 693 ret = mmc_sdio_init_card(host, host->ocr, host->card, in mmc_sdio_power_restore() 717 u32 ocr; in mmc_attach_sdio() local 723 err = mmc_send_io_op_cond(host, 0, &ocr); in mmc_attach_sdio() 735 if (ocr & 0x7F) { in mmc_attach_sdio() 739 ocr &= ~0x7F; in mmc_attach_sdio() [all …]
|
D | mmc.c | 417 static int mmc_init_card(struct mmc_host *host, u32 ocr, in mmc_init_card() argument 438 err = mmc_send_op_cond(host, ocr | (1 << 30), &rocr); in mmc_init_card() 760 err = mmc_init_card(host, host->ocr, host->card); in mmc_resume() 772 ret = mmc_init_card(host, host->ocr, host->card); in mmc_power_restore() 845 u32 ocr; in mmc_attach_mmc() local 850 err = mmc_send_op_cond(host, 0, &ocr); in mmc_attach_mmc() 862 err = mmc_spi_read_ocr(host, 1, &ocr); in mmc_attach_mmc() 871 if (ocr & 0x7F) { in mmc_attach_mmc() 875 ocr &= ~0x7F; in mmc_attach_mmc() 878 host->ocr = mmc_select_voltage(host, ocr); in mmc_attach_mmc() [all …]
|
D | sd_ops.h | 16 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);
|
D | sd_ops.c | 150 int mmc_send_app_op_cond(struct mmc_host *host, u32 ocr, u32 *rocr) in mmc_send_app_op_cond() argument 161 cmd.arg = ocr & (1 << 30); /* SPI only defines one bit */ in mmc_send_app_op_cond() 163 cmd.arg = ocr; in mmc_send_app_op_cond() 172 if (ocr == 0) in mmc_send_app_op_cond() 195 int mmc_send_if_cond(struct mmc_host *host, u32 ocr) in mmc_send_if_cond() argument 208 cmd.arg = ((ocr & 0xFF8000) != 0) << 8 | test_pattern; in mmc_send_if_cond()
|
D | sdio_ops.c | 22 int mmc_send_io_op_cond(struct mmc_host *host, u32 ocr, u32 *rocr) in mmc_send_io_op_cond() argument 32 cmd.arg = ocr; in mmc_send_io_op_cond() 41 if (ocr == 0) in mmc_send_io_op_cond()
|
D | core.c | 924 u32 mmc_select_voltage(struct mmc_host *host, u32 ocr) in mmc_select_voltage() argument 928 ocr &= host->ocr_avail; in mmc_select_voltage() 930 bit = ffs(ocr); in mmc_select_voltage() 934 ocr &= 3 << bit; in mmc_select_voltage() 941 ocr = 0; in mmc_select_voltage() 944 return ocr; in mmc_select_voltage() 972 if (host->ocr) in mmc_power_up() 973 bit = ffs(host->ocr) - 1; in mmc_power_up() 1017 host->ocr = 1 << (fls(host->ocr_avail) - 1); in mmc_power_off() 1769 mmc_select_voltage(host, host->ocr); in mmc_resume_host()
|
D | sdio_ops.h | 15 int mmc_send_io_op_cond(struct mmc_host *host, u32 ocr, u32 *rocr);
|
D | sd.h | 8 int mmc_sd_get_cid(struct mmc_host *host, u32 ocr, u32 *cid);
|
D | mmc_ops.h | 18 int mmc_send_op_cond(struct mmc_host *host, u32 ocr, u32 *rocr);
|
D | core.h | 43 u32 mmc_select_voltage(struct mmc_host *host, u32 ocr);
|
D | mmc_ops.c | 136 int mmc_send_op_cond(struct mmc_host *host, u32 ocr, u32 *rocr) in mmc_send_op_cond() argument 146 cmd.arg = mmc_host_is_spi(host) ? 0 : ocr; in mmc_send_op_cond() 155 if (ocr == 0) in mmc_send_op_cond()
|
/linux-2.6.39/arch/arm/plat-mxc/ |
D | iomux-v1.c | 92 unsigned int port, unsigned int pin, unsigned int ocr) in imx_iomuxv1_set_ocr() argument 96 unsigned long value = ocr << shift; in imx_iomuxv1_set_ocr() 128 unsigned int ocr = (gpio_mode & GPIO_OCR_MASK) >> GPIO_OCR_SHIFT; in mxc_gpio_mode() local 147 imx_iomuxv1_set_ocr(port, pin, ocr); in mxc_gpio_mode()
|
/linux-2.6.39/include/linux/can/platform/ |
D | sja1000.h | 31 u8 ocr; /* output control register */ member
|
/linux-2.6.39/drivers/net/wireless/rtlwifi/ |
D | efuse.h | 96 u8 ocr[3]; member
|
/linux-2.6.39/arch/arm/mach-imx/ |
D | pcm970-baseboard.c | 203 .ocr = OCR_TX1_PULLDOWN | OCR_TX0_PUSHPULL,
|
/linux-2.6.39/include/linux/mmc/ |
D | sh_mmcif.h | 47 u32 ocr; member
|
D | host.h | 201 u32 ocr; /* the current OCR setting */ member
|
/linux-2.6.39/include/linux/ |
D | audit.h | 576 #define audit_log_bprm_fcaps(b, ncr, ocr) ({ 0; }) argument 577 #define audit_log_capset(pid, ncr, ocr) ((void)0) argument
|