/haiku/headers/private/firewire/ |
H A D | firewire_module.h | 38 struct firewire_comm *fc, void *sc, void (*hand)(struct fw_xfer *));
|
H A D | firewirereg.h | 131 status_t (*device_attach)(struct firewire_softc *sc, void **cookie); 132 status_t (*device_detach)(struct firewire_softc *sc, void *cookie); 237 #define CSRARC(sc, offset) ((sc)->csr_arc[(offset)/4]) 277 caddr_t sc; member in struct:fw_xferq 298 void *sc; member in struct:fw_bind 302 caddr_t sc; member in struct:fw_xfer 418 int firewire_attach(struct firewire_comm *fc, struct firewire_softc *sc); 419 void firewire_detach(struct firewire_softc *sc);
|
H A D | fwglue.h | 52 #define OWRITE(sc, offset, value) (*(volatile uint32 *)((char *)(sc->regAddr) + (offset)) = value) 53 #define OREAD(sc, offset) (*(volatile uint32 *)((char *)(sc->regAddr) + (offset)))
|
/haiku/headers/tools/cppunit/cppunit/extensions/ |
H A D | HelperMacros.h | 337 #define CU_TEST_SUB_SUITE(tc,sc) CPPUNIT_TEST_SUB_SUITE(tc,sc)
|
/haiku/src/add-ons/kernel/bus_managers/firewire/ |
H A D | fwmem.cpp | 54 caddr_t sc, 73 xfer->sc = sc; 83 caddr_t sc, 93 xfer = fwmem_xfer_req(fwdev, (char *)sc, spd, 0, 4, (void*)hand); 120 caddr_t sc, 130 xfer = fwmem_xfer_req(fwdev, sc, spd, 0, 0, (void*)hand); 156 caddr_t sc, 167 xfer = fwmem_xfer_req(fwdev, sc, spd, 0, roundup2(len, 4), (void*)hand); 194 caddr_t sc, 52 fwmem_xfer_req( struct fw_device *fwdev, caddr_t sc, int spd, int slen, int rlen, void *hand) argument 81 fwmem_read_quad( struct fw_device *fwdev, caddr_t sc, uint8_t spd, uint16_t dst_hi, uint32_t dst_lo, void *data, void (*hand)(struct fw_xfer *)) argument 118 fwmem_write_quad( struct fw_device *fwdev, caddr_t sc, uint8_t spd, uint16_t dst_hi, uint32_t dst_lo, void *data, void (*hand)(struct fw_xfer *)) argument 154 fwmem_read_block( struct fw_device *fwdev, caddr_t sc, uint8_t spd, uint16_t dst_hi, uint32_t dst_lo, int len, void *data, void (*hand)(struct fw_xfer *)) argument 192 fwmem_write_block( struct fw_device *fwdev, caddr_t sc, uint8_t spd, uint16_t dst_hi, uint32_t dst_lo, int len, void *data, void (*hand)(struct fw_xfer *)) argument [all...] |
H A D | fwohci_pci.cpp | 75 fwohci_softc_t *sc = gFwohci_softc[index]; local 80 fwohci_stop(sc); 84 /* if (sc->fc.bdev) { 85 device_delete_child(self, sc->fc.bdev); 86 sc->fc.bdev = NULL; 90 OWRITE(sc, FWOHCI_INTMASKCLR, OHCI_INT_EN); 91 remove_io_interrupt_handler (sc->irq, fwohci_intr, sc); 92 delete_area(sc->regArea); 94 fwohci_detach(sc); 103 struct fwohci_softc *sc; local 142 fwohci_softc_t *sc = gFwohci_softc[index]; local [all...] |
/haiku/src/add-ons/kernel/drivers/bus/firewire/ |
H A D | fw_raw.c | 161 struct firewire_softc *sc = NULL; local 175 if (gFirewire->get_handle(count, &sc) != B_OK) { 179 if (sc == NULL) 182 FW_GLOCK(sc->fc); 184 FW_GUNLOCK(sc->fc); 189 FW_GUNLOCK(sc->fc); 197 d->fc = sc->fc; 347 fwb = (struct fw_bind *)xfer->sc; 512 xfer->sc = NULL; 642 fwb = (struct fw_bind *)xfer->sc; 978 struct firewire_softc *sc = NULL; local [all...] |
/haiku/src/add-ons/kernel/drivers/disk/nvme/libnvme/ |
H A D | nvme_spec.h | 538 uint16_t sc : 8; /* status code */ member in struct:nvme_status 2107 ((cpl)->status.sc != 0 || (cpl)->status.sct != 0)
|
/haiku/src/add-ons/kernel/drivers/network/wlan/aironetwifi/dev/an/ |
H A D | if_an.c | 317 struct an_softc *sc = device_get_softc(dev); local 328 if (rman_get_start(sc->port_res) == -1) 340 sc->mpi350 = 0; 341 CSR_WRITE_2(sc, AN_INT_EN(sc->mpi350), 0); 342 CSR_WRITE_2(sc, AN_EVENT_ACK(sc->mpi350), 0xFFFF); 344 sc->an_dev = dev; 345 mtx_init(&sc->an_mtx, device_get_nameunit(dev), MTX_NETWORK_LOCK, 347 AN_LOCK(sc); 379 struct an_softc *sc = device_get_softc(dev); local 398 struct an_softc *sc = device_get_softc(dev); local 418 struct an_softc *sc = device_get_softc(dev); local 439 struct an_softc *sc = device_get_softc(dev); local 464 an_dma_malloc(struct an_softc *sc, bus_size_t size, struct an_dma_alloc *dma, int mapflags) argument 493 an_dma_free(struct an_softc *sc, struct an_dma_alloc *dma) argument 506 struct an_softc *sc = device_get_softc(dev); local 547 an_init_mpi350_desc(struct an_softc *sc) argument 653 an_attach(struct an_softc *sc, int flags) argument 808 struct an_softc *sc = device_get_softc(dev); local 831 an_rxeof(struct an_softc *sc) argument 1097 an_txeof(struct an_softc *sc, int status) argument 1152 struct an_softc *sc; local 1190 struct an_softc *sc; local 1260 an_cmd_struct(struct an_softc *sc, struct an_command *cmd, struct an_reply *reply) argument 1308 an_cmd(struct an_softc *sc, int cmd, int val) argument 1354 an_reset(struct an_softc *sc) argument 1376 an_read_record(struct an_softc *sc, struct an_ltv_gen *ltv) argument 1489 an_write_record(struct an_softc *sc, struct an_ltv_gen *ltv) argument 1590 an_dump_record(struct an_softc *sc, struct an_ltv_gen *ltv, char *string) argument 1630 an_seek(struct an_softc *sc, int id, int off, int chan) argument 1664 an_read_data(struct an_softc *sc, int id, int off, caddr_t buf, int len) argument 1687 an_write_data(struct an_softc *sc, int id, int off, caddr_t buf, int len) argument 1714 an_alloc_nicmem(struct an_softc *sc, int len, int *id) argument 1745 an_setdef(struct an_softc *sc, struct an_req *areq) argument 1854 an_promisc(struct an_softc *sc, int promisc) argument 1877 struct an_softc *sc; local 2573 an_init_tx_ring(struct an_softc *sc) argument 2601 struct an_softc *sc = xsc; local 2609 an_init_locked(struct an_softc *sc) argument 2712 struct an_softc *sc; local 2723 struct an_softc *sc; local 2907 an_stop(struct an_softc *sc) argument 2937 an_watchdog(struct an_softc *sc) argument 2960 struct an_softc *sc; local 2974 struct an_softc *sc; local 3065 an_cache_store(struct an_softc *sc, struct ether_header *eh, struct mbuf *m, u_int8_t rx_rssi, u_int8_t rx_quality) argument 3218 struct an_softc *sc = ifp->if_softc; local 3262 struct an_softc *sc = ifp->if_softc; local 3300 struct an_softc *sc; local 3375 struct an_softc *sc; local 3486 struct an_softc *sc = ifp->if_softc; local 3506 struct an_softc *sc = ifp->if_softc; local 3529 struct an_softc *sc = ifp->if_softc; local 3563 struct an_softc *sc = ifp->if_softc; local 3593 struct an_softc *sc = ifp->if_softc; local 3628 struct an_softc *sc = ifp->if_softc; local 3684 struct an_softc *sc = ifp->if_softc; local 3717 struct an_softc *sc = ifp->if_softc; local 3735 struct an_softc *sc; local [all...] |
H A D | if_an_isa.c | 109 struct an_softc *sc = device_get_softc(dev); local 113 an_alloc_port(dev, sc->port_rid, 1); 114 an_alloc_irq(dev, sc->irq_rid, 0); 116 sc->an_dev = dev; 118 error = an_attach(sc, flags); 124 error = bus_setup_intr(dev, sc->irq_res, INTR_TYPE_NET, 125 NULL, an_intr, sc, &sc->irq_handle);
|
H A D | if_an_pccard.c | 132 struct an_softc *sc = device_get_softc(dev); local 145 an_alloc_irq(dev, sc->irq_rid, 0); 147 error = an_attach(sc, flags); 154 error = bus_setup_intr(dev, sc->irq_res, INTR_TYPE_NET, 155 NULL, an_intr, sc, &sc->irq_handle);
|
H A D | if_an_pci.c | 146 struct an_softc *sc; local 149 sc = device_get_softc(dev); 150 bzero(sc, sizeof(struct an_softc)); 157 mtx_init(&sc->an_mtx, device_get_nameunit(dev), MTX_NETWORK_LOCK, 162 sc->mpi350 = 1; 163 sc->port_rid = PCIR_BAR(0); 165 sc->port_rid = AN_PCI_LOIO; 167 error = an_alloc_port(dev, sc->port_rid, 1); 175 if (sc->mpi350) { 177 sc [all...] |
H A D | if_anreg.h | 50 #define CSR_WRITE_2(sc, reg, val) bus_write_2(sc->port_res, reg, val) 52 #define CSR_READ_2(sc, reg) bus_read_2(sc->port_res, reg) 54 #define CSR_WRITE_1(sc, reg, val) bus_write_1(sc->port_res, reg, val) 56 #define CSR_READ_1(sc, reg) bus_read_1(sc->port_res, reg) 61 #define CSR_MEM_WRITE_2(sc, reg, val) bus_write_2(sc [all...] |
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/contrib/ath_hal/ar9300/ |
H A D | ar9300_attach.c | 634 ar9300_attach(u_int16_t devid, HAL_SOFTC sc, HAL_BUS_TAG st, argument 646 ahp = ar9300_new_state(devid, sc, st, sh, eepromdata, ah_config, status); 2502 ar9300_new_state(u_int16_t devid, HAL_SOFTC sc, argument 2546 ah->ah_sc = sc;
|
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar5210/ |
H A D | ar5210_attach.c | 188 ar5210Attach(uint16_t devid, HAL_SOFTC sc, HAL_BUS_TAG st, HAL_BUS_HANDLE sh, argument 200 "%s: devid 0x%x sc %p st %p sh %p\n", __func__, devid, 201 sc, (void*) st, (void*) sh); 214 ah->ah_sc = sc;
|
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar5211/ |
H A D | ar5211_attach.c | 207 ar5211Attach(uint16_t devid, HAL_SOFTC sc, argument 218 HALDEBUG(AH_NULL, HAL_DEBUG_ATTACH, "%s: sc %p st %p sh %p\n", 219 __func__, sc, (void*) st, (void*) sh); 232 ah->ah_sc = sc;
|
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar5212/ |
H A D | ar5212_attach.c | 234 ar5212InitState(struct ath_hal_5212 *ahp, uint16_t devid, HAL_SOFTC sc, argument 245 ah->ah_sc = sc; 320 ar5212Attach(uint16_t devid, HAL_SOFTC sc, argument 333 HALDEBUG(AH_NULL, HAL_DEBUG_ATTACH, "%s: sc %p st %p sh %p\n", 334 __func__, sc, (void*) st, (void*) sh); 344 ar5212InitState(ahp, devid, sc, st, sh, status);
|
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar5312/ |
H A D | ar5312_attach.c | 65 ar5312Attach(uint16_t devid, HAL_SOFTC sc, argument 76 HALDEBUG(AH_NULL, HAL_DEBUG_ATTACH, "%s: sc %p st %p sh %p\n", 77 __func__, sc, st, (void*) sh); 87 ar5212InitState(ahp, devid, sc, st, sh, status);
|
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ |
H A D | if_ath_btcoex.h | 40 extern int ath_btcoex_attach(struct ath_softc *sc); 41 extern int ath_btcoex_detach(struct ath_softc *sc); 42 extern int ath_btcoex_ioctl(struct ath_softc *sc, struct ath_diag *ad); 43 extern int ath_btcoex_enable(struct ath_softc *sc,
|
H A D | if_ath_btcoex_mci.c | 86 static void ath_btcoex_mci_update_wlan_channels(struct ath_softc *sc); 89 ath_btcoex_mci_attach(struct ath_softc *sc) argument 94 error = ath_descdma_alloc_desc(sc, &sc->sc_btcoex.buf, NULL, 97 device_printf(sc->sc_dev, "%s: failed to alloc MCI RAM\n", 103 sc->sc_btcoex_mci = 1; 106 sc->sc_btcoex.wlan_channels[0] = 0x00000000; 107 sc->sc_btcoex.wlan_channels[1] = 0xffffffff; 108 sc->sc_btcoex.wlan_channels[2] = 0xffffffff; 109 sc 159 ath_btcoex_mci_detach(struct ath_softc *sc) argument 175 ath_btcoex_mci_enable(struct ath_softc *sc, const struct ieee80211_channel *chan) argument 206 ath_btcoex_mci_event(struct ath_softc *sc, ATH_BT_COEX_EVENT nevent, void *param) argument 245 ath_btcoex_mci_send_gpm(struct ath_softc *sc, uint32_t *payload) argument 256 ath_btcoex_mci_bt_cal_do(struct ath_softc *sc, int tx_timeout, int rx_timeout) argument 264 ath_btcoex_mci_cal_msg(struct ath_softc *sc, uint8_t opcode, uint8_t *rx_payload) argument 325 ath_btcoex_mci_update_wlan_channels(struct ath_softc *sc) argument 373 ath_btcoex_mci_coex_msg(struct ath_softc *sc, uint8_t opcode, uint8_t *rx_payload) argument 433 ath_btcoex_mci_intr(struct ath_softc *sc) argument [all...] |
H A D | if_ath_btcoex_mci.h | 36 extern int ath_btcoex_mci_attach(struct ath_softc *sc); 37 extern int ath_btcoex_mci_detach(struct ath_softc *sc); 38 extern int ath_btcoex_mci_enable(struct ath_softc *sc, 40 extern void ath_btcoex_mci_intr(struct ath_softc *sc);
|
H A D | if_ath_debug.c | 101 ath_printrxbuf(struct ath_softc *sc, const struct ath_buf *bf, argument 105 struct ath_hal *ah = sc->sc_ah; 137 ath_printtxbuf_edma(struct ath_softc *sc, const struct ath_buf *first_bf, argument 161 i ++, ds += sc->sc_tx_desclen) { 200 ath_printtxbuf_legacy(struct ath_softc *sc, const struct ath_buf *first_bf, argument 205 struct ath_hal *ah = sc->sc_ah; 243 ath_printtxbuf(struct ath_softc *sc, const struct ath_buf *first_bf, argument 246 if (sc->sc_ah->ah_magic == 0x19741014) 247 ath_printtxbuf_edma(sc, first_bf, qnum, ix, done); 249 ath_printtxbuf_legacy(sc, first_b 253 ath_printtxstatbuf(struct ath_softc *sc, const struct ath_buf *first_bf, const uint32_t *ds, u_int qnum, u_int ix, int done) argument [all...] |
H A D | if_ath_debug.h | 92 if (sc->sc_ktrdebug & (_km)) \ 98 #define IFF_DUMPPKTS(sc, m) (sc->sc_debug & (m)) 99 #define DPRINTF(sc, m, ...) do { \ 100 if (sc->sc_debug & (m)) \ 101 device_printf(sc->sc_dev, __VA_ARGS__); \ 103 #define KEYPRINTF(sc, ix, hk, mac) do { \ 104 if (sc->sc_debug & ATH_DEBUG_KEYCACHE) \ 105 ath_keyprint(sc, __func__, ix, hk, mac); \ 112 extern void ath_printtxstatbuf(struct ath_softc *sc, cons [all...] |
H A D | if_ath_descdma.c | 145 ath_descdma_alloc_desc(struct ath_softc *sc, argument 157 DPRINTF(sc, ATH_DEBUG_RESET, 169 if (! ath_hal_split4ktrans(sc->sc_ah)) { 180 error = bus_dma_tag_create(bus_get_dma_tag(sc->sc_dev), /* parent */ 193 device_printf(sc->sc_dev, 203 device_printf(sc->sc_dev, 214 device_printf(sc->sc_dev, 220 DPRINTF(sc, ATH_DEBUG_RESET, "%s: %s DMA map: %p (%lu) -> %p (%lu)\n", 238 ath_descdma_setup(struct ath_softc *sc, argument 251 error = ath_descdma_alloc_desc(sc, d 327 ath_descdma_setup_rx_edma(struct ath_softc *sc, struct ath_descdma *dd, ath_bufhead *head, const char *name, int nbuf, int rx_status_len) argument 385 ath_descdma_cleanup(struct ath_softc *sc, struct ath_descdma *dd, ath_bufhead *head) argument [all...] |
H A D | if_ath_descdma.h | 34 extern int ath_descdma_alloc_desc(struct ath_softc *sc, 37 extern int ath_descdma_setup(struct ath_softc *sc, struct ath_descdma *dd, 40 extern int ath_descdma_setup_rx_edma(struct ath_softc *sc, 43 extern void ath_descdma_cleanup(struct ath_softc *sc,
|