Home
last modified time | relevance | path

Searched refs:channel_data (Results 1 – 5 of 5) sorted by relevance

/linux-5.19.10/drivers/pwm/
Dpwm-meson.c222 struct meson_pwm_channel_data *channel_data; in meson_pwm_enable() local
226 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() local
333 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 …]
/linux-5.19.10/drivers/media/platform/st/sti/c8sectpfe/
Dc8sectpfe-core.c68 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 …]
Dc8sectpfe-common.c207 tsin = fei->channel_data[n]; in c8sectpfe_tuner_unregister_frontend()
241 tsin = fei->channel_data[n]; in c8sectpfe_tuner_register_frontend()
Dc8sectpfe-core.h96 struct channel_info *channel_data[C8SECTPFE_MAX_TSIN_CHAN]; member
/linux-5.19.10/drivers/iio/adc/
Dti-ads1015.c251 struct ads1015_channel_data channel_data[ADS1015_CHANNELS]; member
409 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 …]