Lines Matching refs:spidev
26 struct spi_device *spidev; member
147 dev_dbg(&mc13xxx->spidev->dev, "wait for %s from %pf\n", in mc13xxx_lock()
152 dev_dbg(&mc13xxx->spidev->dev, "%s from %pf\n", in mc13xxx_lock()
159 dev_dbg(&mc13xxx->spidev->dev, "%s from %pf\n", in mc13xxx_unlock()
188 ret = spi_sync(mc13xxx->spidev, &m); in mc13xxx_reg_read()
198 dev_vdbg(&mc13xxx->spidev->dev, "[0x%02x] -> 0x%06x\n", offset, *val); in mc13xxx_reg_read()
213 dev_vdbg(&mc13xxx->spidev->dev, "[0x%02x] <- 0x%06x\n", offset, val); in mc13xxx_reg_write()
229 ret = spi_sync(mc13xxx->spidev, &m); in mc13xxx_reg_write()
442 dev_err(&mc13xxx->spidev->dev, in mc13xxx_irq_handle()
522 dev_info(&mc13xxx->spidev->dev, "%s: rev: %d.%d, " in mc13xxx_identify()
535 spi_get_device_id(mc13xxx->spidev); in mc13xxx_identify()
537 dev_warn(&mc13xxx->spidev->dev, "device id doesn't " in mc13xxx_identify()
547 spi_get_device_id(mc13xxx->spidev); in mc13xxx_get_chipname()
595 dev_dbg(&mc13xxx->spidev->dev, "%s\n", __func__); in mc13xxx_adc_do_conversion()
640 dev_dbg(&mc13xxx->spidev->dev, "%s: request irq\n", __func__); in mc13xxx_adc_do_conversion()
698 return mfd_add_devices(&mc13xxx->spidev->dev, -1, &cell, 1, NULL, 0); in mc13xxx_add_subdevice_pdata()
709 struct device_node *np = mc13xxx->spidev->dev.of_node; in mc13xxx_probe_flags_dt()
777 mc13xxx->spidev = spi; in mc13xxx_probe()
845 free_irq(mc13xxx->spidev->irq, mc13xxx); in mc13xxx_remove()