/freebsd-12-stable/sys/dev/mse/ |
H A D | mse_isa.c | 268 bus_write_1(sc->sc_port, MSE_PORTD, MSE_SETUP); 270 bus_write_1(sc->sc_port, MSE_PORTB, MSE_LOGI_SIG); 275 bus_write_1(sc->sc_port, MSE_PORTC, MSE_DISINTR); 292 bus_write_1(port, MSE_PORTD, MSE_SETUP); 303 bus_write_1(port, MSE_PORTC, MSE_DISINTR); 314 bus_write_1(port, MSE_PORTC, MSE_HOLD | MSE_RXLOW); 318 bus_write_1(port, MSE_PORTC, MSE_HOLD | MSE_RXHIGH); 320 bus_write_1(port, MSE_PORTC, MSE_HOLD | MSE_RYLOW); 322 bus_write_1(port, MSE_PORTC, MSE_HOLD | MSE_RYHIGH); 326 bus_write_1(por [all...] |
/freebsd-12-stable/sys/dev/ichsmb/ |
H A D | ichsmb.c | 124 bus_write_1(sc->io_res, ICH_HST_STA, 0xff); 178 bus_write_1(sc->io_res, ICH_XMIT_SLVA, 181 bus_write_1(sc->io_res, ICH_HST_CNT, 204 bus_write_1(sc->io_res, ICH_XMIT_SLVA, 206 bus_write_1(sc->io_res, ICH_HST_CMD, byte); 207 bus_write_1(sc->io_res, ICH_HST_CNT, 226 bus_write_1(sc->io_res, ICH_XMIT_SLVA, 228 bus_write_1(sc->io_res, ICH_HST_CNT, 249 bus_write_1(sc->io_res, ICH_XMIT_SLVA, 251 bus_write_1(s [all...] |
/freebsd-12-stable/sys/dev/ncv/ |
H A D | ncr53c500.c | 163 bus_write_1(res, cr0_cfg4, hw->hw_cfg4); 170 bus_write_1(res, cr1_cfg5, hw->hw_cfg5); 179 bus_write_1(res, cr0_sfifo, buf[ptr]); 186 bus_write_1(res, cr0_tclsb, (u_int8_t) count); 187 bus_write_1(res, cr0_tcmsb, (u_int8_t) (count >> NBBY)); 188 bus_write_1(res, cr0_tchsb, (u_int8_t) (count >> (NBBY * 2))); 208 bus_write_1(res, cr0_cmd, CMD_NOP | CMD_DMA); 217 bus_write_1(res, cr0_cmd, CMD_NOP); 232 bus_write_1(res, cr0_cmd, CMD_FLUSH); 233 bus_write_1(re [all...] |
/freebsd-12-stable/sys/dev/stg/ |
H A D | tmc18c30.c | 175 bus_write_1(sc->port_res, tmc_bctl, bcv); 239 bus_write_1(sc->port_res, tmc_ictl, 0); 241 bus_write_1(sc->port_res, tmc_fctl, 243 bus_write_1(sc->port_res, tmc_fctl, sc->sc_fcRinit); 244 bus_write_1(sc->port_res, tmc_ictl, sc->sc_icinit); 246 bus_write_1(sc->port_res, tmc_ssctl, 0); 277 bus_write_1(sc->port_res, tmc_bctl, sc->sc_busimg); 286 bus_write_1(sc->port_res, tmc_ictl, 0); 287 bus_write_1(sc->port_res, tmc_fctl, 0); 305 bus_write_1(s [all...] |
/freebsd-12-stable/sys/dev/iir/ |
H A D | iir_pci.c | 241 bus_write_1(gdt->sc_dpmem, GDT_EDOOR_EN, 243 bus_write_1(gdt->sc_dpmem, GDT_MPR_EDOOR, 0xff); 244 bus_write_1(gdt->sc_dpmem, GDT_MPR_IC + GDT_S_STATUS, 0); 245 bus_write_1(gdt->sc_dpmem, GDT_MPR_IC + GDT_CMD_INDEX, 0); 249 bus_write_1(gdt->sc_dpmem, GDT_MPR_IC + GDT_S_CMD_INDX, 0xff); 250 bus_write_1(gdt->sc_dpmem, GDT_MPR_LDOOR, 1); 265 bus_write_1(gdt->sc_dpmem, GDT_MPR_IC + GDT_S_STATUS, 0); 280 bus_write_1(gdt->sc_dpmem, GDT_MPR_IC + GDT_S_CMD_INDX, 0xfe); 281 bus_write_1(gdt->sc_dpmem, GDT_MPR_LDOOR, 1); 294 bus_write_1(gd [all...] |
/freebsd-12-stable/sys/dev/ata/chipsets/ |
H A D | ata-fsl.c | 159 bus_write_1(ctrl->r_res1, 0x00, 3); 160 bus_write_1(ctrl->r_res1, 0x01, 3); 161 bus_write_1(ctrl->r_res1, 0x02, (25 + 15) / 15); 162 bus_write_1(ctrl->r_res1, 0x03, (70 + 15) / 15); 165 bus_write_1(ctrl->r_res1, 0x04, (70 + 15) / 15); 166 bus_write_1(ctrl->r_res1, 0x05, (50 + 15) / 15 + 2); 167 bus_write_1(ctrl->r_res1, 0x06, 1); 168 bus_write_1(ctrl->r_res1, 0x07, (10 + 15) / 15); 171 bus_write_1(ctrl->r_res1, 0x08, (10 + 15) / 15);
|
/freebsd-12-stable/sys/arm/altera/socfpga/ |
H A D | socfpga_common.h | 38 #define WRITE1(_sc, _reg, _val) bus_write_1((_sc)->res[0], _reg, _val)
|
/freebsd-12-stable/sys/dev/intpm/ |
H A D | intpm.c | 129 bus_write_1(res, 0, reg); /* Index */ 346 bus_write_1(sc->io_res, PIIX4_SMBSLVCNT, PIIX4_SMBSLVCNT_ALTEN); 414 bus_write_1(sc->io_res, PIIX4_SMBSLVCNT, 0); 417 bus_write_1(sc->io_res, PIIX4_SMBHSTSTS, 436 bus_write_1(sc->io_res, PIIX4_SMBHSTCNT, 462 bus_write_1(sc->io_res, PIIX4_SMBSLVSTS, 480 bus_write_1(sc->io_res, PIIX4_SMBSLVCNT, 491 bus_write_1(sc->io_res, PIIX4_SMBHSTADD, SMBALTRESP | LSB); 502 bus_write_1(sc->io_res, PIIX4_SMBSLVCNT, 522 bus_write_1(s [all...] |
/freebsd-12-stable/sys/dev/ppc/ |
H A D | ppcreg.h | 165 #define w_dtr(ppc, byte) (bus_write_1((ppc)->res_ioport, PPC_SPP_DTR, byte)) 166 #define w_str(ppc, byte) (bus_write_1((ppc)->res_ioport, PPC_SPP_STR, byte)) 167 #define w_ctr(ppc, byte) (bus_write_1((ppc)->res_ioport, PPC_SPP_CTR, byte)) 169 #define w_epp_A(ppc, byte) (bus_write_1((ppc)->res_ioport, PPC_EPP_ADDR, byte)) 170 #define w_epp_D(ppc, byte) (bus_write_1((ppc)->res_ioport, PPC_EPP_DATA, byte)) 171 #define w_ecr(ppc, byte) (bus_write_1((ppc)->res_ioport, PPC_ECP_ECR, byte)) 172 #define w_fifo(ppc, byte) (bus_write_1((ppc)->res_ioport, PPC_ECP_D_FIFO, byte))
|
/freebsd-12-stable/sys/dev/hdmi/ |
H A D | dwc_hdmi.h | 57 bus_write_1(sc->sc_mem_res, off << sc->sc_reg_shift, val);
|
/freebsd-12-stable/sys/dev/pcf/ |
H A D | pcfvar.h | 103 bus_write_1(sc->res_ioport, 0, data); 111 bus_write_1(sc->res_ioport, 1, data);
|
/freebsd-12-stable/sys/dev/puc/ |
H A D | pucdata.c | 1364 bus_write_1(bar->b_res, REG_SPR, REG_ACR); 1365 bus_write_1(bar->b_res, REG_ICR, acr); 1477 bus_write_1(bar->b_res, REG_LCR, LCR_DLAB); 1478 bus_write_1(bar->b_res, REG_SPR, 0); 1480 bus_write_1(bar->b_res, REG_SPR, 0x80 + -cfg->clock); 1482 bus_write_1(bar->b_res, REG_LCR, 0); 1569 bus_write_1(bar->b_res, 0x250, 0x89); 1570 bus_write_1(bar->b_res, 0x3f0, 0x87); 1571 bus_write_1(bar->b_res, 0x3f0, 0x87); 1575 bus_write_1(ba [all...] |
/freebsd-12-stable/sys/dev/mlx/ |
H A D | mlxreg.h | 83 #define MLX_V3_PUT_MAILBOX(sc, idx, val) bus_write_1(sc->mlx_mem, MLX_V3_MAILBOX + idx, val) 87 #define MLX_V3_PUT_IDBR(sc, val) bus_write_1(sc->mlx_mem, MLX_V3_IDBR, val) 89 #define MLX_V3_PUT_ODBR(sc, val) bus_write_1(sc->mlx_mem, MLX_V3_ODBR, val) 90 #define MLX_V3_PUT_IER(sc, val) bus_write_1(sc->mlx_mem, MLX_V3_IER, val) 92 #define MLX_V3_PUT_FWERROR(sc, val) bus_write_1(sc->mlx_mem, MLX_V3_FWERROR, val) 120 #define MLX_V4_PUT_MAILBOX(sc, idx, val) bus_write_1(sc->mlx_mem, MLX_V4_MAILBOX + idx, val) 129 #define MLX_V4_PUT_FWERROR(sc, val) bus_write_1(sc->mlx_mem, MLX_V4_FWERROR, val) 165 #define MLX_V5_PUT_MAILBOX(sc, idx, val) bus_write_1(sc->mlx_mem, MLX_V5_MAILBOX + idx, val) 169 #define MLX_V5_PUT_IDBR(sc, val) bus_write_1(sc->mlx_mem, MLX_V5_IDBR, val) 171 #define MLX_V5_PUT_ODBR(sc, val) bus_write_1(s [all...] |
/freebsd-12-stable/sys/dev/asmc/ |
H A D | asmcvar.h | 62 bus_write_1(sc->sc_ioport, 0x00, val) 70 bus_write_1(sc->sc_ioport, 0x04, val)
|
/freebsd-12-stable/sys/dev/xe/ |
H A D | if_xevar.h | 83 #define XE_OUTB(r, b) bus_write_1(scp->port_res, (r), (b))
|
/freebsd-12-stable/sys/sparc64/ebus/ |
H A D | epic.c | 84 bus_write_1((sc)->sc_res[EPIC_FW_LED], EPIC_FW_LED_ADDR, (off));\ 96 bus_write_1((sc)->sc_res[EPIC_FW_LED], EPIC_FW_LED_ADDR, (off));\ 100 bus_write_1((sc)->sc_res[EPIC_FW_LED], EPIC_FW_LED_WRITE_MASK, \ 105 bus_write_1((sc)->sc_res[EPIC_FW_LED], EPIC_FW_LED_DATA, (val));\
|
/freebsd-12-stable/sys/dev/nsp/ |
H A D | nsp.c | 188 bus_write_1(res, nsp_idxr, ofs); 196 bus_write_1(res, nsp_idxr, ofs); 197 bus_write_1(res, nsp_datar, va); 233 bus_write_1(sc->port_res, nsp_irqcr, IRQCR_ALLMASK); 236 bus_write_1(sc->port_res, nsp_ifselr, IFSELR_IFSEL); 249 bus_write_1(sc->port_res, nsp_ifselr, IFSELR_REGSEL); 264 bus_write_1(sc->port_res, nsp_irqcr, IRQSR_MASK); 289 bus_write_1(sc->port_res, nsp_irqcr, IRQCR_ALLMASK); 297 bus_write_1(sc->port_res, nsp_irqcr, IRQSR_MASK); 764 (void) bus_write_1(s [all...] |
/freebsd-12-stable/sys/powerpc/powermac/ |
H A D | macgpio.c | 302 bus_write_1(sc->sc_gpios,dinfo->gpio_num,val); 326 bus_write_1(sc->sc_gpios,dinfo->gpio_num,val); 359 bus_write_1(sc->sc_gpios,dinfo->gpio_num,val); 400 bus_write_1(sc->sc_gpios, GPIO_BASE + i, sc->sc_saved_gpios[i]); 402 bus_write_1(sc->sc_gpios, GPIO_EXTINT_BASE + i, sc->sc_saved_extint_gpios[i]);
|
H A D | macio.c | 676 bus_write_1(sc->sc_memr, KEYLARGO_GPIO_BASE + 0x0f, 5); 678 bus_write_1(sc->sc_memr, KEYLARGO_GPIO_BASE + 0x0f, 4); 686 bus_write_1(sc->sc_memr, KEYLARGO_EXTINT_GPIO_REG_BASE + 0x0b, 0); 687 bus_write_1(sc->sc_memr, KEYLARGO_EXTINT_GPIO_REG_BASE + 0x0a, 0x28); 688 bus_write_1(sc->sc_memr, KEYLARGO_EXTINT_GPIO_REG_BASE + 0x0d, 0x28); 689 bus_write_1(sc->sc_memr, KEYLARGO_GPIO_BASE + 0x0d, 0x28); 690 bus_write_1(sc->sc_memr, KEYLARGO_GPIO_BASE + 0x0e, 0x28);
|
/freebsd-12-stable/sys/dev/glxiic/ |
H A D | glxiic.c | 498 bus_write_1(sc->smb_res, GLXIIC_SMB_STS, (GLXIIC_SMB_STS_SLVSTP_BIT | 515 bus_write_1(sc->smb_res, GLXIIC_SMB_CTRL1, 528 bus_write_1(sc->smb_res, GLXIIC_SMB_STS, 664 bus_write_1(sc->smb_res, GLXIIC_SMB_SDA, data); 745 bus_write_1(sc->smb_res, GLXIIC_SMB_SDA, slave); 750 bus_write_1(sc->smb_res, GLXIIC_SMB_CTRL1, 779 bus_write_1(sc->smb_res, GLXIIC_SMB_STS, 788 bus_write_1(sc->smb_res, GLXIIC_SMB_SDA, *sc->data++); 821 bus_write_1(sc->smb_res, GLXIIC_SMB_STS, 841 bus_write_1(s [all...] |
/freebsd-12-stable/sys/dev/sn/ |
H A D | if_snvar.h | 63 bus_write_1((sc)->port_res, off, val)
|
/freebsd-12-stable/tools/bus_space/C/ |
H A D | libbus.h | 38 int bus_write_1(int rid, long ofs, uint8_t val);
|
/freebsd-12-stable/sys/dev/nand/ |
H A D | nfc_rb.c | 235 bus_write_1(sc->sc_mem, RB_NAND_DATA, command); 251 bus_write_1(sc->sc_mem, RB_NAND_DATA, addr); 297 bus_write_1(sc->sc_mem, RB_NAND_DATA, b[i]);
|
/freebsd-12-stable/sys/dev/superio/ |
H A D | superio.c | 114 bus_write_1(res, 0, reg); 133 bus_write_1(res, 0, reg); 134 bus_write_1(res, 1, val); 200 bus_write_1(res, 0, 0x87); 201 bus_write_1(res, 0, 0x01); 202 bus_write_1(res, 0, 0x55); 203 bus_write_1(res, 0, port == 0x2e ? 0x55 : 0xaa); 221 bus_write_1(res, 0, 0x87); 222 bus_write_1(res, 0, 0x87); 228 bus_write_1(re [all...] |
/freebsd-12-stable/sys/dev/bm/ |
H A D | if_bmreg.h | 162 bus_write_1(sc->sc_memr, reg, val)
|