Lines Matching defs:io
14 static int cxd2880_io_spi_read_reg(struct cxd2880_io *io,
24 if (!io || !io->if_object || !data)
30 spi = io->if_object;
62 static int cxd2880_io_spi_write_reg(struct cxd2880_io *io,
72 if (!io || !io->if_object || !data)
81 spi = io->if_object;
114 int cxd2880_io_spi_create(struct cxd2880_io *io,
117 if (!io || !spi)
120 io->read_regs = cxd2880_io_spi_read_reg;
121 io->write_regs = cxd2880_io_spi_write_reg;
122 io->write_reg = cxd2880_io_common_write_one_reg;
123 io->if_object = spi;
124 io->i2c_address_sys = 0;
125 io->i2c_address_demod = 0;
126 io->slave_select = slave_select;