Searched refs:rs9 (Results 1 – 1 of 1) sorted by relevance
159 static u8 rs9_calc_dif(const struct rs9_driver_data *rs9, int idx) in rs9_calc_dif() argument166 return BIT(idx + rs9->chip_info->outshift); in rs9_calc_dif()169 static int rs9_get_output_config(struct rs9_driver_data *rs9, int idx) in rs9_get_output_config() argument171 struct i2c_client *client = rs9->client; in rs9_get_output_config()172 u8 dif = rs9_calc_dif(rs9, idx); in rs9_get_output_config()179 rs9->clk_dif_sr |= dif; in rs9_get_output_config()191 rs9->clk_dif_sr &= ~dif; in rs9_get_output_config()193 rs9->clk_dif_sr |= dif; in rs9_get_output_config()202 static int rs9_get_common_config(struct rs9_driver_data *rs9) in rs9_get_common_config() argument204 struct i2c_client *client = rs9->client; in rs9_get_common_config()[all …]