Home
last modified time | relevance | path

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

/linux/net/mac80211/
H A Drc80211_minstrel_ht_debugfs.c54 u32 gflags; in minstrel_ht_stats_dump() local
60 gflags = mg->flags; in minstrel_ht_stats_dump()
62 if (gflags & IEEE80211_TX_RC_40_MHZ_WIDTH) in minstrel_ht_stats_dump()
64 else if (gflags & IEEE80211_TX_RC_80_MHZ_WIDTH) in minstrel_ht_stats_dump()
66 if (gflags & IEEE80211_TX_RC_SHORT_GI) in minstrel_ht_stats_dump()
77 if (gflags & IEEE80211_TX_RC_MCS) { in minstrel_ht_stats_dump()
81 } else if (gflags & IEEE80211_TX_RC_VHT_MCS) { in minstrel_ht_stats_dump()
101 if (gflags & IEEE80211_TX_RC_MCS) { in minstrel_ht_stats_dump()
103 } else if (gflags & IEEE80211_TX_RC_VHT_MCS) { in minstrel_ht_stats_dump()
199 u32 gflags; in minstrel_ht_stats_csv_dump() local
[all …]
/linux/drivers/regulator/
H A Dmax8952.c182 enum gpiod_flags gflags; in max8952_pmic_probe() local
211 gflags = GPIOD_OUT_HIGH; in max8952_pmic_probe()
213 gflags = GPIOD_OUT_LOW; in max8952_pmic_probe()
214 gflags |= GPIOD_FLAGS_BIT_NONEXCLUSIVE; in max8952_pmic_probe()
221 gflags); in max8952_pmic_probe()
238 gflags = max8952->vid0 ? GPIOD_OUT_HIGH : GPIOD_OUT_LOW; in max8952_pmic_probe()
241 0, gflags); in max8952_pmic_probe()
244 gflags = max8952->vid1 ? GPIOD_OUT_HIGH : GPIOD_OUT_LOW; in max8952_pmic_probe()
247 1, gflags); in max8952_pmic_probe()
H A 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()
242 enum gpiod_flags gflags; in gpio_regulator_probe() local
283 config->gflags[i]); in gpio_regulator_probe()
324 if (config->gflags[ptr] == GPIOD_OUT_HIGH) in gpio_regulator_probe()
339 gflags = GPIOD_OUT_HIGH | GPIOD_FLAGS_BIT_NONEXCLUSIVE; in gpio_regulator_probe()
341 gflags = GPIOD_OUT_LOW | GPIOD_FLAGS_BIT_NONEXCLUSIVE; in gpio_regulator_probe()
343 cfg.ena_gpiod = gpiod_get_optional(dev, "enable", gflags); in gpio_regulator_probe()
H A Dfixed.c229 enum gpiod_flags gflags; in reg_fixed_voltage_probe() local
300 gflags = GPIOD_OUT_HIGH; in reg_fixed_voltage_probe()
302 gflags = GPIOD_OUT_LOW; in reg_fixed_voltage_probe()
315 gflags |= GPIOD_FLAGS_BIT_NONEXCLUSIVE; in reg_fixed_voltage_probe()
321 cfg.ena_gpiod = gpiod_get_optional(&pdev->dev, NULL, gflags); in reg_fixed_voltage_probe()
H A 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()
H A Dmax8973-regulator.c594 enum gpiod_flags gflags; in max8973_probe() local
711 gflags = GPIOD_OUT_HIGH; in max8973_probe()
713 gflags = GPIOD_OUT_LOW; in max8973_probe()
714 gflags |= GPIOD_FLAGS_BIT_NONEXCLUSIVE; in max8973_probe()
717 gflags); in max8973_probe()
/linux/drivers/w1/masters/
H A Dw1-gpio.c72 enum gpiod_flags gflags = GPIOD_OUT_LOW_OPEN_DRAIN; in w1_gpio_probe() local
86 gflags = GPIOD_OUT_LOW; in w1_gpio_probe()
92 ddata->gpiod = devm_gpiod_get_index(dev, NULL, 0, gflags); in w1_gpio_probe()
113 if (gflags == GPIOD_OUT_LOW_OPEN_DRAIN) in w1_gpio_probe()
/linux/drivers/watchdog/
H A 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()
H A 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()
/linux/drivers/input/serio/
H A Dps2-gpio.c375 enum gpiod_flags gflags; in ps2_gpio_get_props() local
378 gflags = GPIOD_IN | GPIOD_FLAGS_BIT_OPEN_DRAIN; in ps2_gpio_get_props()
380 drvdata->gpio_data = devm_gpiod_get(dev, "data", gflags); in ps2_gpio_get_props()
387 drvdata->gpio_clk = devm_gpiod_get(dev, "clk", gflags); in ps2_gpio_get_props()
/linux/include/linux/regulator/
H A Dgpio-regulator.h71 enum gpiod_flags *gflags; member
/linux/Documentation/networking/net_cachelines/
H A Dnet_device.rst32 unsigned_short gflags
/linux/drivers/tty/serial/
H A Domap-serial.c1493 enum gpiod_flags gflags; in serial_omap_probe_rs485() local
1518 gflags = rs485conf->flags & SER_RS485_RTS_AFTER_SEND ? in serial_omap_probe_rs485()
1520 up->rts_gpiod = devm_gpiod_get_optional(dev, "rts", gflags); in serial_omap_probe_rs485()
/linux/drivers/scsi/snic/
H A Dsnic_scsi.c990 unsigned long flags, gflags; in snic_hba_reset_cmpl_handler() local
1077 spin_lock_irqsave(&snic->snic_lock, gflags); in snic_hba_reset_cmpl_handler()
1080 spin_unlock_irqrestore(&snic->snic_lock, gflags); in snic_hba_reset_cmpl_handler()
/linux/net/core/
H A Ddev.c8787 unsigned int old_flags = dev->flags, old_gflags = dev->gflags; in __dev_set_allmulti()
8815 dev->gflags ^ old_gflags, 0, NULL); in __dev_set_allmulti()
8895 (READ_ONCE(dev->gflags) & (IFF_PROMISC | in dev_get_flags()
8952 if ((flags ^ dev->gflags) & IFF_PROMISC) { in __dev_change_flags()
8956 dev->gflags ^= IFF_PROMISC; in __dev_change_flags()
8967 if ((flags ^ dev->gflags) & IFF_ALLMULTI) { in __dev_change_flags()
8970 dev->gflags ^= IFF_ALLMULTI; in __dev_change_flags()
9019 unsigned int changes, old_flags = dev->flags, old_gflags = dev->gflags; in dev_change_flags()
9025 changes = (old_flags ^ dev->flags) | (old_gflags ^ dev->gflags); in dev_change_flags()
H A Drtnetlink.c1074 (dev->gflags & (IFF_PROMISC | IFF_ALLMULTI)); in rtnl_dev_get_flags()
/linux/include/linux/
H A Dnetdevice.h2160 unsigned short gflags; member