Home
last modified time | relevance | path

Searched refs:lflags (Results 1 – 25 of 36) sorted by relevance

12

/openbmc/linux/drivers/infiniband/hw/qib/
H A Dqib_intr.c104 (!ppd->lflags || (ppd->lflags & QIBL_LINKDOWN)) && in qib_handle_e_ibstatuschanged()
109 } else if (ppd->lflags & (QIBL_LINKINIT | QIBL_LINKARMED | in qib_handle_e_ibstatuschanged()
122 if (ppd->lflags & QIBL_LINKACTIVE) in qib_handle_e_ibstatuschanged()
126 ppd->lflags |= QIBL_LINKARMED | QIBL_LINKV; in qib_handle_e_ibstatuschanged()
127 ppd->lflags &= ~(QIBL_LINKINIT | in qib_handle_e_ibstatuschanged()
130 ppd->lflags |= QIBL_LINKINIT | QIBL_LINKV; in qib_handle_e_ibstatuschanged()
131 ppd->lflags &= ~(QIBL_LINKARMED | in qib_handle_e_ibstatuschanged()
139 !(ppd->lflags & QIBL_LINKACTIVE)) { in qib_handle_e_ibstatuschanged()
146 ppd->lflags |= QIBL_LINKACTIVE | QIBL_LINKV; in qib_handle_e_ibstatuschanged()
147 ppd->lflags &= ~(QIBL_LINKINIT | in qib_handle_e_ibstatuschanged()
[all …]
H A Dqib_driver.c107 if (ppd->lid && (ppd->lflags & (QIBL_LINKINIT | in qib_count_active_units()
138 if (ppd->lid && (ppd->lflags & (QIBL_LINKINIT | in qib_count_units()
179 (ppd->lflags & state), in qib_wait_linkstate()
185 if (!(ppd->lflags & state)) in qib_wait_linkstate()
230 if (ppd->lflags & QIBL_LINKARMED) { in qib_set_linkstate()
234 if (!(ppd->lflags & (QIBL_LINKINIT | QIBL_LINKACTIVE))) { in qib_set_linkstate()
245 ppd->lflags &= ~QIBL_LINKV; in qib_set_linkstate()
253 if (ppd->lflags & QIBL_LINKACTIVE) { in qib_set_linkstate()
257 if (!(ppd->lflags & QIBL_LINKARMED)) { in qib_set_linkstate()
H A Dqib_iba7220.c1121 !(ppd->lflags & QIBL_LINKACTIVE)) { in handle_7220_errors()
1132 !(ppd->lflags & QIBL_LINKACTIVE)) { in handle_7220_errors()
1171 if (!(ppd->lflags & QIBL_IB_AUTONEG_INPROG)) in handle_7220_errors()
1206 if (ppd->state_wanted & ppd->lflags) in handle_7220_errors()
1498 ppd->lflags |= QIBL_IB_LINK_DISABLED; in qib_set_ib_7220_lstate()
1507 ppd->lflags &= ~QIBL_IB_LINK_DISABLED; in qib_set_ib_7220_lstate()
1691 ppd->lflags &= ~QIBL_IB_AUTONEG_INPROG; in qib_7220_quiet_serdes()
2137 dd->pport->lflags |= QIBL_IB_FORCE_NOTIFY; in qib_setup_7220_reset()
2138 dd->pport->lflags &= ~QIBL_IB_AUTONEG_FAILED; in qib_setup_7220_reset()
2432 if (!(ppd->lflags & QIBL_LINKDOWN)) in qib_7220_set_ib_cfg()
[all …]
H A Dqib_iba7322.c1885 !(ppd->lflags & QIBL_LINKACTIVE)) { in handle_7322_p_errors()
1901 !(ppd->lflags & QIBL_LINKACTIVE)) { in handle_7322_p_errors()
1938 if (!(ppd->lflags & QIBL_IB_AUTONEG_INPROG)) in handle_7322_p_errors()
1962 if ((ppd->lflags & QIBL_IB_LINK_DISABLED) && ltstate != in handle_7322_p_errors()
1984 if (ppd->state_wanted & ppd->lflags) in handle_7322_p_errors()
2254 ppd->lflags |= QIBL_IB_LINK_DISABLED; in qib_set_ib_7322_lstate()
2263 ppd->lflags &= ~QIBL_IB_LINK_DISABLED; in qib_set_ib_7322_lstate()
2506 ppd->lflags &= ~QIBL_IB_AUTONEG_INPROG; in qib_7322_mini_quiet_serdes()
3726 ppd->lflags |= QIBL_IB_FORCE_NOTIFY; in qib_do_7322_reset()
3727 ppd->lflags &= ~QIBL_IB_AUTONEG_FAILED; in qib_do_7322_reset()
[all …]
H A Dqib_iba6120.c1018 !(ppd->lflags & QIBL_LINKACTIVE)) { in handle_6120_errors()
1029 !(ppd->lflags & QIBL_LINKACTIVE)) { in handle_6120_errors()
1094 if (ppd->state_wanted & ppd->lflags) in handle_6120_errors()
1200 ppd->lflags |= QIBL_IB_LINK_DISABLED; in qib_set_ib_6120_lstate()
1209 ppd->lflags &= ~QIBL_IB_LINK_DISABLED; in qib_set_ib_6120_lstate()
2997 ppd->lflags &= ~QIBL_IB_FORCE_NOTIFY; in qib_6120_ib_updown()
3327 !(ppd->lflags & (QIBL_IB_AUTONEG_INPROG | QIBL_LINKACTIVE))) in qib_6120_getsendbuf()
H A Dqib_init.c645 ppd->lflags &= ~(QIBL_LINKACTIVE | QIBL_LINKARMED | in qib_init()
710 ppd->lflags |= QIBL_IB_LINK_DISABLED; in qib_init()
840 ppd->lflags &= ~(QIBL_LINKDOWN | QIBL_LINKINIT | in qib_shutdown_device()
H A Dqib_tx.c518 if (!(ppd->lflags & QIBL_IB_AUTONEG_INPROG)) in qib_hol_down()
H A Dqib_sd7220.c1399 if ((dd->flags & QIB_INITTED) && !(ppd->lflags & in qib_run_relock()
1403 if (!(ppd->lflags & QIBL_IB_LINK_DISABLED)) in qib_run_relock()
/openbmc/linux/fs/xfs/
H A Dkmem.h32 gfp_t lflags; in kmem_flags_convert() local
36 lflags = GFP_KERNEL | __GFP_NOWARN; in kmem_flags_convert()
38 lflags &= ~__GFP_FS; in kmem_flags_convert()
48 lflags |= __GFP_RETRY_MAYFAIL; in kmem_flags_convert()
51 lflags |= __GFP_ZERO; in kmem_flags_convert()
54 lflags |= __GFP_NOLOCKDEP; in kmem_flags_convert()
56 return lflags; in kmem_flags_convert()
H A Dkmem.c14 gfp_t lflags = kmem_flags_convert(flags); in kmem_alloc() local
20 ptr = kmalloc(size, lflags); in kmem_alloc()
27 (unsigned int)size, __func__, lflags); in kmem_alloc()
28 memalloc_retry_wait(lflags); in kmem_alloc()
/openbmc/linux/net/sched/
H A Dact_skbmod.c114 u32 lflags = 0, index; in tcf_skbmod_init() local
135 lflags |= SKBMOD_F_DMAC; in tcf_skbmod_init()
140 lflags |= SKBMOD_F_SMAC; in tcf_skbmod_init()
145 lflags |= SKBMOD_F_ETYPE; in tcf_skbmod_init()
151 lflags = SKBMOD_F_SWAPMAC; in tcf_skbmod_init()
153 lflags = SKBMOD_F_ECN; in tcf_skbmod_init()
162 if (!lflags) { in tcf_skbmod_init()
195 p->flags = lflags; in tcf_skbmod_init()
203 if (lflags & SKBMOD_F_DMAC) in tcf_skbmod_init()
205 if (lflags & SKBMOD_F_SMAC) in tcf_skbmod_init()
[all …]
/openbmc/linux/drivers/gpio/
H A Dgpiolib-of.c445 unsigned long lflags = GPIO_LOOKUP_FLAGS_DEFAULT; in of_convert_gpio_flags() local
448 lflags |= GPIO_ACTIVE_LOW; in of_convert_gpio_flags()
452 lflags |= GPIO_OPEN_DRAIN; in of_convert_gpio_flags()
454 lflags |= GPIO_OPEN_SOURCE; in of_convert_gpio_flags()
458 lflags |= GPIO_TRANSITORY; in of_convert_gpio_flags()
461 lflags |= GPIO_PULL_UP; in of_convert_gpio_flags()
464 lflags |= GPIO_PULL_DOWN; in of_convert_gpio_flags()
467 lflags |= GPIO_PULL_DISABLE; in of_convert_gpio_flags()
469 return lflags; in of_convert_gpio_flags()
698 unsigned long *lflags, in of_parse_own_gpio() argument
[all …]
H A Dgpiolib-cdev.c187 static void linehandle_flags_to_desc_flags(u32 lflags, unsigned long *flagsp) in linehandle_flags_to_desc_flags() argument
190 lflags & GPIOHANDLE_REQUEST_ACTIVE_LOW); in linehandle_flags_to_desc_flags()
192 lflags & GPIOHANDLE_REQUEST_OPEN_DRAIN); in linehandle_flags_to_desc_flags()
194 lflags & GPIOHANDLE_REQUEST_OPEN_SOURCE); in linehandle_flags_to_desc_flags()
196 lflags & GPIOHANDLE_REQUEST_BIAS_PULL_UP); in linehandle_flags_to_desc_flags()
198 lflags & GPIOHANDLE_REQUEST_BIAS_PULL_DOWN); in linehandle_flags_to_desc_flags()
200 lflags & GPIOHANDLE_REQUEST_BIAS_DISABLE); in linehandle_flags_to_desc_flags()
209 u32 lflags; in linehandle_set_config() local
214 lflags = gcnf.flags; in linehandle_set_config()
215 ret = linehandle_validate_flags(lflags); in linehandle_set_config()
[all …]
H A Dgpiolib-acpi.c1087 unsigned long lflags = GPIO_LOOKUP_FLAGS_DEFAULT; in acpi_dev_gpio_irq_wake_get_by() local
1100 acpi_gpio_update_gpiod_lookup_flags(&lflags, &info); in acpi_dev_gpio_irq_wake_get_by()
1103 ret = gpiod_configure_flags(desc, label, lflags, dflags); in acpi_dev_gpio_irq_wake_get_by()
1283 unsigned long *lflags, in acpi_gpiochip_parse_own_gpio() argument
1291 *lflags = GPIO_LOOKUP_FLAGS_DEFAULT; in acpi_gpiochip_parse_own_gpio()
1305 *lflags |= GPIO_ACTIVE_LOW; in acpi_gpiochip_parse_own_gpio()
1327 unsigned long lflags; in acpi_gpiochip_scan_gpios() local
1337 &lflags, &dflags); in acpi_gpiochip_scan_gpios()
1341 ret = gpiod_hog(desc, name, lflags, dflags); in acpi_gpiochip_scan_gpios()
H A Dgpiolib.h219 unsigned long lflags, enum gpiod_flags dflags);
222 unsigned long lflags, enum gpiod_flags dflags);
H A Dgpiolib.c653 rv = gpiod_hog(desc, hog->line_name, hog->lflags, hog->dflags); in gpiochip_machine_hog()
2313 enum gpio_lookup_flags lflags, in gpiochip_request_own_desc() argument
2328 ret = gpiod_configure_flags(desc, label, lflags, dflags); in gpiochip_request_own_desc()
4192 unsigned long lflags, enum gpiod_flags dflags) in gpiod_configure_flags() argument
4196 if (lflags & GPIO_ACTIVE_LOW) in gpiod_configure_flags()
4199 if (lflags & GPIO_OPEN_DRAIN) in gpiod_configure_flags()
4213 if (lflags & GPIO_OPEN_SOURCE) in gpiod_configure_flags()
4216 if (((lflags & GPIO_PULL_UP) && (lflags & GPIO_PULL_DOWN)) || in gpiod_configure_flags()
4217 ((lflags & GPIO_PULL_UP) && (lflags & GPIO_PULL_DISABLE)) || in gpiod_configure_flags()
4218 ((lflags & GPIO_PULL_DOWN) && (lflags & GPIO_PULL_DISABLE))) { in gpiod_configure_flags()
[all …]
/openbmc/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
H A Dled.c65 enum gpio_lookup_flags lflags = GPIO_ACTIVE_HIGH; in brcms_led_register() local
73 lflags = GPIO_ACTIVE_LOW; in brcms_led_register()
84 "radio on", lflags, in brcms_led_register()
/openbmc/linux/include/linux/gpio/
H A Dmachine.h62 unsigned long lflags; member
106 .lflags = _lflags, \
H A Ddriver.h763 enum gpio_lookup_flags lflags,
/openbmc/linux/security/keys/
H A Dprocess_keys.c611 key_ref_t lookup_user_key(key_serial_t id, unsigned long lflags, in lookup_user_key() argument
632 if (!(lflags & KEY_LOOKUP_CREATE)) in lookup_user_key()
650 if (!(lflags & KEY_LOOKUP_CREATE)) in lookup_user_key()
673 if (lflags & KEY_LOOKUP_CREATE) in lookup_user_key()
684 lflags & KEY_LOOKUP_CREATE) { in lookup_user_key()
777 if (!(lflags & KEY_LOOKUP_PARTIAL)) { in lookup_user_key()
797 if (!(lflags & KEY_LOOKUP_PARTIAL) && in lookup_user_key()
H A Dkeyctl.c261 unsigned long lflags; in keyctl_get_keyring_ID() local
264 lflags = create ? KEY_LOOKUP_CREATE : 0; in keyctl_get_keyring_ID()
265 key_ref = lookup_user_key(id, lflags, KEY_NEED_SEARCH); in keyctl_get_keyring_ID()
/openbmc/linux/arch/powerpc/mm/book3s64/
H A Dslb.c545 unsigned long lflags; in slb_initialize() local
572 lflags = SLB_VSID_KERNEL | linear_llp; in slb_initialize()
578 create_shadowed_slbe(PAGE_OFFSET, mmu_kernel_ssize, lflags, LINEAR_INDEX); in slb_initialize()
590 mmu_kernel_ssize, lflags, KSTACK_INDEX); in slb_initialize()
/openbmc/linux/fs/
H A Dnamespace.c4083 unsigned int lflags; in SYSCALL_DEFINE5() local
4100 lflags = 0; in SYSCALL_DEFINE5()
4101 if (flags & MOVE_MOUNT_F_SYMLINKS) lflags |= LOOKUP_FOLLOW; in SYSCALL_DEFINE5()
4102 if (flags & MOVE_MOUNT_F_AUTOMOUNTS) lflags |= LOOKUP_AUTOMOUNT; in SYSCALL_DEFINE5()
4103 if (flags & MOVE_MOUNT_F_EMPTY_PATH) lflags |= LOOKUP_EMPTY; in SYSCALL_DEFINE5()
4105 ret = user_path_at(from_dfd, from_pathname, lflags, &from_path); in SYSCALL_DEFINE5()
4109 lflags = 0; in SYSCALL_DEFINE5()
4110 if (flags & MOVE_MOUNT_T_SYMLINKS) lflags |= LOOKUP_FOLLOW; in SYSCALL_DEFINE5()
4111 if (flags & MOVE_MOUNT_T_AUTOMOUNTS) lflags |= LOOKUP_AUTOMOUNT; in SYSCALL_DEFINE5()
4112 if (flags & MOVE_MOUNT_T_EMPTY_PATH) lflags |= LOOKUP_EMPTY; in SYSCALL_DEFINE5()
[all …]
/openbmc/linux/drivers/ata/
H A Dlibata-eh.c2576 unsigned int lflags = link->flags; in ata_eh_reset() local
2786 if (!(lflags & ATA_LFLAG_ASSUME_CLASS)) in ata_eh_reset()
2787 lflags |= ATA_LFLAG_ASSUME_ATA; in ata_eh_reset()
2805 if (lflags & ATA_LFLAG_ASSUME_ATA) in ata_eh_reset()
2807 else if (lflags & ATA_LFLAG_ASSUME_SEMB) in ata_eh_reset()
/openbmc/linux/drivers/infiniband/hw/bnxt_re/
H A Dqplib_fp.h176 u16 lflags; member

12