Lines Matching refs:itdev
1468 struct ite_dev *itdev = NULL; in ite_probe() local
1476 itdev = kzalloc(sizeof(struct ite_dev), GFP_KERNEL); in ite_probe()
1477 if (!itdev) in ite_probe()
1484 itdev->rdev = rdev; in ite_probe()
1518 itdev->cir_addr = pnp_port_start(pdev, io_rsrc_no); in ite_probe()
1519 itdev->cir_irq = pnp_irq(pdev, 0); in ite_probe()
1522 spin_lock_init(&itdev->lock); in ite_probe()
1525 init_ir_raw_event(&itdev->rawir); in ite_probe()
1528 pnp_set_drvdata(pdev, itdev); in ite_probe()
1529 itdev->pdev = pdev; in ite_probe()
1532 init_waitqueue_head(&itdev->tx_queue); in ite_probe()
1533 init_waitqueue_head(&itdev->tx_ended); in ite_probe()
1536 itdev->params = *dev_desc; in ite_probe()
1540 itdev->params.sample_period = sample_period; in ite_probe()
1543 itdev->params.tx_carrier_freq = tx_carrier_freq; in ite_probe()
1546 itdev->params.tx_duty_cycle = tx_duty_cycle; in ite_probe()
1549 itdev->params.rx_low_carrier_freq = rx_low_carrier_freq; in ite_probe()
1552 itdev->params.rx_high_carrier_freq = rx_high_carrier_freq; in ite_probe()
1556 itdev->params.hw_tx_capable); in ite_probe()
1558 itdev->params.sample_period); in ite_probe()
1560 itdev->params.tx_carrier_freq); in ite_probe()
1562 itdev->params.tx_duty_cycle); in ite_probe()
1564 itdev->params.rx_low_carrier_freq); in ite_probe()
1566 itdev->params.rx_high_carrier_freq); in ite_probe()
1569 itdev->params.init_hardware(itdev); in ite_probe()
1572 rdev->priv = itdev; in ite_probe()
1583 itdev->params.sample_period; in ite_probe()
1585 itdev->params.sample_period; in ite_probe()
1588 if (itdev->params.hw_tx_capable) { in ite_probe()
1608 if (!request_region(itdev->cir_addr, in ite_probe()
1612 if (request_irq(itdev->cir_irq, ite_cir_isr, IRQF_SHARED, in ite_probe()
1613 ITE_DRIVER_NAME, (void *)itdev)) in ite_probe()
1621 release_region(itdev->cir_addr, itdev->params.io_region_size); in ite_probe()
1627 kfree(itdev); in ite_probe()