Home
last modified time | relevance | path

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

12

/drivers/net/
Dne-h8300.c91 unsigned char bus_width; in init_reg_offset() local
93 bus_width = *(volatile unsigned char *)ABWCR; in init_reg_offset()
94 bus_width &= 1 << ((base_addr >> 21) & 7); in init_reg_offset()
97 if (bus_width == 0) in init_reg_offset()
222 unsigned char bus_width; in ne_probe1() local
280 bus_width = *(volatile unsigned char *)ABWCR; in ne_probe1()
281 bus_width &= 1 << ((ioaddr >> 21) & 7); in ne_probe1()
282 ei_status.word16 = (bus_width == 0); /* temporary setting */ in ne_probe1()
291 if (bus_width) in ne_probe1()
/drivers/block/
Dxsysace.c200 int bus_width; /* 0 := 8 bit; 1 := 16 bit */ member
1002 if (ace->bus_width == ACE_BUS_WIDTH_16) { in ace_setup()
1086 int irq, int bus_width) in ace_alloc() argument
1108 ace->bus_width = bus_width; in ace_alloc()
1146 int bus_width = ACE_BUS_WIDTH_16; /* FIXME: should not be hard coded */ in ace_probe() local
1161 return ace_alloc(&dev->dev, id, physaddr, irq, bus_width); in ace_probe()
1193 int irq, bus_width, rc; in ace_of_probe() local
1212 bus_width = ACE_BUS_WIDTH_16; in ace_of_probe()
1214 bus_width = ACE_BUS_WIDTH_8; in ace_of_probe()
1217 return ace_alloc(&op->dev, id ? *id : 0, physaddr, irq, bus_width); in ace_of_probe()
/drivers/mmc/core/
Dmmc.c438 unsigned ext_csd_bit, bus_width; in mmc_init_card() local
442 bus_width = MMC_BUS_WIDTH_8; in mmc_init_card()
445 bus_width = MMC_BUS_WIDTH_4; in mmc_init_card()
454 mmc_set_bus_width(card->host, bus_width); in mmc_init_card()
Ddebugfs.c103 ios->bus_width, 1 << ios->bus_width); in mmc_ios_show()
Dcore.c408 ios->bus_width, ios->timing); in mmc_set_ios()
451 host->ios.bus_width = width; in mmc_set_bus_width()
589 host->ios.bus_width = MMC_BUS_WIDTH_1; in mmc_power_up()
619 host->ios.bus_width = MMC_BUS_WIDTH_1; in mmc_power_off()
/drivers/scsi/aic7xxx/
Daic7xxx_core.c173 u_int bus_width);
177 u_int bus_width, u_int ppr_options);
2422 u_int *bus_width, role_t role) in ahc_validate_width() argument
2424 switch (*bus_width) { in ahc_validate_width()
2428 *bus_width = MSG_EXT_WDTR_BUS_16_BIT; in ahc_validate_width()
2433 *bus_width = MSG_EXT_WDTR_BUS_8_BIT; in ahc_validate_width()
2438 *bus_width = min((u_int)tinfo->user.width, *bus_width); in ahc_validate_width()
2440 *bus_width = min((u_int)tinfo->goal.width, *bus_width); in ahc_validate_width()
3082 u_int bus_width) in ahc_construct_wdtr() argument
3085 ahc->msgout_buf + ahc->msgout_index, bus_width); in ahc_construct_wdtr()
[all …]
Daic79xx_core.c147 u_int bus_width);
151 u_int bus_width, u_int ppr_options);
3808 u_int *bus_width, role_t role) in ahd_validate_width() argument
3810 switch (*bus_width) { in ahd_validate_width()
3814 *bus_width = MSG_EXT_WDTR_BUS_16_BIT; in ahd_validate_width()
3819 *bus_width = MSG_EXT_WDTR_BUS_8_BIT; in ahd_validate_width()
3824 *bus_width = min((u_int)tinfo->user.width, *bus_width); in ahd_validate_width()
3826 *bus_width = min((u_int)tinfo->goal.width, *bus_width); in ahd_validate_width()
4630 u_int bus_width) in ahd_construct_wdtr() argument
4633 ahd->msgout_buf + ahd->msgout_index, bus_width); in ahd_construct_wdtr()
[all …]
/drivers/mfd/
Dhtc-egpio.c294 if ((pdata->bus_width != 16) && (pdata->bus_width != 32)) in egpio_probe()
296 ei->bus_shift = fls(pdata->bus_width - 1) - 3; in egpio_probe()
/drivers/mmc/host/
Ds3cmci.h62 int bus_width; member
Dwbsd.h167 unsigned char bus_width; /* Current bus width */ member
Dwbsd.c576 if (host->bus_width == MMC_BUS_WIDTH_1) { in wbsd_prepare_data()
581 } else if (host->bus_width == MMC_BUS_WIDTH_4) { in wbsd_prepare_data()
898 BUG_ON(ios->bus_width != MMC_BUS_WIDTH_1); in wbsd_set_ios()
918 host->bus_width = ios->bus_width; in wbsd_set_ios()
Dtmio_mmc.c400 if (data->blksz < 4 && host->mmc->ios.bus_width == MMC_BUS_WIDTH_4) { in tmio_mmc_start_data()
473 switch (ios->bus_width) { in tmio_mmc_set_ios()
Datmel-mci.c810 switch (ios->bus_width) { in atmci_set_ios()
1465 if (slot_data->bus_width >= 4) in atmci_init_slot()
1632 if (pdata->slot[0].bus_width) { in atmci_probe()
1638 if (pdata->slot[1].bus_width) { in atmci_probe()
Dmxcmmc.c597 if (ios->bus_width == MMC_BUS_WIDTH_4) in mxcmci_set_ios()
604 if (ios->bus_width == MMC_BUS_WIDTH_4) in mxcmci_set_ios()
Ds3cmci.c877 if (host->bus_width == MMC_BUS_WIDTH_4) in s3cmci_setup_data()
1153 host->bus_width = ios->bus_width; in s3cmci_set_ios()
Dsdricoh_cs.c364 if (ios->bus_width == MMC_BUS_WIDTH_4) { in sdricoh_set_ios()
Dau1xmmc.c97 u32 bus_width; member
767 switch (ios->bus_width) { in au1xmmc_set_ios()
Dtifm_sd.c809 ios->power_mode, ios->bus_width); in tifm_sd_ios()
811 if (ios->bus_width == MMC_BUS_WIDTH_4) { in tifm_sd_ios()
/drivers/video/via/
Dioctl.h108 unsigned short bus_width; member
/drivers/scsi/sym53c8xx_2/
Dsym_nvram.h106 u_char bus_width; /* 0x08/0x10 */ member
Dsym_nvram.c108 tp->usr_width = (tn->bus_width == 0x8) ? 0 : 1; in sym_Symbios_setup_target()
179 tn->bus_width, in sym_display_Symbios_nvram()
/drivers/mtd/nand/
Dnandsim.c93 static uint bus_width = CONFIG_NANDSIM_BUS_WIDTH; variable
117 module_param(bus_width, uint, 0400);
140 MODULE_PARM_DESC(bus_width, "Chip's bus width (8- or 16-bit)");
2229 if (bus_width != 8 && bus_width != 16) { in ns_init_module()
2230 NS_ERR("wrong bus width (%d), use only 8 or 16\n", bus_width); in ns_init_module()
2276 if (bus_width == 16) { in ns_init_module()
/drivers/ata/
Dpata_at32.c317 info->smc.bus_width = 2; /* 16 bit data bus */ in pata_at32_probe()
/drivers/scsi/
Daic7xxx_old.c3798 aic7xxx_construct_wdtr(struct aic7xxx_host *p, unsigned char bus_width) in aic7xxx_construct_wdtr() argument
3803 p->msg_buf[p->msg_index++] = bus_width; in aic7xxx_construct_wdtr()
4914 unsigned char bus_width, new_bus_width; in aic7xxx_parse_msg() local
4997 bus_width = new_bus_width = target_scsirate & WIDEXFER; in aic7xxx_parse_msg()
5081 aic7xxx_validate_offset(p, syncrate, &new_offset, bus_width); in aic7xxx_parse_msg()
5137 bus_width = new_bus_width = p->msg_buf[3]; in aic7xxx_parse_msg()
5142 switch(bus_width) in aic7xxx_parse_msg()
5152 p->host_no, CTL_OF_SCB(scb), 8 * (0x01 << bus_width)); in aic7xxx_parse_msg()
5234 switch(bus_width) in aic7xxx_parse_msg()
5307 bus_width = new_bus_width = p->msg_buf[6]; in aic7xxx_parse_msg()
[all …]
Dipr.h591 u8 bus_width; member
949 u8 bus_width; member

12