Home
last modified time | relevance | path

Searched refs:gflags (Results 1 – 21 of 21) sorted by relevance

/kernel/linux/linux-5.10/net/mac80211/
Drc80211_minstrel_ht_debugfs.c38 u32 gflags; in minstrel_ht_stats_dump() local
44 gflags = mg->flags; in minstrel_ht_stats_dump()
46 if (gflags & IEEE80211_TX_RC_40_MHZ_WIDTH) in minstrel_ht_stats_dump()
48 else if (gflags & IEEE80211_TX_RC_80_MHZ_WIDTH) in minstrel_ht_stats_dump()
50 if (gflags & IEEE80211_TX_RC_SHORT_GI) in minstrel_ht_stats_dump()
62 if (gflags & IEEE80211_TX_RC_MCS) { in minstrel_ht_stats_dump()
66 } else if (gflags & IEEE80211_TX_RC_VHT_MCS) { in minstrel_ht_stats_dump()
82 if (gflags & IEEE80211_TX_RC_MCS) { in minstrel_ht_stats_dump()
84 } else if (gflags & IEEE80211_TX_RC_VHT_MCS) { in minstrel_ht_stats_dump()
185 u32 gflags; in minstrel_ht_stats_csv_dump() local
[all …]
Drc80211_minstrel_ht.c1455 u32 gflags = minstrel_mcs_groups[i].flags; in minstrel_ht_update_caps() local
1464 if (gflags & IEEE80211_TX_RC_SHORT_GI) { in minstrel_ht_update_caps()
1465 if (gflags & IEEE80211_TX_RC_40_MHZ_WIDTH) { in minstrel_ht_update_caps()
1474 if (gflags & IEEE80211_TX_RC_40_MHZ_WIDTH && in minstrel_ht_update_caps()
1485 if (gflags & IEEE80211_TX_RC_MCS) { in minstrel_ht_update_caps()
1497 WARN_ON(!(gflags & IEEE80211_TX_RC_VHT_MCS)) || in minstrel_ht_update_caps()
1498 WARN_ON(gflags & IEEE80211_TX_RC_160_MHZ_WIDTH)) in minstrel_ht_update_caps()
1501 if (gflags & IEEE80211_TX_RC_80_MHZ_WIDTH) { in minstrel_ht_update_caps()
1503 ((gflags & IEEE80211_TX_RC_SHORT_GI) && in minstrel_ht_update_caps()
1509 if (gflags & IEEE80211_TX_RC_40_MHZ_WIDTH) in minstrel_ht_update_caps()
[all …]
/kernel/linux/linux-5.10/drivers/regulator/
Dmax8952.c183 enum gpiod_flags gflags; in max8952_pmic_probe() local
212 gflags = GPIOD_OUT_HIGH; in max8952_pmic_probe()
214 gflags = GPIOD_OUT_LOW; in max8952_pmic_probe()
215 gflags |= GPIOD_FLAGS_BIT_NONEXCLUSIVE; in max8952_pmic_probe()
222 gflags); in max8952_pmic_probe()
239 gflags = max8952->vid0 ? GPIOD_OUT_HIGH : GPIOD_OUT_LOW; in max8952_pmic_probe()
242 0, gflags); in max8952_pmic_probe()
245 gflags = max8952->vid1 ? GPIOD_OUT_HIGH : GPIOD_OUT_LOW; in max8952_pmic_probe()
248 1, gflags); in max8952_pmic_probe()
Dgpio-regulator.c166 config->gflags = devm_kzalloc(dev, in of_get_gpio_regulator_config()
170 if (!config->gflags) in of_get_gpio_regulator_config()
181 config->gflags[i] = GPIOD_OUT_HIGH; in of_get_gpio_regulator_config()
183 config->gflags[i] = in of_get_gpio_regulator_config()
239 enum gpiod_flags gflags; in gpio_regulator_probe() local
268 config->gflags[i]); in gpio_regulator_probe()
309 if (config->gflags[ptr] == GPIOD_OUT_HIGH) in gpio_regulator_probe()
324 gflags = GPIOD_OUT_HIGH | GPIOD_FLAGS_BIT_NONEXCLUSIVE; in gpio_regulator_probe()
326 gflags = GPIOD_OUT_LOW | GPIOD_FLAGS_BIT_NONEXCLUSIVE; in gpio_regulator_probe()
328 cfg.ena_gpiod = gpiod_get_optional(dev, "enable", gflags); in gpio_regulator_probe()
Dfixed.c142 enum gpiod_flags gflags; in reg_fixed_voltage_probe() local
208 gflags = GPIOD_OUT_HIGH; in reg_fixed_voltage_probe()
210 gflags = GPIOD_OUT_LOW; in reg_fixed_voltage_probe()
223 gflags |= GPIOD_FLAGS_BIT_NONEXCLUSIVE; in reg_fixed_voltage_probe()
229 cfg.ena_gpiod = gpiod_get_optional(&pdev->dev, NULL, gflags); in reg_fixed_voltage_probe()
Dtps65090-regulator.c364 enum gpiod_flags gflags; in tps65090_parse_dt_reg_data() local
368 gflags = GPIOD_OUT_HIGH; in tps65090_parse_dt_reg_data()
370 gflags = GPIOD_OUT_LOW; in tps65090_parse_dt_reg_data()
371 gflags |= GPIOD_FLAGS_BIT_NONEXCLUSIVE; in tps65090_parse_dt_reg_data()
377 gflags, in tps65090_parse_dt_reg_data()
Dmax8973-regulator.c636 enum gpiod_flags gflags; in max8973_probe() local
758 gflags = GPIOD_OUT_HIGH; in max8973_probe()
760 gflags = GPIOD_OUT_LOW; in max8973_probe()
761 gflags |= GPIOD_FLAGS_BIT_NONEXCLUSIVE; in max8973_probe()
764 gflags); in max8973_probe()
/kernel/linux/linux-5.10/drivers/i2c/busses/
Di2c-gpio.c324 enum gpiod_flags gflags) in i2c_gpio_get_desc() argument
329 retdesc = devm_gpiod_get(dev, con_id, gflags); in i2c_gpio_get_desc()
335 retdesc = devm_gpiod_get_index(dev, NULL, index, gflags); in i2c_gpio_get_desc()
365 enum gpiod_flags gflags; in i2c_gpio_probe() local
396 gflags = GPIOD_OUT_HIGH; in i2c_gpio_probe()
398 gflags = GPIOD_OUT_HIGH_OPEN_DRAIN; in i2c_gpio_probe()
399 priv->sda = i2c_gpio_get_desc(dev, "sda", 0, gflags); in i2c_gpio_probe()
404 gflags = GPIOD_OUT_HIGH; in i2c_gpio_probe()
406 gflags = GPIOD_OUT_HIGH_OPEN_DRAIN; in i2c_gpio_probe()
407 priv->scl = i2c_gpio_get_desc(dev, "scl", 1, gflags); in i2c_gpio_probe()
/kernel/linux/linux-5.10/drivers/w1/masters/
Dw1-gpio.c76 enum gpiod_flags gflags = GPIOD_OUT_LOW_OPEN_DRAIN; in w1_gpio_probe() local
91 gflags = GPIOD_OUT_LOW; in w1_gpio_probe()
109 pdata->gpiod = devm_gpiod_get_index(dev, NULL, 0, gflags); in w1_gpio_probe()
134 if (gflags == GPIOD_OUT_LOW_OPEN_DRAIN) in w1_gpio_probe()
/kernel/linux/linux-5.10/drivers/watchdog/
Dgpio_wdt.c111 enum gpiod_flags gflags; in gpio_wdt_probe() local
127 gflags = GPIOD_IN; in gpio_wdt_probe()
130 gflags = GPIOD_OUT_LOW; in gpio_wdt_probe()
135 priv->gpiod = devm_gpiod_get(dev, NULL, gflags); in gpio_wdt_probe()
Dmena21_wdt.c150 enum gpiod_flags gflags; in a21_wdt_probe() local
153 gflags = GPIOD_ASIS; in a21_wdt_probe()
155 gflags = GPIOD_IN; in a21_wdt_probe()
156 drv->gpios[i] = devm_gpiod_get_index(dev, NULL, i, gflags); in a21_wdt_probe()
/kernel/linux/linux-5.10/include/linux/regulator/
Dgpio-regulator.h69 enum gpiod_flags *gflags; member
/kernel/linux/linux-5.10/fs/gfs2/
Dglock.c2107 const unsigned long *gflags = &gl->gl_flags; in gflags2str() local
2110 if (test_bit(GLF_LOCK, gflags)) in gflags2str()
2112 if (test_bit(GLF_DEMOTE, gflags)) in gflags2str()
2114 if (test_bit(GLF_PENDING_DEMOTE, gflags)) in gflags2str()
2116 if (test_bit(GLF_DEMOTE_IN_PROGRESS, gflags)) in gflags2str()
2118 if (test_bit(GLF_DIRTY, gflags)) in gflags2str()
2120 if (test_bit(GLF_LFLUSH, gflags)) in gflags2str()
2122 if (test_bit(GLF_INVALIDATE_IN_PROGRESS, gflags)) in gflags2str()
2124 if (test_bit(GLF_REPLY_PENDING, gflags)) in gflags2str()
2126 if (test_bit(GLF_INITIAL, gflags)) in gflags2str()
[all …]
/kernel/linux/linux-5.10/net/sched/
Dact_gate.c312 u32 gflags = 0; in tcf_gate_init() local
379 gflags = nla_get_u32(tb[TCA_GATE_FLAGS]); in tcf_gate_init()
422 p->tcfg_flags = gflags; in tcf_gate_init()
/kernel/linux/linux-5.10/arch/arm/mach-pxa/
Dhx4700.c718 .gflags = bq24022_gpiod_gflags,
Dmagician.c663 .gflags = bq24022_gpiod_gflags,
/kernel/linux/linux-5.10/drivers/tty/serial/
Domap-serial.c1605 enum gpiod_flags gflags; in serial_omap_probe_rs485() local
1627 gflags = rs485conf->flags & SER_RS485_RTS_AFTER_SEND ? in serial_omap_probe_rs485()
1629 up->rts_gpiod = devm_gpiod_get_optional(dev, "rts", gflags); in serial_omap_probe_rs485()
/kernel/linux/linux-5.10/drivers/scsi/snic/
Dsnic_scsi.c1012 unsigned long flags, gflags; in snic_hba_reset_cmpl_handler() local
1099 spin_lock_irqsave(&snic->snic_lock, gflags); in snic_hba_reset_cmpl_handler()
1102 spin_unlock_irqrestore(&snic->snic_lock, gflags); in snic_hba_reset_cmpl_handler()
/kernel/linux/linux-5.10/net/core/
Ddev.c8333 unsigned int old_flags = dev->flags, old_gflags = dev->gflags; in __dev_set_allmulti()
8358 dev->gflags ^ old_gflags); in __dev_set_allmulti()
8438 (dev->gflags & (IFF_PROMISC | in dev_get_flags()
8495 if ((flags ^ dev->gflags) & IFF_PROMISC) { in __dev_change_flags()
8499 dev->gflags ^= IFF_PROMISC; in __dev_change_flags()
8510 if ((flags ^ dev->gflags) & IFF_ALLMULTI) { in __dev_change_flags()
8513 dev->gflags ^= IFF_ALLMULTI; in __dev_change_flags()
8561 unsigned int changes, old_flags = dev->flags, old_gflags = dev->gflags; in dev_change_flags()
8567 changes = (old_flags ^ dev->flags) | (old_gflags ^ dev->gflags); in dev_change_flags()
Drtnetlink.c862 (dev->gflags & (IFF_PROMISC | IFF_ALLMULTI)); in rtnl_dev_get_flags()
/kernel/linux/linux-5.10/include/linux/
Dnetdevice.h1966 unsigned short gflags; member