Searched refs:hw (Results 76 - 100 of 257) sorted by relevance

1234567891011

/freebsd-11-stable/sys/dev/ixl/
H A Di40e_lan_hmc.c93 * @hw: pointer to the HW structure
107 enum i40e_status_code i40e_init_lan_hmc(struct i40e_hw *hw, u32 txq_num, argument
116 hw->hmc.signature = I40E_HMC_INFO_SIGNATURE;
117 hw->hmc.hmc_fn_id = hw->pf_id;
120 ret_code = i40e_allocate_virt_mem(hw, &hw->hmc.hmc_obj_virt_mem,
124 hw->hmc.hmc_obj = (struct i40e_hmc_obj_info *)
125 hw->hmc.hmc_obj_virt_mem.va;
128 full_obj = &hw
267 i40e_remove_pd_page(struct i40e_hw *hw, struct i40e_hmc_info *hmc_info, u32 idx) argument
294 i40e_remove_sd_bp(struct i40e_hw *hw, struct i40e_hmc_info *hmc_info, u32 idx) argument
314 i40e_create_lan_hmc_object(struct i40e_hw *hw, struct i40e_hmc_lan_create_obj_info *info) argument
473 i40e_configure_lan_hmc(struct i40e_hw *hw, enum i40e_hmc_model model) argument
558 i40e_delete_lan_hmc_object(struct i40e_hw *hw, struct i40e_hmc_lan_delete_obj_info *info) argument
670 i40e_shutdown_lan_hmc(struct i40e_hw *hw) argument
1175 i40e_clear_hmc_context(struct i40e_hw *hw, u8 *context_bytes, enum i40e_hmc_lan_rsrc_type hmc_type) argument
1234 i40e_hmc_get_object_va(struct i40e_hw *hw, u8 **object_base, enum i40e_hmc_lan_rsrc_type rsrc_type, u32 obj_idx) argument
1300 i40e_get_lan_tx_queue_context(struct i40e_hw *hw, u16 queue, struct i40e_hmc_obj_txq *s) argument
1320 i40e_clear_lan_tx_queue_context(struct i40e_hw *hw, u16 queue) argument
1339 i40e_set_lan_tx_queue_context(struct i40e_hw *hw, u16 queue, struct i40e_hmc_obj_txq *s) argument
1360 i40e_get_lan_rx_queue_context(struct i40e_hw *hw, u16 queue, struct i40e_hmc_obj_rxq *s) argument
1380 i40e_clear_lan_rx_queue_context(struct i40e_hw *hw, u16 queue) argument
1399 i40e_set_lan_rx_queue_context(struct i40e_hw *hw, u16 queue, struct i40e_hmc_obj_rxq *s) argument
[all...]
H A Di40e_dcb.c41 * @hw: pointer to the hw struct
46 enum i40e_status_code i40e_get_dcbx_status(struct i40e_hw *hw, u16 *status) argument
53 reg = rd32(hw, I40E_PRTDCB_GENS);
577 * @hw: pointer to the hw struct
584 enum i40e_status_code i40e_aq_get_dcb_config(struct i40e_hw *hw, u8 mib_type, argument
593 ret = i40e_allocate_virt_mem(hw, &mem, I40E_LLDPDU_SIZE);
598 ret = i40e_aq_get_lldp_mib(hw, bridgetype, mib_type,
608 i40e_free_virt_mem(hw,
800 i40e_get_ieee_dcb_config(struct i40e_hw *hw) argument
830 i40e_get_dcb_config(struct i40e_hw *hw) argument
900 i40e_init_dcb(struct i40e_hw *hw, bool enable_mib_change) argument
956 i40e_get_fw_lldp_status(struct i40e_hw *hw, enum i40e_get_fw_lldp_status_resp *lldp_status) argument
1253 i40e_set_dcb_config(struct i40e_hw *hw) argument
1327 _i40e_read_lldp_cfg(struct i40e_hw *hw, struct i40e_lldp_variables *lldp_cfg, u8 module, u32 word_offset) argument
1389 i40e_read_lldp_cfg(struct i40e_hw *hw, struct i40e_lldp_variables *lldp_cfg) argument
[all...]
H A Di40e_osdep.c53 i40e_allocate_virt_mem(struct i40e_hw *hw, struct i40e_virt_mem *mem, u32 size) argument
60 i40e_free_virt_mem(struct i40e_hw *hw, struct i40e_virt_mem *mem) argument
69 i40e_allocate_dma_mem(struct i40e_hw *hw, struct i40e_dma_mem *mem, argument
72 device_t dev = ((struct i40e_osdep *)hw->back)->dev;
129 i40e_free_dma_mem(struct i40e_hw *hw, struct i40e_dma_mem *mem) argument
180 i40e_debug_shared(struct i40e_hw *hw, enum i40e_debug_mask mask, char *fmt, ...) argument
185 if (!(mask & ((struct i40e_hw *)hw)->debug_mask))
188 dev = ((struct i40e_osdep *)hw->back)->dev;
249 i40e_read_pci_cfg(struct i40e_hw *hw, u32 reg) argument
253 value = pci_read_config(((struct i40e_osdep *)hw
260 i40e_write_pci_cfg(struct i40e_hw *hw, u32 reg, u16 value) argument
[all...]
H A Di40e_lan_hmc.h171 enum i40e_status_code i40e_init_lan_hmc(struct i40e_hw *hw, u32 txq_num,
174 enum i40e_status_code i40e_configure_lan_hmc(struct i40e_hw *hw,
176 enum i40e_status_code i40e_shutdown_lan_hmc(struct i40e_hw *hw);
180 enum i40e_status_code i40e_get_lan_tx_queue_context(struct i40e_hw *hw,
183 enum i40e_status_code i40e_clear_lan_tx_queue_context(struct i40e_hw *hw,
185 enum i40e_status_code i40e_set_lan_tx_queue_context(struct i40e_hw *hw,
188 enum i40e_status_code i40e_get_lan_rx_queue_context(struct i40e_hw *hw,
191 enum i40e_status_code i40e_clear_lan_rx_queue_context(struct i40e_hw *hw,
193 enum i40e_status_code i40e_set_lan_rx_queue_context(struct i40e_hw *hw,
196 enum i40e_status_code i40e_create_lan_hmc_object(struct i40e_hw *hw,
[all...]
H A Di40e_hmc.c44 * @hw: pointer to our hw struct
50 enum i40e_status_code i40e_add_sd_table_entry(struct i40e_hw *hw, argument
86 ret_code = i40e_allocate_dma_mem(hw, &mem, mem_type, alloc_len,
92 ret_code = i40e_allocate_virt_mem(hw,
121 i40e_free_dma_mem(hw, &mem);
128 * @hw: pointer to our HW structure
143 enum i40e_status_code i40e_add_pd_table_entry(struct i40e_hw *hw, argument
178 ret_code = i40e_allocate_dma_mem(hw, page, i40e_mem_bp,
211 * @hw
224 i40e_remove_pd_bp(struct i40e_hw *hw, struct i40e_hmc_info *hmc_info, u32 idx) argument
308 i40e_remove_sd_bp_new(struct i40e_hw *hw, struct i40e_hmc_info *hmc_info, u32 idx, bool is_pf) argument
357 i40e_remove_pd_page_new(struct i40e_hw *hw, struct i40e_hmc_info *hmc_info, u32 idx, bool is_pf) argument
[all...]
H A Dif_ixlv.c185 TUNABLE_INT("hw.ixlv.tx_ring_size", &ixlv_tx_ring_size);
190 TUNABLE_INT("hw.ixlv.rx_ring_size", &ixlv_rx_ring_size);
196 TUNABLE_INT("hw.ixlv.max_queues", &ixlv_max_queues);
207 TUNABLE_INT("hw.ixlv.txbrsz", &ixlv_txbrsz);
216 TUNABLE_INT("hw.ixlv.enable_head_writeback",
228 TUNABLE_INT("hw.ixlv.dynamic_rx_itr", &ixlv_dynamic_rx_itr);
233 TUNABLE_INT("hw.ixlv.dynamic_tx_itr", &ixlv_dynamic_tx_itr);
238 TUNABLE_INT("hw.ixlv.rx_itr", &ixlv_rx_itr);
243 TUNABLE_INT("hw.ixlv.tx_itr", &ixlv_tx_itr);
313 struct i40e_hw *hw; local
527 struct i40e_hw *hw = &sc->hw; local
830 struct i40e_hw *hw = &sc->hw; local
902 struct i40e_hw *hw = &sc->hw; local
1038 struct i40e_hw *hw = &sc->hw; local
1063 struct i40e_hw *hw = &sc->hw; local
1154 struct i40e_hw *hw = &sc->hw; local
1533 struct i40e_hw *hw = &sc->hw; local
1567 ixlv_reset_complete(struct i40e_hw *hw) argument
1993 struct i40e_hw *hw = &sc->hw; local
2011 struct i40e_hw *hw = vsi->hw; local
2022 struct i40e_hw *hw = vsi->hw; local
2032 ixlv_disable_adminq_irq(struct i40e_hw *hw) argument
2042 ixlv_enable_adminq_irq(struct i40e_hw *hw) argument
2054 ixlv_enable_queue_irq(struct i40e_hw *hw, int id) argument
2065 ixlv_disable_queue_irq(struct i40e_hw *hw, int id) argument
2079 struct i40e_hw *hw = &sc->hw; local
2110 struct i40e_hw *hw = vsi->hw; local
2184 struct i40e_hw *hw = vsi->hw; local
2260 struct i40e_hw *hw = vsi->hw; local
2294 struct i40e_hw *hw = vsi->hw; local
2577 struct i40e_hw *hw = &sc->hw; local
2725 struct i40e_hw *hw = &sc->hw; local
2932 struct i40e_hw *hw = &sc->hw; local
[all...]
/freebsd-11-stable/sys/dev/ixgbe/
H A Dixgbe_dcb.c65 /* Find out the hw credits for each TC */
88 s32 ixgbe_dcb_calculate_tc_credits_cee(struct ixgbe_hw *hw, argument
178 && (hw->mac.type == ixgbe_mac_82598EB))
386 * @hw: pointer to hardware structure
392 s32 ixgbe_dcb_get_tc_stats(struct ixgbe_hw *hw, struct ixgbe_hw_stats *stats, argument
396 switch (hw->mac.type) {
398 ret = ixgbe_dcb_get_tc_stats_82598(hw, stats, tc_count);
406 ret = ixgbe_dcb_get_tc_stats_82599(hw, stats, tc_count);
417 * @hw: pointer to hardware structure
423 s32 ixgbe_dcb_get_pfc_stats(struct ixgbe_hw *hw, struc argument
453 ixgbe_dcb_config_rx_arbiter_cee(struct ixgbe_hw *hw, struct ixgbe_dcb_config *dcb_config) argument
496 ixgbe_dcb_config_tx_desc_arbiter_cee(struct ixgbe_hw *hw, struct ixgbe_dcb_config *dcb_config) argument
538 ixgbe_dcb_config_tx_data_arbiter_cee(struct ixgbe_hw *hw, struct ixgbe_dcb_config *dcb_config) argument
583 ixgbe_dcb_config_pfc_cee(struct ixgbe_hw *hw, struct ixgbe_dcb_config *dcb_config) argument
619 ixgbe_dcb_config_tc_stats(struct ixgbe_hw *hw) argument
648 ixgbe_dcb_hw_config_cee(struct ixgbe_hw *hw, struct ixgbe_dcb_config *dcb_config) argument
701 ixgbe_dcb_config_pfc(struct ixgbe_hw *hw, u8 pfc_en, u8 *map) argument
724 ixgbe_dcb_hw_config(struct ixgbe_hw *hw, u16 *refill, u16 *max, u8 *bwg_id, u8 *tsa, u8 *map) argument
[all...]
H A Dif_fdir.c47 adapter->hw.mac.ops.setup_rxpba(&adapter->hw, 0, hdrm,
49 ixgbe_init_fdir_signature_82599(&adapter->hw, fdir_pballoc);
62 ixgbe_reinit_fdir_tables_82599(&adapter->hw);
65 IXGBE_WRITE_REG(&adapter->hw, IXGBE_EIMS, IXGBE_EIMS_FLOW_DIR);
141 ixgbe_fdir_add_signature_filter_82599(&adapter->hw,
/freebsd-11-stable/sys/dev/e1000/
H A Dif_igb.c454 if (e1000_setup_init_funcs(&adapter->hw, TRUE)) {
460 e1000_get_bus_info(&adapter->hw);
491 adapter->hw.mac.autoneg = DO_AUTO_NEG;
492 adapter->hw.phy.autoneg_wait_to_complete = FALSE;
493 adapter->hw.phy.autoneg_advertised = AUTONEG_ADV_DEFAULT;
496 if (adapter->hw.phy.media_type == e1000_media_type_copper) {
497 adapter->hw.phy.mdix = AUTO_ALL_MODES;
498 adapter->hw.phy.disable_polarity_correction = FALSE;
499 adapter->hw.phy.ms_type = IGB_MASTER_SLAVE;
542 if (adapter->hw
1970 struct e1000_hw *hw = &adapter->hw; local
1992 struct e1000_hw *hw = &adapter->hw; local
2155 struct e1000_hw *hw = &adapter->hw; local
2595 struct e1000_hw *hw = &adapter->hw; local
2927 struct e1000_hw *hw = &adapter->hw; local
3035 struct e1000_hw *hw = &adapter->hw; local
3649 struct e1000_hw *hw = &adapter->hw; local
4557 struct e1000_hw *hw = &adapter->hw; local
4660 struct e1000_hw *hw = &adapter->hw; local
5331 struct e1000_hw *hw = &adapter->hw; local
5684 struct e1000_hw *hw = &adapter->hw; local
5827 struct e1000_hw *hw = &adapter->hw; local
5848 struct e1000_hw *hw = &adapter->hw; local
[all...]
H A De1000_ich8lan.h329 void e1000_set_kmrn_lock_loss_workaround_ich8lan(struct e1000_hw *hw,
331 void e1000_igp3_phy_powerdown_workaround_ich8lan(struct e1000_hw *hw);
332 void e1000_gig_downshift_workaround_ich8lan(struct e1000_hw *hw);
333 void e1000_suspend_workarounds_ich8lan(struct e1000_hw *hw);
334 u32 e1000_resume_workarounds_pchlan(struct e1000_hw *hw);
335 s32 e1000_configure_k1_ich8lan(struct e1000_hw *hw, bool k1_enable);
336 void e1000_copy_rx_addrs_to_phy_ich8lan(struct e1000_hw *hw);
337 s32 e1000_lv_jumbo_workaround_ich8lan(struct e1000_hw *hw, bool enable);
338 s32 e1000_read_emi_reg_locked(struct e1000_hw *hw, u16 addr, u16 *data);
339 s32 e1000_write_emi_reg_locked(struct e1000_hw *hw, u1
[all...]
/freebsd-11-stable/sys/dev/ocs_fc/
H A Docs_ddump.c45 void hw_queue_ddump(ocs_textbuf_t *textbuf, ocs_hw_t *hw);
54 * @param hw pointer HW context
63 ocs_ddump_sli4_queue(ocs_textbuf_t *textbuf, const char *name, ocs_hw_t *hw, sli4_queue_t *q, uint32_t q_count, uint32_t qentries) argument
102 for (i = 0; i < hw->hw_rq_count; i++) {
103 rq = hw->hw_rq[i];
394 * @brief Generate hw ddump
396 * Generates hw ddump
399 * @param hw pointer HW context
407 ocs_ddump_hw(ocs_textbuf_t *textbuf, ocs_hw_t *hw, uint32_t flags, uint32_t qentries) argument
409 ocs_t *ocs = hw
558 hw_queue_ddump(ocs_textbuf_t *textbuf, ocs_hw_t *hw) argument
[all...]
H A Docs_xport.c210 rc = ocs_hw_set_ptr(&ocs->hw, OCS_HW_WAR_VERSION, ocs->hw_war_version);
216 rc = ocs_hw_setup(&ocs->hw, ocs, SLI4_PORT_TYPE_FC);
225 ocs_hw_set(&ocs->hw, OCS_HW_BOUNCE, ocs->hw_bounce);
228 ocs_hw_set(&ocs->hw, OCS_HW_RQ_SELECTION_POLICY, ocs->rq_selection_policy);
229 ocs_hw_set(&ocs->hw, OCS_HW_RR_QUANTA, ocs->rr_quanta);
230 ocs_hw_get(&ocs->hw, OCS_HW_RQ_SELECTION_POLICY, &value);
233 ocs_hw_set_ptr(&ocs->hw, OCS_HW_FILTER_DEF, (void*) ocs->filter_def);
235 ocs_hw_get(&ocs->hw, OCS_HW_MAX_SGL, &max_sgl);
245 if (ocs_hw_set(&ocs->hw, OCS_HW_N_SGL, n_sgl) != OCS_HW_RTN_SUCCESS) {
252 ocs_hw_get(&ocs->hw, OCS_HW_MAX_NODE
665 ocs_xport_post_node_event_cb(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg) argument
809 ocs_hw_t *hw; local
[all...]
/freebsd-11-stable/usr.sbin/pc-sysinstall/backend-query/
H A Dsys-mem.sh33 realmem=$(expr $(sysctl -n hw.realmem) / 1048576)
/freebsd-11-stable/contrib/netbsd-tests/fs/tmpfs/
H A Dt_statvfs.sh43 pagesize=$(sysctl -n hw.pagesize)
46 pagesize=$(sysctl hw.pagesize | cut -d ' ' -f 3)
/freebsd-11-stable/etc/rc.d/
H A Dapm24 case `${SYSCTL_N} hw.machine_arch` in
H A Dapmd21 case `${SYSCTL_N} hw.machine_arch` in
H A Darchdep20 _arch=`${SYSCTL_N} hw.machine_arch`
H A Ddevd37 $SYSCTL hw.bus.devctl_queue=0
/freebsd-11-stable/sys/dev/ixgb/
H A Dixgb_ee.h105 uint16_t ixgb_read_eeprom(struct ixgb_hw *hw,
108 boolean_t ixgb_validate_eeprom_checksum(struct ixgb_hw *hw);
110 void ixgb_update_eeprom_checksum(struct ixgb_hw *hw);
112 void ixgb_write_eeprom(struct ixgb_hw *hw,
H A Dif_ixgb.c291 adapter->hw.fc.high_water = FCRTH;
292 adapter->hw.fc.low_water = FCRTL;
293 adapter->hw.fc.pause_time = FCPAUSE;
294 adapter->hw.fc.send_xon = TRUE;
295 adapter->hw.fc.type = FLOW_CONTROL;
299 adapter->hw.max_frame_size =
349 ixgb_clear_hw_cntrs(&adapter->hw);
540 adapter->hw.max_frame_size =
639 if (IXGB_READ_REG(&adapter->hw, STATUS) & IXGB_STATUS_TXOFF) {
659 * by the driver as a hw/s
2317 ixgb_write_pci_cfg(struct ixgb_hw * hw, uint32_t reg, uint16_t * value) argument
[all...]
/freebsd-11-stable/usr.sbin/zzz/
H A Dzzz.sh14 ACPI_SUSPEND_STATE=hw.acpi.suspend_state
15 ACPI_SUPPORTED_STATES=hw.acpi.supported_sleep_state
/freebsd-11-stable/sys/dev/qlxgbe/
H A Dql_isr.c73 lro = &ha->hw.sds[sds_idx].lro;
75 if (ha->hw.num_rds_rings > 1)
78 ha->hw.rds[r_idx].count++;
80 sdsp = &ha->hw.sds[sds_idx];
176 if (ha->hw.enable_soft_lro) {
222 if (ha->hw.num_rds_rings > 1)
225 ha->hw.rds[r_idx].count++;
229 ha->hw.rds[r_idx].lro_pkt_count++;
231 sdsp = &ha->hw.sds[sds_idx];
240 ha->hw
486 qla_hw_t *hw; local
990 qla_hw_t *hw; local
[all...]
H A Dql_inline.h109 if ((ha->hw.module_type == 0x4) ||
110 (ha->hw.module_type == 0x5) ||
111 (ha->hw.module_type == 0x6))
124 return (ha->hw.mac_addr);
133 rcv_desc = (q80_recv_desc_t *)ha->hw.dma_buf.rds_ring[r_idx].dma_b;
149 for (i = 0; i < ha->hw.num_rds_rings; i++)
150 bzero((void *)ha->hw.dma_buf.rds_ring[i].dma_b,
/freebsd-11-stable/sys/arm/ti/
H A Dti_hwmods.c109 struct hwmod *hw; local
121 for (hw = ti_hwmods; hw->name != NULL; ++hw) {
122 if (strcmp(hw->name, name) == 0) {
123 clk = hw->clock_id;
/freebsd-11-stable/tools/regression/tmpfs/
H A Dt_statvfs45 pagesize=$(sysctl hw.pagesize | cut -d ' ' -f 2)

Completed in 237 milliseconds

1234567891011