Home
last modified time | relevance | path

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

12

/linux-6.1.9/drivers/infiniband/hw/qib/
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 …]
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()
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 …]
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 …]
Dqib_iba6120.c1021 !(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()
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()
Dqib_tx.c521 if (!(ppd->lflags & QIBL_IB_AUTONEG_INPROG)) in qib_hol_down()
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()
/linux-6.1.9/fs/xfs/
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()
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()
/linux-6.1.9/net/sched/
Dact_skbmod.c112 u32 lflags = 0, index; in tcf_skbmod_init() local
133 lflags |= SKBMOD_F_DMAC; in tcf_skbmod_init()
138 lflags |= SKBMOD_F_SMAC; in tcf_skbmod_init()
143 lflags |= SKBMOD_F_ETYPE; in tcf_skbmod_init()
149 lflags = SKBMOD_F_SWAPMAC; in tcf_skbmod_init()
151 lflags = SKBMOD_F_ECN; in tcf_skbmod_init()
160 if (!lflags) { in tcf_skbmod_init()
193 p->flags = lflags; in tcf_skbmod_init()
201 if (lflags & SKBMOD_F_DMAC) in tcf_skbmod_init()
203 if (lflags & SKBMOD_F_SMAC) in tcf_skbmod_init()
[all …]
/linux-6.1.9/drivers/gpio/
Dgpiolib-of.c295 unsigned long lflags = GPIO_LOOKUP_FLAGS_DEFAULT; in of_convert_gpio_flags() local
298 lflags |= GPIO_ACTIVE_LOW; in of_convert_gpio_flags()
302 lflags |= GPIO_OPEN_DRAIN; in of_convert_gpio_flags()
304 lflags |= GPIO_OPEN_SOURCE; in of_convert_gpio_flags()
308 lflags |= GPIO_TRANSITORY; in of_convert_gpio_flags()
311 lflags |= GPIO_PULL_UP; in of_convert_gpio_flags()
314 lflags |= GPIO_PULL_DOWN; in of_convert_gpio_flags()
317 lflags |= GPIO_PULL_DISABLE; in of_convert_gpio_flags()
319 return lflags; in of_convert_gpio_flags()
341 unsigned long lflags; in gpiod_get_from_of_node() local
[all …]
Dgpiolib-cdev.c179 static void linehandle_flags_to_desc_flags(u32 lflags, unsigned long *flagsp) in linehandle_flags_to_desc_flags() argument
182 lflags & GPIOHANDLE_REQUEST_ACTIVE_LOW); in linehandle_flags_to_desc_flags()
184 lflags & GPIOHANDLE_REQUEST_OPEN_DRAIN); in linehandle_flags_to_desc_flags()
186 lflags & GPIOHANDLE_REQUEST_OPEN_SOURCE); in linehandle_flags_to_desc_flags()
188 lflags & GPIOHANDLE_REQUEST_BIAS_PULL_UP); in linehandle_flags_to_desc_flags()
190 lflags & GPIOHANDLE_REQUEST_BIAS_PULL_DOWN); in linehandle_flags_to_desc_flags()
192 lflags & GPIOHANDLE_REQUEST_BIAS_DISABLE); in linehandle_flags_to_desc_flags()
201 u32 lflags; in linehandle_set_config() local
206 lflags = gcnf.flags; in linehandle_set_config()
207 ret = linehandle_validate_flags(lflags); in linehandle_set_config()
[all …]
Dgpiolib.h201 unsigned long lflags, enum gpiod_flags dflags);
204 unsigned long lflags, enum gpiod_flags dflags);
Dgpiolib-acpi.c1043 unsigned long lflags = GPIO_LOOKUP_FLAGS_DEFAULT; in acpi_dev_gpio_irq_wake_get_by() local
1056 acpi_gpio_update_gpiod_lookup_flags(&lflags, &info); in acpi_dev_gpio_irq_wake_get_by()
1059 ret = gpiod_configure_flags(desc, label, lflags, dflags); in acpi_dev_gpio_irq_wake_get_by()
1238 unsigned long *lflags, in acpi_gpiochip_parse_own_gpio() argument
1246 *lflags = GPIO_LOOKUP_FLAGS_DEFAULT; in acpi_gpiochip_parse_own_gpio()
1260 *lflags |= GPIO_ACTIVE_LOW; in acpi_gpiochip_parse_own_gpio()
1282 unsigned long lflags; in acpi_gpiochip_scan_gpios() local
1292 &lflags, &dflags); in acpi_gpiochip_scan_gpios()
1296 ret = gpiod_hog(desc, name, lflags, dflags); in acpi_gpiochip_scan_gpios()
Dgpiolib.c561 rv = gpiod_hog(desc, hog->line_name, hog->lflags, hog->dflags); in gpiochip_machine_hog()
2135 enum gpio_lookup_flags lflags, in gpiochip_request_own_desc() argument
2150 ret = gpiod_configure_flags(desc, label, lflags, dflags); in gpiochip_request_own_desc()
3841 unsigned long lflags = GPIO_LOOKUP_FLAGS_DEFAULT; in fwnode_get_named_gpiod() local
3859 acpi_gpio_update_gpiod_lookup_flags(&lflags, &info); in fwnode_get_named_gpiod()
3869 ret = gpiod_configure_flags(desc, propname, lflags, dflags); in fwnode_get_named_gpiod()
4001 unsigned long lflags, enum gpiod_flags dflags) in gpiod_configure_flags() argument
4005 if (lflags & GPIO_ACTIVE_LOW) in gpiod_configure_flags()
4008 if (lflags & GPIO_OPEN_DRAIN) in gpiod_configure_flags()
4022 if (lflags & GPIO_OPEN_SOURCE) in gpiod_configure_flags()
[all …]
/linux-6.1.9/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
Dled.c64 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-6.1.9/include/linux/gpio/
Dmachine.h63 unsigned long lflags; member
107 .lflags = _lflags, \
Ddriver.h764 enum gpio_lookup_flags lflags,
/linux-6.1.9/security/keys/
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()
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()
/linux-6.1.9/arch/powerpc/mm/book3s64/
Dslb.c544 unsigned long lflags; in slb_initialize() local
571 lflags = SLB_VSID_KERNEL | linear_llp; in slb_initialize()
577 create_shadowed_slbe(PAGE_OFFSET, mmu_kernel_ssize, lflags, LINEAR_INDEX); in slb_initialize()
589 mmu_kernel_ssize, lflags, KSTACK_INDEX); in slb_initialize()
/linux-6.1.9/fs/
Dnamespace.c3771 unsigned int lflags; in SYSCALL_DEFINE5() local
3784 lflags = 0; in SYSCALL_DEFINE5()
3785 if (flags & MOVE_MOUNT_F_SYMLINKS) lflags |= LOOKUP_FOLLOW; in SYSCALL_DEFINE5()
3786 if (flags & MOVE_MOUNT_F_AUTOMOUNTS) lflags |= LOOKUP_AUTOMOUNT; in SYSCALL_DEFINE5()
3787 if (flags & MOVE_MOUNT_F_EMPTY_PATH) lflags |= LOOKUP_EMPTY; in SYSCALL_DEFINE5()
3789 ret = user_path_at(from_dfd, from_pathname, lflags, &from_path); in SYSCALL_DEFINE5()
3793 lflags = 0; in SYSCALL_DEFINE5()
3794 if (flags & MOVE_MOUNT_T_SYMLINKS) lflags |= LOOKUP_FOLLOW; in SYSCALL_DEFINE5()
3795 if (flags & MOVE_MOUNT_T_AUTOMOUNTS) lflags |= LOOKUP_AUTOMOUNT; in SYSCALL_DEFINE5()
3796 if (flags & MOVE_MOUNT_T_EMPTY_PATH) lflags |= LOOKUP_EMPTY; in SYSCALL_DEFINE5()
[all …]
/linux-6.1.9/drivers/ata/
Dlibata-eh.c2445 unsigned int lflags = link->flags; in ata_eh_reset() local
2656 if (!(lflags & ATA_LFLAG_ASSUME_CLASS)) in ata_eh_reset()
2657 lflags |= ATA_LFLAG_ASSUME_ATA; in ata_eh_reset()
2675 if (lflags & ATA_LFLAG_ASSUME_ATA) in ata_eh_reset()
2677 else if (lflags & ATA_LFLAG_ASSUME_SEMB) in ata_eh_reset()
/linux-6.1.9/drivers/infiniband/hw/bnxt_re/
Dqplib_fp.h177 u16 lflags; member

12