Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/pwm/
Dpwm-rz-mtu3.c82 struct rz_mtu3_pwm_channel channel_data[RZ_MTU3_MAX_HW_CHANNELS]; member
136 struct rz_mtu3_pwm_channel *priv = rz_mtu3_pwm->channel_data; in rz_mtu3_get_channel()
175 ch = priv - rz_mtu3_pwm->channel_data; in rz_mtu3_pwm_request()
204 ch = priv - rz_mtu3_pwm->channel_data; in rz_mtu3_pwm_free()
227 ch = priv - rz_mtu3_pwm->channel_data; in rz_mtu3_pwm_enable()
253 ch = priv - rz_mtu3_pwm->channel_data; in rz_mtu3_pwm_disable()
333 ch = priv - rz_mtu3_pwm->channel_data; in rz_mtu3_pwm_config()
491 rz_mtu3_pwm->channel_data[j].mtu = &parent_ddata->channels[i]; in rz_mtu3_pwm_probe()
492 rz_mtu3_pwm->channel_data[j].mtu->dev = dev; in rz_mtu3_pwm_probe()
493 rz_mtu3_pwm->channel_data[j].map = &channel_map[j]; in rz_mtu3_pwm_probe()
Dpwm-meson.c209 struct meson_pwm_channel_data *channel_data; in meson_pwm_enable() local
214 channel_data = &meson_pwm_per_channel_data[pwm->hwpwm]; in meson_pwm_enable()
224 writel(value, meson->base + channel_data->reg_offset); in meson_pwm_enable()
227 value |= channel_data->pwm_en_mask; in meson_pwm_enable()
308 struct meson_pwm_channel_data *channel_data; in meson_pwm_get_state() local
316 channel_data = &meson_pwm_per_channel_data[pwm->hwpwm]; in meson_pwm_get_state()
319 state->enabled = value & channel_data->pwm_en_mask; in meson_pwm_get_state()
321 value = readl(meson->base + channel_data->reg_offset); in meson_pwm_get_state()
/linux-6.6.21/drivers/media/platform/st/sti/c8sectpfe/
Dc8sectpfe-core.c72 channel = fei->channel_data[chan_num]; in c8sectpfe_timer_interrupt()
181 channel = fei->channel_data[stdemux->tsin_index]; in c8sectpfe_start_feed()
277 channel = fei->channel_data[stdemux->tsin_index]; in c8sectpfe_stop_feed()
297 channel = fei->channel_data[stdemux->tsin_index]; in c8sectpfe_stop_feed()
368 if (!fei->channel_data[i]) in find_channel()
371 if (fei->channel_data[i]->tsin_id == tsin_num) in find_channel()
372 return fei->channel_data[i]; in find_channel()
757 fei->channel_data[index] = devm_kzalloc(dev, in c8sectpfe_probe()
761 if (!fei->channel_data[index]) { in c8sectpfe_probe()
766 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.h98 struct channel_info *channel_data[C8SECTPFE_MAX_TSIN_CHAN]; member
/linux-6.6.21/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 …]
/linux-6.6.21/drivers/net/ipa/
Dgsi.c2154 const struct gsi_channel_data *channel_data; in gsi_channel_data_valid() local
2175 channel_data = &data->channel; in gsi_channel_data_valid()
2177 if (!channel_data->tlv_count || in gsi_channel_data_valid()
2178 channel_data->tlv_count > GSI_TLV_MAX) { in gsi_channel_data_valid()
2180 channel_id, channel_data->tlv_count, GSI_TLV_MAX); in gsi_channel_data_valid()
2184 if (command && IPA_COMMAND_TRANS_TRE_MAX > channel_data->tlv_count) { in gsi_channel_data_valid()
2187 channel_data->tlv_count); in gsi_channel_data_valid()
2196 if (channel_data->tre_count < 2 * channel_data->tlv_count - 1) { in gsi_channel_data_valid()
2198 channel_id, channel_data->tlv_count, in gsi_channel_data_valid()
2199 channel_data->tre_count); in gsi_channel_data_valid()
[all …]