Searched refs:std_cfg (Results 1 – 2 of 2) sorted by relevance
/drivers/i2c/busses/ |
D | i2c-bcm-kona.c | 155 const struct bus_speed_cfg *std_cfg; member 514 writel((dev->std_cfg->prescale << TIM_PRESCALE_SHIFT) | in bcm_kona_i2c_config_timing() 515 (dev->std_cfg->time_p << TIM_P_SHIFT) | in bcm_kona_i2c_config_timing() 516 (dev->std_cfg->no_div << TIM_NO_DIV_SHIFT) | in bcm_kona_i2c_config_timing() 517 (dev->std_cfg->time_div << TIM_DIV_SHIFT), in bcm_kona_i2c_config_timing() 520 writel((dev->std_cfg->time_m << CLKEN_M_SHIFT) | in bcm_kona_i2c_config_timing() 521 (dev->std_cfg->time_n << CLKEN_N_SHIFT) | in bcm_kona_i2c_config_timing() 716 dev->std_cfg = &std_cfg_table[BCM_SPD_100K]; in bcm_kona_i2c_assign_bus_speed() 719 dev->std_cfg = &std_cfg_table[BCM_SPD_400K]; in bcm_kona_i2c_assign_bus_speed() 722 dev->std_cfg = &std_cfg_table[BCM_SPD_1MHZ]; in bcm_kona_i2c_assign_bus_speed() [all …]
|
/drivers/media/tuners/ |
D | tda18271-fe.c | 1076 #define tda18271_update_std(std_cfg, name) do { \ argument 1077 if (map->std_cfg.if_freq + \ 1078 map->std_cfg.agc_mode + map->std_cfg.std + \ 1079 map->std_cfg.if_lvl + map->std_cfg.rfagc_top > 0) { \ 1081 memcpy(&std->std_cfg, &map->std_cfg, \ 1085 #define tda18271_dump_std_item(std_cfg, name) do { \ argument 1088 name, std->std_cfg.if_freq, \ 1089 std->std_cfg.agc_mode, std->std_cfg.std, \ 1090 std->std_cfg.if_lvl, std->std_cfg.rfagc_top); \
|