Home
last modified time | relevance | path

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

/openbmc/linux/drivers/ata/
H A Dpata_cs5535.c97 int cmdmode = mode; in cs5535_set_piomode() local
102 cmdmode = min(mode, pairmode); in cs5535_set_piomode()
104 if (cmdmode < pairmode) in cs5535_set_piomode()
106 pio_cmd_timings[cmdmode] << 16 | pio_timings[pairmode], 0); in cs5535_set_piomode()
110 pio_cmd_timings[cmdmode] << 16 | pio_timings[mode], 0); in cs5535_set_piomode()
H A Dpata_cs5536.c165 int cmdmode = mode; in cs5536_set_piomode() local
170 cmdmode = min(mode, pair->pio_mode - XFER_PIO_0); in cs5536_set_piomode()
180 cast |= cmd_timings[cmdmode] << IDE_CAST_CMD_SHIFT; in cs5536_set_piomode()