Searched refs:channel_data (Results 1 – 5 of 5) sorted by relevance
222 struct meson_pwm_channel_data *channel_data; in meson_pwm_enable() local226 channel_data = &meson_pwm_per_channel_data[pwm->hwpwm]; in meson_pwm_enable()231 value &= ~(MISC_CLK_DIV_MASK << channel_data->clk_div_shift); in meson_pwm_enable()232 value |= channel->pre_div << channel_data->clk_div_shift; in meson_pwm_enable()233 value |= channel_data->clk_en_mask; in meson_pwm_enable()238 writel(value, meson->base + channel_data->reg_offset); in meson_pwm_enable()241 value |= channel_data->pwm_en_mask; in meson_pwm_enable()325 struct meson_pwm_channel_data *channel_data; in meson_pwm_get_state() local333 channel_data = &meson_pwm_per_channel_data[pwm->hwpwm]; in meson_pwm_get_state()337 tmp = channel_data->pwm_en_mask | channel_data->clk_en_mask; in meson_pwm_get_state()[all …]
68 channel = fei->channel_data[chan_num]; in c8sectpfe_timer_interrupt()177 channel = fei->channel_data[stdemux->tsin_index]; in c8sectpfe_start_feed()273 channel = fei->channel_data[stdemux->tsin_index]; in c8sectpfe_stop_feed()293 channel = fei->channel_data[stdemux->tsin_index]; in c8sectpfe_stop_feed()365 if (!fei->channel_data[i]) in find_channel()368 if (fei->channel_data[i]->tsin_id == tsin_num) in find_channel()369 return fei->channel_data[i]; in find_channel()761 fei->channel_data[index] = devm_kzalloc(dev, in c8sectpfe_probe()765 if (!fei->channel_data[index]) { in c8sectpfe_probe()770 tsin = fei->channel_data[index]; in c8sectpfe_probe()[all …]
207 tsin = fei->channel_data[n]; in c8sectpfe_tuner_unregister_frontend()241 tsin = fei->channel_data[n]; in c8sectpfe_tuner_register_frontend()
96 struct channel_info *channel_data[C8SECTPFE_MAX_TSIN_CHAN]; member
251 struct ads1015_channel_data channel_data[ADS1015_CHANNELS]; member409 pga = data->channel_data[chan].pga; in ads1015_get_adc_result()410 dr = data->channel_data[chan].data_rate; in ads1015_get_adc_result()488 data->channel_data[chan->address].pga = i; in ads1015_set_scale()502 data->channel_data[chan].data_rate = i; in ads1015_set_data_rate()578 idx = data->channel_data[chan->address].pga; in ads1015_read_raw()584 idx = data->channel_data[chan->address].data_rate; in ads1015_read_raw()642 dr = data->channel_data[chan->address].data_rate; in ads1015_read_event()688 dr = data->channel_data[chan->address].data_rate; in ads1015_write_event()944 data->channel_data[channel].pga = pga; in ads1015_client_get_channels_config()[all …]