Searched refs:hexium (Results 1 – 2 of 2) sorted by relevance
/linux-5.19.10/drivers/media/pci/saa7146/ |
D | hexium_gemini.c | 54 struct hexium struct 152 struct hexium *hexium = (struct hexium *) dev->ext_priv; in hexium_init_done() local 161 …if (0 != i2c_smbus_xfer(&hexium->i2c_adapter, 0x6c, 0, I2C_SMBUS_WRITE, i, I2C_SMBUS_BYTE_DATA, &d… in hexium_init_done() 170 static int hexium_set_input(struct hexium *hexium, int input) in hexium_set_input() argument 177 …if (0 != i2c_smbus_xfer(&hexium->i2c_adapter, 0x6c, 0, I2C_SMBUS_WRITE, hexium_input_select[input]… in hexium_set_input() 184 static int hexium_set_standard(struct hexium *hexium, struct hexium_data *vdec) in hexium_set_standard() argument 193 …if (0 != i2c_smbus_xfer(&hexium->i2c_adapter, 0x6c, 0, I2C_SMBUS_WRITE, vdec[i].adr, I2C_SMBUS_BYT… in hexium_set_standard() 219 struct hexium *hexium = (struct hexium *) dev->ext_priv; in vidioc_g_input() local 221 *input = hexium->cur_input; in vidioc_g_input() 230 struct hexium *hexium = (struct hexium *) dev->ext_priv; in vidioc_s_input() local [all …]
|
D | hexium_orion.c | 52 struct hexium struct 200 struct hexium *hexium = NULL; in hexium_probe() local 211 hexium = kzalloc(sizeof(*hexium), GFP_KERNEL); in hexium_probe() 212 if (!hexium) in hexium_probe() 222 strscpy(hexium->i2c_adapter.name, "hexium orion", in hexium_probe() 223 sizeof(hexium->i2c_adapter.name)); in hexium_probe() 224 saa7146_i2c_adapter_prepare(dev, &hexium->i2c_adapter, SAA7146_I2C_BUS_BIT_RATE_480); in hexium_probe() 225 if (i2c_add_adapter(&hexium->i2c_adapter) < 0) { in hexium_probe() 227 kfree(hexium); in hexium_probe() 242 dev->ext_priv = hexium; in hexium_probe() [all …]
|