Home
last modified time | relevance | path

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

123

/kernel/linux/linux-5.10/drivers/infiniband/hw/qib/
H A Dqib_intr.c100 * ppd->lflags could be 0 if this is the first time the interrupt in qib_handle_e_ibstatuschanged()
104 (!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 in qib_handle_e_ibstatuschanged()
[all...]
H A 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()
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 in qib_7220_set_ib_cfg()
[all...]
/kernel/linux/linux-6.6/drivers/infiniband/hw/qib/
H A Dqib_intr.c100 * ppd->lflags could be 0 if this is the first time the interrupt in qib_handle_e_ibstatuschanged()
104 (!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 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 in qib_7220_set_ib_cfg()
[all...]
/kernel/linux/linux-5.10/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.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-6.6/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()
/kernel/linux/linux-6.6/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 in tcf_skbmod_init()
[all...]
/kernel/linux/linux-5.10/net/sched/
H A 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 in tcf_skbmod_init()
[all...]
/kernel/linux/linux-5.10/drivers/gpio/
H A 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()
569 * @lflags: bitmask of gpio_lookup_flags GPIO_* values - returned from
579 unsigned long *lflags, in of_parse_own_gpio()
576 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) of_parse_own_gpio() argument
654 unsigned long lflags; of_gpiochip_add_hog() local
[all...]
H A 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()
294 u32 lflags; linehandle_create() local
1722 u32 lflags; lineevent_create() local
[all...]
H A Dgpiolib.h136 unsigned long lflags, enum gpiod_flags dflags);
138 unsigned long lflags, enum gpiod_flags dflags);
/kernel/linux/linux-6.6/drivers/gpio/
H A Dgpiolib-of.c427 unsigned long lflags = GPIO_LOOKUP_FLAGS_DEFAULT; in of_convert_gpio_flags() local
430 lflags |= GPIO_ACTIVE_LOW; in of_convert_gpio_flags()
434 lflags |= GPIO_OPEN_DRAIN; in of_convert_gpio_flags()
436 lflags |= GPIO_OPEN_SOURCE; in of_convert_gpio_flags()
440 lflags |= GPIO_TRANSITORY; in of_convert_gpio_flags()
443 lflags |= GPIO_PULL_UP; in of_convert_gpio_flags()
446 lflags |= GPIO_PULL_DOWN; in of_convert_gpio_flags()
449 lflags |= GPIO_PULL_DISABLE; in of_convert_gpio_flags()
451 return lflags; in of_convert_gpio_flags()
670 * @lflags
677 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) of_parse_own_gpio() argument
748 unsigned long lflags; of_gpiochip_add_hog() local
[all...]
H A Dgpiolib-cdev.c181 static void linehandle_flags_to_desc_flags(u32 lflags, unsigned long *flagsp) in linehandle_flags_to_desc_flags() argument
184 lflags & GPIOHANDLE_REQUEST_ACTIVE_LOW); in linehandle_flags_to_desc_flags()
186 lflags & GPIOHANDLE_REQUEST_OPEN_DRAIN); in linehandle_flags_to_desc_flags()
188 lflags & GPIOHANDLE_REQUEST_OPEN_SOURCE); in linehandle_flags_to_desc_flags()
190 lflags & GPIOHANDLE_REQUEST_BIAS_PULL_UP); in linehandle_flags_to_desc_flags()
192 lflags & GPIOHANDLE_REQUEST_BIAS_PULL_DOWN); in linehandle_flags_to_desc_flags()
194 lflags & GPIOHANDLE_REQUEST_BIAS_DISABLE); in linehandle_flags_to_desc_flags()
203 u32 lflags; in linehandle_set_config() local
208 lflags = gcnf.flags; in linehandle_set_config()
209 ret = linehandle_validate_flags(lflags); in linehandle_set_config()
348 u32 lflags; linehandle_create() local
2089 u32 lflags; lineevent_create() local
[all...]
H A Dgpiolib-acpi.c1070 unsigned long lflags = GPIO_LOOKUP_FLAGS_DEFAULT; in acpi_dev_gpio_irq_wake_get_by() local
1083 acpi_gpio_update_gpiod_lookup_flags(&lflags, &info); in acpi_dev_gpio_irq_wake_get_by()
1086 ret = gpiod_configure_flags(desc, label, lflags, dflags); in acpi_dev_gpio_irq_wake_get_by()
1266 unsigned long *lflags, in acpi_gpiochip_parse_own_gpio()
1274 *lflags = GPIO_LOOKUP_FLAGS_DEFAULT; in acpi_gpiochip_parse_own_gpio()
1288 *lflags |= GPIO_ACTIVE_LOW; in acpi_gpiochip_parse_own_gpio()
1310 unsigned long lflags; in acpi_gpiochip_scan_gpios() local
1320 &lflags, &dflags); in acpi_gpiochip_scan_gpios()
1324 ret = gpiod_hog(desc, name, lflags, dflags); in acpi_gpiochip_scan_gpios()
1263 acpi_gpiochip_parse_own_gpio(struct acpi_gpio_chip *achip, struct fwnode_handle *fwnode, const char **name, unsigned long *lflags, enum gpiod_flags *dflags) acpi_gpiochip_parse_own_gpio() argument
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
H A 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-6.6/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()
/kernel/linux/linux-5.10/include/linux/gpio/
H A Dmachine.h54 * @lflags: bitmask of gpio_lookup_flags GPIO_* values
62 unsigned long lflags; member
94 .lflags = _lflags, \
/kernel/linux/linux-6.6/include/linux/gpio/
H A Dmachine.h54 * @lflags: bitmask of gpio_lookup_flags GPIO_* values
62 unsigned long lflags; member
106 .lflags = _lflags, \
/kernel/linux/linux-5.10/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()
796 if (!(lflags & KEY_LOOKUP_PARTIAL) && in lookup_user_key()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-6.6/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()

Completed in 25 milliseconds

123