Searched refs:hw (Results 101 - 125 of 257) sorted by relevance

1234567891011

/freebsd-11-stable/sys/dev/ixgb/
H A Dixgb_hw.h793 extern boolean_t ixgb_adapter_stop(struct ixgb_hw *hw);
794 extern boolean_t ixgb_init_hw(struct ixgb_hw *hw);
795 extern boolean_t ixgb_adapter_start(struct ixgb_hw *hw);
796 extern void ixgb_init_rx_addrs(struct ixgb_hw *hw);
797 extern void ixgb_check_for_link(struct ixgb_hw *hw);
798 extern boolean_t ixgb_check_for_bad_link(struct ixgb_hw *hw);
799 extern boolean_t ixgb_setup_fc(struct ixgb_hw *hw);
800 extern void ixgb_clear_hw_cntrs(struct ixgb_hw *hw);
803 extern uint16_t ixgb_read_phy_reg(struct ixgb_hw *hw,
808 extern void ixgb_write_phy_reg(struct ixgb_hw *hw,
[all...]
/freebsd-11-stable/sys/dev/ocs_fc/
H A Docs_hw.h570 ocs_hw_t *hw; /**< pointer back to hardware context */ member in struct:ocs_hw_io_s
752 ocs_hw_t *hw; /**< HW that owns this sequence */ member in struct:__anon7586
1101 typedef void (*tcmd_cq_handler)(ocs_hw_t *hw, uint32_t cq_idx, void *cq_handler_arg);
1113 ocs_hw_t *hw; member in struct:hw_eq_s
1161 ocs_hw_t *hw; member in struct:hw_wq_s
1241 extern hw_eq_t *hw_new_eq(ocs_hw_t *hw, uint32_t entry_count);
1253 extern void hw_queue_dump(ocs_hw_t *hw);
1254 extern void hw_queue_teardown(ocs_hw_t *hw);
1255 extern int32_t hw_route_rqe(ocs_hw_t *hw, ocs_hw_sequence_t *seq);
1291 extern uint8_t ocs_hw_io_inuse(ocs_hw_t *hw, ocs_hw_io_
1389 ocs_hw_t *hw; /**> pointer to HW */ member in struct:__anon7599
1450 ocs_hw_sequence_free(ocs_hw_t *hw, ocs_hw_sequence_t *seq) argument
[all...]
H A Docs_unsol.c97 ocs_unsol_process((ocs_t*)seq->hw->os, seq);
124 ocs_hw_io_free(&ocs->hw, hio);
138 hw_rc = ocs_hw_io_abort(&ocs->hw, hio, FALSE,
183 ocs_hw_sequence_free(&ocs->hw, seq);
209 if (ocs->hw.workaround.override_fcfi) {
210 if (ocs->hw.first_domain_idx > -1) {
211 seq_fcfi = ocs->hw.first_domain_idx;
227 ocs_hw_sequence_free(&ocs->hw, seq);
230 domain = ocs_hw_domain_get(&ocs->hw, seq_fcfi);
257 ocs_hw_sequence_free(&ocs->hw, se
1076 ocs_hw_t *hw = &ocs->hw; local
1203 ocs_hw_t *hw = ctx->hw; local
1236 ocs_hw_t *hw = &ocs->hw; local
[all...]
/freebsd-11-stable/sys/dev/ixl/
H A Di40e_dcb.h217 enum i40e_status_code i40e_get_dcbx_status(struct i40e_hw *hw,
221 enum i40e_status_code i40e_aq_get_dcb_config(struct i40e_hw *hw, u8 mib_type,
224 enum i40e_status_code i40e_get_dcb_config(struct i40e_hw *hw);
225 enum i40e_status_code i40e_init_dcb(struct i40e_hw *hw,
228 i40e_get_fw_lldp_status(struct i40e_hw *hw,
230 enum i40e_status_code i40e_set_dcb_config(struct i40e_hw *hw);
H A Dixl_iw.c54 struct i40e_hw *hw = &pf->hw; local
60 wr32(hw, I40E_PFINT_LNKLSTN(vec - 1), reg);
167 pf_info->pf_id = pf->hw.pf_id;
328 struct i40e_hw *hw = &pf->hw; local
343 wr32(hw, I40E_PFINT_AEQCTL, reg);
352 wr32(hw, I40E_PFINT_LNKLSTN(vec - 1), reg);
357 wr32(hw, I40E_PFINT_LNKLSTN(vec - 1), reg);
365 wr32(hw, I40E_PFINT_CEQCT
[all...]
/freebsd-11-stable/etc/rc.d/
H A Dldconfig43 case `sysctl -n hw.machine_arch` in
65 case `sysctl -n hw.machine_arch` in
88 case `sysctl -n hw.machine_arch` in
/freebsd-11-stable/sys/dev/ncv/
H A Dncr53c500.c158 ncvhw_select_register_0(struct resource *res, struct ncv_hw *hw) argument
161 bus_write_1(res, cr0_cfg4, hw->hw_cfg4);
165 ncvhw_select_register_1(struct resource *res, struct ncv_hw *hw) argument
168 bus_write_1(res, cr1_cfg5, hw->hw_cfg5);
201 ncvhw_check(struct resource *res, struct ncv_hw *hw) argument
205 ncvhw_select_register_0(res, hw);
225 ncvhw_reset(res, hw);
226 ncvhw_init(res, hw);
229 ncvhw_select_register_0(res, hw);
253 ncvhw_reset(struct resource *res, struct ncv_hw *hw) argument
271 ncvhw_init(struct resource *res, struct ncv_hw *hw) argument
[all...]
/freebsd-11-stable/sys/dev/e1000/
H A De1000_82575.h479 void e1000_vmdq_set_loopback_pf(struct e1000_hw *hw, bool enable);
480 void e1000_vmdq_set_anti_spoofing_pf(struct e1000_hw *hw, bool enable, int pf);
481 void e1000_vmdq_set_replication_pf(struct e1000_hw *hw, bool enable);
482 s32 e1000_init_nvm_params_82575(struct e1000_hw *hw);
483 s32 e1000_init_hw_82575(struct e1000_hw *hw);
496 void e1000_write_vfta_i350(struct e1000_hw *hw, u32 offset, u32 value);
498 s32 e1000_read_emi_reg(struct e1000_hw *hw, u16 addr, u16 *data);
499 s32 e1000_set_eee_i350(struct e1000_hw *hw, bool adv1G, bool adv100M);
500 s32 e1000_set_eee_i354(struct e1000_hw *hw, bool adv1G, bool adv100M);
502 s32 e1000_initialize_M88E1512_phy(struct e1000_hw *hw);
[all...]
H A De1000_82541.h91 void e1000_init_script_state_82541(struct e1000_hw *hw, bool state);
/freebsd-11-stable/contrib/unbound/contrib/ios/
H A Dinstall_openssl.sh34 if ! ./Configure "$OPENSSL_HOST" -DNO_FORK no-comp no-asm no-hw no-engine no-tests no-unit-test \
/freebsd-11-stable/contrib/unbound/contrib/android/
H A Dinstall_openssl.sh26 if ! ./Configure "$OPENSSL_HOST" no-comp no-asm no-hw no-engine shared \
/freebsd-11-stable/sys/dev/tsec/
H A Dif_tsec_fdt.c361 } hw; local
364 hw.reg[0] = hw.reg[1] = 0;
367 i = OF_getprop(sc->node, "local-mac-address", (void *)hw.addr, 6);
368 if (i == 6 && (hw.reg[0] != 0 || hw.reg[1] != 0)) {
369 bcopy(hw.addr, addr, 6);
374 i = OF_getprop(sc->node, "mac-address", (void *)hw.addr, 6);
375 if (i == 6 && (hw.reg[0] != 0 || hw
[all...]
/freebsd-11-stable/contrib/netbsd-tests/dev/sysmon/
H A Dt_swsensor.sh146 rump.sysctl -w hw.swsensor.cur_value=$(( $2 + 1 ))
151 # Step 4 - if sensor provides hw limit, make sure we can read it
158 # Step 5 - if sensor provides hw limit, make sure it works
160 rump.sysctl -w hw.swsensor.cur_value=$(( $3 - $5 ))
177 rump.sysctl -w hw.swsensor.cur_value=$(( $3 + $5 ))
203 rump.sysctl -w hw.swsensor.cur_value=$(( $3 - $4 - $5 ))
220 rump.sysctl -w hw.swsensor.cur_value=$(( $3 - $4 + $5 ))
249 rump.sysctl -w hw.swsensor.cur_value=$(( $3 - $4 - $5 ))
293 rump.sysctl -w hw.swsensor.cur_value=$3
295 rump.sysctl -w hw
[all...]
/freebsd-11-stable/sys/dev/ixgbe/
H A Dixgbe_netmap.c106 set_crcstrip(struct ixgbe_hw *hw, int onoff) argument
109 * IXGBE_HLREG0 (modified on init_locked and hw reset)
118 hl = IXGBE_READ_REG(hw, IXGBE_HLREG0);
119 rxc = IXGBE_READ_REG(hw, IXGBE_RDRXCTL);
123 /* hw requirements ... */
138 IXGBE_WRITE_REG(hw, IXGBE_HLREG0, hl);
139 IXGBE_WRITE_REG(hw, IXGBE_RDRXCTL, rxc);
157 set_crcstrip(&adapter->hw, onoff);
165 set_crcstrip(&adapter->hw, onoff); // XXX why twice ?
298 IXGBE_WRITE_REG(&adapter->hw, tx
[all...]
/freebsd-11-stable/sys/dev/qlxgbe/
H A Dql_misc.c260 qla_hw_t *hw; local
262 hw = &ha->hw;
266 (uint32_t *)&hw->fdt + (count >> 2))) {
343 if (hw->fdt.flash_manuf == data32)
355 data32 = Q8_WR_ENABLE_FL_ADDR | ha->hw.fdt.write_statusreg_cmd;
364 data32 = ha->hw.fdt.write_enable_bits;
366 data32 = ha->hw.fdt.write_disable_bits;
450 data32 = Q8_ERASE_FL_ADDR_MASK | ha->hw.fdt.erase_cmd;
795 ha->hw
[all...]
H A Dql_os.c263 qla_hw_t *hw; local
266 hw = &ha->hw;
375 ha->hw.num_sds_rings = MAX_SDS_RINGS;
376 ha->hw.num_rds_rings = MAX_RDS_RINGS;
377 ha->hw.num_tx_rings = NUM_TX_RINGS;
391 if (ha->msix_count < (ha->hw.num_sds_rings + 1)) {
392 ha->hw.num_sds_rings = ha->msix_count - 1;
424 if (ha->hw.num_sds_rings > 15) {
425 ha->hw
[all...]
/freebsd-11-stable/sys/dev/adb/
H A Dadb_mouse.c78 mousehw_t hw; member in struct:adb_mouse_softc
162 sc->hw.buttons = 2;
163 sc->hw.iftype = MOUSE_IF_UNKNOWN;
164 sc->hw.type = MOUSE_UNKNOWN;
165 sc->hw.model = sc->hw.hwid = 0;
196 memcpy(&sc->hw.hwid,r1,4);
201 sc->hw.type = MOUSE_PAD;
205 sc->hw.type = MOUSE_MOUSE;
209 sc->hw
[all...]
/freebsd-11-stable/sys/dev/syscons/
H A Dsysmouse.c134 mousehw_t *hw; local
140 hw = (mousehw_t *)data;
141 hw->buttons = 10; /* XXX unknown */
142 hw->iftype = MOUSE_IF_SYSMOUSE;
143 hw->type = MOUSE_MOUSE;
144 hw->model = MOUSE_MODEL_GENERIC;
145 hw->hwid = 0;
/freebsd-11-stable/sys/dev/ct/
H A Dct_isa.c113 struct bshw *hw; local
134 if ((hw = ct_find_hw(dev)) == NULL)
136 if (ct_space_map(dev, hw, &port_res, &mem_res) != 0)
173 struct bshw *hw; local
178 hw = ct_find_hw(dev);
179 if (ct_space_map(dev, hw, &ct->port_res, &ct->mem_res) != 0) {
230 bs->sc_hw = hw;
313 ct_space_map(device_t dev, struct bshw *hw, argument
326 if ((hw->hw_flags & BSHW_SMFIFO) == 0 || isa_get_maddr(dev) == -1)
/freebsd-11-stable/sbin/atm/atmconfig/
H A Datmconfig_device.c267 const struct atmhw *hw; local
269 TAILQ_FOREACH(hw, &atmhw_list, link)
270 if (aif->index == hw->index)
272 if (hw == NULL) {
278 aif->ifname, hw->vendor, hw->device, hw->serial,
279 hw->version, hw->soft_version);
/freebsd-11-stable/contrib/llvm-project/lldb/source/Interpreter/
H A Dembedded_interpreter.py67 hw = struct.unpack('hh', fcntl.ioctl(fd, termios.TIOCGWINSZ, '1234'))
69 hw = (0, 0)
70 return hw
/freebsd-11-stable/contrib/wpa/src/ap/
H A Dhw_features.c519 u16 hw = iface->current_mode->ht_capab; local
523 !(hw & HT_CAP_INFO_LDPC_CODING_CAP)) {
534 !(hw & HT_CAP_INFO_SUPP_CHANNEL_WIDTH_SET)) {
561 !(hw & HT_CAP_INFO_GREEN_FIELD)) {
568 !(hw & HT_CAP_INFO_SHORT_GI20MHZ)) {
575 !(hw & HT_CAP_INFO_SHORT_GI40MHZ)) {
581 if ((conf & HT_CAP_INFO_TX_STBC) && !(hw & HT_CAP_INFO_TX_STBC)) {
588 (hw & HT_CAP_INFO_RX_STBC_MASK)) {
595 !(hw & HT_CAP_INFO_DELAYED_BA)) {
602 !(hw
630 u32 hw = mode->vht_capab; local
[all...]
/freebsd-11-stable/contrib/netbsd-tests/ipf/
H A Dh_common.sh89 if [ `sysctl -n hw.byteorder` = 4321 ]; then
/freebsd-11-stable/sys/dev/ata/
H A Data-sata.c86 if (ch->hw.pm_read != NULL)
87 return (ch->hw.pm_read(ch->dev, port, reg, val));
99 if (ch->hw.pm_write != NULL)
100 return (ch->hw.pm_write(ch->dev, port, reg, val));
293 if (ch->hw.pm_read(dev, ATA_PM, 0, &pm_chipid)) {
299 if (ch->hw.pm_read(dev, ATA_PM, 1, &pm_revision)) {
305 if (ch->hw.pm_read(dev, ATA_PM, 2, &pm_ports)) {
352 signature = ch->hw.softreset(dev, port);
/freebsd-11-stable/sys/dev/netmap/
H A Dixgbe_netmap.h76 set_crcstrip(struct ixgbe_hw *hw, int onoff) argument
79 * IXGBE_HLREG0 (modified on init_locked and hw reset)
88 hl = IXGBE_READ_REG(hw, IXGBE_HLREG0);
89 rxc = IXGBE_READ_REG(hw, IXGBE_RDRXCTL);
93 /* hw requirements ... */
108 IXGBE_WRITE_REG(hw, IXGBE_HLREG0, hl);
109 IXGBE_WRITE_REG(hw, IXGBE_RDRXCTL, rxc);
141 set_crcstrip(&adapter->hw, onoff);
150 set_crcstrip(&adapter->hw, onoff); // XXX why twice ?
283 IXGBE_WRITE_REG(&adapter->hw, tx
[all...]

Completed in 151 milliseconds

1234567891011