Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/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.c106 if (ppd->lid && (ppd->lflags & (QIBL_LINKINIT | in qib_count_active_units()
137 if (ppd->lid && (ppd->lflags & (QIBL_LINKINIT | in qib_count_units()
178 (ppd->lflags & state), in qib_wait_linkstate()
184 if (!(ppd->lflags & state)) in qib_wait_linkstate()
229 if (ppd->lflags & QIBL_LINKARMED) { in qib_set_linkstate()
233 if (!(ppd->lflags & (QIBL_LINKINIT | QIBL_LINKACTIVE))) { in qib_set_linkstate()
244 ppd->lflags &= ~QIBL_LINKV; in qib_set_linkstate()
252 if (ppd->lflags & QIBL_LINKACTIVE) { in qib_set_linkstate()
256 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.c1907 !(ppd->lflags & QIBL_LINKACTIVE)) { in handle_7322_p_errors()
1923 !(ppd->lflags & QIBL_LINKACTIVE)) { in handle_7322_p_errors()
1960 if (!(ppd->lflags & QIBL_IB_AUTONEG_INPROG)) in handle_7322_p_errors()
1984 if ((ppd->lflags & QIBL_IB_LINK_DISABLED) && ltstate != in handle_7322_p_errors()
2006 if (ppd->state_wanted & ppd->lflags) in handle_7322_p_errors()
2276 ppd->lflags |= QIBL_IB_LINK_DISABLED; in qib_set_ib_7322_lstate()
2285 ppd->lflags &= ~QIBL_IB_LINK_DISABLED; in qib_set_ib_7322_lstate()
2528 ppd->lflags &= ~QIBL_IB_AUTONEG_INPROG; in qib_7322_mini_quiet_serdes()
3748 ppd->lflags |= QIBL_IB_FORCE_NOTIFY; in qib_do_7322_reset()
3749 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.c520 if (!(ppd->lflags & QIBL_IB_AUTONEG_INPROG)) in qib_hol_down()
/kernel/linux/linux-5.10/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.c15 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()
46 gfp_t lflags = kmem_flags_convert(flags); in __kmem_vmalloc() local
51 ptr = __vmalloc(size, lflags); in __kmem_vmalloc()
/kernel/linux/linux-5.10/net/sched/
Dact_skbmod.c94 u32 lflags = 0, index; in tcf_skbmod_init() local
115 lflags |= SKBMOD_F_DMAC; in tcf_skbmod_init()
120 lflags |= SKBMOD_F_SMAC; in tcf_skbmod_init()
125 lflags |= SKBMOD_F_ETYPE; in tcf_skbmod_init()
131 lflags = SKBMOD_F_SWAPMAC; in tcf_skbmod_init()
140 if (!lflags) { in tcf_skbmod_init()
173 p->flags = lflags; in tcf_skbmod_init()
181 if (lflags & SKBMOD_F_DMAC) in tcf_skbmod_init()
183 if (lflags & SKBMOD_F_SMAC) in tcf_skbmod_init()
185 if (lflags & SKBMOD_F_ETYPE) in tcf_skbmod_init()
/kernel/linux/linux-5.10/drivers/gpio/
Dgpiolib-of.c311 unsigned long lflags = GPIO_LOOKUP_FLAGS_DEFAULT; in gpiod_get_from_of_node() local
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()
357 ret = gpiod_configure_flags(desc, propname, lflags, dflags); in gpiod_get_from_of_node()
579 unsigned long *lflags, in of_parse_own_gpio() argument
595 *lflags = GPIO_LOOKUP_FLAGS_DEFAULT; in of_parse_own_gpio()
[all …]
Dgpiolib-cdev.c134 static void linehandle_flags_to_desc_flags(u32 lflags, unsigned long *flagsp) in linehandle_flags_to_desc_flags() argument
137 lflags & GPIOHANDLE_REQUEST_ACTIVE_LOW); in linehandle_flags_to_desc_flags()
139 lflags & GPIOHANDLE_REQUEST_OPEN_DRAIN); in linehandle_flags_to_desc_flags()
141 lflags & GPIOHANDLE_REQUEST_OPEN_SOURCE); in linehandle_flags_to_desc_flags()
143 lflags & GPIOHANDLE_REQUEST_BIAS_PULL_UP); in linehandle_flags_to_desc_flags()
145 lflags & GPIOHANDLE_REQUEST_BIAS_PULL_DOWN); in linehandle_flags_to_desc_flags()
147 lflags & GPIOHANDLE_REQUEST_BIAS_DISABLE); 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()
[all …]
Dgpiolib.h136 unsigned long lflags, enum gpiod_flags dflags);
138 unsigned long lflags, enum gpiod_flags dflags);
Dgpiolib-acpi.c953 unsigned long lflags = GPIO_LOOKUP_FLAGS_DEFAULT; in acpi_dev_gpio_irq_get_by() local
965 ret = gpiod_configure_flags(desc, label, lflags, info.flags); in acpi_dev_gpio_irq_get_by()
1142 unsigned long *lflags, in acpi_gpiochip_parse_own_gpio() argument
1150 *lflags = GPIO_LOOKUP_FLAGS_DEFAULT; in acpi_gpiochip_parse_own_gpio()
1164 *lflags |= GPIO_ACTIVE_LOW; in acpi_gpiochip_parse_own_gpio()
1186 unsigned long lflags; in acpi_gpiochip_scan_gpios() local
1196 &lflags, &dflags); in acpi_gpiochip_scan_gpios()
1200 ret = gpiod_hog(desc, name, lflags, dflags); in acpi_gpiochip_scan_gpios()
Dgpiolib.c533 rv = gpiod_hog(desc, hog->line_name, hog->lflags, hog->dflags); in gpiochip_machine_hog()
2227 enum gpio_lookup_flags lflags, in gpiochip_request_own_desc() argument
2242 ret = gpiod_configure_flags(desc, label, lflags, dflags); in gpiochip_request_own_desc()
3907 unsigned long lflags, enum gpiod_flags dflags) in gpiod_configure_flags() argument
3911 if (lflags & GPIO_ACTIVE_LOW) in gpiod_configure_flags()
3914 if (lflags & GPIO_OPEN_DRAIN) in gpiod_configure_flags()
3928 if (lflags & GPIO_OPEN_SOURCE) in gpiod_configure_flags()
3931 if ((lflags & GPIO_PULL_UP) && (lflags & GPIO_PULL_DOWN)) { in gpiod_configure_flags()
3937 if (lflags & GPIO_PULL_UP) in gpiod_configure_flags()
3939 else if (lflags & GPIO_PULL_DOWN) in gpiod_configure_flags()
[all …]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/include/linux/gpio/
Dmachine.h62 unsigned long lflags; member
94 .lflags = _lflags, \
Ddriver.h785 enum gpio_lookup_flags lflags,
/kernel/linux/linux-5.10/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()
796 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()
/kernel/linux/linux-5.10/arch/powerpc/mm/book3s64/
Dslb.c568 unsigned long lflags; in slb_initialize() local
595 lflags = SLB_VSID_KERNEL | linear_llp; in slb_initialize()
601 create_shadowed_slbe(PAGE_OFFSET, mmu_kernel_ssize, lflags, LINEAR_INDEX); in slb_initialize()
613 mmu_kernel_ssize, lflags, KSTACK_INDEX); in slb_initialize()
/kernel/linux/linux-5.10/kernel/printk/
Dprintk.c1936 static size_t log_output(int facility, int level, enum log_flags lflags, in log_output() argument
1942 if (lflags & LOG_CONT) { in log_output()
1950 if (lflags & LOG_NEWLINE) { in log_output()
1961 return log_store(caller_id, facility, level, lflags, 0, in log_output()
1973 enum log_flags lflags = 0; in vprintk_store() local
1984 lflags |= LOG_NEWLINE; in vprintk_store()
1998 lflags |= LOG_CONT; in vprintk_store()
2010 lflags |= LOG_NEWLINE; in vprintk_store()
2012 return log_output(facility, level, lflags, dev_info, text, text_len); in vprintk_store()
/kernel/linux/linux-5.10/fs/
Dnamespace.c3616 unsigned int lflags; in SYSCALL_DEFINE5() local
3629 lflags = 0; in SYSCALL_DEFINE5()
3630 if (flags & MOVE_MOUNT_F_SYMLINKS) lflags |= LOOKUP_FOLLOW; in SYSCALL_DEFINE5()
3631 if (flags & MOVE_MOUNT_F_AUTOMOUNTS) lflags |= LOOKUP_AUTOMOUNT; in SYSCALL_DEFINE5()
3632 if (flags & MOVE_MOUNT_F_EMPTY_PATH) lflags |= LOOKUP_EMPTY; in SYSCALL_DEFINE5()
3634 ret = user_path_at(from_dfd, from_pathname, lflags, &from_path); in SYSCALL_DEFINE5()
3638 lflags = 0; in SYSCALL_DEFINE5()
3639 if (flags & MOVE_MOUNT_T_SYMLINKS) lflags |= LOOKUP_FOLLOW; in SYSCALL_DEFINE5()
3640 if (flags & MOVE_MOUNT_T_AUTOMOUNTS) lflags |= LOOKUP_AUTOMOUNT; in SYSCALL_DEFINE5()
3641 if (flags & MOVE_MOUNT_T_EMPTY_PATH) lflags |= LOOKUP_EMPTY; in SYSCALL_DEFINE5()
[all …]
/kernel/linux/linux-5.10/drivers/ata/
Dlibata-core.c99 u16 lflags; member
383 if (fe->param.lflags) { in ata_force_link_limits()
384 link->flags |= fe->param.lflags; in ata_force_link_limits()
387 fe->param.lflags, link->flags); in ata_force_link_limits()
6186 { "nohrst", .lflags = ATA_LFLAG_NO_HRST }, in ata_parse_force_one()
6187 { "nosrst", .lflags = ATA_LFLAG_NO_SRST }, in ata_parse_force_one()
6188 { "norst", .lflags = ATA_LFLAG_NO_HRST | ATA_LFLAG_NO_SRST }, in ata_parse_force_one()
6189 { "rstonce", .lflags = ATA_LFLAG_RST_ONCE }, in ata_parse_force_one()
Dlibata-eh.c2460 unsigned int lflags = link->flags; in ata_eh_reset() local
2658 if (!(lflags & ATA_LFLAG_ASSUME_CLASS)) in ata_eh_reset()
2659 lflags |= ATA_LFLAG_ASSUME_ATA; in ata_eh_reset()
2677 if (lflags & ATA_LFLAG_ASSUME_ATA) in ata_eh_reset()
2679 else if (lflags & ATA_LFLAG_ASSUME_SEMB) in ata_eh_reset()

12