Lines Matching full:ddc
42 struct ast_ddc *ddc = data; in ast_ddc_algo_bit_data_setsda() local
43 struct ast_device *ast = ddc->ast; in ast_ddc_algo_bit_data_setsda()
58 struct ast_ddc *ddc = data; in ast_ddc_algo_bit_data_setscl() local
59 struct ast_device *ast = ddc->ast; in ast_ddc_algo_bit_data_setscl()
74 struct ast_ddc *ddc = i2c_get_adapdata(adapter); in ast_ddc_algo_bit_data_pre_xfer() local
75 struct ast_device *ast = ddc->ast; in ast_ddc_algo_bit_data_pre_xfer()
88 struct ast_ddc *ddc = i2c_get_adapdata(adapter); in ast_ddc_algo_bit_data_post_xfer() local
89 struct ast_device *ast = ddc->ast; in ast_ddc_algo_bit_data_post_xfer()
96 struct ast_ddc *ddc = data; in ast_ddc_algo_bit_data_getsda() local
97 struct ast_device *ast = ddc->ast; in ast_ddc_algo_bit_data_getsda()
118 struct ast_ddc *ddc = data; in ast_ddc_algo_bit_data_getscl() local
119 struct ast_device *ast = ddc->ast; in ast_ddc_algo_bit_data_getscl()
140 struct ast_ddc *ddc = res; in ast_ddc_release() local
142 i2c_del_adapter(&ddc->adapter); in ast_ddc_release()
148 struct ast_ddc *ddc; in ast_ddc_create() local
153 ddc = drmm_kzalloc(dev, sizeof(*ddc), GFP_KERNEL); in ast_ddc_create()
154 if (!ddc) in ast_ddc_create()
156 ddc->ast = ast; in ast_ddc_create()
158 bit = &ddc->bit; in ast_ddc_create()
159 bit->data = ddc; in ast_ddc_create()
169 adapter = &ddc->adapter; in ast_ddc_create()
173 snprintf(adapter->name, sizeof(adapter->name), "AST DDC bus"); in ast_ddc_create()
174 i2c_set_adapdata(adapter, ddc); in ast_ddc_create()
182 ret = drmm_add_action_or_reset(dev, ast_ddc_release, ddc); in ast_ddc_create()
186 return &ddc->adapter; in ast_ddc_create()