Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/staging/greybus/
Dlight.c46 struct gb_lights *glights; member
69 return channel->light->glights->connection; in get_conn_from_channel()
74 return light->glights->connection; in get_conn_from_light()
987 static int gb_lights_light_config(struct gb_lights *glights, u8 id) in gb_lights_light_config() argument
989 struct gb_light *light = &glights->lights[id]; in gb_lights_light_config()
995 light->glights = glights; in gb_lights_light_config()
1000 ret = gb_operation_sync(glights->connection, in gb_lights_light_config()
1101 static void gb_lights_release(struct gb_lights *glights) in gb_lights_release() argument
1105 if (!glights) in gb_lights_release()
1108 mutex_lock(&glights->lights_lock); in gb_lights_release()
[all …]