| /netbsd-src/sys/kern/ |
| H A D | kern_timeout.c | 371 c->c_flags = flags; in callout_init() 375 c->c_flags = flags | CALLOUT_BOUND; in callout_init() 399 KASSERTMSG((c->c_flags & CALLOUT_PENDING) == 0, in callout_destroy() 401 c, c->c_func, c->c_flags, __builtin_return_address(0)); in callout_destroy() 404 c, c->c_func, c->c_flags, __builtin_return_address(0)); in callout_destroy() 422 c, c->c_func, c->c_arg, c->c_flags, to_ticks); in callout_schedule_locked() 429 c->c_flags &= ~(CALLOUT_FIRED | CALLOUT_INVOKING); in callout_schedule_locked() 436 if ((c->c_flags & CALLOUT_PENDING) != 0) { in callout_schedule_locked() 449 if ((c->c_flags & CALLOUT_BOUND) != 0 || cc == occ || in callout_schedule_locked() 453 c->c_flags |= CALLOUT_PENDING; in callout_schedule_locked() [all …]
|
| /netbsd-src/sys/arch/ia64/stand/common/ |
| H A D | console.c | 59 consoles[cons]->c_flags = 0; in cons_probe() 65 consoles[cons]->c_flags = 0; in cons_probe() 67 if (consoles[cons]->c_flags == (C_PRESENTIN | C_PRESENTOUT)) in cons_probe() 80 (consoles[cons]->c_flags == (C_PRESENTIN | C_PRESENTOUT))) in cons_probe() 86 consoles[active]->c_flags |= (C_ACTIVEIN | C_ACTIVEOUT); in cons_probe() 103 if ((consoles[cons]->c_flags & C_ACTIVEIN) && in getchar() 114 if ((consoles[cons]->c_flags & C_ACTIVEIN) && in ischar() 130 if (consoles[cons]->c_flags & C_ACTIVEOUT) in putchar() 168 consoles[cons]->c_flags &= ~(C_ACTIVEIN | C_ACTIVEOUT); in cons_set() 171 consoles[active]->c_flags |= C_ACTIVEIN | C_ACTIVEOUT; in cons_set()
|
| /netbsd-src/sys/dev/scsipi/ |
| H A D | atapi_wdc.c | 401 xfer->c_flags |= C_POLL; in wdc_atapi_scsipi_request() 405 xfer->c_flags |= C_DMA; in wdc_atapi_scsipi_request() 413 xfer->c_flags |= C_PIOBM; in wdc_atapi_scsipi_request() 416 xfer->c_flags |= C_ATAPI; in wdc_atapi_scsipi_request() 425 xfer->c_flags &= ~C_DMA; in wdc_atapi_scsipi_request() 450 xfer->c_flags &= ~C_DMA; in wdc_atapi_scsipi_request() 452 xfer->c_flags &= ~C_DMA; in wdc_atapi_scsipi_request() 496 if ((xfer->c_flags & C_DMA) && (drvp->n_xfers <= NXFER)) in wdc_atapi_start() 628 (xfer->c_flags & C_DMA) ? ATAPI_PKT_CMD_FTRE_DMA : in wdc_atapi_start() 634 if (xfer->c_flags & C_PIOBM) { in wdc_atapi_start() [all …]
|
| /netbsd-src/sys/dev/ata/ |
| H A D | ata_wdc.c | 155 xfer->c_flags |= C_POLL; in wdc_ata_bio() 159 xfer->c_flags |= C_DMA; in wdc_ata_bio() 166 xfer->c_flags |= C_PIOBM; in wdc_ata_bio() 188 wait_flags = (xfer->c_flags & C_POLL) ? AT_POLL : 0; in wdc_ata_bio_start() 194 drvp->state, drvp->drive_flags, xfer->c_flags, chp->ch_flags), in wdc_ata_bio_start() 207 if ((xfer->c_flags & C_POLL) == 0 && !ata_is_thread_run(chp)) in wdc_ata_bio_start() 341 int wait_flags = (xfer->c_flags & C_POLL) ? AT_POLL : 0; in _wdc_ata_bio_start() 354 if (xfer->c_flags & (C_DMA | C_PIOBM)) { in _wdc_ata_bio_start() 418 if (xfer->c_flags & C_DMA) { in _wdc_ata_bio_start() 437 xfer->c_flags &= ~C_DMA; in _wdc_ata_bio_start() [all …]
|
| H A D | ata.c | 519 KASSERT((xfer->c_flags & C_POLL) == 0); in atabus_thread() 1029 if ((xfer->c_flags & C_SKIP_QUEUE) == 0) in ata_exec_xfer() 1039 if ((xfer->c_flags & (C_POLL | C_WAIT)) == (C_POLL | C_WAIT)) { in ata_exec_xfer() 1042 xfer->c_flags |= C_WAITACT; in ata_exec_xfer() 1044 xfer->c_flags &= ~C_WAITACT; in ata_exec_xfer() 1051 if ((xfer->c_flags & (C_FREE|C_WAITTIMO)) == C_FREE) { in ata_exec_xfer() 1116 if (__predict_false(xfer->c_flags & C_WAITACT)) { in atastart() 1124 skipq = ISSET(xfer->c_flags, C_SKIP_QUEUE); in atastart() 1152 if (!ISSET(xfer->c_flags, C_NCQ) || in atastart() 1153 !ISSET(axfer->c_flags, C_NCQ) || in atastart() [all …]
|
| /netbsd-src/sys/dev/ic/ |
| H A D | pl181.c | 172 if (cmd->c_flags & SCF_CMD_READ) in plmmc_intr_xfer() 180 if (cmd->c_flags & SCF_CMD_READ) in plmmc_intr_xfer() 397 cmd->c_opcode, cmd->c_flags, cmd->c_datalen, cmd->c_resid, xferlen); in plmmc_do_command() 405 if (cmd->c_flags & SCF_RSP_PRESENT) in plmmc_do_command() 407 if (cmd->c_flags & SCF_RSP_136) in plmmc_do_command() 417 const uint32_t dir = (cmd->c_flags & SCF_CMD_READ) ? 1 : 0; in plmmc_do_command() 430 if (!ISSET(cmd->c_flags, SCF_XFER_SDHC)) in plmmc_do_command() 451 if ((cmd->c_flags & SCF_RSP_PRESENT) && cmd->c_resid == 0) { in plmmc_do_command() 461 if (cmd->c_flags & SCF_RSP_136) { in plmmc_do_command() 466 if (cmd->c_flags & SCF_RSP_CRC) { in plmmc_do_command() [all …]
|
| H A D | dwc_mmc.c | 490 if (ISSET(cmd->c_flags, SCF_CMD_READ)) { in dwc_mmc_dma_prepare() 558 if (cmd->c_flags & SCF_CMD_READ) in dwc_mmc_dma_prepare() 579 if (ISSET(cmd->c_flags, SCF_CMD_READ)) { in dwc_mmc_dma_complete() 603 cmd->c_opcode, cmd->c_flags, cmd->c_data, cmd->c_datalen, in dwc_mmc_exec_command() 612 SET(cmd->c_flags, SCF_ITSDONE); in dwc_mmc_exec_command() 642 if (cmd->c_flags & SCF_RSP_PRESENT) in dwc_mmc_exec_command() 644 if (cmd->c_flags & SCF_RSP_136) in dwc_mmc_exec_command() 646 if (cmd->c_flags & SCF_RSP_CRC) in dwc_mmc_exec_command() 663 if (!ISSET(cmd->c_flags, SCF_CMD_READ)) { in dwc_mmc_exec_command() 691 if (ISSET(cmd->c_flags, SCF_CMD_READ)) { in dwc_mmc_exec_command() [all …]
|
| H A D | mvsata.c | 1003 xfer->c_flags |= C_POLL; in mvsata_bio() 1006 xfer->c_flags |= C_DMA; in mvsata_bio() 1023 int wait_flags = (xfer->c_flags & C_POLL) ? AT_POLL : 0; in mvsata_bio_start() 1033 if (xfer->c_flags & C_DMA) in mvsata_bio_start() 1071 if (xfer->c_flags & C_DMA) { in mvsata_bio_start() 1078 dmamode = (xfer->c_flags & C_NCQ) ? ncq : dma; in mvsata_bio_start() 1082 if (xfer->c_flags & C_POLL) in mvsata_bio_start() 1092 xfer->c_flags &= ~C_DMA; in mvsata_bio_start() 1163 if ((xfer->c_flags & C_POLL) == 0 in mvsata_bio_start() 1168 (xfer->c_flags & C_POLL) ? AT_POLL : 0) != 0) { in mvsata_bio_start() [all …]
|
| H A D | w83l518d_sdmmc.c | 385 if (ISSET(cmd->c_flags, SCF_CMD_READ)) { in wb_sdmmc_transfer_data() 421 if (ISSET(cmd->c_flags, SCF_CMD_READ)) in wb_sdmmc_transfer_data() 448 cmd->c_opcode, cmd->c_flags, cmd->c_data, cmd->c_datalen, in wb_sdmmc_exec_command() 490 if (ISSET(cmd->c_flags, SCF_CMD_READ)) in wb_sdmmc_exec_command() 527 if (ISSET(cmd->c_flags, SCF_RSP_PRESENT)) { in wb_sdmmc_exec_command() 533 if (ISSET(cmd->c_flags, SCF_RSP_136)) in wb_sdmmc_exec_command() 552 SET(cmd->c_flags, SCF_ITSDONE); in wb_sdmmc_exec_command() 559 ISSET(cmd->c_flags, SCF_CMD_READ) ? "rd" : "wr", in wb_sdmmc_exec_command()
|
| /netbsd-src/sys/net/npf/ |
| H A D | npf_conn.c | 298 const uint32_t flags = atomic_load_relaxed(&con->c_flags); in npf_conn_check() 406 if (atomic_load_relaxed(&con->c_flags) & CONN_GPASS) { in npf_conn_inspect() 451 atomic_store_relaxed(&con->c_flags, di & PFIL_ALL); in npf_conn_establish() 513 atomic_or_uint(&con->c_flags, CONN_REMOVED | CONN_EXPIRE); in npf_conn_establish() 583 flags = atomic_load_relaxed(&con->c_flags); in npf_conn_setnat() 617 atomic_or_uint(&con->c_flags, CONN_REMOVED | CONN_EXPIRE); in npf_conn_setnat() 640 atomic_or_uint(&con->c_flags, CONN_EXPIRE); in npf_conn_expire() 650 if (__predict_true(atomic_load_relaxed(&con->c_flags) & CONN_PASS)) { in npf_conn_pass() 666 KASSERT((atomic_load_relaxed(&con->c_flags) & CONN_ACTIVE) == 0); in npf_conn_setpass() 675 atomic_or_uint(&con->c_flags, CONN_PASS); in npf_conn_setpass() [all …]
|
| /netbsd-src/sys/arch/arm/xscale/ |
| H A D | pxa2x0_mci.c | 570 cmd->c_datalen, cmd->c_flags)); in pxamci_exec_command() 583 if (!ISSET(cmd->c_flags, SCF_RSP_PRESENT)) in pxamci_exec_command() 585 else if (ISSET(cmd->c_flags, SCF_RSP_136)) in pxamci_exec_command() 587 else if (!ISSET(cmd->c_flags, SCF_RSP_CRC)) in pxamci_exec_command() 592 if (ISSET(cmd->c_flags, SCF_RSP_BSY)) in pxamci_exec_command() 594 if (!ISSET(cmd->c_flags, SCF_CMD_READ)) in pxamci_exec_command() 634 if (ISSET(cmd->c_flags, SCF_CMD_READ)) { in pxamci_exec_command() 696 SET(cmd->c_flags, SCF_ITSDONE); in pxamci_exec_command() 705 device_xname(sc->sc_dev), cmd->c_opcode, cmd->c_flags, cmd->c_error)); in pxamci_exec_command() 783 if (ISSET(sc->sc_cmd->c_flags, SCF_CMD_READ)) { in pxamci_intr() [all …]
|
| /netbsd-src/sys/coda/ |
| H A D | coda_subr.c | 245 cp->c_flags |= C_UNMOUNTING; in coda_unmounting_selector() 265 if (cp && !(cp->c_flags & C_UNMOUNTING)) { in coda_checkunmounting_selector() 267 cp->c_flags |= C_UNMOUNTING; in coda_checkunmounting_selector() 367 cp->c_flags &= ~C_VATTR; in handleDownCall() 374 cp->c_flags |= C_PURGING; in handleDownCall() 391 cp->c_flags &= ~C_VATTR; in handleDownCall() 398 cp->c_flags |= C_PURGING; in handleDownCall() 420 cp->c_flags &= ~C_VATTR; in handleDownCall() 431 cp->c_flags |= C_PURGING; in handleDownCall()
|
| H A D | cnode.h | 99 u_short c_flags; /* flags (see below) */ member 121 #define VALID_VATTR(cp) ((cp->c_flags) & C_VATTR) 122 #define VALID_SYMLINK(cp) ((cp->c_flags) & C_SYMLINK) 123 #define IS_UNMOUNTING(cp) ((cp)->c_flags & C_UNMOUNTING)
|
| /netbsd-src/external/gpl3/gcc.old/dist/libgcc/ |
| H A D | shared-object.mk | 9 c_flags-$o := $(c_flags) 14 $(gcc_compile) $(c_flags-$<) -c $< $(vis_hide) 17 $(gcc_s_compile) $(c_flags-$<) -c $<
|
| H A D | static-object.mk | 12 c_flags-$o := $(c_flags) 17 $(gcc_compile) $(c_flags-$<) -c $< $(vis_hide)
|
| /netbsd-src/external/gpl3/gcc/dist/libgcc/ |
| H A D | shared-object.mk | 9 c_flags-$o := $(c_flags) 14 $(gcc_compile) $(c_flags-$<) -c $< $(vis_hide) 17 $(gcc_s_compile) $(c_flags-$<) -c $<
|
| H A D | static-object.mk | 12 c_flags-$o := $(c_flags) 17 $(gcc_compile) $(c_flags-$<) -c $< $(vis_hide)
|
| /netbsd-src/sys/arch/arm/amlogic/ |
| H A D | meson_sdio.c | 525 if (cmd->c_flags & SCF_RSP_PRESENT) { in meson_sdio_exec_command() 526 if (cmd->c_flags & SCF_RSP_136) { in meson_sdio_exec_command() 533 if ((cmd->c_flags & SCF_RSP_CRC) == 0) { in meson_sdio_exec_command() 536 if (cmd->c_flags & SCF_RSP_BSY) { in meson_sdio_exec_command() 551 if (ISSET(cmd->c_flags, SCF_CMD_READ)) { in meson_sdio_exec_command() 563 if (ISSET(cmd->c_flags, SCF_CMD_READ)) { in meson_sdio_exec_command() 606 cmd->c_opcode, cmd->c_flags, cmd->c_datalen); in meson_sdio_exec_command() 613 if (cmd->c_flags & SCF_RSP_CRC) { in meson_sdio_exec_command() 630 if (cmd->c_flags & SCF_RSP_PRESENT) { in meson_sdio_exec_command() 635 if (cmd->c_flags & SCF_RSP_136) { in meson_sdio_exec_command() [all …]
|
| H A D | meson_sdhc.c | 649 if (cmd->c_flags & SCF_RSP_PRESENT) in meson_sdhc_exec_command() 651 if (cmd->c_flags & SCF_RSP_136) { in meson_sdhc_exec_command() 655 if ((cmd->c_flags & SCF_RSP_CRC) == 0) in meson_sdhc_exec_command() 670 if (!ISSET(cmd->c_flags, SCF_CMD_READ)) { in meson_sdhc_exec_command() 682 if (ISSET(cmd->c_flags, SCF_CMD_READ)) { in meson_sdhc_exec_command() 717 if (ISSET(cmd->c_flags, SCF_CMD_READ)) { in meson_sdhc_exec_command() 733 uint32_t wbit = ISSET(cmd->c_flags, SCF_CMD_READ) ? in meson_sdhc_exec_command() 761 if (cmd->c_flags & SCF_RSP_PRESENT) { in meson_sdhc_exec_command() 764 if (cmd->c_flags & SCF_RSP_136) { in meson_sdhc_exec_command() 772 if (cmd->c_flags & SCF_RSP_CRC) { in meson_sdhc_exec_command() [all …]
|
| H A D | mesongx_mmc.c | 635 if ((status & STATUS_END_OF_CHAIN) != 0 && (cmd->c_flags & SCF_ITSDONE) == 0) { in mesongx_mmc_intr() 637 if ((cmd->c_flags & SCF_RSP_PRESENT) != 0) { in mesongx_mmc_intr() 638 if (cmd->c_flags & SCF_RSP_136) { in mesongx_mmc_intr() 643 if (cmd->c_flags & SCF_RSP_CRC) { in mesongx_mmc_intr() 656 cmd->c_flags |= SCF_ITSDONE; in mesongx_mmc_intr() 859 cmd->c_flags |= SCF_NEED_BOUNCE; in mesongx_mmc_dma_prepare() 861 if ((cmd->c_flags & SCF_CMD_READ) != 0) { in mesongx_mmc_dma_prepare() 934 if ((cmd->c_flags & SCF_NEED_BOUNCE) != 0) { in mesongx_mmc_dma_complete() 935 if ((cmd->c_flags & SCF_CMD_READ) != 0) { in mesongx_mmc_dma_complete() 978 if ((cmd->c_flags & SCF_RSP_PRESENT) == 0) { in mesongx_mmc_exec_command() [all …]
|
| /netbsd-src/sys/arch/evbarm/stand/boot2440/ |
| H A D | dev_sdmmc.c | 572 cmd.c_flags = SCF_CMD_BCR | SCF_RSP_R7 | SCF_RSP_SPI_R7; in sdmmc_mem_send_if_cond() 590 cmd.c_flags = SCF_CMD_BC | SCF_RSP_R0 | SCF_RSP_SPI_R1; in sdmmc_go_idle_state() 611 cmd.c_flags = SCF_CMD_BCR | SCF_RSP_R3 | SCF_RSP_SPI_R1; in sdmmc_mem_send_op_cond() 681 acmd.c_flags = SCF_CMD_AC | SCF_RSP_R1 | SCF_RSP_SPI_R1; in sdmmc_app_command() 684 acmd.c_flags = SCF_CMD_BCR | SCF_RSP_R1 | SCF_RSP_SPI_R1; in sdmmc_app_command() 708 cmd->c_datalen, cmd->c_flags, cmd->c_error); in sdmmc_dump_command() 714 if (ISSET(cmd->c_flags, SCF_RSP_136)) in sdmmc_dump_command() 717 else if (ISSET(cmd->c_flags, SCF_RSP_PRESENT)) in sdmmc_dump_command() 731 cmd->c_opcode, cmd->c_arg, cmd->c_flags)); in sdmmc_mmc_command() 896 cmd.c_flags in sdmmc_set_relative_addr() [all...] |
| H A D | s3csdi.c | 175 if (cmd->c_flags & SCF_RSP_PRESENT) in s3csd_exec_cmd() 177 if (cmd->c_flags & SCF_RSP_136) in s3csd_exec_cmd() 195 if ( (cmd->c_flags & SCF_CMD_READ) && in s3csd_exec_cmd() 244 cmd->c_flags |= SCF_ITSDONE; in s3csd_exec_cmd() 267 if (cmd->c_flags & SCF_RSP_136 ) { in s3csd_exec_cmd() 328 cmd->c_flags |= SCF_ITSDONE; in s3csd_exec_cmd()
|
| /netbsd-src/sys/arch/arm/sunxi/ |
| H A D | sunxi_mmc.c | 655 !ISSET(cmd->c_flags, SCF_TOUT_OK)) 660 SET(cmd->c_flags, SCF_ITSDONE); 693 SET(cmd->c_flags, SCF_ITSDONE); 697 if (cmd != NULL && ISSET(cmd->c_flags, SCF_ITSDONE)) { 1016 if (ISSET(cmd->c_flags, SCF_CMD_READ)) { 1083 if (ISSET(cmd->c_flags, SCF_CMD_READ)) 1104 if (ISSET(cmd->c_flags, SCF_CMD_READ)) { 1126 cmd->c_opcode, cmd->c_flags, cmd->c_data, cmd->c_datalen, 1134 SET(cmd->c_flags, SCF_ITSDONE); 1142 if (cmd->c_flags & SCF_RSP_PRESENT) [all …]
|
| /netbsd-src/sys/arch/arm/imx/ |
| H A D | imx23_ssp.c | 554 if (ISSET(cmd->c_flags, SCF_RSP_PRESENT)) { in issp_exec_command() 556 if (ISSET(cmd->c_flags, SCF_RSP_136)) { in issp_exec_command() 827 if (!ISSET(cmd->c_flags, SCF_RSP_CRC)) { in issp_create_dma_cmd_list_multi() 837 if (ISSET(cmd->c_flags, SCF_RSP_PRESENT)) { in issp_create_dma_cmd_list_multi() 840 if (ISSET(cmd->c_flags, SCF_RSP_136)) { in issp_create_dma_cmd_list_multi() 855 if (ISSET(cmd->c_flags, SCF_CMD_READ)) { in issp_create_dma_cmd_list_multi() 879 if (ISSET(cmd->c_flags, SCF_CMD_READ)) { in issp_create_dma_cmd_list_multi() 901 if (ISSET(cmd->c_flags, SCF_CMD_READ)) { in issp_create_dma_cmd_list_multi() 931 if (!ISSET(cmd->c_flags, SCF_RSP_CRC)) { in issp_create_dma_cmd_list_single() 942 if (ISSET(cmd->c_flags, SCF_RSP_PRESENT)) { in issp_create_dma_cmd_list_single() [all …]
|
| /netbsd-src/sys/dev/sdmmc/ |
| H A D | sdmmc_mem.c | 255 cmd.c_flags = SCF_CMD_AC | SCF_RSP_R1; in sdmmc_mem_enable() 638 cmd.c_flags = SCF_CMD_BCR | SCF_RSP_R3 | SCF_RSP_SPI_R1 in sdmmc_mem_send_op_cond() 686 cmd.c_flags = SCF_CMD_BCR | SCF_RSP_R7 | SCF_RSP_SPI_R7 | SCF_TOUT_OK; in sdmmc_mem_send_if_cond() 718 cmd.c_flags = SCF_CMD_AC | SCF_RSP_R1 | SCF_RSP_SPI_R1; in sdmmc_mem_set_blocklen() 1201 cmd.c_flags = SCF_CMD_BCR | SCF_RSP_R2 | SCF_TOUT_OK; in sdmmc_mem_send_csd() 1229 cmd.c_flags = SCF_CMD_AC | SCF_RSP_R2; in sdmmc_mem_send_scr() 1286 cmd.c_flags = SCF_CMD_ADTC | SCF_CMD_READ | SCF_RSP_R1 | SCF_RSP_SPI_R1; in sdmmc_mem_send_scr() 1402 cmd.c_flags = SCF_CMD_ADTC | SCF_CMD_READ | SCF_RSP_R1 | SCF_RSP_SPI_R1; in sdmmc_mem_send_ssr() 1625 cmd.c_flags = SCF_CMD_ADTC | SCF_CMD_READ | SCF_RSP_SPI_R1; in sdmmc_mem_sd_switch() 1627 SET(cmd.c_flags, SCF_RSP_R in sdmmc_mem_sd_switch() [all...] |