Searched refs:_val (Results 26 - 50 of 100) sorted by relevance

1234

/freebsd-13-stable/sys/arm/freescale/vybrid/
H A Dvf_edma.h115 #define TCD_WRITE4(_sc, _reg, _val) \
116 bus_space_write_4(_sc->bst_tcd, _sc->bsh_tcd, _reg, _val)
119 #define TCD_WRITE2(_sc, _reg, _val) \
120 bus_space_write_2(_sc->bst_tcd, _sc->bsh_tcd, _reg, _val)
123 #define TCD_WRITE1(_sc, _reg, _val) \
124 bus_space_write_1(_sc->bst_tcd, _sc->bsh_tcd, _reg, _val)
H A Dvf_ehci.c114 #define PHY_WRITE4(_sc, _reg, _val) \
115 bus_space_write_4(_sc->bst_phy, _sc->bsh_phy, _reg, _val)
119 #define USBC_WRITE4(_sc, _reg, _val) \
120 bus_space_write_4(_sc->bst_usbc, _sc->bsh_usbc, _reg, _val)
/freebsd-13-stable/sys/dev/bhnd/cores/pci/
H A Dbhnd_pci_hostb.c184 #define BHND_PCI_WRITE_2(_sc, _reg, _val) \
185 bhnd_bus_write_2(BHND_PCI_SOFTC(_sc)->mem_res, (_reg), (_val))
187 #define BHND_PCI_WRITE_4(_sc, _reg, _val) \
188 bhnd_bus_write_4(BHND_PCI_SOFTC(_sc)->mem_res, (_reg), (_val))
193 #define BHND_PCI_PROTO_WRITE_4(_sc, _reg, _val) \
194 bhnd_pcie_write_proto_reg(BHND_PCI_SOFTC(_sc), (_reg), (_val))
199 #define BHND_PCI_MDIO_WRITE(_sc, _phy, _reg, _val) \
200 bhnd_pcie_mdio_write(BHND_PCI_SOFTC(_sc), (_phy), (_reg), (_val))
205 #define BHND_PCI_MDIO_WRITE_EXT(_sc, _phy, _devaddr, _reg, _val) \
207 (_devaddr), (_reg), (_val))
[all...]
/freebsd-13-stable/share/examples/ppi/
H A Dppilcd.c291 #define hd_sctrl(v) {u_int8_t _val; _val = hd_cbits | v; ioctl(hd_fd, PPISCTRL, &_val);}
292 #define hd_sdata(v) {u_int8_t _val; _val = v; ioctl(hd_fd, PPISDATA, &_val);}
/freebsd-13-stable/sys/dev/mmc/host/
H A Ddwmmc_samsung.c48 #define WRITE4(_sc, _reg, _val) \
49 bus_write_4((_sc)->res[0], _reg, _val)
/freebsd-13-stable/sys/dev/etherswitch/mtkswitch/
H A Dmtkswitchvar.h132 #define MTKSWITCH_WRITE(_sc, _reg, _val) \
133 bus_write_4((_sc)->sc_res, (_reg), (_val))
/freebsd-13-stable/sys/dev/bhnd/cores/chipc/
H A Dchipc_gpiovar.h109 #define CC_GPIO_UPDATE(_upd, _pin, _reg, _val) do { \
111 if (_val) \
/freebsd-13-stable/sys/arm/freescale/imx/
H A Dimx6_audmux.c57 #define WRITE4(_sc, _reg, _val) \
58 bus_space_write_4(_sc->bst, _sc->bsh, _reg, _val)
/freebsd-13-stable/tools/tools/ath/common/
H A Dah_osdep.h61 #define OS_REG_WRITE(_ah, _reg, _val)
/freebsd-13-stable/sys/dev/flash/
H A Dcqspi.c85 #define WRITE4(_sc, _reg, _val) bus_write_4((_sc)->res[0], _reg, _val)
86 #define WRITE2(_sc, _reg, _val) bus_write_2((_sc)->res[0], _reg, _val)
87 #define WRITE1(_sc, _reg, _val) bus_write_1((_sc)->res[0], _reg, _val)
90 #define WRITE_DATA_4(_sc, _reg, _val) bus_write_4((_sc)->res[1], _reg, _val)
91 #define WRITE_DATA_1(_sc, _reg, _val) bus_write_1((_sc)->res[1], _reg, _val)
[all...]
/freebsd-13-stable/sys/mips/mediatek/
H A Dmtk_usb_phy.c61 #define USB_PHY_WRITE(_sc, _off, _val) bus_write_4((_sc)->res, (_off), (_val))
67 #define USB_PHY_WRITE_U2(_sc, _off, _val) \
68 USB_PHY_WRITE((_sc), ((_sc)->u2_base + (_off)), (_val))
78 USB_PHY_WRITE((_sc), ((_sc)->fm_base + (_off)), (_val))
H A Dmtk_intr_v1.c105 #define WRITE4(_sc, _reg, _val) bus_write_4((_sc)->pic_res[0], _reg, _val)
H A Dmtk_intr_v2.c100 #define WRITE4(_sc, _reg, _val) bus_write_4((_sc)->pic_res[0], _reg, _val)
/freebsd-13-stable/lib/libipsec/
H A Dpolicy_parse.y81 struct _val;
83 static struct sockaddr *parse_sockaddr(struct _val *buf);
101 struct _val {
227 struct _val *buf;
/freebsd-13-stable/sys/dev/etherswitch/rtl8366/
H A Drtl8366rbvar.h137 #define RTL8366_PVCR_GET(_port, _val) \
138 (((_val) >> ((_port % RTL8366_PVCR_PORT_PERREG) * RTL8366_PVCR_PORT_SHIFT)) & RTL8366_PVCR_PORT_MASK)
/freebsd-13-stable/sys/mips/atheros/
H A Dif_argevar.h91 #define ARGE_MDIO_WRITE(_sc, _reg, _val) \
92 ARGE_WRITE((_sc), (_reg), (_val))
/freebsd-13-stable/sys/dev/rtwn/
H A Dif_rtwnvar.h433 #define rtwn_write_1(_sc, _addr, _val) \
434 (((_sc)->sc_write_1)((_sc), (_addr), (_val)))
435 #define rtwn_write_2(_sc, _addr, _val) \
436 (((_sc)->sc_write_2)((_sc), (_addr), (_val)))
437 #define rtwn_write_4(_sc, _addr, _val) \
438 (((_sc)->sc_write_4)((_sc), (_addr), (_val)))
478 #define rtwn_rf_write(_sc, _chain, _addr, _val) \
479 (((_sc)->sc_rf_write)((_sc), (_chain), (_addr), (_val)))
/freebsd-13-stable/sys/dev/virtio/
H A Dvirtqueue.c141 #define vq_htog16(_vq, _val) virtio_htog16(vq_modern(_vq), _val)
142 #define vq_htog32(_vq, _val) virtio_htog32(vq_modern(_vq), _val)
143 #define vq_htog64(_vq, _val) virtio_htog64(vq_modern(_vq), _val)
144 #define vq_gtoh16(_vq, _val) virtio_gtoh16(vq_modern(_vq), _val)
145 #define vq_gtoh32(_vq, _val) virtio_gtoh32(vq_modern(_vq), _val)
[all...]
/freebsd-13-stable/sys/dev/virtio/block/
H A Dvirtio_blk.c199 #define vtblk_htog16(_sc, _val) virtio_htog16(vtblk_modern(_sc), _val)
200 #define vtblk_htog32(_sc, _val) virtio_htog32(vtblk_modern(_sc), _val)
201 #define vtblk_htog64(_sc, _val) virtio_htog64(vtblk_modern(_sc), _val)
202 #define vtblk_gtoh16(_sc, _val) virtio_gtoh16(vtblk_modern(_sc), _val)
203 #define vtblk_gtoh32(_sc, _val) virtio_gtoh32(vtblk_modern(_sc), _val)
[all...]
/freebsd-13-stable/sys/dev/virtio/console/
H A Dvirtio_console.c230 #define vtcon_htog16(_sc, _val) virtio_htog16(vtcon_modern(_sc), _val)
231 #define vtcon_htog32(_sc, _val) virtio_htog32(vtcon_modern(_sc), _val)
232 #define vtcon_htog64(_sc, _val) virtio_htog64(vtcon_modern(_sc), _val)
233 #define vtcon_gtoh16(_sc, _val) virtio_gtoh16(vtcon_modern(_sc), _val)
234 #define vtcon_gtoh32(_sc, _val) virtio_gtoh32(vtcon_modern(_sc), _val)
[all...]
/freebsd-13-stable/sys/dev/xilinx/
H A Daxi_quad_spi.c69 #define WRITE4(_sc, _reg, _val) \
70 bus_space_write_4(_sc->bst, _sc->bsh, _reg, _val)
/freebsd-13-stable/sys/mips/ingenic/
H A Djz4780_intr.c92 #define WRITE4(_sc, _reg, _val) bus_write_4((_sc)->pic_res[0], _reg, _val)
/freebsd-13-stable/sys/contrib/ncsw/inc/
H A Dncsw_ext.h50 #define UINT_TO_PTR(_val) ((void*)(uintptr_t)(_val))
/freebsd-13-stable/sys/arm/mv/
H A Da37x0_gpio.c67 #define A37X0_GPIO_WRITE(_sc, _off, _val) \
68 SYSCON_WRITE_4((_sc)->syscon, (_off), (_val))
/freebsd-13-stable/sys/dev/smartpqi/
H A Dsmartpqi_defines.h1006 #define PCI_MEM_PUT32( _softs, _absaddr, _offset, _val ) \
1008 _softs->pci_mem_handle.pqi_bhandle, _offset, _val)
1011 #define PCI_MEM_PUT64( _softs, _absaddr, _offset, _val ) \
1013 _softs->pci_mem_handle.pqi_bhandle, _offset, _val); \
1015 _softs->pci_mem_handle.pqi_bhandle, _offset + 4, _val >> 32);
1017 #define PCI_MEM_PUT64( _softs, _absaddr, _offset, _val ) \
1019 _softs->pci_mem_handle.pqi_bhandle, _offset, _val)

Completed in 293 milliseconds

1234