Searched refs:lflags (Results 1 - 25 of 34) sorted by relevance

12

/linux-master/drivers/infiniband/hw/qib/
H A Dqib_intr.c100 * ppd->lflags could be 0 if this is the first time the interrupt
104 (!ppd->lflags || (ppd->lflags & QIBL_LINKDOWN)) &&
109 } else if (ppd->lflags & (QIBL_LINKINIT | QIBL_LINKARMED |
122 if (ppd->lflags & QIBL_LINKACTIVE)
126 ppd->lflags |= QIBL_LINKARMED | QIBL_LINKV;
127 ppd->lflags &= ~(QIBL_LINKINIT |
130 ppd->lflags |= QIBL_LINKINIT | QIBL_LINKV;
131 ppd->lflags &= ~(QIBL_LINKARMED |
139 !(ppd->lflags
[all...]
H A Dqib_driver.c107 if (ppd->lid && (ppd->lflags & (QIBL_LINKINIT |
138 if (ppd->lid && (ppd->lflags & (QIBL_LINKINIT |
179 (ppd->lflags & state),
185 if (!(ppd->lflags & state))
230 if (ppd->lflags & QIBL_LINKARMED) {
234 if (!(ppd->lflags & (QIBL_LINKINIT | QIBL_LINKACTIVE))) {
245 ppd->lflags &= ~QIBL_LINKV;
253 if (ppd->lflags & QIBL_LINKACTIVE) {
257 if (!(ppd->lflags & QIBL_LINKARMED)) {
H A Dqib_iba7220.c1121 !(ppd->lflags & QIBL_LINKACTIVE)) {
1132 !(ppd->lflags & QIBL_LINKACTIVE)) {
1171 if (!(ppd->lflags & QIBL_IB_AUTONEG_INPROG))
1206 if (ppd->state_wanted & ppd->lflags)
1498 ppd->lflags |= QIBL_IB_LINK_DISABLED;
1507 ppd->lflags &= ~QIBL_IB_LINK_DISABLED;
1691 ppd->lflags &= ~QIBL_IB_AUTONEG_INPROG;
2137 dd->pport->lflags |= QIBL_IB_FORCE_NOTIFY;
2138 dd->pport->lflags &= ~QIBL_IB_AUTONEG_FAILED;
2432 if (!(ppd->lflags
[all...]
H A Dqib_iba7322.c1885 !(ppd->lflags & QIBL_LINKACTIVE)) {
1901 !(ppd->lflags & QIBL_LINKACTIVE)) {
1938 if (!(ppd->lflags & QIBL_IB_AUTONEG_INPROG))
1962 if ((ppd->lflags & QIBL_IB_LINK_DISABLED) && ltstate !=
1984 if (ppd->state_wanted & ppd->lflags)
2254 ppd->lflags |= QIBL_IB_LINK_DISABLED;
2263 ppd->lflags &= ~QIBL_IB_LINK_DISABLED;
2506 ppd->lflags &= ~QIBL_IB_AUTONEG_INPROG;
3726 ppd->lflags |= QIBL_IB_FORCE_NOTIFY;
3727 ppd->lflags
[all...]
H A Dqib_init.c645 ppd->lflags &= ~(QIBL_LINKACTIVE | QIBL_LINKARMED |
710 ppd->lflags |= QIBL_IB_LINK_DISABLED;
840 ppd->lflags &= ~(QIBL_LINKDOWN | QIBL_LINKINIT |
H A Dqib_tx.c518 if (!(ppd->lflags & QIBL_IB_AUTONEG_INPROG))
H A Dqib_sd7220.c1399 if ((dd->flags & QIB_INITTED) && !(ppd->lflags &
1403 if (!(ppd->lflags & QIBL_IB_LINK_DISABLED))
H A Dqib_iba6120.c1018 !(ppd->lflags & QIBL_LINKACTIVE)) {
1029 !(ppd->lflags & QIBL_LINKACTIVE)) {
1094 if (ppd->state_wanted & ppd->lflags)
1200 ppd->lflags |= QIBL_IB_LINK_DISABLED;
1209 ppd->lflags &= ~QIBL_IB_LINK_DISABLED;
2997 ppd->lflags &= ~QIBL_IB_FORCE_NOTIFY;
3327 !(ppd->lflags & (QIBL_IB_AUTONEG_INPROG | QIBL_LINKACTIVE)))
H A Dqib.h529 u32 lflags; member in struct:qib_pportdata
1230 * values for ppd->lflags (_ib_port_ related flags)
/linux-master/net/sched/
H A Dact_skbmod.c114 u32 lflags = 0, index; local
135 lflags |= SKBMOD_F_DMAC;
140 lflags |= SKBMOD_F_SMAC;
145 lflags |= SKBMOD_F_ETYPE;
151 lflags = SKBMOD_F_SWAPMAC;
153 lflags = SKBMOD_F_ECN;
162 if (!lflags) {
195 p->flags = lflags;
203 if (lflags & SKBMOD_F_DMAC)
205 if (lflags
[all...]
/linux-master/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
H A Dled.c64 enum gpio_lookup_flags lflags = GPIO_ACTIVE_HIGH; local
72 lflags = GPIO_ACTIVE_LOW;
83 "radio on", lflags,
/linux-master/include/linux/gpio/
H A Dmachine.h54 * @lflags: bitmask of gpio_lookup_flags GPIO_* values
62 unsigned long lflags; member in struct:gpiod_hog
106 .lflags = _lflags, \
H A Ddriver.h792 enum gpio_lookup_flags lflags,
/linux-master/drivers/gpio/
H A Dgpiolib-of.c440 unsigned long lflags = GPIO_LOOKUP_FLAGS_DEFAULT; local
443 lflags |= GPIO_ACTIVE_LOW;
447 lflags |= GPIO_OPEN_DRAIN;
449 lflags |= GPIO_OPEN_SOURCE;
453 lflags |= GPIO_TRANSITORY;
456 lflags |= GPIO_PULL_UP;
459 lflags |= GPIO_PULL_DOWN;
462 lflags |= GPIO_PULL_DISABLE;
464 return lflags;
711 * @lflags
718 of_parse_own_gpio(struct device_node *np, struct gpio_chip *chip, unsigned int idx, const char **name, unsigned long *lflags, enum gpiod_flags *dflags) argument
789 unsigned long lflags; local
[all...]
H A Dgpiolib-cdev.c140 static void linehandle_flags_to_desc_flags(u32 lflags, unsigned long *flagsp) argument
143 lflags & GPIOHANDLE_REQUEST_ACTIVE_LOW);
145 lflags & GPIOHANDLE_REQUEST_OPEN_DRAIN);
147 lflags & GPIOHANDLE_REQUEST_OPEN_SOURCE);
149 lflags & GPIOHANDLE_REQUEST_BIAS_PULL_UP);
151 lflags & GPIOHANDLE_REQUEST_BIAS_PULL_DOWN);
153 lflags & GPIOHANDLE_REQUEST_BIAS_DISABLE);
162 u32 lflags; local
167 lflags = gcnf.flags;
168 ret = linehandle_validate_flags(lflags);
300 u32 lflags; local
2145 u32 lflags; local
[all...]
H A Dgpiolib.h235 unsigned long lflags, enum gpiod_flags dflags);
238 unsigned long lflags, enum gpiod_flags dflags);
H A Dgpiolib-acpi.c1046 unsigned long lflags = GPIO_LOOKUP_FLAGS_DEFAULT; local
1059 acpi_gpio_update_gpiod_lookup_flags(&lflags, &info);
1062 ret = gpiod_configure_flags(desc, label, lflags, dflags);
1242 unsigned long *lflags,
1250 *lflags = GPIO_LOOKUP_FLAGS_DEFAULT;
1264 *lflags |= GPIO_ACTIVE_LOW;
1286 unsigned long lflags; local
1296 &lflags, &dflags);
1300 ret = gpiod_hog(desc, name, lflags, dflags);
1239 acpi_gpiochip_parse_own_gpio(struct acpi_gpio_chip *achip, struct fwnode_handle *fwnode, const char **name, unsigned long *lflags, enum gpiod_flags *dflags) argument
H A Dgpiolib.c771 rv = gpiod_hog(desc, hog->line_name, hog->lflags, hog->dflags);
2413 * @lflags: lookup flags for this GPIO or 0 if default, this can be used to
2432 enum gpio_lookup_flags lflags,
2448 ret = gpiod_configure_flags(desc, label, lflags, dflags);
4348 * @lflags: bitmask of gpio_lookup_flags GPIO_* values - returned from
4357 unsigned long lflags, enum gpiod_flags dflags)
4362 if (lflags & GPIO_ACTIVE_LOW)
4365 if (lflags & GPIO_OPEN_DRAIN)
4379 if (lflags & GPIO_OPEN_SOURCE)
4382 if (((lflags
2429 gpiochip_request_own_desc(struct gpio_chip *gc, unsigned int hwnum, const char *label, enum gpio_lookup_flags lflags, enum gpiod_flags dflags) argument
4356 gpiod_configure_flags(struct gpio_desc *desc, const char *con_id, unsigned long lflags, enum gpiod_flags dflags) argument
4479 gpiod_hog(struct gpio_desc *desc, const char *name, unsigned long lflags, enum gpiod_flags dflags) argument
[all...]
/linux-master/security/keys/
H A Dprocess_keys.c611 key_ref_t lookup_user_key(key_serial_t id, unsigned long lflags, argument
632 if (!(lflags & KEY_LOOKUP_CREATE))
650 if (!(lflags & KEY_LOOKUP_CREATE))
673 if (lflags & KEY_LOOKUP_CREATE)
684 lflags & KEY_LOOKUP_CREATE) {
777 if (!(lflags & KEY_LOOKUP_PARTIAL)) {
797 if (!(lflags & KEY_LOOKUP_PARTIAL) &&
H A Dkeyctl.c261 unsigned long lflags; local
264 lflags = create ? KEY_LOOKUP_CREATE : 0;
265 key_ref = lookup_user_key(id, lflags, KEY_NEED_SEARCH);
/linux-master/arch/powerpc/mm/book3s64/
H A Dslb.c545 unsigned long lflags; local
572 lflags = SLB_VSID_KERNEL | linear_llp;
578 create_shadowed_slbe(PAGE_OFFSET, mmu_kernel_ssize, lflags, LINEAR_INDEX);
590 mmu_kernel_ssize, lflags, KSTACK_INDEX);
/linux-master/fs/
H A Dnamespace.c4077 unsigned int lflags; local
4094 lflags = 0;
4095 if (flags & MOVE_MOUNT_F_SYMLINKS) lflags |= LOOKUP_FOLLOW;
4096 if (flags & MOVE_MOUNT_F_AUTOMOUNTS) lflags |= LOOKUP_AUTOMOUNT;
4097 if (flags & MOVE_MOUNT_F_EMPTY_PATH) lflags |= LOOKUP_EMPTY;
4099 ret = user_path_at(from_dfd, from_pathname, lflags, &from_path);
4103 lflags = 0;
4104 if (flags & MOVE_MOUNT_T_SYMLINKS) lflags |= LOOKUP_FOLLOW;
4105 if (flags & MOVE_MOUNT_T_AUTOMOUNTS) lflags |= LOOKUP_AUTOMOUNT;
4106 if (flags & MOVE_MOUNT_T_EMPTY_PATH) lflags |
[all...]
/linux-master/drivers/infiniband/hw/bnxt_re/
H A Dqplib_fp.h177 u16 lflags; member in struct:bnxt_qplib_swqe::__anon951::__anon954
/linux-master/drivers/ata/
H A Dlibata-eh.c2573 unsigned int lflags = link->flags; local
2783 if (!(lflags & ATA_LFLAG_ASSUME_CLASS))
2784 lflags |= ATA_LFLAG_ASSUME_ATA;
2802 if (lflags & ATA_LFLAG_ASSUME_ATA)
2804 else if (lflags & ATA_LFLAG_ASSUME_SEMB)
/linux-master/drivers/iommu/amd/
H A Diommu.c2646 unsigned long lflags; local
2651 spin_lock_irqsave(&pdomain->lock, lflags);
2653 spin_unlock_irqrestore(&pdomain->lock, lflags);
2656 spin_unlock_irqrestore(&pdomain->lock, lflags);

Completed in 442 milliseconds

12