Home
last modified time | relevance | path

Searched full:plat (Results 1 – 25 of 146) sorted by relevance

123456

/linux/drivers/media/platform/mediatek/mdp3/
H A Dmtk-img-ipi.h122 #define CFG_CHECK(plat, p_id) ((plat) == (p_id)) argument
124 #define _CFG_OFST(plat, cfg, ofst) ((void *)(&((cfg)->config_##plat) + (ofst))) argument
125 #define CFG_OFST(plat, cfg, ofst) \ argument
126 (IS_ERR_OR_NULL(cfg) ? NULL : _CFG_OFST(plat, cfg, ofst))
128 #define _CFG_ADDR(plat, cfg, mem) (&((cfg)->config_##plat.mem)) argument
129 #define CFG_ADDR(plat, cfg, mem) \ argument
130 (IS_ERR_OR_NULL(cfg) ? NULL : _CFG_ADDR(plat, cfg, mem))
132 #define _CFG_GET(plat, cfg, mem) ((cfg)->config_##plat.mem) argument
133 #define CFG_GET(plat, cfg, mem) \ argument
134 (IS_ERR_OR_NULL(cfg) ? 0 : _CFG_GET(plat, cfg, mem))
[all …]
/linux/drivers/mtd/maps/
H A Dsa1100-flash.c31 struct flash_platform_data *plat; member
50 subdev->plat->set_vpp(1); in sa1100_set_vpp()
53 subdev->plat->set_vpp(0); in sa1100_set_vpp()
99 if (subdev->plat->set_vpp) in sa1100_probe_subdev()
116 subdev->mtd = do_map_probe(subdev->plat->map_name, &subdev->map); in sa1100_probe_subdev()
134 static void sa1100_destroy(struct sa_info *info, struct flash_platform_data *plat) in sa1100_destroy() argument
148 if (plat->exit) in sa1100_destroy()
149 plat->exit(); in sa1100_destroy()
153 struct flash_platform_data *plat) in sa1100_setup_mtd() argument
179 if (plat->init) { in sa1100_setup_mtd()
[all …]
/linux/drivers/input/keyboard/
H A Dtc3589x-keypad.c325 struct tc3589x_keypad_platform_data *plat; in tc3589x_keypad_of_probe() local
332 plat = devm_kzalloc(dev, sizeof(*plat), GFP_KERNEL); in tc3589x_keypad_of_probe()
333 if (!plat) in tc3589x_keypad_of_probe()
338 plat->kcol = (u8) cols; in tc3589x_keypad_of_probe()
339 plat->krow = (u8) rows; in tc3589x_keypad_of_probe()
340 if (!plat->krow || !plat->kcol || in tc3589x_keypad_of_probe()
341 plat->krow > TC_KPD_ROWS || plat->kcol > TC_KPD_COLUMNS) { in tc3589x_keypad_of_probe()
344 plat->kcol, plat->krow); in tc3589x_keypad_of_probe()
353 plat->no_autorepeat = of_property_read_bool(np, "linux,no-autorepeat"); in tc3589x_keypad_of_probe()
355 plat->enable_wakeup = of_property_read_bool(np, "wakeup-source") || in tc3589x_keypad_of_probe()
[all …]
/linux/drivers/net/ethernet/broadcom/
H A Dbgmac-platform.c38 return readl(bgmac->plat.base + offset); in platform_bgmac_read()
43 writel(value, bgmac->plat.base + offset); in platform_bgmac_write()
48 return readl(bgmac->plat.idm_base + offset); in platform_bgmac_idm_read()
53 writel(value, bgmac->plat.idm_base + offset); in platform_bgmac_idm_write()
58 if (!bgmac->plat.idm_base) in platform_bgmac_clk_enabled()
72 if (!bgmac->plat.idm_base) in platform_bgmac_clk_enable()
123 if (!bgmac->plat.nicpm_base) in bgmac_nicpm_speed_set()
128 bgmac->plat.nicpm_base + NICPM_PADRING_CFG); in bgmac_nicpm_speed_set()
146 writel(val, bgmac->plat.nicpm_base + NICPM_IOMUX_CTRL); in bgmac_nicpm_speed_set()
155 if (bgmac->plat.nicpm_base) in platform_phy_connect()
[all …]
/linux/drivers/net/ethernet/stmicro/stmmac/
H A Dstmmac_main.c248 u32 rx_queues_cnt = priv->plat->rx_queues_to_use; in __stmmac_disable_all_queues()
249 u32 tx_queues_cnt = priv->plat->tx_queues_to_use; in __stmmac_disable_all_queues()
275 u32 rx_queues_cnt = priv->plat->rx_queues_to_use; in stmmac_disable_all_queues()
297 u32 rx_queues_cnt = priv->plat->rx_queues_to_use; in stmmac_enable_all_queues()
298 u32 tx_queues_cnt = priv->plat->tx_queues_to_use; in stmmac_enable_all_queues()
371 u32 tx_cnt = priv->plat->tx_queues_to_use; in stmmac_eee_tx_busy()
466 ns -= priv->plat->cdc_error_adj; in stmmac_get_tx_hwtstamp()
496 if (dwmac_is_xmac(priv->plat->core_type)) in stmmac_get_rx_hwtstamp()
503 ns -= priv->plat->cdc_error_adj; in stmmac_get_rx_hwtstamp()
516 bool xmac = dwmac_is_xmac(priv->plat->core_type); in stmmac_update_subsecond_increment()
[all …]
H A Dstmmac_tc.c335 u32 tx_queues_count = priv->plat->tx_queues_to_use; in tc_setup_cbs()
375 mode_to_use = priv->plat->tx_queues_cfg[queue].mode_to_use; in tc_setup_cbs()
381 priv->plat->tx_queues_cfg[queue].mode_to_use = MTL_QUEUE_AVB; in tc_setup_cbs()
388 priv->plat->tx_queues_cfg[queue].mode_to_use = MTL_QUEUE_DCB; in tc_setup_cbs()
394 priv->plat->tx_queues_cfg[queue].idle_slope = value & GENMASK(31, 0); in tc_setup_cbs()
397 priv->plat->tx_queues_cfg[queue].send_slope = value & GENMASK(31, 0); in tc_setup_cbs()
400 priv->plat->tx_queues_cfg[queue].high_credit = value & GENMASK(31, 0); in tc_setup_cbs()
403 priv->plat->tx_queues_cfg[queue].low_credit = value & GENMASK(31, 0); in tc_setup_cbs()
406 priv->plat->tx_queues_cfg[queue].send_slope, in tc_setup_cbs()
407 priv->plat->tx_queues_cfg[queue].idle_slope, in tc_setup_cbs()
[all …]
/linux/drivers/mtd/nand/raw/
H A Dgpio.c35 struct gpio_nand_platdata plat; member
186 struct gpio_nand_platdata *plat) in gpio_nand_get_config_of() argument
195 plat->options |= NAND_BUSWIDTH_16; in gpio_nand_get_config_of()
203 plat->chip_delay = val; in gpio_nand_get_config_of()
229 struct gpio_nand_platdata *plat) in gpio_nand_get_config_of() argument
242 struct gpio_nand_platdata *plat) in gpio_nand_get_config() argument
244 int ret = gpio_nand_get_config_of(dev, plat); in gpio_nand_get_config()
250 memcpy(plat, dev_get_platdata(dev), sizeof(*plat)); in gpio_nand_get_config()
314 ret = gpio_nand_get_config(dev, &gpiomtd->plat); in gpio_nand_probe()
352 chip->options = gpiomtd->plat.options; in gpio_nand_probe()
[all …]
H A Dtxx9ndfmc.c85 struct txx9ndfmc_platform_data *plat = dev_get_platdata(&dev->dev); in ndregaddr() local
87 return drvdata->base + (reg << plat->shift); in ndregaddr()
135 struct txx9ndfmc_platform_data *plat = dev_get_platdata(&dev->dev); in txx9ndfmc_cmd_ctrl() local
153 if (plat->flags & NDFMC_PLAT_FLAG_DUMMYWRITE) { in txx9ndfmc_cmd_ctrl()
221 struct txx9ndfmc_platform_data *plat = dev_get_platdata(&dev->dev); in txx9ndfmc_initialize() local
225 if (plat->flags & NDFMC_PLAT_FLAG_NO_RSTR) in txx9ndfmc_initialize()
244 (plat->flags & NDFMC_PLAT_FLAG_USE_BSPRT) ? in txx9ndfmc_initialize()
281 struct txx9ndfmc_platform_data *plat = dev_get_platdata(&dev->dev); in txx9ndfmc_probe() local
285 unsigned long gbusclk = plat->gbus_clock; in txx9ndfmc_probe()
294 hold = plat->hold ?: 20; /* tDH */ in txx9ndfmc_probe()
[all …]
/linux/Documentation/arch/arm/samsung/
H A Doverview.rst38 plat-samsung provides the base for all the implementations, and is the
43 plat-s5p is for s5p specific builds, and contains common support for the
51 The old plat-s3c and plat-s5pc1xx directories have been removed, with
52 support moved to either plat-samsung or plat-s5p as necessary. These moves
/linux/drivers/usb/typec/
H A Danx7411.c1464 struct anx7411_data *plat; in anx7411_i2c_probe() local
1471 plat = devm_kzalloc(dev, sizeof(*plat), GFP_KERNEL); in anx7411_i2c_probe()
1472 if (!plat) in anx7411_i2c_probe()
1475 plat->tcpc_client = client; in anx7411_i2c_probe()
1476 i2c_set_clientdata(client, plat); in anx7411_i2c_probe()
1478 mutex_init(&plat->lock); in anx7411_i2c_probe()
1480 ret = anx7411_register_i2c_dummy_clients(plat, client); in anx7411_i2c_probe()
1486 ret = anx7411_typec_switch_probe(plat, dev); in anx7411_i2c_probe()
1492 ret = anx7411_typec_port_probe(plat, dev); in anx7411_i2c_probe()
1499 plat->intp_irq = client->irq; in anx7411_i2c_probe()
[all …]
/linux/sound/soc/ux500/
H A DMakefile4 snd-soc-ux500-plat-msp-i2s-y := ux500_msp_dai.o ux500_msp_i2s.o
5 obj-$(CONFIG_SND_SOC_UX500_PLAT_MSP_I2S) += snd-soc-ux500-plat-msp-i2s.o
7 snd-soc-ux500-plat-dma-y := ux500_pcm.o
8 obj-$(CONFIG_SND_SOC_UX500_PLAT_DMA) += snd-soc-ux500-plat-dma.o
/linux/arch/powerpc/boot/
H A DMakefile155 src-plat-y := of.c epapr.c
156 src-plat-$(CONFIG_44x) += treeboot-ebony.c cuboot-ebony.c treeboot-bamboo.c \
164 src-plat-$(CONFIG_PPC_8xx) += cuboot-8xx.c fixed-head.S ep88xc.c redboot-8xx.c
165 src-plat-$(CONFIG_PPC_MPC52xx) += cuboot-52xx.c
166 src-plat-$(CONFIG_PPC_82xx) += cuboot-pq2.c fixed-head.S ep8248e.c cuboot-824x.c
167 src-plat-$(CONFIG_PPC_83xx) += cuboot-83xx.c fixed-head.S redboot-83xx.c
168 src-plat-$(CONFIG_FSL_SOC_BOOKE) += cuboot-85xx.c cuboot-85xx-cpm2.c
169 src-plat-$(CONFIG_EMBEDDED6xx) += cuboot-pq2.c \
173 src-plat-$(CONFIG_AMIGAONE) += cuboot-amigaone.c
174 src-plat-$(CONFIG_PPC_PS3) += ps3-head.S ps3-hvcall.S ps3.c
[all …]
/linux/drivers/video/fbdev/mmp/panel/
H A Dtpo_tj032md01bw.c77 struct tpohvga_plat_data *plat = panel->plat_data; in tpohvga_onoff() local
81 plat->plat_onoff(1); in tpohvga_onoff()
83 ret = spi_write(plat->spi, init, sizeof(init)); in tpohvga_onoff()
87 ret = spi_write(plat->spi, poweroff, sizeof(poweroff)); in tpohvga_onoff()
91 plat->plat_onoff(0); in tpohvga_onoff()
/linux/arch/arm/plat-orion/
H A Dirq.c2 * arch/arm/plat-orion/irq.c
19 #include <plat/irq.h>
20 #include <plat/orion-gpio.h>
H A Dmpp.c2 * arch/arm/plat-orion/mpp.c
16 #include <plat/orion-gpio.h>
17 #include <plat/mpp.h>
/linux/drivers/watchdog/
H A Dsimatic-ipc-wdt.c151 struct simatic_ipc_platform *plat = pdev->dev.platform_data; in simatic_ipc_wdt_probe() local
156 switch (plat->devmode) { in simatic_ipc_wdt_probe()
191 if (plat->devmode == SIMATIC_IPC_DEVICE_427E) { in simatic_ipc_wdt_probe()
208 wdd_data.bootstatus = wd_setup(plat->devmode); in simatic_ipc_wdt_probe()
212 if (plat->devmode == SIMATIC_IPC_DEVICE_227E) in simatic_ipc_wdt_probe()
/linux/tools/usb/usbip/libsrc/
H A Dusbip_device_driver.c70 struct udev_device *plat; in read_usb_vudc_device() local
74 plat = udev_device_get_parent(sdev); in read_usb_vudc_device()
75 path = udev_device_get_syspath(plat); in read_usb_vudc_device()
115 name = udev_device_get_sysname(plat); in read_usb_vudc_device()
/linux/arch/arc/
H A DMakefile85 core-y += arch/arc/plat-sim/
86 core-$(CONFIG_ARC_PLAT_TB10X) += arch/arc/plat-tb10x/
87 core-$(CONFIG_ARC_PLAT_AXS10X) += arch/arc/plat-axs10x/
88 core-$(CONFIG_ARC_SOC_HSDK) += arch/arc/plat-hsdk/
/linux/drivers/usb/host/
H A DMakefile24 xhci-plat-hcd-y := xhci-plat.o
26 xhci-plat-hcd-y += xhci-mvebu.o
76 obj-$(CONFIG_USB_XHCI_PLATFORM) += xhci-plat-hcd.o
/linux/arch/arm/plat-orion/include/plat/
H A Dirq.h2 * arch/arm/plat-orion/include/plat/irq.h
H A Dtime.h2 * arch/arm/plat-orion/include/plat/time.h
/linux/arch/arm/mach-omap2/
H A Dl3_2xxx.h3 * arch/arm/plat-omap/include/plat/l3_2xxx.h - L3 firewall definitions
H A Dl3_3xxx.h3 * arch/arm/plat-omap/include/plat/l3_3xxx.h - L3 firewall definitions
/linux/arch/arm/mach-spear/
H A Dpl080.h3 * arch/arm/plat-spear/include/plat/pl080.h
/linux/drivers/net/ethernet/samsung/sxgbe/
H A Dsxgbe_mdio.c199 struct sxgbe_mdio_bus_data *mdio_data = priv->plat->mdio_bus_data; in sxgbe_mdio_register()
224 mdio_bus->name, priv->plat->bus_id); in sxgbe_mdio_register()
255 if (priv->plat->phy_addr == -1) in sxgbe_mdio_register()
256 priv->plat->phy_addr = phy_addr; in sxgbe_mdio_register()
258 act = (priv->plat->phy_addr == phy_addr); in sxgbe_mdio_register()

123456