Lines Matching refs:connection
18 struct gb_connection *connection; member
34 ret = gb_operation_sync(pwmc->connection, GB_PWM_TYPE_PWM_COUNT, in gb_pwm_count_operation()
59 ret = gb_operation_sync(pwmc->connection, GB_PWM_TYPE_ACTIVATE, in gb_pwm_activate_operation()
84 ret = gb_operation_sync(pwmc->connection, GB_PWM_TYPE_DEACTIVATE, in gb_pwm_deactivate_operation()
111 ret = gb_operation_sync(pwmc->connection, GB_PWM_TYPE_CONFIG, in gb_pwm_config_operation()
137 ret = gb_operation_sync(pwmc->connection, GB_PWM_TYPE_POLARITY, in gb_pwm_set_polarity_operation()
162 ret = gb_operation_sync(pwmc->connection, GB_PWM_TYPE_ENABLE, in gb_pwm_enable_operation()
182 ret = gb_operation_sync(pwmc->connection, GB_PWM_TYPE_DISABLE, in gb_pwm_disable_operation()
267 struct gb_connection *connection; in gb_pwm_probe() local
276 connection = gb_connection_create(gbphy_dev->bundle, in gb_pwm_probe()
279 if (IS_ERR(connection)) { in gb_pwm_probe()
280 ret = PTR_ERR(connection); in gb_pwm_probe()
284 pwmc->connection = connection; in gb_pwm_probe()
285 gb_connection_set_data(connection, pwmc); in gb_pwm_probe()
288 ret = gb_connection_enable(connection); in gb_pwm_probe()
314 gb_connection_disable(connection); in gb_pwm_probe()
316 gb_connection_destroy(connection); in gb_pwm_probe()
325 struct gb_connection *connection = pwmc->connection; in gb_pwm_remove() local
333 gb_connection_disable(connection); in gb_pwm_remove()
334 gb_connection_destroy(connection); in gb_pwm_remove()