Home
last modified time | relevance | path

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

/drivers/hwmon/
Dads1015.c69 struct ads1015_channel_data channel_data[ADS1015_CHANNELS]; member
77 unsigned int pga = data->channel_data[channel].pga; in ads1015_read_adc()
78 unsigned int data_rate = data->channel_data[channel].data_rate; in ads1015_read_adc()
127 unsigned int pga = data->channel_data[channel].pga; in ads1015_reg_to_mv()
225 data->channel_data[channel].enabled = true; in ads1015_get_channels_config_of()
226 data->channel_data[channel].pga = pga; in ads1015_get_channels_config_of()
227 data->channel_data[channel].data_rate = data_rate; in ads1015_get_channels_config_of()
242 memcpy(data->channel_data, pdata->channel_data, in ads1015_get_channels_config()
243 sizeof(data->channel_data)); in ads1015_get_channels_config()
254 data->channel_data[k].enabled = true; in ads1015_get_channels_config()
[all …]
/drivers/net/wan/
Dcosa.c110 struct channel_data { struct
120 char *(*setup_rx)(struct channel_data *channel, int size); argument
122 int (*rx_done)(struct channel_data *channel); argument
124 int (*tx_done)(struct channel_data *channel, int size); argument
159 struct channel_data *rxchan; argument
162 struct channel_data *chan;
273 static void cosa_enable_rx(struct channel_data *chan);
274 static void cosa_disable_rx(struct channel_data *chan);
275 static int cosa_start_tx(struct channel_data *channel, char *buf, int size);
277 static int cosa_dma_able(struct channel_data *chan, char *buf, int data);
[all …]