Searched refs:channels (Results 251 - 275 of 1485) sorted by path

<<11121314151617181920>>

/linux-master/drivers/gpu/drm/vc4/tests/
H A Dvc4_test_pv_muxing.c49 unsigned int *channels; member in struct:encoder_constraint
56 .channels = (unsigned int[]) { __VA_ARGS__ }, \
76 unsigned int _channel = constraint->channels[j];
/linux-master/drivers/gpu/drm/vc4/
H A Dvc4_hdmi.c1373 /* YUV444 needs the CSC matrices using the channels in a different order */
2533 unsigned int channels = params->channels; local
2542 dev_dbg(dev, "%s: %u Hz, %d bit, %d channels\n", __func__,
2543 sample_rate, params->sample_width, channels);
2561 VC4_SET_FIELD(channels, VC4_HD_MAI_CTL_CHNUM) |
2568 params->channels == 8)
2584 channel_mask = GENMASK(channels - 1, 0);
/linux-master/drivers/gpu/host1x/
H A Dchannel.c19 chlist->channels = kcalloc(num_channels, sizeof(struct host1x_channel),
21 if (!chlist->channels)
26 kfree(chlist->channels);
38 kfree(chlist->channels);
68 struct host1x_channel *ch = &host->channel_list.channels[index];
85 * host1x_channel_stop_all() - disable CDMA on allocated channels
88 * Stop CDMA on allocated channels
98 host1x_channel_stop(&chlist->channels[bit]);
137 chlist->channels[index].id = index;
143 return &chlist->channels[inde
[all...]
H A Dchannel.h21 struct host1x_channel *channels; member in struct:host1x_channel_list
/linux-master/drivers/gpu/ipu-v3/
H A Dipu-common.c211 list_for_each_entry(channel, &ipu->channels, list) {
226 list_add(&channel->list, &ipu->channels);
261 * re-enabling the channels.
764 * Unlinks source and sink channels in the FSU.
795 /* Link IDMAC channels in the FSU */
802 /* Unlink IDMAC channels in the FSU */
1352 INIT_LIST_HEAD(&ipu->channels);
H A Dipu-dc.c103 struct ipu_dc channels[IPU_DC_NUM_CHANNELS]; member in struct:ipu_dc_priv
316 dc = &priv->channels[channel];
366 priv->channels[i].chno = i;
367 priv->channels[i].priv = priv;
368 priv->channels[i].base = priv->dc_reg + channel_offsets[i];
373 priv->channels[1].base + DC_WR_CH_CONF);
375 priv->channels[5].base + DC_WR_CH_CONF);
H A Dipu-prv.h176 struct list_head channels; member in struct:ipu_soc
/linux-master/drivers/hid/
H A Dhid-mcp2221.c1101 indio_dev->channels = mcp->iio_channels;
/linux-master/drivers/hsi/controllers/
H A Domap_ssi_port.c86 for (ch = 0; ch < omap_port->channels; ch++) {
113 for (ch = 0; ch < omap_port->channels; ch++) {
387 BUG_ON(msg->channel >= omap_port->sst.channels);
390 BUG_ON(msg->channel >= omap_port->ssr.channels);
491 omap_port->channels = max(cl->rx_cfg.num_hw_channels,
497 omap_port->sst.channels = cl->tx_cfg.num_hw_channels;
503 omap_port->ssr.channels = cl->rx_cfg.num_hw_channels;
560 for (i = 0; i < omap_port->channels; i++) {
677 for (i = 0; i < omap_port->channels; i++) {
691 for (i = 0; i < omap_port->channels;
[all...]
/linux-master/drivers/hsi/
H A Dhsi_core.c62 kfree(cl->tx_cfg.channels);
63 kfree(cl->rx_cfg.channels);
78 if (cl->tx_cfg.channels) {
79 size = cl->tx_cfg.num_channels * sizeof(*cl->tx_cfg.channels);
80 cl->tx_cfg.channels = kmemdup(info->tx_cfg.channels, size,
82 if (!cl->tx_cfg.channels)
87 if (cl->rx_cfg.channels) {
88 size = cl->rx_cfg.num_channels * sizeof(*cl->rx_cfg.channels);
89 cl->rx_cfg.channels
[all...]
/linux-master/drivers/hv/
H A Dchannel_mgmt.c395 * array of channels.
405 vmbus_connection.channels[channel->offermsg.child_relid],
414 vmbus_connection.channels[channel->offermsg.child_relid],
439 * hv_sock channels. See the inline comments in vmbus_onoffer().
446 * channels and the relid is invalidated. After hibernation, when the
448 * unsafe to remove the channel from the array of channels. See also
492 /* Note: the function can run concurrently for primary/sub channels. */
627 /* Remember the channels that should be cleaned up upon suspend. */
668 * directly for sub-channels, because sc_creation_callback() ->
675 * The above is also true for primary channels, i
[all...]
H A Dconnection.c303 vmbus_connection.channels = kcalloc(MAX_CHANNEL_RELIDS,
306 if (vmbus_connection.channels == NULL) {
370 if (vmbus_connection.channels == NULL) {
371 pr_warn_once("relid2channel: relid=%d: No channels mapped!\n", relid);
376 return READ_ONCE(vmbus_connection.channels[relid]);
382 * For batched channels (default) optimize host to guest signaling
H A Dhyperv_vmbus.h198 * The Maximum number of channels (16384) is determined by the size of the
254 /* List of channels */
258 /* Array of channels */
259 struct vmbus_channel **channels; member in struct:vmbus_connection
278 * The number of sub-channels and hv_sock channels that should be
279 * cleaned up upon suspend: sub-channels will be re-created upon
280 * resume, and hv_sock channels should not survive suspend.
290 * The number of primary channels that should be "fixed up"
291 * upon resume: these channels ar
[all...]
H A Dvmbus_drv.c1158 * Fake RESCIND_CHANNEL messages to clean up hv_sock channels by force for
1194 * Schedule all channels with events pending
1638 * Hyper-V will ignore MODIFYCHANNEL messages for "non-open" channels;
1639 * avoid sending the message and fail here for such channels.
1677 /* Currently set only for storvsc channels. */
1817 * vmbus_add_channel_kobj - setup a sub-directory under device/channels
1913 child_device_obj->channels_kset = kset_create_and_add("channels",
2385 * Wait until all the sub-channels and hv_sock channels have been
2386 * cleaned up. Sub-channels shoul
[all...]
/linux-master/drivers/hwmon/
H A Dadcxx.c13 * * c is the number of channels (1, 2, 4, 8)
42 u32 channels; member in struct:adcxx
61 if (adc->channels == 1) {
153 int channels = spi_get_device_id(spi)->driver_data; local
164 adc->channels = channels;
171 for (i = 0; i < 3 + adc->channels; i++) {
204 for (i = 0; i < 3 + adc->channels; i++)
H A Dgsc-hwmon.c260 pdata = devm_kzalloc(dev, struct_size(pdata, channels, nchannels),
277 ch = pdata->channels;
278 /* allocate structures for channels and count instances of each type */
343 const struct gsc_hwmon_channel *ch = &pdata->channels[i];
348 dev_err(gsc->dev, "too many temp channels\n");
358 dev_err(gsc->dev, "too many fan channels\n");
370 dev_err(gsc->dev, "too many input channels\n");
H A Diio_hwmon.c22 * @channels: filled with array of channels from iio
23 * @num_channels: number of channels in channels (saves counting twice)
29 struct iio_channel *channels; member in struct:iio_hwmon_state
49 struct iio_channel *chan = &state->channels[sattr->index];
74 struct iio_channel *channels; local
78 channels = devm_iio_channel_get_all(dev);
79 if (IS_ERR(channels)) {
80 ret = PTR_ERR(channels);
[all...]
H A Dina3221.c193 u32 channels = hweight16(config & INA3221_CONFIG_CHs_EN_MASK); local
198 return DIV_ROUND_CLOSEST(interval * 1000 / 2, channels * samples);
204 u32 channels = hweight16(config & INA3221_CONFIG_CHs_EN_MASK); local
211 return channels * (vbus_ct + vsh_ct);
676 /* 7: summation of shunt voltage channels */
679 /* 1-3: current channels*/
683 /* 4: summation of current channels */
880 /* Disable channels if their inputs are disconnected */
904 /* Match the refcount with number of enabled channels */
1008 * Sum only channels tha
[all...]
H A Dmax6697.c65 int channels; member in struct:max6697_chip_data
102 .channels = 8,
110 .channels = 5,
117 .channels = 5,
124 .channels = 7,
131 .channels = 7,
138 .channels = 7,
146 .channels = 5,
154 .channels = 7,
161 .channels
[all...]
H A Dpwm-fan.c481 const struct hwmon_channel_info **channels; local
580 channels = devm_kcalloc(dev, channel_count + 1,
582 if (!channels)
585 channels[0] = HWMON_CHANNEL_INFO(pwm, HWMON_PWM_INPUT | HWMON_PWM_ENABLE);
619 channels[1] = &ctx->fan_channel;
623 ctx->info.info = channels;
H A Dtmp421.c109 unsigned long channels; member in struct:tmp421_data
142 for (i = 0; i < data->channels; i++) {
177 dev_err(dev, "error reading register, can't disable channels\n");
182 for (i = 0; i < data->channels; i++)
191 dev_err(dev, "error writing register, can't disable channels\n");
379 if (i >= data->channels) {
450 data->channels = (unsigned long)
453 data->channels = i2c_match_id(tmp421_id, client)->driver_data;
456 for (i = 0; i < data->channels; i++) {
H A Dtmp464.c96 int channels; member in struct:tmp464_data
126 for (i = 0; i < data->channels; i++)
375 if (channel >= data->channels)
534 if (channel >= data->channels) {
670 data->channels = (int)(unsigned long)of_device_get_match_data(&client->dev);
672 data->channels = i2c_match_id(tmp464_id, client)->driver_data;
678 for (i = 0; i < data->channels; i++)
/linux-master/drivers/hwmon/peci/
H A Ddimmtemp.c323 int ret, i, channels; local
342 channels = priv->gen_info->chan_rank_max * priv->gen_info->dimm_idx_max;
344 priv->dimmtemp_label = devm_kzalloc(priv->dev, channels * sizeof(char *), GFP_KERNEL);
/linux-master/drivers/hwtracing/intel_th/
H A Dsth.c23 void __iomem *channels; member in struct:sth_device
33 struct intel_th_channel __iomem *sw_map = sth->channels;
191 void __iomem *base, *channels; local
206 channels = devm_ioremap(dev, res->start, resource_size(res));
207 if (!channels)
216 sth->channels = channels;
/linux-master/drivers/hwtracing/stm/
H A Dcore.c62 static DEVICE_ATTR_RO(channels);

Completed in 382 milliseconds

<<11121314151617181920>>