Home
last modified time | relevance | path

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

/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.c125 if (ppd->lid && (ppd->lflags & (QIBL_LINKINIT | in qib_count_active_units()
157 if (ppd->lid && (ppd->lflags & (QIBL_LINKINIT | in qib_count_units()
199 (ppd->lflags & state), in qib_wait_linkstate()
205 if (!(ppd->lflags & state)) in qib_wait_linkstate()
250 if (ppd->lflags & QIBL_LINKARMED) { in qib_set_linkstate()
254 if (!(ppd->lflags & (QIBL_LINKINIT | QIBL_LINKACTIVE))) { in qib_set_linkstate()
265 ppd->lflags &= ~QIBL_LINKV; in qib_set_linkstate()
273 if (ppd->lflags & QIBL_LINKACTIVE) { in qib_set_linkstate()
277 if (!(ppd->lflags & QIBL_LINKARMED)) { in qib_set_linkstate()
Dqib_iba7220.c1123 !(ppd->lflags & QIBL_LINKACTIVE)) { in handle_7220_errors()
1134 !(ppd->lflags & QIBL_LINKACTIVE)) { in handle_7220_errors()
1173 if (!(ppd->lflags & QIBL_IB_AUTONEG_INPROG)) in handle_7220_errors()
1208 if (ppd->state_wanted & ppd->lflags) in handle_7220_errors()
1505 ppd->lflags |= QIBL_IB_LINK_DISABLED; in qib_set_ib_7220_lstate()
1514 ppd->lflags &= ~QIBL_IB_LINK_DISABLED; in qib_set_ib_7220_lstate()
1698 ppd->lflags &= ~QIBL_IB_AUTONEG_INPROG; in qib_7220_quiet_serdes()
2167 dd->pport->lflags |= QIBL_IB_FORCE_NOTIFY; in qib_setup_7220_reset()
2168 dd->pport->lflags &= ~QIBL_IB_AUTONEG_FAILED; in qib_setup_7220_reset()
2463 if (!(ppd->lflags & QIBL_LINKDOWN)) in qib_7220_set_ib_cfg()
[all …]
Dqib_iba7322.c1904 !(ppd->lflags & QIBL_LINKACTIVE)) { in handle_7322_p_errors()
1920 !(ppd->lflags & QIBL_LINKACTIVE)) { in handle_7322_p_errors()
1957 if (!(ppd->lflags & QIBL_IB_AUTONEG_INPROG)) in handle_7322_p_errors()
1981 if ((ppd->lflags & QIBL_IB_LINK_DISABLED) && ltstate != in handle_7322_p_errors()
2003 if (ppd->state_wanted & ppd->lflags) in handle_7322_p_errors()
2273 ppd->lflags |= QIBL_IB_LINK_DISABLED; in qib_set_ib_7322_lstate()
2282 ppd->lflags &= ~QIBL_IB_LINK_DISABLED; in qib_set_ib_7322_lstate()
2526 ppd->lflags &= ~QIBL_IB_AUTONEG_INPROG; in qib_7322_mini_quiet_serdes()
3782 ppd->lflags |= QIBL_IB_FORCE_NOTIFY; in qib_do_7322_reset()
3783 ppd->lflags &= ~QIBL_IB_AUTONEG_FAILED; in qib_do_7322_reset()
[all …]
Dqib_iba6120.c1032 !(ppd->lflags & QIBL_LINKACTIVE)) { in handle_6120_errors()
1043 !(ppd->lflags & QIBL_LINKACTIVE)) { in handle_6120_errors()
1108 if (ppd->state_wanted & ppd->lflags) in handle_6120_errors()
1214 ppd->lflags |= QIBL_IB_LINK_DISABLED; in qib_set_ib_6120_lstate()
1223 ppd->lflags &= ~QIBL_IB_LINK_DISABLED; in qib_set_ib_6120_lstate()
3043 ppd->lflags &= ~QIBL_IB_FORCE_NOTIFY; in qib_6120_ib_updown()
3392 !(ppd->lflags & (QIBL_IB_AUTONEG_INPROG | QIBL_LINKACTIVE))) in qib_6120_getsendbuf()
Dqib_init.c674 ppd->lflags &= ~(QIBL_LINKACTIVE | QIBL_LINKARMED | in qib_init()
741 ppd->lflags |= QIBL_IB_LINK_DISABLED; in qib_init()
885 ppd->lflags &= ~(QIBL_LINKDOWN | QIBL_LINKINIT | in qib_shutdown_device()
Dqib_tx.c524 if (!(ppd->lflags & QIBL_IB_AUTONEG_INPROG)) in qib_hol_down()
Dqib_sd7220.c1406 if ((dd->flags & QIB_INITTED) && !(ppd->lflags & in qib_run_relock()
1410 if (!(ppd->lflags & QIBL_IB_LINK_DISABLED)) in qib_run_relock()
Dqib.h549 u32 lflags; member
Dqib_user_sdma.c1330 if (unlikely(!(ppd->lflags & QIBL_LINKACTIVE))) in qib_user_sdma_push_pkts()
Dqib_mad.c78 if (!(ppd_from_ibp(ibp)->lflags & QIBL_LINKACTIVE)) in qib_send_trap()
848 ppd->lflags &= ~QIBL_LINKV; in subn_set_portinfo()
Dqib_file_ops.c1368 (ppd->lflags & QIBL_LINKACTIVE); in usable()
Dqib_rc.c678 if (!(ppd->lflags & QIBL_LINKACTIVE)) in qib_send_rc_ack()
/drivers/gpio/
Dgpiolib-of.c174 enum gpio_lookup_flags *lflags, in of_parse_own_gpio() argument
189 *lflags = 0; in of_parse_own_gpio()
208 *lflags |= GPIO_ACTIVE_LOW; in of_parse_own_gpio()
286 enum gpio_lookup_flags lflags; in of_gpiochip_scan_gpios() local
294 desc = of_parse_own_gpio(np, chip, &name, &lflags, &dflags); in of_gpiochip_scan_gpios()
298 ret = gpiod_hog(desc, name, lflags, dflags); in of_gpiochip_scan_gpios()
Dgpiolib.c455 u32 lflags = handlereq.flags; in linehandle_create() local
464 if (lflags & ~GPIOHANDLE_REQUEST_VALID_FLAGS) { in linehandle_create()
475 if (lflags & GPIOHANDLE_REQUEST_ACTIVE_LOW) in linehandle_create()
477 if (lflags & GPIOHANDLE_REQUEST_OPEN_DRAIN) in linehandle_create()
479 if (lflags & GPIOHANDLE_REQUEST_OPEN_SOURCE) in linehandle_create()
486 if (lflags & GPIOHANDLE_REQUEST_OUTPUT) { in linehandle_create()
492 } else if (lflags & GPIOHANDLE_REQUEST_INPUT) { in linehandle_create()
746 u32 lflags; in lineevent_create() local
773 lflags = eventreq.handleflags; in lineevent_create()
782 if ((lflags & ~GPIOHANDLE_REQUEST_VALID_FLAGS) || in lineevent_create()
[all …]
Dgpiolib.h202 unsigned long lflags, enum gpiod_flags dflags);
/drivers/ata/
Dlibata-core.c117 unsigned int lflags; member
397 if (fe->param.lflags) { in ata_force_link_limits()
398 link->flags |= fe->param.lflags; in ata_force_link_limits()
401 fe->param.lflags, link->flags); in ata_force_link_limits()
6729 { "nohrst", .lflags = ATA_LFLAG_NO_HRST }, in ata_parse_force_one()
6730 { "nosrst", .lflags = ATA_LFLAG_NO_SRST }, in ata_parse_force_one()
6731 { "norst", .lflags = ATA_LFLAG_NO_HRST | ATA_LFLAG_NO_SRST }, in ata_parse_force_one()
6732 { "rstonce", .lflags = ATA_LFLAG_RST_ONCE }, in ata_parse_force_one()
Dlibata-eh.c2737 unsigned int lflags = link->flags; in ata_eh_reset() local
2935 if (!(lflags & ATA_LFLAG_ASSUME_CLASS)) in ata_eh_reset()
2936 lflags |= ATA_LFLAG_ASSUME_ATA; in ata_eh_reset()
2954 if (lflags & ATA_LFLAG_ASSUME_ATA) in ata_eh_reset()
2956 else if (lflags & ATA_LFLAG_ASSUME_SEMB) in ata_eh_reset()
/drivers/staging/lustre/lustre/osc/
Dosc_request.c2312 __u64 lflags = *flags; in osc_match_base() local
2332 rc = ldlm_lock_match(obd->obd_namespace, lflags, in osc_match_base()
2337 if (!(lflags & LDLM_FL_TEST_LOCK)) in osc_match_base()
2342 if (!(lflags & LDLM_FL_TEST_LOCK) && mode != rc) { in osc_match_base()