Searched refs:bus_write_4 (Results 1 - 25 of 90) sorted by relevance

1234

/freebsd-9.3-release/sys/mips/rt305x/
H A Drt305x_gpio.h84 bus_write_4(r->gpio_mem_res, GPIO_REG(g, n), v)
90 {bus_write_4(r->gpio_mem_res,GPIO23_00_##n, v &0x00ffffff);\
91 bus_write_4(r->gpio_mem_res, GPIO39_24_##n, (v>>24)&0x0000ffff);\
92 bus_write_4(r->gpio_mem_res, GPIO51_40_##n, (v>>40)&0x00000fff);}
96 bus_write_4(r->gpio_mem_res, GPIO_REG(g, n), \
99 bus_write_4(r->gpio_mem_res, GPIO_REG(g, n), \
H A Drt305x_ic.c120 bus_write_4(sc->mem_res, reg, val);
H A Drt305x_sysctl.c220 bus_write_4(sc->mem_res, reg, val);
/freebsd-9.3-release/sys/dev/adlink/
H A Dadlink.c139 bus_write_4(sc->res[0], 0x38, u | 0x003f4000);
157 bus_write_4(sc->res[0], 0x24, pg->phys);
158 bus_write_4(sc->res[0], 0x28, sc->p0->chunksize);
279 bus_write_4(sc->res[0], 0x38, 0x00004000);
282 bus_write_4(sc->res[1], 0x00, 1);
285 bus_write_4(sc->res[1], 0x04, sc->p0->divisor);
288 bus_write_4(sc->res[1], 0x08, 0);
291 bus_write_4(sc->res[1], 0x0c, 0);
294 bus_write_4(sc->res[1], 0x10, 0);
297 bus_write_4(s
[all...]
/freebsd-9.3-release/sys/dev/acpica/
H A Dacpi_hpet.c136 bus_write_4(sc->mem_res, HPET_CONFIG, val);
146 bus_write_4(sc->mem_res, HPET_CONFIG, val);
175 bus_write_4(sc->mem_res, HPET_ISR, 1 << t->num);
182 bus_write_4(sc->mem_res, HPET_TIMER_CAP_CNF(t->num),
184 bus_write_4(sc->mem_res, HPET_TIMER_COMPARATOR(t->num),
186 bus_write_4(sc->mem_res, HPET_TIMER_COMPARATOR(t->num),
190 bus_write_4(sc->mem_res, HPET_TIMER_CAP_CNF(t->num),
192 bus_write_4(sc->mem_res, HPET_TIMER_COMPARATOR(t->num),
213 bus_write_4(sc->mem_res, HPET_TIMER_CAP_CNF(t->num), t->caps);
243 bus_write_4(s
[all...]
/freebsd-9.3-release/sys/mips/atheros/
H A Dar71xx_gpiovar.h43 bus_write_4(sc->gpio_mem_res, (reg), (val)); \
H A Dif_argevar.h59 bus_write_4(sc->arge_res, (reg), (val)); \
/freebsd-9.3-release/sys/dev/qlxgb/
H A Dqla_reg.h232 bus_write_4((ha->pci_reg), reg, val);\
239 bus_write_4((ha->pci_reg), reg, val);\
244 bus_write_4((ha->pci_reg), off, val);\
/freebsd-9.3-release/sys/dev/twe/
H A Dtwe_compat.h74 #define TWE_CONTROL(sc, val) bus_write_4((sc)->twe_io, 0x0, (u_int32_t)val)
76 #define TWE_COMMAND_QUEUE(sc, val) bus_write_4((sc)->twe_io, 0x8, (u_int32_t)val)
/freebsd-9.3-release/sys/sparc64/sbus/
H A Dlsi64854var.h68 #define L64854_SCSR(sc, csr) bus_write_4((sc)->sc_res, L64854_REG_CSR, csr)
H A Dlsi64854.c363 bus_write_4(sc->sc_res, L64854_REG_ADDR, 0);
385 bus_write_4(sc->sc_res, L64854_REG_ADDR, segs[0].ds_addr);
422 bus_write_4(sc->sc_res, L64854_REG_CNT, *dmasize);
443 bus_write_4(sc->sc_res, L64854_REG_CNT, bcnt);
643 bus_write_4(sc->sc_res, L64854_REG_ADDR, segs[0].ds_addr);
645 bus_write_4(sc->sc_res, L64854_REG_CNT, sc->sc_dmasize);
/freebsd-9.3-release/sys/sparc64/fhc/
H A Dfhc.c213 bus_write_4(sc->sc_memres[i], FHC_ICLR, INTCLR_IDLE);
218 bus_write_4(sc->sc_memres[FHC_IGN], 0x0, sc->sc_ign);
225 bus_write_4(sc->sc_memres[FHC_INTERNAL], FHC_CTRL, ctrl);
364 bus_write_4(fica->fica_memres, FHC_IMAP,
375 bus_write_4(fica->fica_memres, FHC_IMAP, iv->iv_vec);
385 bus_write_4(fica->fica_memres, FHC_IMAP, INTMAP_TID(
396 bus_write_4(fica->fica_memres, FHC_ICLR, INTCLR_IDLE);
521 bus_write_4(sc->sc_memres[FHC_INTERNAL], FHC_CTRL, ctrl);
/freebsd-9.3-release/sys/powerpc/powermac/
H A Data_kauai.c266 bus_write_4(sc->sc_memr, DMA_IRQ_REG, 0x80000000);
309 bus_write_4(sc->sc_memr, 0, 0x00000007);
368 bus_write_4(sc->sc_memr, UDMA_CONFIG_REG, sc->udmaconf[request->unit]);
369 bus_write_4(sc->sc_memr, PIO_CONFIG_REG,
H A Datibl.c160 bus_write_4(sc->sc_memr, RADEON_LVDS_GEN_CNTL, lvds_gen_cntl);
/freebsd-9.3-release/sys/dev/qlxge/
H A Dqls_hw.h923 #define WRITE_REG32_ONLY(ha, reg, val) bus_write_4((ha->pci_reg), reg, val)
925 #define WRITE_REG32(ha, reg, val) bus_write_4((ha->pci_reg), reg, val)
941 #define Q81_WR_WQ_PROD_IDX(wq_idx, idx) bus_write_4((ha->pci_reg1),\
948 #define Q81_SET_WQ_VALID(wq_idx) bus_write_4((ha->pci_reg1),\
952 #define Q81_SET_WQ_INVALID(wq_idx) bus_write_4((ha->pci_reg1),\
956 #define Q81_WR_CQ_CONS_IDX(cq_idx, idx) bus_write_4((ha->pci_reg1),\
962 #define Q81_SET_CQ_VALID(cq_idx) bus_write_4((ha->pci_reg1),\
966 #define Q81_SET_CQ_INVALID(cq_idx) bus_write_4((ha->pci_reg1),\
970 #define Q81_WR_LBQ_PROD_IDX(cq_idx, idx) bus_write_4((ha->pci_reg1),\
976 #define Q81_WR_SBQ_PROD_IDX(cq_idx, idx) bus_write_4((h
[all...]
/freebsd-9.3-release/sys/dev/bm/
H A Dif_bmreg.h156 bus_write_4(sc->sc_memr, reg, val)
/freebsd-9.3-release/sys/dev/sound/macio/
H A Ddavbus.c218 bus_write_4(d->reg, DAVBUS_CODEC_CTRL, data);
389 bus_write_4(d->reg, DAVBUS_CODEC_CTRL, x);
559 bus_write_4(sc->reg, DAVBUS_SOUND_CTRL, DAVBUS_INPUT_SUBFRAME0 |
596 bus_write_4(d->reg, DAVBUS_SOUND_CTRL, reg);
/freebsd-9.3-release/sys/dev/tx/
H A Dif_txvar.h131 bus_write_4((sc)->res, (reg), (val))
/freebsd-9.3-release/sys/dev/ichwd/
H A Dichwd.c217 bus_write_4((sc)->tco_res, (off), (val))
219 bus_write_4((sc)->smi_res, (off), (val))
221 bus_write_4((sc)->gcs_res, (off), (val))
/freebsd-9.3-release/sys/arm/at91/
H A Dat91_pit.c70 bus_write_4(sc->mem_res, off, val);
H A Dat91_rst.c67 bus_write_4(sc->mem_res, off, val);
H A Dat91_wdt.c70 bus_write_4(sc->mem_res, off, val);
/freebsd-9.3-release/sys/arm/mv/
H A Drtc.c188 bus_write_4(sc->res[0], off, val);
/freebsd-9.3-release/sys/dev/fxp/
H A Dif_fxpvar.h248 #define CSR_WRITE_4(sc, reg, val) bus_write_4(sc->fxp_res[0], reg, val)
/freebsd-9.3-release/sys/dev/jme/
H A Dif_jmevar.h231 bus_write_4((_sc)->jme_res[0], (reg), (val))

Completed in 238 milliseconds

1234