Searched refs:cgbc_device_data (Results 1 – 6 of 6) sorted by relevance
59 static int cgbc_wait_device(struct cgbc_device_data *cgbc) in cgbc_wait_device()97 static int cgbc_session_request(struct cgbc_device_data *cgbc) in cgbc_session_request()116 static void cgbc_session_release(struct cgbc_device_data *cgbc) in cgbc_session_release()122 static bool cgbc_command_lock(struct cgbc_device_data *cgbc) in cgbc_command_lock()129 static void cgbc_command_unlock(struct cgbc_device_data *cgbc) in cgbc_command_unlock()242 static int cgbc_map(struct cgbc_device_data *cgbc) in cgbc_map()283 struct cgbc_device_data *cgbc = dev_get_drvdata(dev); in cgbc_version_show()298 static int cgbc_get_version(struct cgbc_device_data *cgbc) in cgbc_get_version()315 static int cgbc_init_device(struct cgbc_device_data *cgbc) in cgbc_init_device()342 struct cgbc_device_data *cgbc; in cgbc_probe()[all …]
24 struct cgbc_device_data *cgbc;28 static int cgbc_gpio_cmd(struct cgbc_device_data *cgbc, in cgbc_gpio_cmd()39 struct cgbc_device_data *cgbc = gpio->cgbc; in cgbc_gpio_get()58 struct cgbc_device_data *cgbc = gpio->cgbc; in __cgbc_gpio_set()87 struct cgbc_device_data *cgbc = gpio->cgbc; in cgbc_gpio_direction_set()133 struct cgbc_device_data *cgbc = gpio->cgbc; in cgbc_gpio_get_direction()152 struct cgbc_device_data *cgbc = dev_get_drvdata(dev->parent); in cgbc_gpio_probe()
56 struct cgbc_device_data *cgbc;75 struct cgbc_device_data *cgbc = wdt_data->cgbc; in cgbc_wdt_start()108 struct cgbc_device_data *cgbc = wdt_data->cgbc; in cgbc_wdt_stop()120 struct cgbc_device_data *cgbc = wdt_data->cgbc; in cgbc_wdt_keepalive()168 struct cgbc_device_data *cgbc = dev_get_drvdata(pdev->dev.parent); in cgbc_wdt_probe()
32 struct cgbc_device_data { struct41 int cgbc_command(struct cgbc_device_data *cgbc, void *cmd, unsigned int cmd_size, argument
31 struct cgbc_device_data *cgbc;89 static int cgbc_hwmon_cmd(struct cgbc_device_data *cgbc, u8 index, u8 *data) in cgbc_hwmon_cmd()98 struct cgbc_device_data *cgbc = hwmon->cgbc; in cgbc_hwmon_probe_sensors()190 struct cgbc_device_data *cgbc = hwmon->cgbc; in cgbc_hwmon_read()272 struct cgbc_device_data *cgbc = dev_get_drvdata(pdev->dev.parent); in cgbc_hwmon_probe()
70 struct cgbc_device_data *cgbc;120 struct cgbc_device_data *cgbc = i2c->cgbc; in cgbc_i2c_get_status()137 struct cgbc_device_data *cgbc = i2c->cgbc; in cgbc_i2c_set_frequency()205 struct cgbc_device_data *cgbc = i2c->cgbc; in cgbc_i2c_xfer_msg()364 struct cgbc_device_data *cgbc = dev_get_drvdata(pdev->dev.parent); in cgbc_i2c_probe()