Home
last modified time | relevance | path

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

/drivers/staging/fbtft/
Dfbtft_device.c95 static unsigned buswidth = 8; variable
96 module_param(buswidth, uint, 0);
97 MODULE_PARM_DESC(buswidth, "Display bus width, used with the custom argument");
258 .buswidth = 8,
278 .buswidth = 8,
301 .buswidth = 9,
320 .buswidth = 8,
340 .buswidth = 8,
360 .buswidth = 8,
377 .buswidth = 8,
[all …]
Dflexfb.c50 static unsigned int buswidth = 8; variable
51 module_param(buswidth, uint, 0);
52 MODULE_PARM_DESC(buswidth, "Width of databus (default: 8)");
313 int num_db = buswidth; in flexfb_verify_gpios_db()
330 num_db = buswidth / 2; in flexfb_verify_gpios_db()
410 fbtft_init_dbg(dev, "buswidth = %d\n", buswidth); in flexfb_probe_common()
443 switch (buswidth) { in flexfb_probe_common()
451 …r(dev, "argument 'regwidth': %d is not supported with buswidth=%d and SPI.\n", regwidth, buswidth); in flexfb_probe_common()
474 dev_err(dev, "argument 'buswidth': %d is not supported with SPI.\n", buswidth); in flexfb_probe_common()
479 switch (buswidth) { in flexfb_probe_common()
[all …]
Dfbtft-core.c704 if (pdata->display.buswidth) in fbtft_framebuffer_alloc()
705 display->buswidth = pdata->display.buswidth; in fbtft_framebuffer_alloc()
1241 if (pdata->display.buswidth != 9 && par->startbyte == 0 && in fbtft_verify_gpios()
1255 for (i = 0; i < pdata->display.buswidth; i++) { in fbtft_verify_gpios()
1297 pdata->display.buswidth = fbtft_of_value(node, "buswidth"); in fbtft_probe_dt()
1368 if (display->buswidth == 0) { in fbtft_probe_common()
1374 if (display->regwidth == 8 && display->buswidth == 8) { in fbtft_probe_common()
1377 if (display->regwidth == 8 && display->buswidth == 9 && par->spi) { in fbtft_probe_common()
1379 } else if (display->regwidth == 16 && display->buswidth == 8) { in fbtft_probe_common()
1381 } else if (display->regwidth == 16 && display->buswidth == 16) { in fbtft_probe_common()
[all …]
Dfb_uc1611.c233 switch (par->pdata->display.buswidth) { in write_vmem()
305 par->pdata->display.buswidth); in write_vmem()
Dfb_watterott.c280 .buswidth = 8,
Dfbtft.h129 unsigned buswidth; member
/drivers/dma/
Damba-pl08x.c136 u8 buswidth; member
139 #define IS_BUS_ALIGNED(bus) IS_ALIGNED((bus)->addr, (bus)->buswidth)
832 if (bd->dstbus.buswidth >= bd->srcbus.buswidth) { in pl08x_choose_master_bus()
966 bd.srcbus.buswidth = bd.srcbus.maxwidth; in pl08x_fill_llis_for_desc()
967 bd.dstbus.buswidth = bd.dstbus.maxwidth; in pl08x_fill_llis_for_desc()
975 bd.srcbus.buswidth, in pl08x_fill_llis_for_desc()
978 bd.dstbus.buswidth, in pl08x_fill_llis_for_desc()
1024 cctl = pl08x_cctl_bits(cctl, bd.srcbus.buswidth, in pl08x_fill_llis_for_desc()
1025 bd.dstbus.buswidth, 0); in pl08x_fill_llis_for_desc()
1036 if (bd.remainder < mbus->buswidth) in pl08x_fill_llis_for_desc()
[all …]
Dmmp_tdma.c117 enum dma_slave_buswidth buswidth; member
241 switch (tdmac->buswidth) { in mmp_tdma_config_chan()
505 tdmac->buswidth = dmaengine_cfg->src_addr_width; in mmp_tdma_config()
509 tdmac->buswidth = dmaengine_cfg->dst_addr_width; in mmp_tdma_config()
/drivers/ssb/
Ddriver_mipscore.c222 pflash->buswidth = 2; in ssb_mips_flash_detect()
242 pflash->buswidth = 1; in ssb_mips_flash_detect()
244 pflash->buswidth = 2; in ssb_mips_flash_detect()
258 ssb_pflash_data.width = pflash->buswidth; in ssb_mips_flash_detect()
/drivers/mtd/chips/
DKconfig82 bool "Support 8-bit buswidth" if MTD_CFI_GEOMETRY
89 bool "Support 16-bit buswidth" if MTD_CFI_GEOMETRY
96 bool "Support 32-bit buswidth" if MTD_CFI_GEOMETRY
103 bool "Support 64-bit buswidth" if MTD_CFI_GEOMETRY
110 bool "Support 128-bit buswidth" if MTD_CFI_GEOMETRY
117 bool "Support 256-bit buswidth" if MTD_CFI_GEOMETRY
/drivers/bcma/
Ddriver_mips.c296 pflash->buswidth = 1; in bcma_core_mips_flash_detect()
298 pflash->buswidth = 2; in bcma_core_mips_flash_detect()
300 bcma_pflash_data.width = pflash->buswidth; in bcma_core_mips_flash_detect()
/drivers/spi/
Dspi-ep93xx.c436 enum dma_slave_buswidth buswidth; in ep93xx_spi_dma_prepare() local
446 buswidth = DMA_SLAVE_BUSWIDTH_2_BYTES; in ep93xx_spi_dma_prepare()
448 buswidth = DMA_SLAVE_BUSWIDTH_1_BYTE; in ep93xx_spi_dma_prepare()
459 conf.src_addr_width = buswidth; in ep93xx_spi_dma_prepare()
466 conf.dst_addr_width = buswidth; in ep93xx_spi_dma_prepare()
/drivers/media/platform/soc_camera/
Dmx3_camera.c555 unsigned char buswidth, unsigned long *flags) in test_platform_param() argument
561 if (buswidth > fls(mx3_cam->width_flags)) in test_platform_param()
1006 int buswidth; in mx3_camera_set_bus_param() local
1021 buswidth = fmt->bits_per_sample; in mx3_camera_set_bus_param()
1022 ret = test_platform_param(mx3_cam, buswidth, &bus_flags); in mx3_camera_set_bus_param()
1024 dev_dbg(dev, "requested bus width %d bit: %d\n", buswidth, ret); in mx3_camera_set_bus_param()
Dpxa_camera.c1004 unsigned char buswidth, unsigned long *flags) in test_platform_param() argument
1022 if ((1 << (buswidth - 1)) & pcdev->width_flags) in test_platform_param()
1199 unsigned char buswidth) in pxa_camera_try_bus_param() argument
1206 int ret = test_platform_param(pcdev, buswidth, &bus_flags); in pxa_camera_try_bus_param()
Datmel-isi.c642 unsigned char buswidth) in isi_camera_try_bus_param() argument
665 if ((1 << (buswidth - 1)) & isi->width_flags) in isi_camera_try_bus_param()
Drcar_vin.c1247 unsigned char buswidth) in rcar_vin_try_bus_param() argument
1259 if (buswidth > 24) in rcar_vin_try_bus_param()
Dsh_mobile_ceu_camera.c954 unsigned char buswidth) in sh_mobile_ceu_try_bus_param() argument
970 if (!common_flags || buswidth > 16) in sh_mobile_ceu_try_bus_param()
/drivers/media/i2c/soc_camera/
Dtw9910.c617 if (SOCAM_DATAWIDTH_16 == priv->info->buswidth) in tw9910_set_frame()
818 if (SOCAM_DATAWIDTH_16 != priv->info->buswidth && in tw9910_video_probe()
819 SOCAM_DATAWIDTH_8 != priv->info->buswidth) { in tw9910_video_probe()
/drivers/mtd/nand/
Dmxc_nand.c1472 int buswidth; in mxcnd_probe_dt() local
1482 buswidth = of_get_nand_bus_width(np); in mxcnd_probe_dt()
1483 if (buswidth < 0) in mxcnd_probe_dt()
1484 return buswidth; in mxcnd_probe_dt()
1486 pdata->width = buswidth / 8; in mxcnd_probe_dt()
Dhisi504_nand.c700 int ret = 0, irq, buswidth, flag, max_chips = HINFC504_MAX_CHIP; in hisi_nfc_probe() local
755 buswidth = of_get_nand_bus_width(np); in hisi_nfc_probe()
756 if (buswidth == 16) in hisi_nfc_probe()
/drivers/video/fbdev/sis/
Dsis_main.c4216 int buswidth, int PseudoRankCapacity, in sisfb_post_300_rwtest() argument
4226 RankCapacity = buswidth * SiS_DRAMType[k][3]; in sisfb_post_300_rwtest()
4241 PageCapacity = (1 << SiS_DRAMType[k][1]) * buswidth * 4; in sisfb_post_300_rwtest()
4248 sr14 = (SiS_DRAMType[k][3] * buswidth) - 1; in sisfb_post_300_rwtest()
4249 if(buswidth == 4) sr14 |= 0x80; in sisfb_post_300_rwtest()
4250 else if(buswidth == 2) sr14 |= 0x40; in sisfb_post_300_rwtest()
4284 int i, j, buswidth; in sisfb_post_300_ramsize() local
4287 buswidth = sisfb_post_300_buswidth(ivideo); in sisfb_post_300_ramsize()
4296 buswidth, in sisfb_post_300_ramsize()
4592 unsigned int buswidth, ranksize, channelab, mapsize; in sisfb_post_xgi_ramsize() local
[all …]
/drivers/mtd/maps/
Dpcmciamtd.c401 dev->pcmcia_map.bankwidth = t->geo[0].buswidth; in pcmciamtd_cistpl_geo()
404 pr_debug("region: %d bankwidth = %u\n", i, t->geo[i].buswidth); in pcmciamtd_cistpl_geo()
/drivers/video/fbdev/omap2/dss/
Ddsi.c3579 int buswidth = 0; in dsi_proto_config() local
3599 buswidth = 0; in dsi_proto_config()
3602 buswidth = 1; in dsi_proto_config()
3605 buswidth = 2; in dsi_proto_config()
3617 r = FLD_MOD(r, buswidth, 7, 6); /* VP_DATA_BUS_WIDTH */ in dsi_proto_config()
/drivers/net/ethernet/synopsys/
Ddwc_eth_qos.c1547 u32 buswidth; in dwceqos_init_hw() local
1558 buswidth = (regval ^ 0xF) + 1; in dwceqos_init_hw()
1561 dma_skip = (sizeof(struct dwceqos_dma_desc) - 16) / buswidth; in dwceqos_init_hw()
/drivers/pcmcia/
Dcistpl.c1214 geo->geo[n].buswidth = p[0]; in parse_device_geo()