Searched refs:channel_data (Results 1 – 9 of 9) sorted by relevance
80 struct rz_mtu3_pwm_channel channel_data[RZ_MTU3_MAX_HW_CHANNELS]; member134 struct rz_mtu3_pwm_channel *priv = rz_mtu3_pwm->channel_data; in rz_mtu3_get_channel()173 ch = priv - rz_mtu3_pwm->channel_data; in rz_mtu3_pwm_request()202 ch = priv - rz_mtu3_pwm->channel_data; in rz_mtu3_pwm_free()225 ch = priv - rz_mtu3_pwm->channel_data; in rz_mtu3_pwm_enable()251 ch = priv - rz_mtu3_pwm->channel_data; in rz_mtu3_pwm_disable()331 ch = priv - rz_mtu3_pwm->channel_data; in rz_mtu3_pwm_config()494 rz_mtu3_pwm->channel_data[j].mtu = &parent_ddata->channels[i]; in rz_mtu3_pwm_probe()495 rz_mtu3_pwm->channel_data[j].mtu->dev = dev; in rz_mtu3_pwm_probe()496 rz_mtu3_pwm->channel_data[j].map = &channel_map[j]; in rz_mtu3_pwm_probe()
211 struct meson_pwm_channel_data *channel_data; in meson_pwm_enable() local216 channel_data = &meson_pwm_per_channel_data[pwm->hwpwm]; in meson_pwm_enable()226 writel(value, meson->base + channel_data->reg_offset); in meson_pwm_enable()229 value |= channel_data->pwm_en_mask; in meson_pwm_enable()311 struct meson_pwm_channel_data *channel_data; in meson_pwm_get_state() local316 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()
71 channel = fei->channel_data[chan_num]; in c8sectpfe_timer_interrupt()180 channel = fei->channel_data[stdemux->tsin_index]; in c8sectpfe_start_feed()276 channel = fei->channel_data[stdemux->tsin_index]; in c8sectpfe_stop_feed()296 channel = fei->channel_data[stdemux->tsin_index]; in c8sectpfe_stop_feed()367 if (!fei->channel_data[i]) in find_channel()370 if (fei->channel_data[i]->tsin_id == tsin_num) in find_channel()371 return fei->channel_data[i]; in find_channel()748 fei->channel_data[index] = devm_kzalloc(dev, in c8sectpfe_probe()752 if (!fei->channel_data[index]) { in c8sectpfe_probe()757 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()
98 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()941 data->channel_data[channel].pga = pga; in ads1015_client_get_channels_config()[all …]
59 if (rvu->fwdata->channel_data.valid) { in rvu_sdp_init()62 pfvf->sdp_info = &rvu->fwdata->channel_data.info; in rvu_sdp_init()
472 struct channel_fwdata channel_data; member
2152 const struct gsi_channel_data *channel_data; in gsi_channel_data_valid() local2173 channel_data = &data->channel; in gsi_channel_data_valid()2175 if (!channel_data->tlv_count || in gsi_channel_data_valid()2176 channel_data->tlv_count > GSI_TLV_MAX) { in gsi_channel_data_valid()2178 channel_id, channel_data->tlv_count, GSI_TLV_MAX); in gsi_channel_data_valid()2182 if (command && IPA_COMMAND_TRANS_TRE_MAX > channel_data->tlv_count) { in gsi_channel_data_valid()2185 channel_data->tlv_count); in gsi_channel_data_valid()2194 if (channel_data->tre_count < 2 * channel_data->tlv_count - 1) { in gsi_channel_data_valid()2196 channel_id, channel_data->tlv_count, in gsi_channel_data_valid()2197 channel_data->tre_count); in gsi_channel_data_valid()[all …]