Home
last modified time | relevance | path

Searched refs:plat (Results 1 – 25 of 60) sorted by relevance

123

/linux-2.6.39/drivers/mmc/host/
Dsdhci-tegra.c78 struct tegra_sdhci_platform_data *plat; in tegra_sdhci_get_ro() local
80 plat = pdev->dev.platform_data; in tegra_sdhci_get_ro()
82 if (!gpio_is_valid(plat->wp_gpio)) in tegra_sdhci_get_ro()
85 return gpio_get_value(plat->wp_gpio); in tegra_sdhci_get_ro()
99 struct tegra_sdhci_platform_data *plat; in tegra_sdhci_8bit() local
102 plat = pdev->dev.platform_data; in tegra_sdhci_8bit()
105 if (plat->is_8bit && bus_width == MMC_BUS_WIDTH_8) { in tegra_sdhci_8bit()
125 struct tegra_sdhci_platform_data *plat; in tegra_sdhci_pltfm_init() local
129 plat = pdev->dev.platform_data; in tegra_sdhci_pltfm_init()
130 if (plat == NULL) { in tegra_sdhci_pltfm_init()
[all …]
Dmmci.c205 struct mmci_platform_data *plat = host->plat; in mmci_dma_setup() local
209 if (!plat || !plat->dma_filter) { in mmci_dma_setup()
223 if (plat->dma_rx_param) { in mmci_dma_setup()
225 plat->dma_filter, in mmci_dma_setup()
226 plat->dma_rx_param); in mmci_dma_setup()
232 if (plat->dma_tx_param) { in mmci_dma_setup()
234 plat->dma_filter, in mmci_dma_setup()
235 plat->dma_tx_param); in mmci_dma_setup()
281 struct mmci_platform_data *plat = host->plat; in mmci_dma_release() local
285 if (host->dma_tx_channel && plat->dma_tx_param) in mmci_dma_release()
[all …]
/linux-2.6.39/drivers/mtd/nand/
Dgpio.c35 struct gpio_nand_platdata plat; member
74 gpio_set_value(gpiomtd->plat.gpio_nce, !(ctrl & NAND_NCE)); in gpio_nand_cmd_ctrl()
75 gpio_set_value(gpiomtd->plat.gpio_cle, !!(ctrl & NAND_CLE)); in gpio_nand_cmd_ctrl()
76 gpio_set_value(gpiomtd->plat.gpio_ale, !!(ctrl & NAND_ALE)); in gpio_nand_cmd_ctrl()
171 return gpio_get_value(gpiomtd->plat.gpio_rdy); in gpio_nand_devready()
190 if (gpio_is_valid(gpiomtd->plat.gpio_nwp)) in gpio_nand_remove()
191 gpio_set_value(gpiomtd->plat.gpio_nwp, 0); in gpio_nand_remove()
192 gpio_set_value(gpiomtd->plat.gpio_nce, 1); in gpio_nand_remove()
194 gpio_free(gpiomtd->plat.gpio_cle); in gpio_nand_remove()
195 gpio_free(gpiomtd->plat.gpio_ale); in gpio_nand_remove()
[all …]
Dtxx9ndfmc.c92 struct txx9ndfmc_platform_data *plat = dev->dev.platform_data; in ndregaddr() local
94 return drvdata->base + (reg << plat->shift); in ndregaddr()
155 struct txx9ndfmc_platform_data *plat = dev->dev.platform_data; in txx9ndfmc_cmd_ctrl() local
173 if (plat->flags & NDFMC_PLAT_FLAG_DUMMYWRITE) { in txx9ndfmc_cmd_ctrl()
242 struct txx9ndfmc_platform_data *plat = dev->dev.platform_data; in txx9ndfmc_initialize() local
246 if (plat->flags & NDFMC_PLAT_FLAG_NO_RSTR) in txx9ndfmc_initialize()
265 (plat->flags & NDFMC_PLAT_FLAG_USE_BSPRT) ? in txx9ndfmc_initialize()
291 struct txx9ndfmc_platform_data *plat = dev->dev.platform_data; in txx9ndfmc_probe() local
298 unsigned long gbusclk = plat->gbus_clock; in txx9ndfmc_probe()
315 hold = plat->hold ?: 20; /* tDH */ in txx9ndfmc_probe()
[all …]
Dbf5xx_nand.c625 struct bf5xx_nand_platform *plat = info->platform; in bf5xx_nand_hw_init() local
630 (plat->data_width ? 16 : 8), in bf5xx_nand_hw_init()
631 plat->wr_dly, plat->rd_dly); in bf5xx_nand_hw_init()
634 (plat->data_width << NFC_NWIDTH_OFFSET) | in bf5xx_nand_hw_init()
635 (plat->rd_dly << NFC_RDDLY_OFFSET) | in bf5xx_nand_hw_init()
636 (plat->wr_dly << NFC_WRDLY_OFFSET); in bf5xx_nand_hw_init()
731 struct bf5xx_nand_platform *plat = to_nand_plat(pdev); in bf5xx_nand_probe() local
739 if (!plat) { in bf5xx_nand_probe()
762 info->platform = plat; in bf5xx_nand_probe()
767 if (plat->data_width) in bf5xx_nand_probe()
[all …]
/linux-2.6.39/drivers/mtd/maps/
Dintegrator-flash.c49 struct flash_platform_data *plat; member
65 if (info->plat && info->plat->set_vpp) in armflash_set_vpp()
66 info->plat->set_vpp(on); in armflash_set_vpp()
74 struct flash_platform_data *plat = subdev->plat; in armflash_subdev_probe() local
94 subdev->map.bankwidth = plat->width; in armflash_subdev_probe()
107 subdev->mtd = do_map_probe(plat->map_name, &subdev->map); in armflash_subdev_probe()
142 struct flash_platform_data *plat = dev->dev.platform_data; in armflash_probe() local
164 if (plat && plat->init) { in armflash_probe()
165 err = plat->init(); in armflash_probe()
188 subdev->plat = plat; in armflash_probe()
[all …]
Dsa1100-flash.c130 struct flash_platform_data *plat; member
144 subdev->plat->set_vpp(on); in sa1100_set_vpp()
188 if (subdev->plat->set_vpp) in sa1100_probe_subdev()
205 subdev->mtd = do_map_probe(subdev->plat->map_name, &subdev->map); in sa1100_probe_subdev()
224 static void sa1100_destroy(struct sa_info *info, struct flash_platform_data *plat) in sa1100_destroy() argument
245 if (plat->exit) in sa1100_destroy()
246 plat->exit(); in sa1100_destroy()
250 sa1100_setup_mtd(struct platform_device *pdev, struct flash_platform_data *plat) in sa1100_setup_mtd() argument
278 if (plat->init) { in sa1100_setup_mtd()
279 ret = plat->init(); in sa1100_setup_mtd()
[all …]
Dixp4xx.c156 struct flash_platform_data *plat = dev->dev.platform_data; in ixp4xx_flash_remove() local
178 if (plat->exit) in ixp4xx_flash_remove()
179 plat->exit(); in ixp4xx_flash_remove()
186 struct flash_platform_data *plat = dev->dev.platform_data; in ixp4xx_flash_probe() local
192 if (!plat) in ixp4xx_flash_probe()
195 if (plat->init) { in ixp4xx_flash_probe()
196 err = plat->init(); in ixp4xx_flash_probe()
244 info->mtd = do_map_probe(plat->map_name, &info->map); in ixp4xx_flash_probe()
262 info->partitions = plat->parts; in ixp4xx_flash_probe()
263 nr_parts = plat->nr_parts; in ixp4xx_flash_probe()
Dixp2000.c113 struct flash_platform_data *plat = dev->dev.platform_data; in ixp2000_flash_remove() local
135 if (plat->exit) in ixp2000_flash_remove()
136 plat->exit(); in ixp2000_flash_remove()
146 struct flash_platform_data *plat; in ixp2000_flash_probe() local
154 plat = ixp_data->platform_data; in ixp2000_flash_probe()
155 if (!plat) in ixp2000_flash_probe()
162 if (plat->width != 1) { in ixp2000_flash_probe()
164 plat->width * 8); in ixp2000_flash_probe()
223 info->mtd = do_map_probe(plat->map_name, &info->map); in ixp2000_flash_probe()
/linux-2.6.39/arch/arm/mach-ux500/
Ddevices-db5500.h60 #define db5500_add_uart0(plat) \ argument
61 dbx500_add_uart("uart0", U5500_UART0_BASE, IRQ_DB5500_UART0, plat)
62 #define db5500_add_uart1(plat) \ argument
63 dbx500_add_uart("uart1", U5500_UART1_BASE, IRQ_DB5500_UART1, plat)
64 #define db5500_add_uart2(plat) \ argument
65 dbx500_add_uart("uart2", U5500_UART2_BASE, IRQ_DB5500_UART2, plat)
66 #define db5500_add_uart3(plat) \ argument
67 dbx500_add_uart("uart3", U5500_UART3_BASE, IRQ_DB5500_UART3, plat)
/linux-2.6.39/drivers/input/keyboard/
Dstmpe-keypad.c107 const struct stmpe_keypad_platform_data *plat; member
212 const struct stmpe_keypad_platform_data *plat = keypad->plat; in stmpe_keypad_chip_init() local
217 if (plat->debounce_ms > STMPE_KEYPAD_MAX_DEBOUNCE) in stmpe_keypad_chip_init()
220 if (plat->scan_count > STMPE_KEYPAD_MAX_SCAN_COUNT) in stmpe_keypad_chip_init()
249 plat->scan_count << 4); in stmpe_keypad_chip_init()
257 (plat->debounce_ms << 1)); in stmpe_keypad_chip_init()
263 struct stmpe_keypad_platform_data *plat; in stmpe_keypad_probe() local
270 plat = stmpe->pdata->keypad; in stmpe_keypad_probe()
271 if (!plat) in stmpe_keypad_probe()
295 if (!plat->no_autorepeat) in stmpe_keypad_probe()
[all …]
Dtc3589x-keypad.c309 const struct tc3589x_keypad_platform_data *plat; in tc3589x_keypad_probe() local
312 plat = tc3589x->pdata->keypad; in tc3589x_keypad_probe()
313 if (!plat) { in tc3589x_keypad_probe()
330 keypad->board = plat; in tc3589x_keypad_probe()
350 if (!plat->no_autorepeat) in tc3589x_keypad_probe()
353 matrix_keypad_build_keymap(plat->keymap_data, 0x3, in tc3589x_keypad_probe()
357 tc3589x_keypad_irq, plat->irqtype, in tc3589x_keypad_probe()
373 device_init_wakeup(&pdev->dev, plat->enable_wakeup); in tc3589x_keypad_probe()
374 device_set_wakeup_capable(&pdev->dev, plat->enable_wakeup); in tc3589x_keypad_probe()
Dnomadik-ske-keypad.c202 const struct ske_keypad_platform_data *plat = pdev->dev.platform_data; in ske_keypad_probe() local
209 if (!plat) { in ske_keypad_probe()
235 keypad->board = plat; in ske_keypad_probe()
270 if (!plat->no_autorepeat) in ske_keypad_probe()
273 matrix_keypad_build_keymap(plat->keymap_data, SKE_KEYPAD_ROW_SHIFT, in ske_keypad_probe()
302 if (plat->wakeup_enable) in ske_keypad_probe()
/linux-2.6.39/Documentation/arm/Samsung/
DOverview.txt52 plat-samsung provides the base for all the implementations, and is the
57 plat-s3c24xx is for s3c24xx specific builds, see the S3C24XX docs.
59 plat-s5p is for s5p specific builds, and contains common support for the
67 The old plat-s3c and plat-s5pc1xx directories have been removed, with
68 support moved to either plat-samsung or plat-s5p as necessary. These moves
72 It was decided to remove plat-s5pc1xx as some of the support was already
73 in plat-s5p or plat-samsung, with the S5PC110 support added with S5PV210
/linux-2.6.39/arch/arm/
DMakefile207 plat-$(CONFIG_ARCH_MXC) := mxc
208 plat-$(CONFIG_ARCH_OMAP) := omap
209 plat-$(CONFIG_ARCH_S3C64XX) := samsung
210 plat-$(CONFIG_ARCH_STMP3XXX) := stmp3xxx
211 plat-$(CONFIG_ARCH_TCC_926) := tcc
212 plat-$(CONFIG_PLAT_IOP) := iop
213 plat-$(CONFIG_PLAT_NOMADIK) := nomadik
214 plat-$(CONFIG_PLAT_ORION) := orion
215 plat-$(CONFIG_PLAT_PXA) := pxa
216 plat-$(CONFIG_PLAT_S3C24XX) := s3c24xx samsung
[all …]
/linux-2.6.39/drivers/usb/musb/
Dam35x.c227 struct musb_hdrc_platform_data *plat = dev->platform_data; in am35x_musb_interrupt() local
228 struct omap_musb_board_data *data = plat->board_data; in am35x_musb_interrupt()
338 struct musb_hdrc_platform_data *plat = dev->platform_data; in am35x_musb_set_mode() local
339 struct omap_musb_board_data *data = plat->board_data; in am35x_musb_set_mode()
353 struct musb_hdrc_platform_data *plat = dev->platform_data; in am35x_musb_init() local
354 struct omap_musb_board_data *data = plat->board_data; in am35x_musb_init()
398 struct musb_hdrc_platform_data *plat = dev->platform_data; in am35x_musb_exit() local
399 struct omap_musb_board_data *data = plat->board_data; in am35x_musb_exit()
583 struct musb_hdrc_platform_data *plat = dev->platform_data; in am35x_suspend() local
584 struct omap_musb_board_data *data = plat->board_data; in am35x_suspend()
[all …]
/linux-2.6.39/drivers/net/
Dax88796.c95 const struct ax_plat_data *plat; member
386 u8 reg_gpoc = ax->plat->gpoc_val; in ax_phy_switch()
660 ei_outb(ax->plat->dcr_val & ~1, ioaddr + EN0_DCFG); in ax_initial_setup()
661 ei_outb(ax->plat->gpoc_val, ioaddr + EI_SHIFT(0x17)); in ax_initial_setup()
692 if (ax->plat->flags & AXFLG_HAS_EEPROM) { in ax_init_dev()
700 if (ax->plat->wordlength == 2) in ax_init_dev()
708 if (ax->plat->flags & AXFLG_HAS_93CX6) { in ax_init_dev()
724 if (ax->plat->wordlength == 2) { in ax_init_dev()
726 ei_outb(ax->plat->dcr_val, ei_local->mem + EN0_DCFG); in ax_init_dev()
735 if (ax->plat->flags & AXFLG_MAC_FROMDEV) { in ax_init_dev()
[all …]
/linux-2.6.39/drivers/net/arm/
Dixp4xx_eth.c167 struct eth_plat_info *plat; member
486 qmgr_disable_irq(port->plat->rxq); in eth_rx_irq()
494 unsigned int rxq = port->plat->rxq, rxfreeq = RXFREE_QUEUE(port->id); in eth_poll()
635 start = qmgr_stat_below_low_watermark(port->plat->txreadyq); in eth_txdone_irq()
636 queue_put_desc(port->plat->txreadyq, phys, desc); in eth_txdone_irq()
650 unsigned int txreadyq = port->plat->txreadyq; in eth_xmit()
838 err = qmgr_request_queue(port->plat->rxq, RX_DESCS, 0, 0, in request_queues()
848 err = qmgr_request_queue(port->plat->txreadyq, TX_DESCS, 0, 0, in request_queues()
863 qmgr_release_queue(port->plat->txreadyq); in request_queues()
867 qmgr_release_queue(port->plat->rxq); in request_queues()
[all …]
/linux-2.6.39/arch/arm/mach-vexpress/
Dcore.h4 #define AMBA_DEVICE(name,busid,base,plat) \ argument
9 .platform_data = plat, \
/linux-2.6.39/drivers/net/stmmac/
Dstmmac_mdio.c56 regValue |= MII_BUSY | ((priv->plat->clk_csr & 7) << 2); in stmmac_mdio_read()
88 value |= MII_BUSY | ((priv->plat->clk_csr & 7) << 2); in stmmac_mdio_write()
117 priv->phy_reset(priv->plat->bsp_priv); in stmmac_mdio_reset()
160 snprintf(new_bus->id, MII_BUS_ID_SIZE, "%x", priv->plat->bus_id); in stmmac_mdio_register()
Dstmmac_main.c196 if (likely(priv->plat->fix_mac_speed)) in stmmac_hw_fix_mac_speed()
197 priv->plat->fix_mac_speed(priv->plat->bsp_priv, in stmmac_hw_fix_mac_speed()
243 if (likely(priv->plat->has_gmac)) in stmmac_adjust_link()
249 if (priv->plat->has_gmac) { in stmmac_adjust_link()
316 snprintf(bus_id, MII_BUS_ID_SIZE, "%x", priv->plat->bus_id); in stmmac_init_phy()
563 if (likely((priv->plat->tx_coe) && (!priv->no_csum_insertion))) { in stmmac_dma_operation_mode()
814 ret = priv->hw->dma->init(priv->ioaddr, priv->plat->pbl, in stmmac_open()
824 if (priv->plat->bus_setup) in stmmac_open()
825 priv->plat->bus_setup(priv->ioaddr); in stmmac_open()
832 if (priv->plat->tx_coe) in stmmac_open()
[all …]
/linux-2.6.39/arch/arm/mach-versatile/
Dcore.h34 #define AMBA_DEVICE(name,busid,base,plat) \ argument
39 .platform_data = plat, \
/linux-2.6.39/drivers/w1/masters/
Dds1wm.c219 struct ds1wm_driver_data *plat = mfd_get_data(ds1wm_data->pdev); in ds1wm_up() local
224 divisor = ds1wm_find_divisor(plat->clock_rate); in ds1wm_up()
228 plat->clock_rate); in ds1wm_up()
331 struct ds1wm_driver_data *plat; in ds1wm_probe() local
354 plat = mfd_get_data(pdev); in ds1wm_probe()
368 ds1wm_data->active_high = plat->active_high; in ds1wm_probe()
/linux-2.6.39/arch/arm/mach-realview/
Dcore.h31 #define AMBA_DEVICE(name,busid,base,plat) \ argument
36 .platform_data = plat, \
/linux-2.6.39/drivers/net/wan/
Dixp4xx_hss.c258 struct hss_plat_info *plat; member
818 start = qmgr_stat_below_low_watermark(port->plat->txreadyq); in hss_hdlc_txdone_irq()
819 queue_put_desc(port->plat->txreadyq, in hss_hdlc_txdone_irq()
834 unsigned int txreadyq = port->plat->txreadyq; in hss_hdlc_xmit()
936 err = qmgr_request_queue(port->plat->txreadyq, TX_DESCS, 0, 0, in request_hdlc_queues()
948 qmgr_release_queue(port->plat->txreadyq); in request_hdlc_queues()
966 qmgr_release_queue(port->plat->txreadyq); in release_hdlc_queues()
1064 if (port->plat->open) in hss_hdlc_open()
1065 if ((err = port->plat->open(port->id, dev, in hss_hdlc_open()
1072 queue_put_desc(port->plat->txreadyq, in hss_hdlc_open()
[all …]

123