HomeSort by: relevance | last modified time | path
    Searched defs:hw (Results 1 - 25 of 45) sorted by relevancy

1 2

  /src/sys/arch/hp300/stand/common/
hpib.c 55 struct hp_hw *hw; local in function:hpibinit
60 for (hw = sc_table; i < NHPIB && hw < &sc_table[MAXCTLRS]; hw++) {
61 if (!HW_ISHPIB(hw))
64 hs->sc_addr = hw->hw_kva;
69 printf("hpib%d at sc%d\n", i, hw->hw_sc);
70 hw->hw_pa = (void *) i; /* XXX for autoconfig */
dcm.c 56 struct hp_hw *hw; local in function:dcmprobe
59 for (hw = sc_table; hw < &sc_table[MAXCTLRS]; hw++)
60 if (HW_ISDEV(hw, D_COMMDCM) && !badaddr((void *)hw->hw_kva))
62 if (!HW_ISDEV(hw, D_COMMDCM)) {
66 dcmcnaddr = (struct dcmdevice *) hw->hw_kva;
84 curcons_scode = hw->hw_sc;
autoconf.c 148 struct hp_hw *hw; local in function:msustobdev
152 for (hw = sc_table; hw < &sc_table[MAXCTLRS]; hw++)
153 if (hw->hw_sc == sc)
157 ctlr = (int)hw->hw_pa;
196 struct hp_hw *hw; local in function:find_devs
198 hw = sc_table;
208 hw->hw_pa = 0; /* XXX used to pass back LUN from driver */
210 hw->hw_size = DIOII_SIZE(id_reg)
    [all...]
ite.c 202 struct hp_hw *hw; local in function:iteconfig
207 for (hw = sc_table; hw < &sc_table[MAXCTLRS]; hw++) {
208 if (!HW_ISDEV(hw, D_BITMAP))
210 fb = (struct diofbreg *)hw->hw_kva;
222 ip->scode = hw->hw_sc;
scsi.c 81 struct hp_hw *hw; local in function:scsiinit
87 for (hw = sc_table; i < NSCSI && hw < &sc_table[MAXCTLRS]; hw++) {
88 if (!HW_ISSCSI(hw))
91 hs->sc_addr = hw->hw_kva;
94 printf("scsi%d at sc%d\n", i, hw->hw_sc);
95 hw->hw_pa = (void *) i; /* XXX for autoconfig */
if_le.c 158 struct hp_hw *hw; local in function:leinit
166 for (hw = sc_table; i < NLE && hw < &sc_table[MAXCTLRS]; hw++) {
169 printf("found type %x\n", hw->hw_type);
173 if (!HW_ISDEV(hw, D_LAN))
180 sc->sc_r0 = (struct lereg0 *)(sels->le_id + (int)hw->hw_kva);
185 sc->sc_r1 = (struct lereg1 *)(sels->le_regs + (int)hw->hw_kva);
186 sc->sc_mem = (struct lereg2 *)(sels->le_mem + (int)hw->hw_kva);
197 cp = (char *)(sels->le_nvram + (int)hw->hw_kva)
    [all...]
  /src/usr.bin/rump_dhcpclient/
bpf.c 141 struct ether_header hw; local in function:send_raw_packet
144 memset(&hw, 0, ETHER_HDR_LEN);
145 memset(&hw.ether_dhost, 0xff, ETHER_ADDR_LEN);
146 hw.ether_type = htons(protocol);
147 iov[0].iov_base = &hw;
  /src/sys/dev/dtv/
dtvif.h 73 const struct dtv_hw_if *hw; member in struct:dtv_attach_args
  /src/common/lib/libc/string/
memmem.c 42 uint16_t nw = n[0] << 8 | n[1], hw = h[0] << 8 | h[1]; local in function:twobyte_memmem
43 for (h += 2, k -= 2; k; k--, hw = hw << 8 | *h++)
44 if (hw == nw) return __UNCONST(h - 2);
45 return hw == nw ? __UNCONST(h - 2) : 0;
52 uint32_t hw = (uint32_t)h[0] << 24 | h[1] << 16 | h[2] << 8; local in function:threebyte_memmem
53 for (h += 3, k -= 3; k; k--, hw = (hw|*h++) << 8)
54 if (hw == nw) return __UNCONST(h - 3);
55 return hw == nw ? __UNCONST(h - 3) : 0
62 uint32_t hw = (uint32_t)h[0] << 24 | h[1] << 16 | h[2] << 8 | h[3]; local in function:fourbyte_memmem
    [all...]
  /src/sys/lib/libgnuefi/
Makefile 54 error.c event.c guid.c hand.c hw.c init.c lock.c \
65 COPTS.hw.c= -Wno-shadow
  /src/sys/external/bsd/drm2/dist/drm/radeon/
rv6xx_dpm.h 78 struct rv6xx_pm_hw_state hw; member in struct:rv6xx_power_info
  /src/sys/dev/pci/ixgbe/
if_bypass.c 123 struct ixgbe_hw *hw = &sc->hw; local in function:ixgbe_bp_version
132 if ((error = hw->mac.ops.bypass_rw(hw, cmd, &featversion) != 0))
136 if ((error = hw->mac.ops.bypass_rw(hw, cmd, &featversion) != 0))
165 struct ixgbe_hw *hw = &sc->hw; local in function:ixgbe_bp_set_state
171 error = hw->mac.ops.bypass_rw(hw,
229 struct ixgbe_hw *hw = &sc->hw; local in function:ixgbe_bp_timeout
274 struct ixgbe_hw *hw = &sc->hw; local in function:ixgbe_bp_main_on
318 struct ixgbe_hw *hw = &sc->hw; local in function:ixgbe_bp_main_off
362 struct ixgbe_hw *hw = &sc->hw; local in function:ixgbe_bp_aux_on
406 struct ixgbe_hw *hw = &sc->hw; local in function:ixgbe_bp_aux_off
455 struct ixgbe_hw *hw = &sc->hw; local in function:ixgbe_bp_wd_set
528 struct ixgbe_hw *hw = &sc->hw; local in function:ixgbe_bp_wd_reset
577 struct ixgbe_hw *hw = &sc->hw; local in function:ixgbe_bp_log
740 struct ixgbe_hw *hw = &sc->hw; local in function:ixgbe_bypass_init
    [all...]
if_sriov.c 97 ixgbe_send_vf_msg(struct ixgbe_hw *hw, struct ixgbe_vf *vf, u32 msg)
102 hw->mbx.ops[vf->pool].write(hw, &msg, 1, vf->pool);
109 ixgbe_send_vf_msg(&sc->hw, vf, msg | IXGBE_VT_MSGTYPE_SUCCESS);
116 ixgbe_send_vf_msg(&sc->hw, vf, msg | IXGBE_VT_MSGTYPE_FAILURE);
212 ixgbe_send_vf_msg(&sc->hw, vf, IXGBE_PF_CONTROL_MSG);
221 struct ixgbe_hw *hw; local in function:ixgbe_vf_set_default_vlan
224 hw = &sc->hw;
228 vmolr = IXGBE_READ_REG(hw, IXGBE_VMOLR(vf->pool))
260 struct ixgbe_hw *hw = &sc->hw; local in function:ixgbe_clear_vfmbmem
337 struct ixgbe_hw *hw; local in function:ixgbe_vf_enable_transmit
352 struct ixgbe_hw *hw; local in function:ixgbe_vf_enable_receive
370 struct ixgbe_hw *hw; local in function:ixgbe_vf_reset_msg
461 struct ixgbe_hw *hw; local in function:ixgbe_vf_set_vlan
488 struct ixgbe_hw *hw; local in function:ixgbe_vf_set_lpe
561 struct ixgbe_hw *hw; local in function:ixgbe_vf_get_queues
591 struct ixgbe_hw *hw; local in function:ixgbe_process_vf_msg
648 struct ixgbe_hw *hw; local in function:ixgbe_handle_mbx
741 struct ixgbe_hw *hw; local in function:ixgbe_uninit_iov
775 struct ixgbe_hw *hw; local in function:ixgbe_init_vf
808 struct ixgbe_hw *hw = &sc->hw; local in function:ixgbe_initialize_iov
    [all...]
ix_txrx.c 76 * HW RSC control:
561 IXGBE_WRITE_REG(&sc->hw, txr->tail, i);
1284 * NOTE: Since this HW feature only works with IPv4 and
1292 struct ixgbe_hw *hw = &sc->hw; local in function:ixgbe_setup_hw_rsc
1297 rscctrl = IXGBE_READ_REG(hw, IXGBE_RSCCTL(rxr->me));
1302 rdrxctl = IXGBE_READ_REG(hw, IXGBE_RDRXCTL);
1312 IXGBE_WRITE_REG(hw, IXGBE_RDRXCTL, rdrxctl);
1314 rscctrl = IXGBE_READ_REG(hw, IXGBE_RSCCTL(rxr->me));
1329 IXGBE_WRITE_REG(hw, IXGBE_RSCCTL(rxr->me), rscctrl)
    [all...]
  /src/sys/dev/sbus/
bpp.c 220 struct hwstate *hw = &dsc->sc_hwdefault; local in function:bppattach
223 hw->hw_hcr = bus_space_read_2(sc->sc_bustag, h, L64854_REG_HCR);
224 hw->hw_ocr = bus_space_read_2(sc->sc_bustag, h, L64854_REG_OCR);
225 hw->hw_tcr = bus_space_read_1(sc->sc_bustag, h, L64854_REG_TCR);
226 hw->hw_or = bus_space_read_1(sc->sc_bustag, h, L64854_REG_OR);
229 hw->hw_hcr, hw->hw_ocr, hw->hw_tcr, hw->hw_or));
231 hw->hw_hcr = ((ack_rate<<BPP_HCR_DSS_SHFT)&BPP_HCR_DSS_MASK
417 struct hwstate *hw, *chw; local in function:bppioctl
    [all...]
  /src/sys/arch/emips/ebus/
if_le_ebus.c 78 struct _Enic *sc_regs; /* hw registers */
168 printf(" <cannot get hw info> DISABLED.\n");
237 PENIC_INFO hw = (PENIC_INFO)buffer; local in function:enic_gethwinfo
268 * Next get the HW parameters
293 hw->InputFifoSize, hw->OutputFifoSize, hw->CompletionFifoSize,
294 hw->ErrorCount, hw->FramesDropped, hw->Reserved)
    [all...]
  /src/sys/arch/aarch64/aarch64/
db_trace.c 335 int hw = (insn >> 21) & 3; variable in typeref:typename:int
337 (insn >> 5) & 0xffff, 1) << (hw * 16);
338 alloc_by_Xn_kmask = (0xffffULL << (hw * 16));
341 hw * 16);
  /src/sys/dev/spi/
spiflash.c 105 const struct spiflash_hw_if *hw; member in struct:spiflash_attach_args
174 spiflash_attach_mi(const struct spiflash_hw_if *hw, void *cookie,
178 sfa.hw = hw;
208 sc->sc_hw = *sfa->hw;
  /src/sys/dev/
midi.c 143 DPRINTFN(2,("midiprobe: type=%d sa=%p hw=%p\n", sa->type, sa,
804 const struct midi_hw_if *hw; local in function:midiopen
817 hw = sc->hw_if;
818 if (hw == NULL) {
862 error = hw->open(sc->hw_hdl, flags, midi_in, midi_out, sc);
876 const struct midi_hw_if *hw; local in function:midiclose
879 hw = sc->hw_if;
894 hw->close(sc->hw_hdl);
1154 * midi_poll_out is intended for the midi hw (the vast majority of MIDI UARTs
1603 const struct midi_hw_if *hw; local in function:midiioctl
    [all...]
  /src/sys/dev/ieee1394/
firewire.c 68 struct crom_chunk hw; member in struct:crom_src_buf
73 * Setup sysctl(3) MIB, hw.ieee1394if.*
1457 crom_add_simple_text(src, root, &buf->hw, hostname);
  /src/sys/external/bsd/drm2/dist/drm/i915/gt/
selftest_lrc.c 2200 * can with the number of preemptions, trying to exceed narrow HW
3208 * we only move requests to the HW ready queue when the request
3211 * there is a delay on all secondary fences as the HW may be
3214 * submission to HW. Ergo, we do not guarantee that all requests are
3215 * immediately submitted to HW at the same time, just that if the
3221 * different HW. (The proper answer is of course "lalalala".)
3649 * match the layout saved by HW.
3658 u32 *hw; local in function:live_lrc_layout
3664 hw = i915_gem_object_pin_map(engine->default_state,
3666 if (IS_ERR(hw)) {
3807 u32 *hw; local in function:live_lrc_fixed
    [all...]
  /src/sys/dev/pci/
if_msk.c 1467 uint8_t hw, pmd; local in function:mskc_attach
1770 hw = sk_win_read_1(sc, SK_Y2_HWRES);
1771 if ((hw & SK_Y2_HWRES_LINK_MASK) == SK_Y2_HWRES_LINK_DUAL) {
2874 * Set up sysctl(3) MIB, hw.msk.* - Individual controllers will be
if_iwi.c 1391 uint32_t hw; local in function:iwi_rx_intr
1393 hw = CSR_READ_4(sc, IWI_CSR_RX_RIDX);
1395 for (; sc->rxq.cur != hw;) {
1428 hw = (hw == 0) ? sc->rxq.count - 1 : hw - 1;
1429 CSR_WRITE_4(sc, IWI_CSR_RX_WIDX, hw);
1437 uint32_t hw; local in function:iwi_tx_intr
1442 hw = CSR_READ_4(sc, txq->csr_ridx);
1444 for (; txq->next != hw;) {
    [all...]
  /src/sys/dev/pci/igc/
if_igc.h 338 struct igc_hw hw; member in struct:igc_softc
  /src/sys/arch/arm/xscale/
ixp425_if_npe.c 475 struct npehwbuf *hw = &dma->hwbuf[i]; local in function:npe_dma_setup
479 ((uintptr_t)hw - (uintptr_t)dma->hwbuf);
490 npe->ix_hw = hw;
857 struct npehwbuf *hw; local in function:npe_rxbuf_init
876 hw = npe->ix_hw;
877 hw->ix_ne[0].data = htobe32(npe->ix_map->dm_segs[0].ds_addr);
880 hw->ix_ne[0].len = htobe32(npe->ix_map->dm_segs[0].ds_len << 16);
881 hw->ix_ne[0].next = 0;
921 struct npehwbuf *hw = npe->ix_hw; local in function:npe_rxdone
928 /* XXX flush hw buffer; works now 'cuz coherent *
1237 struct npehwbuf *hw; local in function:npestart
    [all...]

Completed in 30 milliseconds

1 2