Home
last modified time | relevance | path

Searched refs:hexium (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/media/pci/saa7146/
H A Dhexium_gemini.c55 struct hexium struct
153 struct hexium *hexium = (struct hexium *) dev->ext_priv; in hexium_init_done() local
162 …if (0 != i2c_smbus_xfer(&hexium->i2c_adapter, 0x6c, 0, I2C_SMBUS_WRITE, i, I2C_SMBUS_BYTE_DATA, &d… in hexium_init_done()
171 static int hexium_set_input(struct hexium *hexium, int input) in hexium_set_input() argument
178 …if (0 != i2c_smbus_xfer(&hexium->i2c_adapter, 0x6c, 0, I2C_SMBUS_WRITE, hexium_input_select[input]… in hexium_set_input()
185 static int hexium_set_standard(struct hexium *hexium, struct hexium_data *vdec) in hexium_set_standard() argument
194 …if (0 != i2c_smbus_xfer(&hexium->i2c_adapter, 0x6c, 0, I2C_SMBUS_WRITE, vdec[i].adr, I2C_SMBUS_BYT… in hexium_set_standard()
220 struct hexium *hexium = (struct hexium *) dev->ext_priv; in vidioc_g_input() local
222 *input = hexium->cur_input; in vidioc_g_input()
231 struct hexium *hexium = (struct hexium *) dev->ext_priv; in vidioc_s_input() local
[all …]
H A Dhexium_orion.c53 struct hexium struct
201 struct hexium *hexium = NULL; in hexium_probe() local
212 hexium = kzalloc(sizeof(*hexium), GFP_KERNEL); in hexium_probe()
213 if (!hexium) in hexium_probe()
223 strscpy(hexium->i2c_adapter.name, "hexium orion", in hexium_probe()
224 sizeof(hexium->i2c_adapter.name)); in hexium_probe()
225 saa7146_i2c_adapter_prepare(dev, &hexium->i2c_adapter, SAA7146_I2C_BUS_BIT_RATE_480); in hexium_probe()
226 if (i2c_add_adapter(&hexium->i2c_adapter) < 0) { in hexium_probe()
228 kfree(hexium); in hexium_probe()
243 dev->ext_priv = hexium; in hexium_probe()
[all …]