/freebsd-11.0-release/sys/mips/mediatek/ |
H A D | mtk_intr_v2.c | 99 #define READ4(_sc, _reg) bus_read_4((_sc)->pic_res[0], _reg) macro 229 intr = READ4(sc, MTK_IRQ1STAT); 246 intr = READ4(sc, MTK_IRQ0STAT);
|
H A D | mtk_intr_gic.c | 106 #define READ4(_sc, _reg) bus_read_4((_sc)->gic_res[0], (_reg)) macro 242 intr = READ4(sc, MTK_INTSTAT) & READ4(sc, MTK_INTMASK);
|
/freebsd-11.0-release/sys/arm/samsung/exynos/ |
H A D | exynos5_pad.c | 81 #define READ4(_sc, _port, _reg) \ macro 375 reg = READ4(sc, sc->gpio_map[i].port, sc->gpio_map[i].pend); 441 reg = READ4(sc, bank.port, bank.con); 459 reg = READ4(sc, bank.port, bank.ext_con); 464 reg = READ4(sc, bank.port, bank.mask); 556 reg = READ4(sc, bank.port, bank.con); 693 if (READ4(sc, bank.port, bank.con + 0x4) & (1 << pin_shift)) 724 reg = READ4(sc, bank.port, bank.con + 0x4); 763 reg = READ4(sc, bank.port, bank.con); 769 reg = READ4(s [all...] |
H A D | exynos5_combiner.c | 281 intrs = READ4(sc, CIPSR); 287 cirq = READ4(sc, ISTR(n));
|
H A D | exynos5_fimd.c | 293 reg = READ4(sc, SHADOWCON);
|
/freebsd-11.0-release/sys/arm/freescale/imx/ |
H A D | imx6_ssi.c | 64 #define READ4(_sc, _reg) \ macro 546 reg = READ4(sc, SSI_SIER); 667 READ4(sc, SSI_SISR)); 676 reg = READ4(sc, SSI_STCCR); 687 reg = READ4(sc, SSI_SFCSR); 692 reg = READ4(sc, SSI_STCR); 705 reg = READ4(sc, SSI_SCR);
|
H A D | imx6_audmux.c | 56 #define READ4(_sc, _reg) \ macro
|
/freebsd-11.0-release/sys/dev/hatm/ |
H A D | if_hatm.c | 519 while (((v = READ4(sc, HE_REGO_RESET_CNTL)) & HE_REGM_RESET_STATE) == 0) { 538 v = READ4(sc, HE_REGO_HOST_CNTL); 567 v = READ4(sc, HE_REGO_LB_SWAP); 602 val = READ4(sc, HE_REGO_HOST_CNTL); 639 tmp_read = READ4(sc, HE_REGO_HOST_CNTL); 847 lbufd_addr = READ4(sc, HE_REGO_RCMLBM_BA) + lbufd_index * 2; 900 lbufd_addr = READ4(sc, HE_REGO_RCMLBM_BA) + lbufd_index * 2; 1026 uint32_t base = READ4(sc, HE_REGO_RCMABR_BA); 1288 sc->istats.mcc += READ4(sc, HE_REGO_MCC); 1289 sc->istats.oec += READ4(s [all...] |
H A D | if_hatm_rx.c | 319 v = READ4(sc, HE_REGO_RCCSTAT); 321 (READ4(sc, HE_REGO_RCCSTAT) & HE_REGM_RCCSTAT_PROG))
|
H A D | if_hatm_intr.c | 322 rbp->head = (READ4(sc, HE_REGO_RBP_S(large, group)) >> HE_REGS_RBP_HEAD) 545 (void)READ4(sc, HE_REGO_INT_FIFO); 553 tail = READ4(sc, HE_REGO_IRQ_BASE(q->group)) & 687 READ4(sc, HE_REGO_ABORT_ADDR)); 727 (void)READ4(sc, HE_REGO_INT_FIFO);
|
H A D | if_hatm_tx.c | 187 (READ4(sc, HE_REGO_TPDRQ_H) >> HE_REGS_TPDRQ_H_H) &
|
/freebsd-11.0-release/sys/arm/freescale/vybrid/ |
H A D | vf_port.c | 118 reg = READ4(sc, PORT_PCR(i)); 176 reg = READ4(sc, PORT_PCR(pnum));
|
H A D | vf_gpio.c | 146 (READ4(sc, GPIO_PDOR(i)) & (1 << (i % 32))) ? 262 *val = (READ4(sc, GPIO_PDIR(i)) & (1 << (i % 32))) ? 1 : 0;
|
H A D | vf_dcu4.c | 230 reg = READ4(sc, DCU_INT_STATUS); 352 reg = READ4(sc, DCU_DCU_MODE);
|
/freebsd-11.0-release/sys/dev/beri/ |
H A D | beri_ring.c | 64 #define READ4(_sc, _reg) \ macro 121 ((uint32_t *)dst)[0] = READ4(sc, offset); 122 ((uint32_t *)dst)[1] = READ4(sc, offset + 4);
|
/freebsd-11.0-release/sys/arm/altera/socfpga/ |
H A D | socfpga_rstmgr.c | 150 reg = READ4(sc, RSTMGR_BRGMODRST);
|
/freebsd-11.0-release/sys/dev/agp/ |
H A D | agp_amd.c | 57 #define READ4(off) bus_space_read_4(sc->bst, sc->bsh, off) macro 374 } while (READ4(AGP_AMD751_TLBCTRL));
|
H A D | agp_ati.c | 58 #define READ4(off) bus_space_read_4(sc->bst, sc->bsh, off) macro 348 (void)READ4(ATI_GART_CACHE_CNTRL);
|
/freebsd-11.0-release/sys/dev/beri/virtio/network/ |
H A D | if_vtbe.c | 93 #define READ4(_sc, _reg) \ macro 353 reg = READ4(sc, VIRTIO_MMIO_QUEUE_PFN); 479 reg = READ4(sc, VIRTIO_MMIO_QUEUE_SEL);
|
/freebsd-11.0-release/sys/dev/fatm/ |
H A D | if_fatm.c | 373 h = READ4(sc, FATMO_HEARTBEAT); 444 val = READ4(sc, FATMO_BOOT_STATUS); 577 c = READ4(sc, FATMO_UART_TO_HOST); 612 c1 = READ4(sc, FATMO_UART_TO_960); 663 val = READ4(sc, FATMO_BOOT_STATUS); 780 c = READ4(sc, FATMO_INIT + FATMOI_STATUS); 800 off = READ4(sc, FATMO_COMMAND_QUEUE); 823 READ4(sc, FATMO_TRANSMIT_QUEUE), 828 READ4(sc, FATMO_RECEIVE_QUEUE), 833 READ4(s [all...] |
H A D | if_fatmvar.h | 329 #define READ4(SC, OFF) bus_space_read_4(SC->memt, SC->memh, OFF) macro
|
/freebsd-11.0-release/sys/dev/beri/virtio/ |
H A D | virtio_block.c | 321 reg = READ4(sc, VIRTIO_MMIO_QUEUE_PFN);
|