Lines Matching refs:sio_data
1371 struct f71805f_sio_data *sio_data = dev_get_platdata(&pdev->dev); in f71805f_probe() local
1395 data->name = names[sio_data->kind]; in f71805f_probe()
1401 switch (sio_data->kind) { in f71805f_probe()
1407 if (sio_data->fnsel1 & 0x01) in f71805f_probe()
1409 if (sio_data->fnsel1 & 0x02) in f71805f_probe()
1506 const struct f71805f_sio_data *sio_data) in f71805f_device_add() argument
1533 err = platform_device_add_data(pdev, sio_data, in f71805f_device_add()
1555 struct f71805f_sio_data *sio_data) in f71805f_find() argument
1577 sio_data->kind = f71805f; in f71805f_find()
1580 sio_data->kind = f71872f; in f71805f_find()
1581 sio_data->fnsel1 = superio_inb(sioaddr, SIO_REG_FNSEL1); in f71805f_find()
1603 names[sio_data->kind], *address, in f71805f_find()
1615 struct f71805f_sio_data sio_data; in f71805f_init() local
1617 if (f71805f_find(0x2e, &address, &sio_data) in f71805f_init()
1618 && f71805f_find(0x4e, &address, &sio_data)) in f71805f_init()
1626 err = f71805f_device_add(address, &sio_data); in f71805f_init()