Home
last modified time | relevance | path

Searched refs:lflags (Results 1 – 25 of 25) 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.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()
Dqib_sd7220.c1400 if ((dd->flags & QIB_INITTED) && !(ppd->lflags & in qib_run_relock()
1404 if (!(ppd->lflags & QIBL_IB_LINK_DISABLED)) in qib_run_relock()
Dqib.h533 u32 lflags; member
Dqib_user_sdma.c1340 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()
846 ppd->lflags &= ~QIBL_LINKV; in subn_set_portinfo()
Dqib_rc.c659 if (!(ppd->lflags & QIBL_LINKACTIVE)) in qib_send_rc_ack()
Dqib_file_ops.c1347 (ppd->lflags & QIBL_LINKACTIVE); in usable()
/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.c537 rv = gpiod_hog(desc, hog->line_name, hog->lflags, hog->dflags); in gpiochip_machine_hog()
2228 enum gpio_lookup_flags lflags, in gpiochip_request_own_desc() argument
2243 ret = gpiod_configure_flags(desc, label, lflags, dflags); in gpiochip_request_own_desc()
3908 unsigned long lflags, enum gpiod_flags dflags) in gpiod_configure_flags() argument
3912 if (lflags & GPIO_ACTIVE_LOW) in gpiod_configure_flags()
3915 if (lflags & GPIO_OPEN_DRAIN) in gpiod_configure_flags()
3929 if (lflags & GPIO_OPEN_SOURCE) in gpiod_configure_flags()
3932 if ((lflags & GPIO_PULL_UP) && (lflags & GPIO_PULL_DOWN)) { in gpiod_configure_flags()
3938 if (lflags & GPIO_PULL_UP) in gpiod_configure_flags()
3940 else if (lflags & GPIO_PULL_DOWN) in gpiod_configure_flags()
[all …]
/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()
/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()
6205 { "nohrst", .lflags = ATA_LFLAG_NO_HRST }, in ata_parse_force_one()
6206 { "nosrst", .lflags = ATA_LFLAG_NO_SRST }, in ata_parse_force_one()
6207 { "norst", .lflags = ATA_LFLAG_NO_HRST | ATA_LFLAG_NO_SRST }, in ata_parse_force_one()
6208 { "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()
/drivers/infiniband/hw/bnxt_re/
Dqplib_fp.h175 u16 lflags; member
Droce_hsi.h239 __le16 lflags; member
288 __le16 lflags; member
Dqplib_fp.c1790 sqe->lflags = cpu_to_le16(wqe->rawqp1.lflags); in bnxt_qplib_post_send()
Dib_verbs.c2645 wqe.rawqp1.lflags |= in bnxt_re_post_send()
2650 wqe.rawqp1.lflags |= in bnxt_re_post_send()