Searched refs:bus_width (Results 51 - 75 of 137) sorted by relevance

123456

/linux-master/drivers/mmc/host/
H A Dsdhci-pci-o2micro.c400 if (mmc->ios.bus_width == MMC_BUS_WIDTH_8) {
401 current_bus_width = mmc->ios.bus_width;
402 mmc->ios.bus_width = MMC_BUS_WIDTH_4;
415 mmc->ios.bus_width = MMC_BUS_WIDTH_8;
H A Dwbsd.c566 if (host->bus_width == MMC_BUS_WIDTH_1) {
571 } else if (host->bus_width == MMC_BUS_WIDTH_4) {
885 BUG_ON(ios->bus_width != MMC_BUS_WIDTH_1);
905 host->bus_width = ios->bus_width;
H A Datmel-mci.c206 * @bus_width: Number of data lines wired up the slot
211 * If a given slot is not present on the board, @bus_width should be
221 unsigned int bus_width; member in struct:mci_slot_pdata
670 &pdata->slot[slot_id].bus_width))
671 pdata->slot[slot_id].bus_width = 1;
1433 switch (ios->bus_width) {
2284 "slot[%u]: bus_width=%u, detect_pin=%d, "
2286 id, slot_data->bus_width, desc_to_gpio(slot_data->detect_pin),
2303 if ((slot_data->bus_width >= 4) && host->caps.has_rwproof) {
2305 if (slot_data->bus_width >
[all...]
H A Dsunxi-mmc.c744 } else if (ios->bus_width == MMC_BUS_WIDTH_8) {
789 ios->bus_width == MMC_BUS_WIDTH_8)) {
953 sunxi_mmc_set_bus_width(host, ios->bus_width);
1516 sunxi_mmc_set_bus_width(host, mmc->ios.bus_width);
H A Dmeson-mx-sdio.c197 if (mmc->ios.bus_width == MMC_BUS_WIDTH_4)
264 switch (ios->bus_width) {
279 ios->bus_width);
H A Dalcor.c710 if (ios->bus_width == MMC_BUS_WIDTH_1) {
712 } else if (ios->bus_width == MMC_BUS_WIDTH_4) {
913 ios->bus_width, ios->power_mode);
H A Dvub300.c314 unsigned bus_width:4; member in struct:vub300_mmc_host
513 vub300->bus_width = 0;
884 vub300->bus_width = 1;
886 vub300->bus_width = 4;
903 vub300->bus_width = 1;
905 vub300->bus_width = 4;
908 "unexpected ACMD6 bus_width=%d\n",
2176 vub300->bus_width = 0;
H A Dsdhci-of-esdhc.c807 u32 val, bus_width = 0; local
825 bus_width = val & ESDHC_CTRL_BUSWIDTH_MASK;
838 val |= bus_width;
H A Dsdricoh_cs.c343 if (ios->bus_width == MMC_BUS_WIDTH_4) {
H A Drtsx_usb_sdmmc.c881 unsigned char bus_width)
890 if (bus_width <= MMC_BUS_WIDTH_8)
892 0x03, width[bus_width]);
1111 sd_set_bus_width(host, ios->bus_width);
880 sd_set_bus_width(struct rtsx_usb_sdmmc *host, unsigned char bus_width) argument
/linux-master/drivers/media/platform/ti/am437x/
H A Dam437x-vpfe.c145 unsigned int bus_width = sdinfo->vpfe_param.bus_width; local
148 bus_width_bytes = ALIGN(bus_width, 8) >> 3;
149 clocksperpixel = DIV_ROUND_UP(fmt->bitsperpixel, bus_width);
762 if (params->bus_width == 10)
768 vpfe_dbg(1, vpfe, "params.bus_width: %d\n",
769 params->bus_width);
2345 sdinfo->vpfe_param.bus_width = bus_cfg.bus.parallel.bus_width;
2347 if (sdinfo->vpfe_param.bus_width <
[all...]
/linux-master/drivers/perf/
H A Darm_pmuv3.c399 u32 bus_width = FIELD_GET(ARMV8_PMU_BUS_WIDTH, cpu_pmu->reg_pmmir); local
403 if (bus_width > 2 && bus_width < 13)
404 val = 1 << (bus_width - 1);
409 static DEVICE_ATTR_RO(bus_width);
/linux-master/drivers/scsi/aic7xxx/
H A Daic79xx_core.c139 u_int bus_width);
143 u_int bus_width, u_int ppr_options);
3783 u_int *bus_width, role_t role)
3785 switch (*bus_width) {
3789 *bus_width = MSG_EXT_WDTR_BUS_16_BIT;
3794 *bus_width = MSG_EXT_WDTR_BUS_8_BIT;
3799 *bus_width = min((u_int)tinfo->user.width, *bus_width);
3801 *bus_width = min((u_int)tinfo->goal.width, *bus_width);
3782 ahd_validate_width(struct ahd_softc *ahd, struct ahd_initiator_tinfo *tinfo, u_int *bus_width, role_t role) argument
4602 ahd_construct_wdtr(struct ahd_softc *ahd, struct ahd_devinfo *devinfo, u_int bus_width) argument
4620 ahd_construct_ppr(struct ahd_softc *ahd, struct ahd_devinfo *devinfo, u_int period, u_int offset, u_int bus_width, u_int ppr_options) argument
5192 u_int bus_width; local
5290 u_int bus_width; local
[all...]
/linux-master/drivers/media/i2c/
H A Dtc358746.c184 unsigned char bus_width; member in struct:tc358746_format
209 .bus_width = 8,
216 .bus_width = 16,
223 .bus_width = 16,
229 .bus_width = 10,
922 source_bitrate = source_link_freq * fmt->bus_width;
/linux-master/drivers/scsi/
H A Dmyrb.h303 } __packed bus_width:2; /* Byte 106 Bits 0-1 */ member in struct:myrb_enquiry2::__anon342
696 unsigned char bus_width; member in struct:myrb_hba
/linux-master/drivers/scsi/sym53c8xx_2/
H A Dsym_nvram.c95 tp->usr_width = (tn->bus_width == 0x8) ? 0 : 1;
166 tn->bus_width,
/linux-master/arch/sh/boards/mach-migor/
H A Dsetup.c310 .bus_width = 8,
317 .bus_width = 8,
/linux-master/drivers/gpu/drm/arm/display/komeda/
H A Dkomeda_kms.c31 args->pitch = ALIGN(pitch, mdev->chip.bus_width);
/linux-master/drivers/media/platform/rockchip/rkisp1/
H A Drkisp1-common.h502 * @bus_width: bus width
511 u8 bus_width; member in struct:rkisp1_mbus_info
/linux-master/drivers/ata/
H A Dpata_octeon_cf.c818 u32 bus_width; local
831 if (of_property_read_u32(node, "cavium,bus-width", &bus_width) == 0)
832 is_16bit = (bus_width == 16);
/linux-master/arch/sh/boards/mach-ecovec24/
H A Dsetup.c407 .bus_width = 8,
414 .bus_width = 8,
451 .bus_width = 8,
/linux-master/drivers/mtd/nand/raw/
H A Dnandsim.c84 static uint bus_width = CONFIG_NANDSIM_BUS_WIDTH; variable
117 module_param(bus_width, uint, 0400);
142 MODULE_PARM_DESC(bus_width, "Chip's bus width (8- or 16-bit)");
2267 if (bus_width != 8 && bus_width != 16) {
2268 NS_ERR("wrong bus width (%d), use only 8 or 16\n", bus_width);
2315 if (bus_width == 16) {
/linux-master/drivers/video/fbdev/
H A Dpxafb.c2099 struct pxafb_mach_info *info, u32 bus_width)
2116 info->lcd_conn |= LCD_CONN_WIDTH(bus_width);
2171 u32 bus_width; local
2179 ret = of_property_read_u32(np, "bus-width", &bus_width);
2193 ret = of_get_pxafb_display(dev, display, info, bus_width);
2199 info->modes[i].bpp = bus_width;
2098 of_get_pxafb_display(struct device *dev, struct device_node *disp, struct pxafb_mach_info *info, u32 bus_width) argument
/linux-master/drivers/phy/rockchip/
H A Dphy-rockchip-inno-hdmi.c557 int bus_width = phy_get_bus_width(inno->phy); local
559 switch (bus_width) {
566 return (u64)rate * bus_width / 8;
H A Dphy-rockchip-samsung-hdptx.c862 int ret, bus_width = phy_get_bus_width(hdptx->phy); local
868 unsigned int rate = bus_width & 0xfffffff;
870 dev_dbg(hdptx->dev, "%s bus_width=%x rate=%u\n",
871 __func__, bus_width, rate);

Completed in 574 milliseconds

123456