Home
last modified time | relevance | path

Searched refs:dev_mode (Results 1 – 2 of 2) sorted by relevance

/drivers/ata/
Dsata_sil.c367 u32 tmp, dev_mode[2] = { }; in sil_set_mode() local
376 dev_mode[dev->devno] = 0; /* PIO0/1/2 */ in sil_set_mode()
378 dev_mode[dev->devno] = 1; /* PIO3/4 */ in sil_set_mode()
380 dev_mode[dev->devno] = 3; /* UDMA */ in sil_set_mode()
386 tmp |= dev_mode[0]; in sil_set_mode()
387 tmp |= (dev_mode[1] << 4); in sil_set_mode()
/drivers/scsi/
Ddc395x.c282 u8 dev_mode; member
559 module_param_named(dev_mode, cfg_data[CFG_DEV_MODE].value, int, 0);
560 MODULE_PARM_DESC(dev_mode, "Device mode.");
1282 dcb->dev_mode = eeprom->target[dcb->target_id].cfg0; in reset_dev_param()
1285 if (!(dcb->dev_mode & NTC_DO_WIDE_NEGO) in reset_dev_param()
1412 if (!(dcb->dev_mode & NTC_DO_SYNC_NEGO)) { in build_sdtr()
1432 u8 wide = ((dcb->dev_mode & NTC_DO_WIDE_NEGO) & in build_wdtr()
2732 if (!(dcb->dev_mode & NTC_DO_SYNC_NEGO)) in msgin_set_sync()
2813 u8 wide = (dcb->dev_mode & NTC_DO_WIDE_NEGO in msgin_set_wide()
3174 if (!(dcb->dev_mode & NTC_DO_DISCONNECT)) in reselect()
[all …]