Searched refs:hw (Results 126 - 150 of 257) sorted by relevance

1234567891011

/freebsd-11-stable/contrib/binutils/opcodes/
H A Dcgen-opc.c272 const CGEN_HW_ENTRY **hw = cd->hw_table.entries;
275 if (hw[i] && strcmp (name, hw[i]->name) == 0)
276 return hw[i];
290 const CGEN_HW_ENTRY **hw = cd->hw_table.entries;
294 if (hw[i] && hwnum == hw[i]->type)
295 return hw[i];
271 const CGEN_HW_ENTRY **hw = cd->hw_table.entries; local
289 const CGEN_HW_ENTRY **hw = cd->hw_table.entries; local
/freebsd-11-stable/sys/dev/ata/
H A Data-lowlevel.c70 ch->hw.begin_transaction = ata_begin_transaction;
71 ch->hw.end_transaction = ata_end_transaction;
72 ch->hw.status = ata_generic_status;
73 ch->hw.softreset = NULL;
74 ch->hw.command = ata_generic_command;
75 ch->hw.tf_read = ata_tf_read;
76 ch->hw.tf_write = ata_tf_write;
77 ch->hw.pm_read = NULL;
78 ch->hw.pm_write = NULL;
108 if (ch->hw
[all...]
/freebsd-11-stable/sys/dev/qlxgb/
H A Dqla_os.c211 qla_hw_t *hw; local
214 hw = &ha->hw;
221 if (qla_le32_to_host(*(hw->tx_cons)) != hw->txr_comp) {
734 bcopy(IF_LLADDR(ha->ifp), ha->hw.mac_addr, ETHER_ADDR_LEN);
845 (ha->hw.rx_cntxt_rsp)->rx_rsp.cntxt_id);
874 (ha->hw.rx_cntxt_rsp)->rx_rsp.cntxt_id);
979 if (ha->hw.flags.link_up) {
985 (ha->hw
[all...]
/freebsd-11-stable/contrib/diff/src/
H A Dside.c166 size_t hw = sdiff_half_width; local
174 col = print_half_line (left, 0, hw);
179 col = tab_from_to (col, (hw + c2o - 1) / 2) + 1;
191 print_half_line (right, col, hw);
/freebsd-11-stable/etc/rc.d/
H A Dabi31 case `sysctl -n hw.machine_arch` in
/freebsd-11-stable/sys/dev/mse/
H A Dmsevar.h73 mousehw_t hw; member in struct:mse_softc
/freebsd-11-stable/sys/dev/e1000/
H A De1000_mbx.h102 void e1000_init_mbx_ops_generic(struct e1000_hw *hw);
H A Dif_igb.h238 #define IGB_RX_PTHRESH ((hw->mac.type == e1000_i354) ? 12 : \
239 ((hw->mac.type <= e1000_82576) ? 16 : 8))
241 #define IGB_RX_WTHRESH ((hw->mac.type == e1000_82576 && \
244 #define IGB_TX_PTHRESH ((hw->mac.type == e1000_i354) ? 20 : 8)
246 #define IGB_TX_WTHRESH ((hw->mac.type != e1000_82575 && \
429 struct e1000_hw hw; member in struct:adapter
612 u32 new = E1000_READ_REG(hw, reg); \
/freebsd-11-stable/sys/dev/ixgbe/
H A Dixgbe_mbx.h155 void ixgbe_init_mbx_ops_generic(struct ixgbe_hw *hw);
/freebsd-11-stable/contrib/wpa/src/common/
H A Dhw_features_common.h42 int ieee80211ac_cap_check(u32 hw, u32 conf);
H A Dhw_features_common.c490 static int _ieee80211ac_cap_check(u32 hw, u32 conf, u32 cap, argument
500 if ((hw & req_cap) != req_cap) {
510 static int ieee80211ac_cap_check_max(u32 hw, u32 conf, u32 mask, argument
514 u32 hw_max = hw & mask;
527 int ieee80211ac_cap_check(u32 hw, u32 conf) argument
531 if (!_ieee80211ac_cap_check(hw, conf, cap, #cap)) \
537 if (!ieee80211ac_cap_check_max(hw, conf, cap, cap ## _SHIFT, \
/freebsd-11-stable/release/tools/
H A Dgce.conf44 hw.memtest.tests="0"
46 hw.vtnet.mq_disable=1
/freebsd-11-stable/sys/dev/ct/
H A Dbshw_machdep.c87 struct bshw *hw = bs->sc_hw; local
89 if (hw->hw_sregaddr == 0)
92 ct_cr_write_1(chp, hw->hw_sregaddr + ti->ti_id, cti->cti_syncreg);
93 if (hw->hw_flags & BSHW_DOUBLE_DMACHAN)
95 ct_cr_write_1(chp, hw->hw_sregaddr + ti->ti_id + 8,
106 struct bshw *hw = bs->sc_hw; local
112 if (hw->hw_dma_init != NULL && ((*hw->hw_dma_init)(ct)) != 0)
120 offs = hw->hw_sregaddr;
126 if ((hw
[all...]
/freebsd-11-stable/sys/dev/ocs_fc/
H A Docs_scsi.c693 ocs_scsi_build_sgls(ocs_hw_t *hw, ocs_hw_io_t *hio, ocs_hw_dif_info_t *hw_dif, ocs_scsi_sgl_t *sgl, uint32_t sgl_count, ocs_hw_io_type_e type) argument
697 ocs_t *ocs = hw->os;
704 rc = ocs_hw_io_init_sges(hw, hio, type);
715 rc = ocs_hw_io_add_seed_sge(hw, hio, hw_dif);
734 ocs_log_test(hw->os, "Inavlid hw_dif blocksize %d\n", hw_dif->blk_size);
739 ocs_log_test(hw->os, "sgl[%d] len of %ld is not multiple of blocksize\n",
752 rc = ocs_hw_io_add_seed_sge(hw, hio, hw_dif);
756 rc = ocs_hw_io_add_dif_sge(hw, hio, sgl[i].dif_addr);
770 rc = ocs_hw_io_add_sge(hw, hio, sgl[i].addr, sgl[i].len);
783 rc = ocs_hw_io_add_sge(hw, hi
974 ocs_scsi_check_pending_async_cb(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg) argument
[all...]
H A Docs_domain.h47 extern uint64_t ocs_get_wwn(ocs_hw_t *hw, ocs_hw_property_e prop);
H A Docs_domain.c342 ocs_hw_domain_force_free(&domain->ocs->hw, domain);
536 my_wwpn = ocs_get_wwn(&ocs->hw, OCS_HW_WWN_PORT);
537 my_wwnn = ocs_get_wwn(&ocs->hw, OCS_HW_WWN_NODE);
567 if (ocs_hw_port_alloc(&ocs->hw, sport, NULL, (uint8_t *)&be_wwpn)) {
614 if (ocs_hw_domain_alloc(&ocs->hw, domain, drec->index, vlan)) {
732 /* TODO: hw/device reset */
787 ocs_log_debug(ocs, "Requesting hw domain attach fc_id x%x\n", fc_id);
797 rc = ocs_hw_domain_attach(&ocs->hw, domain, fc_id);
831 rc = ocs_hw_domain_free(&ocs->hw, domain);
834 /* TODO: hw/devic
1300 ocs_get_wwn(ocs_hw_t *hw, ocs_hw_property_e prop) argument
[all...]
H A Docs_mgmt.c727 if (ocs_hw_reset(&ocs->hw, OCS_HW_RESET_FIRMWARE)) {
741 if (other_ocs->hw.state !=
743 other_ocs->hw.state =
816 ocs_hw_firmware_write(&ocs->hw, &dma, xfer_size, offset, last, ocs_mgmt_fw_write_cb, &result);
921 ocs_hw_get_sfp(&ocs->hw, page, ocs_mgmt_sfp_cb, result);
983 ocs_mgmt_emit_string(textbuf, MGMT_MODE_RD, "fw_rev", ocs_hw_get_ptr(&ocs->hw, OCS_HW_FW_REV));
989 ocs_mgmt_emit_string(textbuf, MGMT_MODE_RD, "fw_rev2", ocs_hw_get_ptr(&ocs->hw, OCS_HW_FW_REV2));
995 ocs_mgmt_emit_string(textbuf, MGMT_MODE_RD, "ipl", ocs_hw_get_ptr(&ocs->hw, OCS_HW_IPL));
1003 ocs_hw_get(&ocs->hw, OCS_HW_HW_REV1, &value);
1013 ocs_hw_get(&ocs->hw, OCS_HW_HW_REV
[all...]
/freebsd-11-stable/sys/dev/malo/
H A Dif_malohal.c541 * Return "hw specs". Note this must be the first cmd MUST be done after
545 malo_hal_gethwspecs(struct malo_hal *mh, struct malo_hal_hwspec *hw) argument
558 IEEE80211_ADDR_COPY(hw->macaddr, cmd->permaddr);
559 hw->wcbbase[0] = le32toh(cmd->wcbbase0) & 0x0000ffff;
560 hw->wcbbase[1] = le32toh(cmd->wcbbase1) & 0x0000ffff;
561 hw->wcbbase[2] = le32toh(cmd->wcbbase2) & 0x0000ffff;
562 hw->wcbbase[3] = le32toh(cmd->wcbbase3) & 0x0000ffff;
563 hw->rxdesc_read = le32toh(cmd->rxpdrd_ptr)& 0x0000ffff;
564 hw->rxdesc_write = le32toh(cmd->rxpdwr_ptr)& 0x0000ffff;
565 hw
[all...]
/freebsd-11-stable/sys/dev/ixl/
H A Dixlvc.c164 struct i40e_hw *hw = &sc->hw; local
179 err = i40e_aq_send_msg_to_pf(hw, op, I40E_SUCCESS, msg, len, NULL);
184 i40e_stat_str(hw, err),
185 i40e_aq_str(hw, hw->aq.asq_last_status));
220 struct i40e_hw *hw = &sc->hw; local
239 err = i40e_clean_arq_element(hw, &event, NULL);
310 ** Get VF configuration from PF and populate hw structur
318 struct i40e_hw *hw = &sc->hw; local
[all...]
/freebsd-11-stable/sys/dev/netmap/
H A Dnetmap_bdg.c287 /* remove from bridge b the ports in slots hw and sw
291 netmap_bdg_detach_common(struct nm_bridge *b, int hw, int sw) argument
293 int s_hw = hw, s_sw = sw;
308 nm_prinf("detach %d and %d (lim %d)", hw, sw, lim);
313 for (i = 0; (hw >= 0 || sw >= 0) && i < lim; ) {
314 if (hw >= 0 && tmp[i] == hw) {
315 nm_prdis("detach hw %d at %d", hw, i);
318 tmp[lim] = hw; /* no
479 struct netmap_adapter *hw; local
[all...]
H A Dif_igb_netmap.h102 (adapter->hw.mac.type == e1000_82575) ? (txr->me << 4) : 0;
166 E1000_WRITE_REG(&adapter->hw, E1000_TDT(txr->me), nic_i);
174 nic_i = E1000_READ_REG(&adapter->hw, E1000_TDH(kring->ring_id));
279 E1000_WRITE_REG(&adapter->hw, E1000_RDT(rxr->me), nic_i);
/freebsd-11-stable/sys/dev/vt/
H A Dvt_sysmouse.c368 mousehw_t *hw = (mousehw_t *)data; local
370 hw->buttons = 10;
371 hw->iftype = MOUSE_IF_SYSMOUSE;
372 hw->type = MOUSE_MOUSE;
373 hw->model = MOUSE_MODEL_GENERIC;
374 hw->hwid = 0;
/freebsd-11-stable/tools/regression/tmpfs/
H A Dt_sizes43 pagesize=$(sysctl hw.pagesize | cut -d ' ' -f 2)
/freebsd-11-stable/contrib/netbsd-tests/fs/tmpfs/
H A Dt_sizes.sh59 pagesize=$(sysctl -n hw.pagesize)
62 pagesize=$(sysctl hw.pagesize | cut -d ' ' -f 3)
/freebsd-11-stable/tools/tools/crypto/
H A Dcryptokeytest.c183 show_result(a, b, c, sw, hw)
184 BIGNUM *a, *b, *c, *sw, *hw;
204 printf("hw= ");
205 BN_print_fp(stdout, hw);

Completed in 188 milliseconds

1234567891011