/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/net/wireless/marvell/mwifiex/ |
H A D | pcie.h | 139 u32 tx_mask; member 256 if (((card->txbd_wrptr & reg->tx_mask) == in mwifiex_pcie_txbd_empty() 257 (rdptr & reg->tx_mask)) && in mwifiex_pcie_txbd_empty() 264 if (((card->txbd_wrptr & reg->tx_mask) == in mwifiex_pcie_txbd_empty() 265 (rdptr & reg->tx_mask)) && in mwifiex_pcie_txbd_empty() 282 if (((card->txbd_wrptr & reg->tx_mask) != in mwifiex_pcie_txbd_not_full() 283 (card->txbd_rdptr & reg->tx_mask)) || in mwifiex_pcie_txbd_not_full() 290 if (((card->txbd_wrptr & reg->tx_mask) != in mwifiex_pcie_txbd_not_full() 291 (card->txbd_rdptr & reg->tx_mask)) || in mwifiex_pcie_txbd_not_full()
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/net/wireless/marvell/mwifiex/ |
H A D | pcie.h | 139 u32 tx_mask; member 256 if (((card->txbd_wrptr & reg->tx_mask) == in mwifiex_pcie_txbd_empty() 257 (rdptr & reg->tx_mask)) && in mwifiex_pcie_txbd_empty() 264 if (((card->txbd_wrptr & reg->tx_mask) == in mwifiex_pcie_txbd_empty() 265 (rdptr & reg->tx_mask)) && in mwifiex_pcie_txbd_empty() 282 if (((card->txbd_wrptr & reg->tx_mask) != in mwifiex_pcie_txbd_not_full() 283 (card->txbd_rdptr & reg->tx_mask)) || in mwifiex_pcie_txbd_not_full() 290 if (((card->txbd_wrptr & reg->tx_mask) != in mwifiex_pcie_txbd_not_full() 291 (card->txbd_rdptr & reg->tx_mask)) || in mwifiex_pcie_txbd_not_full()
|
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/net/wireless/marvell/mwifiex/ |
H A D | pcie.h | 139 u32 tx_mask; member 256 if (((card->txbd_wrptr & reg->tx_mask) == in mwifiex_pcie_txbd_empty() 257 (rdptr & reg->tx_mask)) && in mwifiex_pcie_txbd_empty() 264 if (((card->txbd_wrptr & reg->tx_mask) == in mwifiex_pcie_txbd_empty() 265 (rdptr & reg->tx_mask)) && in mwifiex_pcie_txbd_empty() 282 if (((card->txbd_wrptr & reg->tx_mask) != in mwifiex_pcie_txbd_not_full() 283 (card->txbd_rdptr & reg->tx_mask)) || in mwifiex_pcie_txbd_not_full() 290 if (((card->txbd_wrptr & reg->tx_mask) != in mwifiex_pcie_txbd_not_full() 291 (card->txbd_rdptr & reg->tx_mask)) || in mwifiex_pcie_txbd_not_full()
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/sound/soc/bcm/ |
H A D | bcm2835-i2s.c | 118 unsigned int tx_mask; member 242 dev->tx_mask = 0x03; in bcm2835_i2s_set_dai_bclk_ratio() 250 unsigned int tx_mask, unsigned int rx_mask, in bcm2835_i2s_set_dai_tdm_slot() argument 261 tx_mask &= GENMASK(slots - 1, 0); in bcm2835_i2s_set_dai_tdm_slot() 268 || hweight_long((unsigned long) tx_mask) != 2) in bcm2835_i2s_set_dai_tdm_slot() 278 dev->tx_mask = tx_mask; in bcm2835_i2s_set_dai_tdm_slot() 337 unsigned int rx_mask, tx_mask; in bcm2835_i2s_hw_params() local 365 tx_mask = dev->tx_mask; in bcm2835_i2s_hw_params() 371 tx_mask = 0x03; in bcm2835_i2s_hw_params() 499 tx_mask, slot_width, data_delay, odd_slot_offset); in bcm2835_i2s_hw_params() [all …]
|
/dports/multimedia/libv4l/linux-5.13-rc2/sound/soc/bcm/ |
H A D | bcm2835-i2s.c | 118 unsigned int tx_mask; member 242 dev->tx_mask = 0x03; in bcm2835_i2s_set_dai_bclk_ratio() 250 unsigned int tx_mask, unsigned int rx_mask, in bcm2835_i2s_set_dai_tdm_slot() argument 261 tx_mask &= GENMASK(slots - 1, 0); in bcm2835_i2s_set_dai_tdm_slot() 268 || hweight_long((unsigned long) tx_mask) != 2) in bcm2835_i2s_set_dai_tdm_slot() 278 dev->tx_mask = tx_mask; in bcm2835_i2s_set_dai_tdm_slot() 337 unsigned int rx_mask, tx_mask; in bcm2835_i2s_hw_params() local 365 tx_mask = dev->tx_mask; in bcm2835_i2s_hw_params() 371 tx_mask = 0x03; in bcm2835_i2s_hw_params() 499 tx_mask, slot_width, data_delay, odd_slot_offset); in bcm2835_i2s_hw_params() [all …]
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/sound/soc/bcm/ |
H A D | bcm2835-i2s.c | 118 unsigned int tx_mask; member 242 dev->tx_mask = 0x03; in bcm2835_i2s_set_dai_bclk_ratio() 250 unsigned int tx_mask, unsigned int rx_mask, in bcm2835_i2s_set_dai_tdm_slot() argument 261 tx_mask &= GENMASK(slots - 1, 0); in bcm2835_i2s_set_dai_tdm_slot() 268 || hweight_long((unsigned long) tx_mask) != 2) in bcm2835_i2s_set_dai_tdm_slot() 278 dev->tx_mask = tx_mask; in bcm2835_i2s_set_dai_tdm_slot() 337 unsigned int rx_mask, tx_mask; in bcm2835_i2s_hw_params() local 365 tx_mask = dev->tx_mask; in bcm2835_i2s_hw_params() 371 tx_mask = 0x03; in bcm2835_i2s_hw_params() 499 tx_mask, slot_width, data_delay, odd_slot_offset); in bcm2835_i2s_hw_params() [all …]
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/sound/soc/meson/ |
H A D | axg-card.c | 23 u32 *tx_mask; member 75 ret = axg_tdm_set_tdm_slots(asoc_rtd_to_cpu(rtd, 0), be->tx_mask, be->rx_mask, in axg_card_tdm_dai_init() 93 ret = axg_tdm_set_tdm_slots(asoc_rtd_to_cpu(rtd, 0), NULL, be->tx_mask, in axg_card_tdm_dai_lb_init() 166 be->tx_mask = devm_kcalloc(card->dev, AXG_TDM_NUM_LANES, in axg_card_parse_cpu_tdm_slots() 167 sizeof(*be->tx_mask), GFP_KERNEL); in axg_card_parse_cpu_tdm_slots() 170 if (!be->tx_mask || !be->rx_mask) in axg_card_parse_cpu_tdm_slots() 175 snd_soc_of_get_slot_mask(node, propname, &be->tx_mask[i]); in axg_card_parse_cpu_tdm_slots() 176 tx = max(tx, be->tx_mask[i]); in axg_card_parse_cpu_tdm_slots()
|
/dports/multimedia/libv4l/linux-5.13-rc2/sound/soc/meson/ |
H A D | axg-card.c | 23 u32 *tx_mask; member 75 ret = axg_tdm_set_tdm_slots(asoc_rtd_to_cpu(rtd, 0), be->tx_mask, be->rx_mask, in axg_card_tdm_dai_init() 93 ret = axg_tdm_set_tdm_slots(asoc_rtd_to_cpu(rtd, 0), NULL, be->tx_mask, in axg_card_tdm_dai_lb_init() 166 be->tx_mask = devm_kcalloc(card->dev, AXG_TDM_NUM_LANES, in axg_card_parse_cpu_tdm_slots() 167 sizeof(*be->tx_mask), GFP_KERNEL); in axg_card_parse_cpu_tdm_slots() 170 if (!be->tx_mask || !be->rx_mask) in axg_card_parse_cpu_tdm_slots() 175 snd_soc_of_get_slot_mask(node, propname, &be->tx_mask[i]); in axg_card_parse_cpu_tdm_slots() 176 tx = max(tx, be->tx_mask[i]); in axg_card_parse_cpu_tdm_slots()
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/sound/soc/meson/ |
H A D | axg-card.c | 23 u32 *tx_mask; member 75 ret = axg_tdm_set_tdm_slots(asoc_rtd_to_cpu(rtd, 0), be->tx_mask, be->rx_mask, in axg_card_tdm_dai_init() 93 ret = axg_tdm_set_tdm_slots(asoc_rtd_to_cpu(rtd, 0), NULL, be->tx_mask, in axg_card_tdm_dai_lb_init() 166 be->tx_mask = devm_kcalloc(card->dev, AXG_TDM_NUM_LANES, in axg_card_parse_cpu_tdm_slots() 167 sizeof(*be->tx_mask), GFP_KERNEL); in axg_card_parse_cpu_tdm_slots() 170 if (!be->tx_mask || !be->rx_mask) in axg_card_parse_cpu_tdm_slots() 175 snd_soc_of_get_slot_mask(node, propname, &be->tx_mask[i]); in axg_card_parse_cpu_tdm_slots() 176 tx = max(tx, be->tx_mask[i]); in axg_card_parse_cpu_tdm_slots()
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/net/wireless/mediatek/mt76/mt7615/ |
H A D | eeprom.c | 142 u8 tx_mask, max_nss; in mt7615_eeprom_parse_hw_cap() local 148 tx_mask = FIELD_GET(MT_EE_HW_CONF1_TX_MASK, in mt7615_eeprom_parse_hw_cap() 157 tx_mask = FIELD_GET(MT_EE_NIC_CONF_TX_MASK, in mt7615_eeprom_parse_hw_cap() 160 if (!tx_mask || tx_mask > max_nss) in mt7615_eeprom_parse_hw_cap() 161 tx_mask = max_nss; in mt7615_eeprom_parse_hw_cap() 163 dev->chainmask = BIT(tx_mask) - 1; in mt7615_eeprom_parse_hw_cap()
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/net/wireless/mediatek/mt76/mt7615/ |
H A D | eeprom.c | 142 u8 tx_mask, max_nss; in mt7615_eeprom_parse_hw_cap() local 148 tx_mask = FIELD_GET(MT_EE_HW_CONF1_TX_MASK, in mt7615_eeprom_parse_hw_cap() 157 tx_mask = FIELD_GET(MT_EE_NIC_CONF_TX_MASK, in mt7615_eeprom_parse_hw_cap() 160 if (!tx_mask || tx_mask > max_nss) in mt7615_eeprom_parse_hw_cap() 161 tx_mask = max_nss; in mt7615_eeprom_parse_hw_cap() 163 dev->chainmask = BIT(tx_mask) - 1; in mt7615_eeprom_parse_hw_cap()
|
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/net/wireless/mediatek/mt76/mt7615/ |
H A D | eeprom.c | 142 u8 tx_mask, max_nss; in mt7615_eeprom_parse_hw_cap() local 148 tx_mask = FIELD_GET(MT_EE_HW_CONF1_TX_MASK, in mt7615_eeprom_parse_hw_cap() 157 tx_mask = FIELD_GET(MT_EE_NIC_CONF_TX_MASK, in mt7615_eeprom_parse_hw_cap() 160 if (!tx_mask || tx_mask > max_nss) in mt7615_eeprom_parse_hw_cap() 161 tx_mask = max_nss; in mt7615_eeprom_parse_hw_cap() 163 dev->chainmask = BIT(tx_mask) - 1; in mt7615_eeprom_parse_hw_cap()
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/sound/soc/codecs/ |
H A D | tas2764.c | 386 unsigned int tx_mask, in tas2764_set_dai_tdm_slot() argument 397 if (tx_mask == 0 || rx_mask != 0) in tas2764_set_dai_tdm_slot() 401 if (tx_mask != 1) in tas2764_set_dai_tdm_slot() 406 left_slot = __ffs(tx_mask); in tas2764_set_dai_tdm_slot() 407 tx_mask &= ~(1 << left_slot); in tas2764_set_dai_tdm_slot() 408 if (tx_mask == 0) { in tas2764_set_dai_tdm_slot() 411 right_slot = __ffs(tx_mask); in tas2764_set_dai_tdm_slot() 412 tx_mask &= ~(1 << right_slot); in tas2764_set_dai_tdm_slot() 416 if (tx_mask != 0 || left_slot >= slots || right_slot >= slots) in tas2764_set_dai_tdm_slot()
|
H A D | ssm2518.c | 523 static int ssm2518_set_tdm_slot(struct snd_soc_dai *dai, unsigned int tx_mask, in ssm2518_set_tdm_slot() argument 536 if (tx_mask == 0 || rx_mask != 0) in ssm2518_set_tdm_slot() 540 if (tx_mask != 1) in ssm2518_set_tdm_slot() 546 left_slot = __ffs(tx_mask); in ssm2518_set_tdm_slot() 547 tx_mask &= ~(1 << left_slot); in ssm2518_set_tdm_slot() 548 if (tx_mask == 0) { in ssm2518_set_tdm_slot() 551 right_slot = __ffs(tx_mask); in ssm2518_set_tdm_slot() 552 tx_mask &= ~(1 << right_slot); in ssm2518_set_tdm_slot() 556 if (tx_mask != 0 || left_slot >= slots || right_slot >= slots) in ssm2518_set_tdm_slot()
|
H A D | tas2770.c | 395 unsigned int tx_mask, in tas2770_set_dai_tdm_slot() argument 403 if (tx_mask == 0 || rx_mask != 0) in tas2770_set_dai_tdm_slot() 407 if (tx_mask != 1) in tas2770_set_dai_tdm_slot() 413 left_slot = __ffs(tx_mask); in tas2770_set_dai_tdm_slot() 414 tx_mask &= ~(1 << left_slot); in tas2770_set_dai_tdm_slot() 415 if (tx_mask == 0) { in tas2770_set_dai_tdm_slot() 418 right_slot = __ffs(tx_mask); in tas2770_set_dai_tdm_slot() 419 tx_mask &= ~(1 << right_slot); in tas2770_set_dai_tdm_slot() 423 if (tx_mask != 0 || left_slot >= slots || right_slot >= slots) in tas2770_set_dai_tdm_slot()
|
/dports/multimedia/libv4l/linux-5.13-rc2/sound/soc/codecs/ |
H A D | tas2764.c | 386 unsigned int tx_mask, in tas2764_set_dai_tdm_slot() argument 397 if (tx_mask == 0 || rx_mask != 0) in tas2764_set_dai_tdm_slot() 401 if (tx_mask != 1) in tas2764_set_dai_tdm_slot() 406 left_slot = __ffs(tx_mask); in tas2764_set_dai_tdm_slot() 407 tx_mask &= ~(1 << left_slot); in tas2764_set_dai_tdm_slot() 408 if (tx_mask == 0) { in tas2764_set_dai_tdm_slot() 411 right_slot = __ffs(tx_mask); in tas2764_set_dai_tdm_slot() 412 tx_mask &= ~(1 << right_slot); in tas2764_set_dai_tdm_slot() 416 if (tx_mask != 0 || left_slot >= slots || right_slot >= slots) in tas2764_set_dai_tdm_slot()
|
H A D | tas2770.c | 395 unsigned int tx_mask, in tas2770_set_dai_tdm_slot() argument 403 if (tx_mask == 0 || rx_mask != 0) in tas2770_set_dai_tdm_slot() 407 if (tx_mask != 1) in tas2770_set_dai_tdm_slot() 413 left_slot = __ffs(tx_mask); in tas2770_set_dai_tdm_slot() 414 tx_mask &= ~(1 << left_slot); in tas2770_set_dai_tdm_slot() 415 if (tx_mask == 0) { in tas2770_set_dai_tdm_slot() 418 right_slot = __ffs(tx_mask); in tas2770_set_dai_tdm_slot() 419 tx_mask &= ~(1 << right_slot); in tas2770_set_dai_tdm_slot() 423 if (tx_mask != 0 || left_slot >= slots || right_slot >= slots) in tas2770_set_dai_tdm_slot()
|
H A D | ssm2518.c | 523 static int ssm2518_set_tdm_slot(struct snd_soc_dai *dai, unsigned int tx_mask, in ssm2518_set_tdm_slot() argument 536 if (tx_mask == 0 || rx_mask != 0) in ssm2518_set_tdm_slot() 540 if (tx_mask != 1) in ssm2518_set_tdm_slot() 546 left_slot = __ffs(tx_mask); in ssm2518_set_tdm_slot() 547 tx_mask &= ~(1 << left_slot); in ssm2518_set_tdm_slot() 548 if (tx_mask == 0) { in ssm2518_set_tdm_slot() 551 right_slot = __ffs(tx_mask); in ssm2518_set_tdm_slot() 552 tx_mask &= ~(1 << right_slot); in ssm2518_set_tdm_slot() 556 if (tx_mask != 0 || left_slot >= slots || right_slot >= slots) in ssm2518_set_tdm_slot()
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/sound/soc/codecs/ |
H A D | tas2764.c | 386 unsigned int tx_mask, in tas2764_set_dai_tdm_slot() argument 397 if (tx_mask == 0 || rx_mask != 0) in tas2764_set_dai_tdm_slot() 401 if (tx_mask != 1) in tas2764_set_dai_tdm_slot() 406 left_slot = __ffs(tx_mask); in tas2764_set_dai_tdm_slot() 407 tx_mask &= ~(1 << left_slot); in tas2764_set_dai_tdm_slot() 408 if (tx_mask == 0) { in tas2764_set_dai_tdm_slot() 411 right_slot = __ffs(tx_mask); in tas2764_set_dai_tdm_slot() 412 tx_mask &= ~(1 << right_slot); in tas2764_set_dai_tdm_slot() 416 if (tx_mask != 0 || left_slot >= slots || right_slot >= slots) in tas2764_set_dai_tdm_slot()
|
H A D | ssm2518.c | 523 static int ssm2518_set_tdm_slot(struct snd_soc_dai *dai, unsigned int tx_mask, in ssm2518_set_tdm_slot() argument 536 if (tx_mask == 0 || rx_mask != 0) in ssm2518_set_tdm_slot() 540 if (tx_mask != 1) in ssm2518_set_tdm_slot() 546 left_slot = __ffs(tx_mask); in ssm2518_set_tdm_slot() 547 tx_mask &= ~(1 << left_slot); in ssm2518_set_tdm_slot() 548 if (tx_mask == 0) { in ssm2518_set_tdm_slot() 551 right_slot = __ffs(tx_mask); in ssm2518_set_tdm_slot() 552 tx_mask &= ~(1 << right_slot); in ssm2518_set_tdm_slot() 556 if (tx_mask != 0 || left_slot >= slots || right_slot >= slots) in ssm2518_set_tdm_slot()
|
H A D | tas2770.c | 395 unsigned int tx_mask, in tas2770_set_dai_tdm_slot() argument 403 if (tx_mask == 0 || rx_mask != 0) in tas2770_set_dai_tdm_slot() 407 if (tx_mask != 1) in tas2770_set_dai_tdm_slot() 413 left_slot = __ffs(tx_mask); in tas2770_set_dai_tdm_slot() 414 tx_mask &= ~(1 << left_slot); in tas2770_set_dai_tdm_slot() 415 if (tx_mask == 0) { in tas2770_set_dai_tdm_slot() 418 right_slot = __ffs(tx_mask); in tas2770_set_dai_tdm_slot() 419 tx_mask &= ~(1 << right_slot); in tas2770_set_dai_tdm_slot() 423 if (tx_mask != 0 || left_slot >= slots || right_slot >= slots) in tas2770_set_dai_tdm_slot()
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/net/wireless/mediatek/mt76/mt7921/ |
H A D | eeprom.c | 70 u8 tx_mask; in mt7921_eeprom_parse_hw_cap() local 75 tx_mask = 2; in mt7921_eeprom_parse_hw_cap() 76 dev->chainmask = BIT(tx_mask) - 1; in mt7921_eeprom_parse_hw_cap()
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/net/wireless/mediatek/mt76/mt7921/ |
H A D | eeprom.c | 70 u8 tx_mask; in mt7921_eeprom_parse_hw_cap() local 75 tx_mask = 2; in mt7921_eeprom_parse_hw_cap() 76 dev->chainmask = BIT(tx_mask) - 1; in mt7921_eeprom_parse_hw_cap()
|
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/net/wireless/mediatek/mt76/mt7921/ |
H A D | eeprom.c | 70 u8 tx_mask; in mt7921_eeprom_parse_hw_cap() local 75 tx_mask = 2; in mt7921_eeprom_parse_hw_cap() 76 dev->chainmask = BIT(tx_mask) - 1; in mt7921_eeprom_parse_hw_cap()
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/sound/soc/ |
H A D | soc-dai.c | 165 unsigned int *tx_mask, in snd_soc_xlate_tdm_slot_mask() argument 168 if (*tx_mask || *rx_mask) in snd_soc_xlate_tdm_slot_mask() 174 *tx_mask = (1 << slots) - 1; in snd_soc_xlate_tdm_slot_mask() 204 unsigned int tx_mask, unsigned int rx_mask, in snd_soc_dai_set_tdm_slot() argument 212 &tx_mask, &rx_mask); in snd_soc_dai_set_tdm_slot() 214 snd_soc_xlate_tdm_slot_mask(slots, &tx_mask, &rx_mask); in snd_soc_dai_set_tdm_slot() 216 dai->tx_mask = tx_mask; in snd_soc_dai_set_tdm_slot() 221 ret = dai->driver->ops->set_tdm_slot(dai, tx_mask, rx_mask, in snd_soc_dai_set_tdm_slot()
|