Lines Matching refs:itdev

1446 	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()
1507 init_waitqueue_head(&itdev->tx_ended); in ite_probe()
1510 itdev->params = *dev_desc; in ite_probe()
1514 itdev->params.sample_period = sample_period; in ite_probe()
1517 itdev->params.tx_carrier_freq = tx_carrier_freq; in ite_probe()
1520 itdev->params.tx_duty_cycle = tx_duty_cycle; in ite_probe()
1523 itdev->params.rx_low_carrier_freq = rx_low_carrier_freq; in ite_probe()
1526 itdev->params.rx_high_carrier_freq = rx_high_carrier_freq; in ite_probe()
1530 itdev->params.hw_tx_capable); in ite_probe()
1532 itdev->params.sample_period); in ite_probe()
1534 itdev->params.tx_carrier_freq); in ite_probe()
1536 itdev->params.tx_duty_cycle); in ite_probe()
1538 itdev->params.rx_low_carrier_freq); in ite_probe()
1540 itdev->params.rx_high_carrier_freq); in ite_probe()
1543 itdev->params.init_hardware(itdev); in ite_probe()
1546 rdev->priv = itdev; in ite_probe()
1554 itdev->params.sample_period; in ite_probe()
1558 itdev->params.sample_period; in ite_probe()
1560 itdev->params.sample_period; in ite_probe()
1563 if (itdev->params.hw_tx_capable) { in ite_probe()
1583 if (!request_region(itdev->cir_addr, in ite_probe()
1587 if (request_irq(itdev->cir_irq, ite_cir_isr, IRQF_SHARED, in ite_probe()
1588 ITE_DRIVER_NAME, (void *)itdev)) in ite_probe()
1596 release_region(itdev->cir_addr, itdev->params.io_region_size); in ite_probe()
1602 kfree(itdev); in ite_probe()