/drivers/infiniband/hw/qib/ |
D | qib_intr.c | 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 & 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 …]
|
D | qib_driver.c | 125 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()
|
D | qib_iba7220.c | 1123 !(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 …]
|
D | qib_iba7322.c | 1904 !(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 …]
|
D | qib_iba6120.c | 1032 !(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()
|
D | qib_init.c | 674 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()
|
D | qib_tx.c | 524 if (!(ppd->lflags & QIBL_IB_AUTONEG_INPROG)) in qib_hol_down()
|
D | qib_sd7220.c | 1406 if ((dd->flags & QIB_INITTED) && !(ppd->lflags & in qib_run_relock() 1410 if (!(ppd->lflags & QIBL_IB_LINK_DISABLED)) in qib_run_relock()
|
D | qib.h | 549 u32 lflags; member
|
D | qib_user_sdma.c | 1330 if (unlikely(!(ppd->lflags & QIBL_LINKACTIVE))) in qib_user_sdma_push_pkts()
|
D | qib_mad.c | 78 if (!(ppd_from_ibp(ibp)->lflags & QIBL_LINKACTIVE)) in qib_send_trap() 848 ppd->lflags &= ~QIBL_LINKV; in subn_set_portinfo()
|
D | qib_file_ops.c | 1368 (ppd->lflags & QIBL_LINKACTIVE); in usable()
|
D | qib_rc.c | 678 if (!(ppd->lflags & QIBL_LINKACTIVE)) in qib_send_rc_ack()
|
/drivers/gpio/ |
D | gpiolib-of.c | 174 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()
|
D | gpiolib.c | 455 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 …]
|
D | gpiolib.h | 202 unsigned long lflags, enum gpiod_flags dflags);
|
/drivers/ata/ |
D | libata-core.c | 117 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()
|
D | libata-eh.c | 2737 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/ |
D | osc_request.c | 2312 __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()
|