Lines Matching refs:qca

74 	struct qcaspi *qca = s->private;
77 (unsigned long)qca->buffer_size);
81 if (qca->txr.skb[qca->txr.head] == NULL)
83 else if (qca->txr.skb[qca->txr.tail])
91 qca->txr.size);
94 (unsigned int)qca->sync);
95 switch (qca->sync) {
112 qca->spi_dev->irq);
114 qca->intr_req);
116 qca->intr_svc);
119 (unsigned long)qca->spi_dev->max_speed_hz);
121 qca->spi_dev->mode);
123 (unsigned int)qca->spi_dev->chip_select);
125 (unsigned int)qca->legacy_mode);
127 (unsigned int)qca->burst_len);
134 qcaspi_init_device_debugfs(struct qcaspi *qca)
136 qca->device_root = debugfs_create_dir(dev_name(&qca->net_dev->dev),
139 debugfs_create_file("info", S_IFREG | 0444, qca->device_root, qca,
144 qcaspi_remove_device_debugfs(struct qcaspi *qca)
146 debugfs_remove_recursive(qca->device_root);
152 qcaspi_init_device_debugfs(struct qcaspi *qca)
157 qcaspi_remove_device_debugfs(struct qcaspi *qca)
166 struct qcaspi *qca = netdev_priv(dev);
171 strlcpy(p->bus_info, dev_name(&qca->spi_dev->dev),
193 struct qcaspi *qca = netdev_priv(dev);
194 struct qcaspi_stats *st = &qca->stats;
233 struct qcaspi *qca = netdev_priv(dev);
243 qcaspi_read_register(qca, qcaspi_spi_regs[i], &value);
252 struct qcaspi *qca = netdev_priv(dev);
257 ring->tx_pending = qca->txr.count;
263 struct qcaspi *qca = netdev_priv(dev);
270 if (qca->spi_thread)
271 kthread_park(qca->spi_thread);
273 qca->txr.count = max_t(u32, ring->tx_pending, TX_RING_MIN_LEN);
274 qca->txr.count = min_t(u16, qca->txr.count, TX_RING_MAX_LEN);
276 if (qca->spi_thread)
277 kthread_unpark(qca->spi_thread);