/linux/drivers/infiniband/hw/qib/ |
A D | qib_intr.c | 104 (!ppd->lflags || (ppd->lflags & QIBL_LINKDOWN)) && in qib_handle_e_ibstatuschanged() 122 if (ppd->lflags & QIBL_LINKACTIVE) 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() 147 ppd->lflags &= ~(QIBL_LINKINIT | in qib_handle_e_ibstatuschanged() 157 if (ppd->lflags & QIBL_LINKACTIVE) in qib_handle_e_ibstatuschanged() 160 ppd->lflags |= QIBL_LINKDOWN | QIBL_LINKV; in qib_handle_e_ibstatuschanged() 161 ppd->lflags &= ~(QIBL_LINKINIT | in qib_handle_e_ibstatuschanged() [all …]
|
A D | qib_driver.c | 107 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()
|
A D | qib_iba7220.c | 1132 !(ppd->lflags & QIBL_LINKACTIVE)) { 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() 2432 if (!(ppd->lflags & QIBL_LINKDOWN)) in qib_7220_set_ib_cfg() 2463 if (!(ppd->lflags & QIBL_LINKDOWN)) in qib_7220_set_ib_cfg() 2639 ppd->lflags |= QIBL_IB_FORCE_NOTIFY; in qib_7220_set_ib_cfg() 2663 ppd->lflags |= QIBL_IB_FORCE_NOTIFY; in qib_7220_set_ib_cfg() 3498 ppd->lflags |= QIBL_IB_AUTONEG_INPROG; in try_7220_autoneg() [all …]
|
A D | qib_iba7322.c | 1885 !(ppd->lflags & QIBL_LINKACTIVE)) { in handle_7322_p_errors() 1901 !(ppd->lflags & QIBL_LINKACTIVE)) { 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() 5328 ppd->lflags |= QIBL_IB_AUTONEG_INPROG; in try_7322_autoneg() 5514 ppd->lflags &= ~QIBL_IB_FORCE_NOTIFY; in qib_7322_ib_updown() 5934 ppd->lflags &= ~QIBL_LINKV; in qsfp_7322_event() [all …]
|
A D | qib_iba6120.c | 1021 !(ppd->lflags & QIBL_LINKACTIVE)) { in handle_6120_errors() 1032 !(ppd->lflags & QIBL_LINKACTIVE)) { in handle_6120_errors() 1097 if (ppd->state_wanted & ppd->lflags) in handle_6120_errors() 1203 ppd->lflags |= QIBL_IB_LINK_DISABLED; in qib_set_ib_6120_lstate() 1212 ppd->lflags &= ~QIBL_IB_LINK_DISABLED; in qib_set_ib_6120_lstate() 3000 ppd->lflags &= ~QIBL_IB_FORCE_NOTIFY; in qib_6120_ib_updown() 3330 !(ppd->lflags & (QIBL_IB_AUTONEG_INPROG | QIBL_LINKACTIVE))) in qib_6120_getsendbuf()
|
A D | qib_init.c | 645 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()
|
A D | qib_tx.c | 521 if (!(ppd->lflags & QIBL_IB_AUTONEG_INPROG)) in qib_hol_down()
|
A D | qib_sd7220.c | 1399 if ((dd->flags & QIB_INITTED) && !(ppd->lflags & in qib_run_relock() 1403 if (!(ppd->lflags & QIBL_IB_LINK_DISABLED)) in qib_run_relock()
|
/linux/fs/xfs/ |
A D | kmem.h | 32 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()
|
A D | kmem.c | 15 gfp_t lflags = kmem_flags_convert(flags); in kmem_alloc() local 21 ptr = kmalloc(size, lflags); in kmem_alloc() 28 (unsigned int)size, __func__, lflags); in kmem_alloc()
|
/linux/net/sched/ |
A D | act_skbmod.c | 113 u32 lflags = 0, index; in tcf_skbmod_init() local 134 lflags |= SKBMOD_F_DMAC; in tcf_skbmod_init() 139 lflags |= SKBMOD_F_SMAC; in tcf_skbmod_init() 144 lflags |= SKBMOD_F_ETYPE; in tcf_skbmod_init() 150 lflags = SKBMOD_F_SWAPMAC; in tcf_skbmod_init() 152 lflags = SKBMOD_F_ECN; in tcf_skbmod_init() 161 if (!lflags) { in tcf_skbmod_init() 194 p->flags = lflags; in tcf_skbmod_init() 202 if (lflags & SKBMOD_F_DMAC) in tcf_skbmod_init() 204 if (lflags & SKBMOD_F_SMAC) in tcf_skbmod_init() [all …]
|
/linux/drivers/gpio/ |
A D | gpiolib-of.c | 339 lflags |= GPIO_ACTIVE_LOW; in gpiod_get_from_of_node() 343 lflags |= GPIO_OPEN_DRAIN; in gpiod_get_from_of_node() 345 lflags |= GPIO_OPEN_SOURCE; in gpiod_get_from_of_node() 349 lflags |= GPIO_TRANSITORY; in gpiod_get_from_of_node() 352 lflags |= GPIO_PULL_UP; in gpiod_get_from_of_node() 355 lflags |= GPIO_PULL_DOWN; in gpiod_get_from_of_node() 617 *lflags |= GPIO_ACTIVE_LOW; in of_parse_own_gpio() 619 *lflags |= GPIO_TRANSITORY; in of_parse_own_gpio() 621 *lflags |= GPIO_PULL_UP; in of_parse_own_gpio() 623 *lflags |= GPIO_PULL_DOWN; in of_parse_own_gpio() [all …]
|
A D | gpiolib-cdev.c | 137 lflags & GPIOHANDLE_REQUEST_ACTIVE_LOW); in linehandle_flags_to_desc_flags() 156 u32 lflags; in linehandle_set_config() local 161 lflags = gcnf.flags; in linehandle_set_config() 162 ret = linehandle_validate_flags(lflags); in linehandle_set_config() 174 if (lflags & GPIOHANDLE_REQUEST_OUTPUT) { in linehandle_set_config() 291 u32 lflags; in linehandle_create() local 298 lflags = handlereq.flags; in linehandle_create() 300 ret = linehandle_validate_flags(lflags); in linehandle_create() 347 if (lflags & GPIOHANDLE_REQUEST_OUTPUT) { in linehandle_create() 1714 u32 lflags; in lineevent_create() local [all …]
|
A D | gpiolib-acpi.c | 1032 unsigned long lflags = GPIO_LOOKUP_FLAGS_DEFAULT; in acpi_dev_gpio_irq_get_by() local 1045 acpi_gpio_update_gpiod_lookup_flags(&lflags, &info); in acpi_dev_gpio_irq_get_by() 1048 ret = gpiod_configure_flags(desc, label, lflags, dflags); in acpi_dev_gpio_irq_get_by() 1216 unsigned long *lflags, in acpi_gpiochip_parse_own_gpio() argument 1224 *lflags = GPIO_LOOKUP_FLAGS_DEFAULT; in acpi_gpiochip_parse_own_gpio() 1238 *lflags |= GPIO_ACTIVE_LOW; in acpi_gpiochip_parse_own_gpio() 1260 unsigned long lflags; in acpi_gpiochip_scan_gpios() local 1270 &lflags, &dflags); in acpi_gpiochip_scan_gpios() 1274 ret = gpiod_hog(desc, name, lflags, dflags); in acpi_gpiochip_scan_gpios()
|
A D | gpiolib.h | 139 unsigned long lflags, enum gpiod_flags dflags); 142 unsigned long lflags, enum gpiod_flags dflags);
|
A D | gpiolib.c | 2068 enum gpio_lookup_flags lflags, in gpiochip_request_own_desc() argument 3781 unsigned long lflags, enum gpiod_flags dflags) in gpiod_configure_flags() argument 3785 if (lflags & GPIO_ACTIVE_LOW) in gpiod_configure_flags() 3788 if (lflags & GPIO_OPEN_DRAIN) in gpiod_configure_flags() 3802 if (lflags & GPIO_OPEN_SOURCE) in gpiod_configure_flags() 3805 if ((lflags & GPIO_PULL_UP) && (lflags & GPIO_PULL_DOWN)) { in gpiod_configure_flags() 3811 if (lflags & GPIO_PULL_UP) in gpiod_configure_flags() 3813 else if (lflags & GPIO_PULL_DOWN) in gpiod_configure_flags() 3950 unsigned long lflags = GPIO_LOOKUP_FLAGS_DEFAULT; in fwnode_get_named_gpiod() local 4026 unsigned long lflags, enum gpiod_flags dflags) in gpiod_hog() argument [all …]
|
/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/ |
A D | led.c | 64 enum gpio_lookup_flags lflags = GPIO_ACTIVE_HIGH; in brcms_led_register() local 75 lflags = GPIO_ACTIVE_LOW; in brcms_led_register() 86 "radio on", lflags, in brcms_led_register()
|
/linux/include/linux/gpio/ |
A D | machine.h | 62 unsigned long lflags; member 94 .lflags = _lflags, \
|
A D | driver.h | 712 enum gpio_lookup_flags lflags,
|
/linux/security/keys/ |
A D | process_keys.c | 611 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()
|
A D | keyctl.c | 261 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()
|
/linux/arch/powerpc/mm/book3s64/ |
A D | slb.c | 545 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()
|
/linux/fs/ |
A D | namespace.c | 3719 unsigned int lflags; in SYSCALL_DEFINE5() local 3732 lflags = 0; in SYSCALL_DEFINE5() 3733 if (flags & MOVE_MOUNT_F_SYMLINKS) lflags |= LOOKUP_FOLLOW; in SYSCALL_DEFINE5() 3734 if (flags & MOVE_MOUNT_F_AUTOMOUNTS) lflags |= LOOKUP_AUTOMOUNT; in SYSCALL_DEFINE5() 3735 if (flags & MOVE_MOUNT_F_EMPTY_PATH) lflags |= LOOKUP_EMPTY; in SYSCALL_DEFINE5() 3737 ret = user_path_at(from_dfd, from_pathname, lflags, &from_path); in SYSCALL_DEFINE5() 3741 lflags = 0; in SYSCALL_DEFINE5() 3742 if (flags & MOVE_MOUNT_T_SYMLINKS) lflags |= LOOKUP_FOLLOW; in SYSCALL_DEFINE5() 3743 if (flags & MOVE_MOUNT_T_AUTOMOUNTS) lflags |= LOOKUP_AUTOMOUNT; in SYSCALL_DEFINE5() 3744 if (flags & MOVE_MOUNT_T_EMPTY_PATH) lflags |= LOOKUP_EMPTY; in SYSCALL_DEFINE5() [all …]
|
/linux/drivers/ata/ |
A D | libata-core.c | 99 u16 lflags; member 389 if (fe->param.lflags) { in ata_force_link_limits() 390 link->flags |= fe->param.lflags; in ata_force_link_limits() 393 fe->param.lflags, link->flags); in ata_force_link_limits() 6267 { "nohrst", .lflags = ATA_LFLAG_NO_HRST }, in ata_parse_force_one() 6268 { "nosrst", .lflags = ATA_LFLAG_NO_SRST }, in ata_parse_force_one() 6269 { "norst", .lflags = ATA_LFLAG_NO_HRST | ATA_LFLAG_NO_SRST }, in ata_parse_force_one() 6270 { "rstonce", .lflags = ATA_LFLAG_RST_ONCE }, in ata_parse_force_one()
|
A D | libata-eh.c | 2458 unsigned int lflags = link->flags; in ata_eh_reset() local 2657 if (!(lflags & ATA_LFLAG_ASSUME_CLASS)) in ata_eh_reset() 2658 lflags |= ATA_LFLAG_ASSUME_ATA; in ata_eh_reset() 2676 if (lflags & ATA_LFLAG_ASSUME_ATA) in ata_eh_reset() 2678 else if (lflags & ATA_LFLAG_ASSUME_SEMB) in ata_eh_reset()
|