Searched refs:channels_mask (Results 1 – 5 of 5) sorted by relevance
/drivers/firewire/ |
D | core-iso.c | 274 u32 channels_mask, u64 offset, bool allocate) in manage_channel() argument 283 if (!(channels_mask & 1 << channel)) in manage_channel() 363 u64 channels_mask, int *channel, int *bandwidth, in fw_iso_resource_manage() argument 366 u32 channels_hi = channels_mask; /* channels 31...0 */ in fw_iso_resource_manage() 367 u32 channels_lo = channels_mask >> 32; /* channels 63...32 */ in fw_iso_resource_manage() 387 if (allocate && channels_mask != 0 && c < 0) in fw_iso_resource_manage()
|
/drivers/net/can/rcar/ |
D | rcar_canfd.c | 518 unsigned long channels_mask; /* Enabled channels mask */ member 667 for_each_set_bit(ch, &gpriv->channels_mask, RCANFD_NUM_CHANNELS) { in rcar_canfd_reset_controller() 708 for_each_set_bit(ch, &gpriv->channels_mask, RCANFD_NUM_CHANNELS) { in rcar_canfd_configure_controller() 1088 for_each_set_bit(ch, &gpriv->channels_mask, RCANFD_NUM_CHANNELS) { in rcar_canfd_global_interrupt() 1155 for_each_set_bit(ch, &gpriv->channels_mask, RCANFD_NUM_CHANNELS) { in rcar_canfd_channel_interrupt() 1641 unsigned long channels_mask = 0; in rcar_canfd_probe() local 1650 channels_mask |= BIT(0); /* Channel 0 */ in rcar_canfd_probe() 1654 channels_mask |= BIT(1); /* Channel 1 */ in rcar_canfd_probe() 1677 gpriv->channels_mask = channels_mask; in rcar_canfd_probe() 1756 for_each_set_bit(ch, &gpriv->channels_mask, RCANFD_NUM_CHANNELS) { in rcar_canfd_probe() [all …]
|
/drivers/iio/adc/ |
D | at91_adc.c | 196 unsigned long channels_mask; member 476 st->channels_mask &= ~rsvd_mask; in at91_adc_channel_init() 478 idev->num_channels = bitmap_weight(&st->channels_mask, in at91_adc_channel_init() 489 for_each_set_bit(bit, &st->channels_mask, st->num_channels) { in at91_adc_channel_init() 882 st->channels_mask = prop; in at91_adc_probe_dt() 966 st->channels_mask = pdata->channels_used; in at91_adc_probe_pdata()
|
/drivers/clocksource/ |
D | sh_tmu.c | 547 tmu->num_channels = hweight8(cfg->channels_mask); in sh_tmu_setup()
|
D | sh_cmt.c | 982 cmt->hw_channels = cfg->channels_mask; in sh_cmt_setup()
|