Home
last modified time | relevance | path

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

/drivers/staging/fbtft/
Dfbtft_device.c95 static unsigned int buswidth = 8; variable
96 module_param(buswidth, uint, 0000);
97 MODULE_PARM_DESC(buswidth, "Display bus width, used with the custom argument");
283 .buswidth = 8,
303 .buswidth = 8,
326 .buswidth = 9,
345 .buswidth = 8,
365 .buswidth = 8,
385 .buswidth = 8,
402 .buswidth = 8,
[all …]
Dflexfb.c50 static unsigned int buswidth = 8; variable
51 module_param(buswidth, uint, 0000);
52 MODULE_PARM_DESC(buswidth, "Width of databus (default: 8)");
545 int num_db = buswidth; in flexfb_verify_gpios_db()
562 num_db = buswidth / 2; in flexfb_verify_gpios_db()
642 fbtft_init_dbg(dev, "buswidth = %d\n", buswidth); in flexfb_probe_common()
675 switch (buswidth) { in flexfb_probe_common()
683 …r(dev, "argument 'regwidth': %d is not supported with buswidth=%d and SPI.\n", regwidth, buswidth); in flexfb_probe_common()
706 dev_err(dev, "argument 'buswidth': %d is not supported with SPI.\n", buswidth); in flexfb_probe_common()
711 switch (buswidth) { in flexfb_probe_common()
[all …]
Dfbtft-core.c716 if (pdata->display.buswidth) in fbtft_framebuffer_alloc()
717 display->buswidth = pdata->display.buswidth; in fbtft_framebuffer_alloc()
1240 if (pdata->display.buswidth != 9 && par->startbyte == 0 && in fbtft_verify_gpios()
1254 for (i = 0; i < pdata->display.buswidth; i++) { in fbtft_verify_gpios()
1296 pdata->display.buswidth = fbtft_of_value(node, "buswidth"); in fbtft_probe_dt()
1367 if (display->buswidth == 0) { in fbtft_probe_common()
1373 if (display->regwidth == 8 && display->buswidth == 8) { in fbtft_probe_common()
1376 if (display->regwidth == 8 && display->buswidth == 9 && par->spi) { in fbtft_probe_common()
1378 } else if (display->regwidth == 16 && display->buswidth == 8) { in fbtft_probe_common()
1380 } 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()
Dfbtft.h121 unsigned int buswidth; member
Dfb_watterott.c280 .buswidth = 8,
/drivers/dma/
Damba-pl08x.c144 u8 buswidth; member
147 #define IS_BUS_ALIGNED(bus) IS_ALIGNED((bus)->addr, (bus)->buswidth)
1157 if (bd->dstbus.buswidth >= bd->srcbus.buswidth) { in pl08x_choose_master_bus()
1293 bd.srcbus.buswidth = bd.srcbus.maxwidth; in pl08x_fill_llis_for_desc()
1294 bd.dstbus.buswidth = bd.dstbus.maxwidth; in pl08x_fill_llis_for_desc()
1302 bd.srcbus.buswidth, in pl08x_fill_llis_for_desc()
1305 bd.dstbus.buswidth, in pl08x_fill_llis_for_desc()
1358 bd.srcbus.buswidth, bd.dstbus.buswidth, in pl08x_fill_llis_for_desc()
1370 if (bd.remainder < mbus->buswidth) in pl08x_fill_llis_for_desc()
1373 early_bytes = mbus->buswidth - in pl08x_fill_llis_for_desc()
[all …]
Dstm32-dma.c579 enum dma_slave_buswidth *buswidth) in stm32_dma_set_xfer_param() argument
620 *buswidth = dst_addr_width; in stm32_dma_set_xfer_param()
650 *buswidth = chan->dma_sconfig.src_addr_width; in stm32_dma_set_xfer_param()
681 enum dma_slave_buswidth buswidth; in stm32_dma_prep_slave_sg() local
699 ret = stm32_dma_set_xfer_param(chan, direction, &buswidth); in stm32_dma_prep_slave_sg()
712 nb_data_items = desc->sg_req[i].len / buswidth; in stm32_dma_prep_slave_sg()
744 enum dma_slave_buswidth buswidth; in stm32_dma_prep_dma_cyclic() local
774 ret = stm32_dma_set_xfer_param(chan, direction, &buswidth); in stm32_dma_prep_dma_cyclic()
778 nb_data_items = period_len / buswidth; in stm32_dma_prep_dma_cyclic()
Dmmp_tdma.c117 enum dma_slave_buswidth buswidth; member
241 switch (tdmac->buswidth) { in mmp_tdma_config_chan()
501 tdmac->buswidth = dmaengine_cfg->src_addr_width; in mmp_tdma_config()
505 tdmac->buswidth = dmaengine_cfg->dst_addr_width; in mmp_tdma_config()
Dmpc512x_dma.c686 inline u8 buswidth_to_dmatsize(u8 buswidth) in buswidth_to_dmatsize() argument
690 for (res = 0; buswidth > 1; buswidth /= 2) in buswidth_to_dmatsize()
822 inline bool is_buswidth_valid(u8 buswidth, bool is_mpc8308) in is_buswidth_valid() argument
824 switch (buswidth) { in is_buswidth_valid()
/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/spi/
Dspi-ep93xx.c278 enum dma_slave_buswidth buswidth; in ep93xx_spi_dma_prepare() local
288 buswidth = DMA_SLAVE_BUSWIDTH_2_BYTES; in ep93xx_spi_dma_prepare()
290 buswidth = DMA_SLAVE_BUSWIDTH_1_BYTE; in ep93xx_spi_dma_prepare()
301 conf.src_addr_width = buswidth; in ep93xx_spi_dma_prepare()
308 conf.dst_addr_width = buswidth; in ep93xx_spi_dma_prepare()
Dspi-stm32.c674 enum dma_slave_buswidth buswidth; in stm32_spi_dma_config() local
678 buswidth = DMA_SLAVE_BUSWIDTH_1_BYTE; in stm32_spi_dma_config()
680 buswidth = DMA_SLAVE_BUSWIDTH_2_BYTES; in stm32_spi_dma_config()
682 buswidth = DMA_SLAVE_BUSWIDTH_4_BYTES; in stm32_spi_dma_config()
694 dma_conf->src_addr_width = buswidth; in stm32_spi_dma_config()
698 buswidth, maxburst); in stm32_spi_dma_config()
701 dma_conf->dst_addr_width = buswidth; in stm32_spi_dma_config()
705 buswidth, maxburst); in stm32_spi_dma_config()
Dspi-pic32.c400 u32 buswidth, v; in pic32_spi_set_word_size() local
406 buswidth = PIC32_BPW_8; in pic32_spi_set_word_size()
412 buswidth = PIC32_BPW_16; in pic32_spi_set_word_size()
418 buswidth = PIC32_BPW_32; in pic32_spi_set_word_size()
432 v |= buswidth << CTRL_BPW_SHIFT; in pic32_spi_set_word_size()
Dspi-imx.c1028 enum dma_slave_buswidth buswidth; in spi_imx_dma_configure() local
1034 buswidth = DMA_SLAVE_BUSWIDTH_4_BYTES; in spi_imx_dma_configure()
1037 buswidth = DMA_SLAVE_BUSWIDTH_2_BYTES; in spi_imx_dma_configure()
1040 buswidth = DMA_SLAVE_BUSWIDTH_1_BYTE; in spi_imx_dma_configure()
1048 tx.dst_addr_width = buswidth; in spi_imx_dma_configure()
1058 rx.src_addr_width = buswidth; in spi_imx_dma_configure()
/drivers/media/i2c/soc_camera/
Dtw9910.c617 if (SOCAM_DATAWIDTH_16 == priv->info->buswidth) in tw9910_set_frame()
802 if (SOCAM_DATAWIDTH_16 != priv->info->buswidth && in tw9910_video_probe()
803 SOCAM_DATAWIDTH_8 != priv->info->buswidth) { in tw9910_video_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/media/platform/
Dpxa_camera.c1238 unsigned char buswidth, unsigned long *flags) in test_platform_param() argument
1256 if ((1 << (buswidth - 1)) & pcdev->width_flags) in test_platform_param()
1673 unsigned char buswidth) in pxa_camera_try_bus_param() argument
1677 int ret = test_platform_param(pcdev, buswidth, &bus_flags); in pxa_camera_try_bus_param()
/drivers/media/platform/soc_camera/
Dsh_mobile_ceu_camera.c849 unsigned char buswidth) in sh_mobile_ceu_try_bus_param() argument
863 if (!common_flags || buswidth > 16) in sh_mobile_ceu_try_bus_param()
/drivers/video/fbdev/omap2/omapfb/dss/
Ddsi.c3569 int buswidth = 0; in dsi_proto_config() local
3589 buswidth = 0; in dsi_proto_config()
3592 buswidth = 1; in dsi_proto_config()
3595 buswidth = 2; in dsi_proto_config()
3607 r = FLD_MOD(r, buswidth, 7, 6); /* VP_DATA_BUS_WIDTH */ in dsi_proto_config()
/drivers/gpu/drm/omapdrm/dss/
Ddsi.c3676 int buswidth = 0; in dsi_proto_config() local
3696 buswidth = 0; in dsi_proto_config()
3699 buswidth = 1; in dsi_proto_config()
3702 buswidth = 2; in dsi_proto_config()
3714 r = FLD_MOD(r, buswidth, 7, 6); /* VP_DATA_BUS_WIDTH */ in dsi_proto_config()
/drivers/pcmcia/
Dcistpl.c1214 geo->geo[n].buswidth = p[0]; in parse_device_geo()