Home
last modified time | relevance | path

Searched refs:itdev (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.4/drivers/ata/
Dpata_it821x.c129 struct it821x_dev *itdev = ap->private_data; in it821x_program() local
134 if (itdev->clock_mode == ATA_66) in it821x_program()
156 struct it821x_dev *itdev = ap->private_data; in it821x_program_udma() local
163 if (itdev->clock_mode == ATA_66) in it821x_program_udma()
167 if (itdev->timing10 == 0) in it821x_program_udma()
188 struct it821x_dev *itdev = ap->private_data; in it821x_clock_strategy() local
197 if (itdev->want[0][0] > itdev->want[1][0]) { in it821x_clock_strategy()
198 clock = itdev->want[0][1]; in it821x_clock_strategy()
199 altclock = itdev->want[1][1]; in it821x_clock_strategy()
201 clock = itdev->want[1][1]; in it821x_clock_strategy()
[all …]
/Linux-v5.4/drivers/ide/
Dit821x.c116 struct it821x_dev *itdev = ide_get_hwifdata(hwif); in it821x_program() local
121 if(itdev->clock_mode == ATA_66) in it821x_program()
142 struct it821x_dev *itdev = ide_get_hwifdata(hwif); in it821x_program_udma() local
147 if(itdev->clock_mode == ATA_66) in it821x_program_udma()
152 if (itdev->timing10 == 0) in it821x_program_udma()
172 struct it821x_dev *itdev = ide_get_hwifdata(hwif); in it821x_clock_strategy() local
177 if(itdev->want[0][0] > itdev->want[1][0]) { in it821x_clock_strategy()
178 clock = itdev->want[0][1]; in it821x_clock_strategy()
179 altclock = itdev->want[1][1]; in it821x_clock_strategy()
181 clock = itdev->want[1][1]; in it821x_clock_strategy()
[all …]
/Linux-v5.4/drivers/media/rc/
Dite-cir.c1446 struct ite_dev *itdev = NULL; in ite_probe() local
1454 itdev = kzalloc(sizeof(struct ite_dev), GFP_KERNEL); in ite_probe()
1455 if (!itdev) in ite_probe()
1462 itdev->rdev = rdev; in ite_probe()
1495 itdev->cir_addr = pnp_port_start(pdev, io_rsrc_no); in ite_probe()
1496 itdev->cir_irq = pnp_irq(pdev, 0); in ite_probe()
1499 spin_lock_init(&itdev->lock); in ite_probe()
1502 pnp_set_drvdata(pdev, itdev); in ite_probe()
1503 itdev->pdev = pdev; in ite_probe()
1506 init_waitqueue_head(&itdev->tx_queue); in ite_probe()
[all …]