Home
last modified time | relevance | path

Searched refs:chan_cfg (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/media/platform/ti/davinci/
H A Dvpif_display.c680 struct vpif_display_chan_config *chan_cfg; in vpif_s_std() local
687 chan_cfg = &config->chan_config[ch->channel_id]; in vpif_s_std()
688 output = chan_cfg->outputs[ch->output_idx].output; in vpif_s_std()
727 struct vpif_display_chan_config *chan_cfg; in vpif_g_std() local
733 chan_cfg = &config->chan_config[ch->channel_id]; in vpif_g_std()
734 output = chan_cfg->outputs[ch->output_idx].output; in vpif_g_std()
749 struct vpif_display_chan_config *chan_cfg; in vpif_enum_output() local
751 chan_cfg = &config->chan_config[ch->channel_id]; in vpif_enum_output()
752 if (output->index >= chan_cfg->output_count) { in vpif_enum_output()
757 *output = chan_cfg->outputs[output->index].output; in vpif_enum_output()
[all …]
H A Dvpif_capture.c655 struct vpif_capture_chan_config *chan_cfg, in vpif_input_to_subdev() argument
664 if (!chan_cfg) in vpif_input_to_subdev()
666 if (input_index >= chan_cfg->input_count) in vpif_input_to_subdev()
668 subdev_name = chan_cfg->inputs[input_index].subdev_name; in vpif_input_to_subdev()
694 struct vpif_capture_chan_config *chan_cfg = in vpif_set_input() local
702 sd_index = vpif_input_to_subdev(vpif_cfg, chan_cfg, index); in vpif_set_input()
724 input = chan_cfg->inputs[index].input_route; in vpif_set_input()
725 output = chan_cfg->inputs[index].output_route; in vpif_set_input()
736 ch->vpifparams.iface = chan_cfg->vpif_if; in vpif_set_input()
739 ch->video_dev.tvnorms = chan_cfg->inputs[index].input.std; in vpif_set_input()
[all …]
/linux/drivers/iio/adc/
H A Dad4695.c868 struct ad4695_channel_config *chan_cfg; in ad4695_parse_channel_cfg() local
874 chan_cfg = &st->channels_cfg[i]; in ad4695_parse_channel_cfg()
877 chan_cfg->highz_en = true; in ad4695_parse_channel_cfg()
878 chan_cfg->channel = i; in ad4695_parse_channel_cfg()
902 chan_cfg = &st->channels_cfg[reg]; in ad4695_parse_channel_cfg()
904 chan_cfg->highz_en = in ad4695_parse_channel_cfg()
906 chan_cfg->bipolar = fwnode_property_read_bool(child, "bipolar"); in ad4695_parse_channel_cfg()
916 chan_cfg->pin_pairing = AD4695_IN_PAIR_REFGND; in ad4695_parse_channel_cfg()
918 chan_cfg->pin_pairing = AD4695_IN_PAIR_COM; in ad4695_parse_channel_cfg()
920 chan_cfg->pin_pairing = AD4695_IN_PAIR_EVEN_ODD; in ad4695_parse_channel_cfg()
[all …]
/linux/drivers/net/wireless/rsi/
H A Drsi_91x_mgmt.c1124 struct rsi_chan_config *chan_cfg; in rsi_set_channel() local
1141 chan_cfg = (struct rsi_chan_config *)skb->data; in rsi_set_channel()
1143 rsi_set_len_qno(&chan_cfg->desc_dword0.len_qno, 0, RSI_WIFI_MGMT_Q); in rsi_set_channel()
1144 chan_cfg->desc_dword0.frame_type = SCAN_REQUEST; in rsi_set_channel()
1145 chan_cfg->channel_number = channel->hw_value; in rsi_set_channel()
1146 chan_cfg->antenna_gain_offset_2g = channel->max_antenna_gain; in rsi_set_channel()
1147 chan_cfg->antenna_gain_offset_5g = channel->max_antenna_gain; in rsi_set_channel()
1148 chan_cfg->region_rftype = (RSI_RF_TYPE & 0xf) << 4; in rsi_set_channel()
1152 chan_cfg->antenna_gain_offset_2g |= RSI_CHAN_RADAR; in rsi_set_channel()
1155 chan_cfg->tx_power = cpu_to_le16(common->tx_power); in rsi_set_channel()
[all …]