Searched defs:bus_width (Results 1 - 25 of 32) sorted by relevance

12

/drivers/media/video/s5p-fimc/
H A Dfimc-reg.c602 u32 bus_width; local
608 u16 bus_width; member in struct:__anon1649
621 bus_width = pix_desc[i].bus_width;
634 if (bus_width == 8)
636 else if (bus_width == 16)
/drivers/mmc/core/
H A Dmmc.c548 static int mmc_compare_ext_csds(struct mmc_card *card, unsigned bus_width) argument
553 if (bus_width == MMC_BUS_WIDTH_1)
559 if (bus_width != MMC_BUS_WIDTH_1)
564 if (bus_width == MMC_BUS_WIDTH_1)
664 unsigned int bus_width, u8 *ext_csd)
684 if (bus_width == EXT_CSD_BUS_WIDTH_1)
692 index = (bus_width <= EXT_CSD_BUS_WIDTH_8) ?
710 index = (bus_width <= EXT_CSD_BUS_WIDTH_8) ?
724 if (bus_width & (EXT_CSD_BUS_WIDTH_8 | EXT_CSD_DDR_BUS_WIDTH_8))
1090 u32 bus_width local
663 mmc_select_powerclass(struct mmc_card *card, unsigned int bus_width, u8 *ext_csd) argument
1141 unsigned idx, bus_width = 0; local
[all...]
H A Dmmc_ops.c480 pr_err("%s: Invalid bus_width %d\n",
530 int mmc_bus_test(struct mmc_card *card, u8 bus_width) argument
534 if (bus_width == MMC_BUS_WIDTH_8)
536 else if (bus_width == MMC_BUS_WIDTH_4)
538 else if (bus_width == MMC_BUS_WIDTH_1)
/drivers/mmc/host/
H A Ds3cmci.h64 int bus_width; member in struct:s3cmci_host
H A Dsdhci-tegra.c123 static int tegra_sdhci_8bit(struct sdhci_host *host, int bus_width) argument
131 if (plat->is_8bit && bus_width == MMC_BUS_WIDTH_8) {
136 if (bus_width == MMC_BUS_WIDTH_4)
H A Dushc.c346 static int ushc_set_bus_width(struct ushc_data *ushc, int bus_width) argument
349 bus_width == 4 ? USHC_HOST_CTRL_4BIT : 0);
380 ushc_set_bus_width(ushc, 1 << ios->bus_width);
H A Dau1xmmc.c95 u32 bus_width; member in struct:au1xmmc_host
771 switch (ios->bus_width) {
H A Dwbsd.h167 unsigned char bus_width; /* Current bus width */ member in struct:wbsd_host
H A Dmxs-mmc.c161 unsigned char bus_width; member in struct:mxs_mmc_host
465 ctrl0 = BF_SSP(host->bus_width, CTRL0_BUS_WIDTH) |
617 if (ios->bus_width == MMC_BUS_WIDTH_8)
618 host->bus_width = 2;
619 else if (ios->bus_width == MMC_BUS_WIDTH_4)
620 host->bus_width = 1;
622 host->bus_width = 0;
H A Domap_hsmmc.c523 switch (ios->bus_width) {
1751 u32 bus_width; local
1769 of_property_read_u32(np, "ti,bus-width", &bus_width);
1770 if (bus_width == 4)
1772 else if (bus_width == 8)
H A Dsh_mmcif.c218 int bus_width; member in struct:sh_mmcif_host
756 switch (host->bus_width) {
970 host->bus_width = ios->bus_width;
H A Dvub300.c317 unsigned bus_width:4; member in struct:vub300_mmc_host
516 vub300->bus_width = 0;
891 vub300->bus_width = 1;
893 vub300->bus_width = 4;
910 vub300->bus_width = 1;
912 vub300->bus_width = 4;
915 "unexpected ACMD6 bus_width=%d\n",
2190 vub300->bus_width = 0;
/drivers/staging/rts5139/
H A Dsd_cprm.c381 u8 rsp_type, bus_width; local
405 bus_width = SD_BUS_WIDTH_8;
407 bus_width = SD_BUS_WIDTH_4;
409 bus_width = SD_BUS_WIDTH_1;
411 bus_width = SD_BUS_WIDTH_4;
413 RTS51X_DEBUGP("bus_width = %d\n", bus_width);
415 bus_width = SD_BUS_WIDTH_4;
461 blk_cnt, bus_width, buf, data_len, 2000);
496 rts51x_add_cmd(chip, WRITE_REG_CMD, SD_CFG1, 0x03, bus_width);
[all...]
H A Drts51x_scsi.c1236 u8 card, bus_width; local
1245 bus_width = chip->card_bus_width[lun];
1252 rts51x_set_xfer_buf(&bus_width, scsi_bufflen(srb), srb);
H A Dsd.c296 u16 byte_cnt, u16 blk_cnt, u8 bus_width, u8 *buf, int buf_len,
328 rts51x_add_cmd(chip, WRITE_REG_CMD, SD_CFG1, 0x03, bus_width);
369 u8 bus_width, u8 *buf, int buf_len, int timeout)
406 rts51x_add_cmd(chip, WRITE_REG_CMD, SD_CFG1, 0x03, bus_width);
905 static int sd_check_spec(struct rts51x_chip *chip, u8 bus_width) argument
924 sd_read_data(chip, SD_TM_NORMAL_READ, cmd, 5, 8, 1, bus_width, buf,
1051 u8 func_group, u8 func_to_switch, u8 bus_width)
1083 sd_read_data(chip, SD_TM_NORMAL_READ, cmd, 5, 64, 1, bus_width, buf,
1114 u8 func_group, u8 func_to_switch, u8 bus_width)
1127 func_to_switch, bus_width);
295 sd_read_data(struct rts51x_chip *chip, u8 trans_mode, u8 *cmd, int cmd_len, u16 byte_cnt, u16 blk_cnt, u8 bus_width, u8 *buf, int buf_len, int timeout) argument
367 sd_write_data(struct rts51x_chip *chip, u8 trans_mode, u8 *cmd, int cmd_len, u16 byte_cnt, u16 blk_cnt, u8 bus_width, u8 *buf, int buf_len, int timeout) argument
1050 sd_check_switch_mode(struct rts51x_chip *chip, u8 mode, u8 func_group, u8 func_to_switch, u8 bus_width) argument
1113 sd_check_switch(struct rts51x_chip *chip, u8 func_group, u8 func_to_switch, u8 bus_width) argument
1156 sd_switch_function(struct rts51x_chip *chip, u8 bus_width) argument
1345 u8 cmd[5], bus_width; local
1411 u8 cmd[5], bus_width; local
2403 u8 buf[8] = { 0 }, bus_width; local
[all...]
H A Dms.c1932 u8 page_len, bus_width, val = 0; local
1970 bus_width = 0x88;
1973 bus_width = 0x80;
1989 rts51x_add_cmd(chip, WRITE_REG_CMD, MS_BUS_WIDTH, 0xFF, bus_width);
/drivers/usb/host/
H A Disp1760-if.c52 u32 bus_width = 0; local
84 of_property_read_u32(dp, "bus-width", &bus_width);
85 if (bus_width == 16)
/drivers/net/ethernet/8390/
H A Dne-h8300.c90 unsigned char bus_width; local
92 bus_width = *(volatile unsigned char *)ABWCR;
93 bus_width &= 1 << ((base_addr >> 21) & 7);
96 if (bus_width == 0)
221 unsigned char bus_width; local
279 bus_width = *(volatile unsigned char *)ABWCR;
280 bus_width &= 1 << ((ioaddr >> 21) & 7);
281 ei_status.word16 = (bus_width == 0); /* temporary setting */
290 if (bus_width)
/drivers/edac/
H A Dmpc85xx_edac.c778 u32 bus_width; local
805 bus_width = (in_be32(pdata->mc_vbase + MPC85XX_MC_DDR_SDRAM_CFG) &
807 if (bus_width == 64)
828 if ((err_detect & DDR_EDE_SBE) && (bus_width == 64)) {
/drivers/scsi/sym53c8xx_2/
H A Dsym_nvram.h106 u_char bus_width; /* 0x08/0x10 */ member in struct:Symbios_nvram::Symbios_target
/drivers/staging/rts_pstor/
H A Drtsx_scsi.c2458 u8 card, bus_width; local
2467 bus_width = chip->card_bus_width[lun];
2474 rtsx_stor_set_xfer_buf(&bus_width, scsi_bufflen(srb), srb);
H A Dsd.c314 u16 blk_cnt, u8 bus_width, u8 *buf, int buf_len,
343 rtsx_add_cmd(chip, WRITE_REG_CMD, REG_SD_CFG1, 0x03, bus_width);
375 u8 *cmd, int cmd_len, u16 byte_cnt, u16 blk_cnt, u8 bus_width,
413 rtsx_add_cmd(chip, WRITE_REG_CMD, REG_SD_CFG1, 0x03, bus_width);
975 static int sd_check_spec(struct rtsx_chip *chip, u8 bus_width) argument
992 retval = sd_read_data(chip, SD_TM_NORMAL_READ, cmd, 5, 8, 1, bus_width, buf, 8, 250);
1121 u8 func_group, u8 func_to_switch, u8 bus_width)
1152 retval = sd_read_data(chip, SD_TM_NORMAL_READ, cmd, 5, 64, 1, bus_width, buf, 64, 250);
1209 u8 func_group, u8 func_to_switch, u8 bus_width)
1222 func_to_switch, bus_width);
312 sd_read_data(struct rtsx_chip *chip, u8 trans_mode, u8 *cmd, int cmd_len, u16 byte_cnt, u16 blk_cnt, u8 bus_width, u8 *buf, int buf_len, int timeout) argument
374 sd_write_data(struct rtsx_chip *chip, u8 trans_mode, u8 *cmd, int cmd_len, u16 byte_cnt, u16 blk_cnt, u8 bus_width, u8 *buf, int buf_len, int timeout) argument
1120 sd_check_switch_mode(struct rtsx_chip *chip, u8 mode, u8 func_group, u8 func_to_switch, u8 bus_width) argument
1208 sd_check_switch(struct rtsx_chip *chip, u8 func_group, u8 func_to_switch, u8 bus_width) argument
1252 sd_switch_function(struct rtsx_chip *chip, u8 bus_width) argument
1504 u8 cmd[5], bus_width; local
1569 u8 cmd[5], bus_width; local
2207 u8 cmd[5], bus_width; local
2658 u8 buf[8] = {0}, bus_width, *ptr; local
4041 u8 cmd_idx, rsp_type, bus_width; local
[all...]
/drivers/video/via/
H A Dioctl.h103 unsigned short bus_width; member in struct:device_t
/drivers/block/
H A Dxsysace.c203 int bus_width; /* 0 := 8 bit; 1 := 16 bit */ member in struct:ace_device
1013 if (ace->bus_width == ACE_BUS_WIDTH_16) {
1097 int irq, int bus_width)
1119 ace->bus_width = bus_width;
1157 int bus_width = ACE_BUS_WIDTH_16; /* FIXME: should not be hard coded */ local
1169 bus_width = ACE_BUS_WIDTH_8;
1179 return ace_alloc(&dev->dev, id, physaddr, irq, bus_width);
1096 ace_alloc(struct device *dev, int id, resource_size_t physaddr, int irq, int bus_width) argument
/drivers/mtd/nand/
H A Dnandsim.c97 static uint bus_width = CONFIG_NANDSIM_BUS_WIDTH; variable
123 module_param(bus_width, uint, 0400);
148 MODULE_PARM_DESC(bus_width, "Chip's bus width (8- or 16-bit)");
2242 if (bus_width != 8 && bus_width != 16) {
2243 NS_ERR("wrong bus width (%d), use only 8 or 16\n", bus_width);
2301 if (bus_width == 16) {

Completed in 474 milliseconds

12