Home
last modified time | relevance | path

Searched refs:p_dev (Results 1 – 25 of 27) sorted by relevance

12

/freebsd-12-stable/sys/dev/qlnx/qlnxe/
Decore_dev.c85 void ecore_set_ilt_page_size(struct ecore_dev *p_dev, u8 ilt_page_size) in ecore_set_ilt_page_size() argument
87 p_dev->ilt_page_size = ilt_page_size; in ecore_set_ilt_page_size()
120 static bool ecore_db_rec_sanity(struct ecore_dev *p_dev, void OSAL_IOMEM *db_addr, in ecore_db_rec_sanity() argument
124 if (db_addr < p_dev->doorbells || (u8 *)db_addr > in ecore_db_rec_sanity()
125 (u8 *)p_dev->doorbells + p_dev->db_size) { in ecore_db_rec_sanity()
128 db_addr, p_dev->doorbells, in ecore_db_rec_sanity()
129 (u8 *)p_dev->doorbells + p_dev->db_size); in ecore_db_rec_sanity()
143 static struct ecore_hwfn *ecore_db_rec_find_hwfn(struct ecore_dev *p_dev, in ecore_db_rec_find_hwfn() argument
149 if (ECORE_IS_CMT(p_dev)) in ecore_db_rec_find_hwfn()
150 p_hwfn = db_addr < p_dev->hwfns[1].doorbells ? in ecore_db_rec_find_hwfn()
[all …]
Decore_dev_api.h55 void ecore_init_dp(struct ecore_dev *p_dev,
66 enum _ecore_status_t ecore_init_struct(struct ecore_dev *p_dev);
73 void ecore_resc_free(struct ecore_dev *p_dev);
82 enum _ecore_status_t ecore_resc_alloc(struct ecore_dev *p_dev);
89 void ecore_resc_setup(struct ecore_dev *p_dev);
164 enum _ecore_status_t ecore_hw_init(struct ecore_dev *p_dev,
174 void ecore_hw_timers_stop_all(struct ecore_dev *p_dev);
183 enum _ecore_status_t ecore_hw_stop(struct ecore_dev *p_dev);
194 enum _ecore_status_t ecore_hw_stop_fastpath(struct ecore_dev *p_dev);
204 void ecore_hw_hibernate_prepare(struct ecore_dev *p_dev);
[all …]
Decore.h147 ((sizeof(type_name) + (u32)(1<<(p_hwfn->p_dev->cache_shift))-1) & \
148 ~((1<<(p_hwfn->p_dev->cache_shift))-1))
163 #define DP_ERR(p_dev, fmt, ...) \ argument
165 PRINT_ERR((p_dev)->dp_ctx, "[%s:%d(%s)]" fmt, \
167 (p_dev)->name ? (p_dev)->name : "", \
171 #define DP_NOTICE(p_dev, is_assert, fmt, ...) \ argument
173 if (OSAL_UNLIKELY((p_dev)->dp_level <= ECORE_LEVEL_NOTICE)) { \
174 PRINT((p_dev)->dp_ctx, "[%s:%d(%s)]" fmt, \
176 (p_dev)->name ? (p_dev)->name : "", \
182 #define DP_INFO(p_dev, fmt, ...) \ argument
[all …]
Decore_int.c138 DP_INFO(p_hwfn->p_dev, "MCP_REG_CPU_STATE: %08x - Masking...\n", in ecore_mcp_attn_cb()
182 …DP_INFO(p_hwfn->p_dev, "PF[0x%02x] VF [0x%02x] [Valid 0x%02x] Client [0x%02x] Write [0x%02x] Addr … in ecore_pswhst_attn_cb()
208 …DP_INFO(p_hwfn->p_dev, "Incorrect access to %08x of length %08x - PF [%02x] VF [%04x] [valid %02x]… in ecore_pswhst_attn_cb()
278 DP_NOTICE(p_hwfn->p_dev, false, in ecore_grc_attn_cb()
460 DP_NOTICE(p_hwfn->p_dev, false, in ecore_db_rec_attn()
486 DP_NOTICE(p_hwfn->p_dev, false, "DORQ attention. int_sts was %x\n", in ecore_dorq_attn_cb()
515 DP_NOTICE(p_hwfn->p_dev, false, in ecore_dorq_attn_cb()
559 if (CHIP_REV_IS_EMUL_B0(p_hwfn->p_dev)) { in ecore_tm_attn_cb()
764 if (!ECORE_IS_BB(p_hwfn->p_dev)) in ecore_int_aeu_translate()
809 OSAL_MMIOWB(p_hwfn->p_dev); in ecore_attn_update_idx()
[all …]
Decore_init_ops.c60 void ecore_init_iro_array(struct ecore_dev *p_dev) in ecore_init_iro_array() argument
62 p_dev->iro_arr = iro_arr; in ecore_init_iro_array()
160 if (IS_VF(p_hwfn->p_dev)) in ecore_init_alloc()
163 rt_data->b_valid = OSAL_ZALLOC(p_hwfn->p_dev, GFP_KERNEL, in ecore_init_alloc()
168 rt_data->init_val = OSAL_ZALLOC(p_hwfn->p_dev, GFP_KERNEL, in ecore_init_alloc()
171 OSAL_FREE(p_hwfn->p_dev, rt_data->b_valid); in ecore_init_alloc()
181 OSAL_FREE(p_hwfn->p_dev, p_hwfn->rt_data.init_val); in ecore_init_free()
183 OSAL_FREE(p_hwfn->p_dev, p_hwfn->rt_data.b_valid); in ecore_init_free()
197 if ((CHIP_REV_IS_SLOW(p_hwfn->p_dev) && (size < 16)) ||
257 struct ecore_dev *p_dev = p_hwfn->p_dev; local
[all …]
Decore_spq.c137 OSAL_SMP_WMB(p_hwfn->p_dev); in ecore_spq_blocking_cb()
152 if (CHIP_REV_IS_EMUL(p_hwfn->p_dev) && sleep_between_iter) in __ecore_spq_block()
158 OSAL_SMP_RMB(p_hwfn->p_dev); in __ecore_spq_block()
291 if (ECORE_IS_BB(p_hwfn->p_dev) || ECORE_IS_AH(p_hwfn->p_dev)) { in ecore_spq_hw_initialize()
341 OSAL_WMB(p_hwfn->p_dev); in ecore_spq_hw_post()
346 OSAL_WMB(p_hwfn->p_dev); in ecore_spq_hw_post()
418 OSAL_MMIOWB(p_hwfn->p_dev); in ecore_eq_prod_update()
496 p_eq = OSAL_ZALLOC(p_hwfn->p_dev, GFP_KERNEL, sizeof(*p_eq)); in ecore_eq_alloc()
504 if (ecore_chain_alloc(p_hwfn->p_dev, in ecore_eq_alloc()
523 OSAL_FREE(p_hwfn->p_dev, p_eq); in ecore_eq_alloc()
[all …]
Decore_l2.c81 p_l2_info = OSAL_VZALLOC(p_hwfn->p_dev, sizeof(*p_l2_info)); in ecore_l2_alloc()
86 if (IS_PF(p_hwfn->p_dev)) { in ecore_l2_alloc()
97 pp_qids = OSAL_VZALLOC(p_hwfn->p_dev, in ecore_l2_alloc()
105 pp_qids[i] = OSAL_VZALLOC(p_hwfn->p_dev, in ecore_l2_alloc()
144 OSAL_VFREE(p_hwfn->p_dev, in ecore_l2_free()
155 OSAL_VFREE(p_hwfn->p_dev, p_hwfn->p_l2_info->pp_qid_usage); in ecore_l2_free()
159 OSAL_VFREE(p_hwfn->p_dev, p_hwfn->p_l2_info); in ecore_l2_free()
217 if (IS_PF(p_hwfn->p_dev) && !b_legacy_vf) in ecore_eth_queue_cid_release()
224 OSAL_VFREE(p_hwfn->p_dev, p_cid); in ecore_eth_queue_cid_release()
240 p_cid = OSAL_VZALLOC(p_hwfn->p_dev, sizeof(*p_cid)); in _ecore_eth_queue_to_cid()
[all …]
Decore_mcp.c118 if (CHIP_REV_IS_TEDIBEAR(p_hwfn->p_dev)) in ecore_mcp_read_mb()
150 p_cmd_elem = OSAL_ZALLOC(p_hwfn->p_dev, GFP_ATOMIC, in ecore_mcp_cmd_add_elem()
170 OSAL_FREE(p_hwfn->p_dev, p_cmd_elem); in ecore_mcp_cmd_del_elem()
193 OSAL_FREE(p_hwfn->p_dev, p_hwfn->mcp_info->mfw_mb_cur); in ecore_mcp_free()
194 OSAL_FREE(p_hwfn->p_dev, p_hwfn->mcp_info->mfw_mb_shadow); in ecore_mcp_free()
210 OSAL_FREE(p_hwfn->p_dev, p_hwfn->mcp_info); in ecore_mcp_free()
230 if (CHIP_REV_IS_EMUL(p_hwfn->p_dev)) { in ecore_load_mcp_offsets()
303 p_hwfn->mcp_info = OSAL_ZALLOC(p_hwfn->p_dev, GFP_KERNEL, in ecore_mcp_cmd_init()
314 OSAL_FREE(p_hwfn->p_dev, p_hwfn->mcp_info); in ecore_mcp_cmd_init()
319 OSAL_FREE(p_hwfn->p_dev, p_hwfn->mcp_info); in ecore_mcp_cmd_init()
[all …]
Decore_sriov.c200 DP_NOTICE(p_hwfn->p_dev, true, "No iov info\n"); in ecore_iov_is_valid_vfid()
204 if ((rel_vf_id >= p_hwfn->p_dev->p_iov_info->total_vfs) || in ecore_iov_is_valid_vfid()
226 DP_NOTICE(p_hwfn->p_dev, true, "No iov info\n"); in ecore_iov_get_vf_info()
401 static enum _ecore_status_t ecore_iov_pci_cfg_info(struct ecore_dev *p_dev) in ecore_iov_pci_cfg_info() argument
403 struct ecore_hw_sriov_info *iov = p_dev->p_iov_info; in ecore_iov_pci_cfg_info()
406 DP_VERBOSE(p_dev, ECORE_MSG_IOV, "sriov ext pos %d\n", pos); in ecore_iov_pci_cfg_info()
407 OSAL_PCI_READ_CONFIG_WORD(p_dev, in ecore_iov_pci_cfg_info()
411 OSAL_PCI_READ_CONFIG_WORD(p_dev, in ecore_iov_pci_cfg_info()
414 OSAL_PCI_READ_CONFIG_WORD(p_dev, in ecore_iov_pci_cfg_info()
418 OSAL_PCI_READ_CONFIG_WORD(p_dev, in ecore_iov_pci_cfg_info()
[all …]
Decore_int_api.h65 struct ecore_dev *p_dev; member
100 OSAL_MMIOWB(sb_info->p_dev); in ecore_sb_update_sb_idx()
127 if (sb_info->p_dev->int_mode == ECORE_INT_MODE_POLL) in ecore_sb_ack()
148 OSAL_MMIOWB(sb_info->p_dev); in ecore_sb_ack()
149 OSAL_BARRIER(sb_info->p_dev); in ecore_sb_ack()
323 void ecore_int_disable_post_isr_release(struct ecore_dev *p_dev);
334 void ecore_int_attn_clr_enable(struct ecore_dev *p_dev, bool clr_enable);
Decore_hw.c75 OSAL_FREE(p_hwfn->p_dev, p_hwfn->p_ptt_pool); in __ecore_ptt_pool_free()
81 struct ecore_ptt_pool *p_pool = OSAL_ALLOC(p_hwfn->p_dev, in ecore_ptt_pool_alloc()
261 if (!p_hwfn->p_dev->chk_reg_fifo) in ecore_is_reg_fifo_empty()
269 if (CHIP_REV_IS_SLOW(p_hwfn->p_dev)) in ecore_is_reg_fifo_empty()
292 if (CHIP_REV_IS_SLOW(p_hwfn->p_dev)) in ecore_wr()
316 if (CHIP_REV_IS_SLOW(p_hwfn->p_dev)) in ecore_rd()
342 if (IS_PF(p_hwfn->p_dev)) { in ecore_memcpy_hw()
716 *p_comp = OSAL_DMA_ALLOC_COHERENT(p_hwfn->p_dev, p_addr, sizeof(u32)); in ecore_dmae_info_alloc()
724 *p_cmd = OSAL_DMA_ALLOC_COHERENT(p_hwfn->p_dev, p_addr, in ecore_dmae_info_alloc()
733 *p_buff = OSAL_DMA_ALLOC_COHERENT(p_hwfn->p_dev, p_addr, in ecore_dmae_info_alloc()
[all …]
Decore_sp_commands.c219 struct ecore_tunnel_info *p_tun = &p_hwfn->p_dev->tunnel; in ecore_tunn_set_pf_update_params()
265 if (ECORE_IS_BB_A0(p_hwfn->p_dev)) { in ecore_set_hw_tunn_mode_port()
287 struct ecore_tunnel_info *p_tun = &p_hwfn->p_dev->tunnel; in ecore_tunn_set_pf_start_params()
289 if (ECORE_IS_BB_A0(p_hwfn->p_dev)) { in ecore_tunn_set_pf_start_params()
365 if (OSAL_TEST_BIT(ECORE_MF_OVLAN_CLSS, &p_hwfn->p_dev->mf_bits)) in ecore_sp_pf_start()
372 if (OSAL_TEST_BIT(ECORE_MF_8021Q_TAGGING, &p_hwfn->p_dev->mf_bits)) in ecore_sp_pf_start()
375 &p_hwfn->p_dev->mf_bits)) { in ecore_sp_pf_start()
387 if (OSAL_TEST_BIT(ECORE_MF_UFP_SPECIFIC, &p_hwfn->p_dev->mf_bits)) { in ecore_sp_pf_start()
407 &p_hwfn->p_dev->mf_bits)) in ecore_sp_pf_start()
431 if (p_hwfn->p_dev->p_iov_info) { in ecore_sp_pf_start()
[all …]
Decore_iov_api.h41 #define IS_VF(p_dev) ((p_dev)->b_is_vf) argument
42 #define IS_PF(p_dev) (!((p_dev)->b_is_vf)) argument
44 #define IS_PF_SRIOV(p_hwfn) (!!((p_hwfn)->p_dev->p_iov_info))
190 void ecore_iov_set_vfs_to_disable(struct ecore_dev *p_dev,
201 void ecore_iov_set_vf_to_disable(struct ecore_dev *p_dev,
712 enum _ecore_status_t ecore_iov_configure_min_tx_rate(struct ecore_dev *p_dev,
764 static OSAL_INLINE void ecore_iov_set_vfs_to_disable(struct ecore_dev OSAL_UNUSED *p_dev, u8 OSAL_U… in ecore_iov_set_vfs_to_disable() argument
765 static OSAL_INLINE void ecore_iov_set_vf_to_disable(struct ecore_dev OSAL_UNUSED *p_dev, u16 OSAL_U… in ecore_iov_set_vf_to_disable() argument
818 …re_status_t ecore_iov_configure_min_tx_rate(struct ecore_dev OSAL_UNUSED *p_dev, int OSAL_UNUSED v… in ecore_iov_configure_min_tx_rate() argument
Decore_vf.c128 rc = OSAL_VF_SEND_MSG2PF(p_hwfn->p_dev, in ecore_send_msg2pf()
164 OSAL_WMB(p_hwfn->p_dev); in ecore_send_msg2pf()
242 OSAL_DMA_FREE_COHERENT(p_hwfn->p_dev, in _ecore_vf_pf_release()
247 OSAL_DMA_FREE_COHERENT(p_hwfn->p_dev, in _ecore_vf_pf_release()
254 OSAL_DMA_FREE_COHERENT(p_hwfn->p_dev, in _ecore_vf_pf_release()
264 OSAL_FREE(p_hwfn->p_dev, p_hwfn->vf_iov_info); in _ecore_vf_pf_release()
471 p_hwfn->p_dev->type = resp->pfdev_info.dev_type; in ecore_vf_pf_acquire()
472 p_hwfn->p_dev->chip_rev = (u8) resp->pfdev_info.chip_rev; in ecore_vf_pf_acquire()
475 ECORE_IS_BB(p_hwfn->p_dev) ? "BB" : "AH", in ecore_vf_pf_acquire()
476 CHIP_REV_IS_A0(p_hwfn->p_dev) ? 0 : 1); in ecore_vf_pf_acquire()
[all …]
Decore_l2_api.h214 ecore_filter_ucast_cmd(struct ecore_dev *p_dev,
221 ecore_filter_mcast_cmd(struct ecore_dev *p_dev,
229 struct ecore_dev *p_dev,
491 void ecore_get_vport_stats(struct ecore_dev *p_dev,
494 void ecore_reset_vport_stats(struct ecore_dev *p_dev);
Decore_mcp_api.h823 enum _ecore_status_t ecore_recovery_prolog(struct ecore_dev *p_dev);
927 enum _ecore_status_t ecore_mcp_nvm_set_secure_mode(struct ecore_dev *p_dev,
941 enum _ecore_status_t ecore_mcp_phy_write(struct ecore_dev *p_dev, u32 cmd,
955 enum _ecore_status_t ecore_mcp_nvm_write(struct ecore_dev *p_dev, u32 cmd,
966 enum _ecore_status_t ecore_mcp_nvm_put_file_begin(struct ecore_dev *p_dev,
977 enum _ecore_status_t ecore_mcp_nvm_del_file(struct ecore_dev *p_dev,
988 enum _ecore_status_t ecore_mcp_nvm_resp(struct ecore_dev *p_dev, u8 *p_buf);
1001 enum _ecore_status_t ecore_mcp_phy_read(struct ecore_dev *p_dev, u32 cmd,
1014 enum _ecore_status_t ecore_mcp_nvm_read(struct ecore_dev *p_dev, u32 addr,
Decore_cxt.c957 OSAL_DMA_FREE_COHERENT(p_hwfn->p_dev, in ecore_cxt_src_t2_free()
962 OSAL_FREE(p_hwfn->p_dev, p_mngr->t2); in ecore_cxt_src_t2_free()
993 p_mngr->t2 = OSAL_ZALLOC(p_hwfn->p_dev, GFP_KERNEL, in ecore_cxt_src_t2_alloc()
1007 *p_virt = OSAL_DMA_ALLOC_COHERENT(p_hwfn->p_dev, in ecore_cxt_src_t2_alloc()
1094 OSAL_DMA_FREE_COHERENT(p_hwfn->p_dev, in ecore_ilt_shadow_free()
1100 OSAL_FREE(p_hwfn->p_dev, p_mngr->ilt_shadow); in ecore_ilt_shadow_free()
1134 p_virt = OSAL_DMA_ALLOC_COHERENT(p_hwfn->p_dev, in ecore_ilt_blk_alloc()
1164 p_mngr->ilt_shadow = OSAL_ZALLOC(p_hwfn->p_dev, GFP_KERNEL, in ecore_ilt_shadow_alloc()
1210 OSAL_FREE(p_hwfn->p_dev, p_mngr->acquired[type].cid_map); in ecore_cid_map_free()
1216 OSAL_FREE(p_hwfn->p_dev, in ecore_cid_map_free()
[all …]
Decore_sriov.h281 void ecore_iov_free_hw_info(struct ecore_dev *p_dev);
327 static OSAL_INLINE void ecore_iov_free_hw_info(struct ecore_dev OSAL_UNUSED *p_dev) {} in ecore_iov_free_hw_info() argument
Decore_dcbx.c233 if (OSAL_TEST_BIT(ECORE_MF_UFP_SPECIFIC, &p_hwfn->p_dev->mf_bits)) in ecore_dcbx_set_params()
241 if (OSAL_TEST_BIT(ECORE_MF_UFP_SPECIFIC, &p_hwfn->p_dev->mf_bits) && in ecore_dcbx_set_params()
388 &p_hwfn->p_dev->mf_bits) && !eth_tlv) in ecore_dcbx_process_tlv()
1075 p_hwfn->p_dcbx_info = OSAL_ZALLOC(p_hwfn->p_dev, GFP_KERNEL, in ecore_dcbx_info_alloc()
1091 OSAL_FREE(p_hwfn->p_dev, p_hwfn->p_dcbx_info); in ecore_dcbx_info_free()
1152 if (IS_VF(p_hwfn->p_dev)) in ecore_dcbx_query_params()
1456 dcbx_info = OSAL_ALLOC(p_hwfn->p_dev, GFP_KERNEL, in ecore_dcbx_get_config_params()
1465 OSAL_FREE(p_hwfn->p_dev, dcbx_info); in ecore_dcbx_get_config_params()
1490 OSAL_FREE(p_hwfn->p_dev, dcbx_info); in ecore_dcbx_get_config_params()
1734 p_dcbx_info = OSAL_ALLOC(p_hwfn->p_dev, GFP_KERNEL, in ecore_dcbx_get_dscp_priority()
[all …]
Decore_init_fw_funcs.c190 …return NUM_OF_PHYS_TCS * (ECORE_IS_E5(p_hwfn->p_dev) ? MAX_NUM_PORTS_E5 : MAX_NUM_PORTS_BB) + port… in ecore_get_ext_voq()
192 return port_id * (ECORE_IS_E5(p_hwfn->p_dev) ? NUM_OF_PHYS_TCS : max_phys_tcs_per_port) + tc; in ecore_get_ext_voq()
201 u8 num_ext_voqs = ECORE_IS_E5(p_hwfn->p_dev) ? QM_E5_NUM_EXT_VOQ : MAX_NUM_VOQS_E4; in ecore_enable_pf_rl()
283 u8 num_ext_voqs = ECORE_IS_E5(p_hwfn->p_dev) ? QM_E5_NUM_EXT_VOQ : MAX_NUM_VOQS_E4; in ecore_cmdq_lines_rt_init()
300 if (ECORE_IS_E5(p_hwfn->p_dev)) in ecore_cmdq_lines_rt_init()
439 …u32 map_val = (ext_voq << QM_WFQ_VP_PQ_VOQ_SHIFT) | (pf_id << (ECORE_IS_E5(p_hwfn->p_dev) ? QM_WFQ… in ecore_tx_pq_map_rt_init()
454 if (ECORE_IS_E5(p_hwfn->p_dev)) { in ecore_tx_pq_map_rt_init()
556 crd_reg_offset = ECORE_IS_E5(p_hwfn->p_dev) ? in ecore_pf_wfq_rt_init()
1202 total_blocks = ECORE_IS_K2(p_hwfn->p_dev) ? BRB_TOTAL_RAM_BLOCKS_K2 : BRB_TOTAL_RAM_BLOCKS_BB; in ecore_init_brb_ram()
1404 if (ECORE_IS_BB_B0(p_hwfn->p_dev)) in ecore_set_geneve_enable()
Decore_init_ops.h42 void ecore_init_iro_array(struct ecore_dev *p_dev);
Decore_mng_tlv.c1252 p_tlv_data = OSAL_VZALLOC(p_hwfn->p_dev, sizeof(*p_tlv_data)); in ecore_mfw_update_tlvs()
1257 OSAL_VFREE(p_hwfn->p_dev, p_tlv_data); in ecore_mfw_update_tlvs()
1294 OSAL_VFREE(p_hwfn->p_dev, p_tlv_data); in ecore_mfw_update_tlvs()
1322 p_mfw_buf = (void *)OSAL_VZALLOC(p_hwfn->p_dev, size); in ecore_mfw_process_tlv_req()
1395 OSAL_VFREE(p_hwfn->p_dev, p_mfw_buf); in ecore_mfw_process_tlv_req()
Decore_hw.h264 enum _ecore_status_t ecore_init_fw_data(struct ecore_dev *p_dev,
Dqlnx_os.c505 ha = (qlnx_host_t *)p_hwfn->p_dev; in qlnx_sp_intr()
5120 ha = (qlnx_host_t *)p_hwfn->p_dev; in qlnx_sp_isr()
5503 data32 = bus_read_4(((qlnx_host_t *)p_hwfn->p_dev)->pci_reg, \ in qlnx_reg_rd32()
5514 bus_write_4(((qlnx_host_t *)p_hwfn->p_dev)->pci_reg, \ in qlnx_reg_wr32()
5525 bus_write_2(((qlnx_host_t *)p_hwfn->p_dev)->pci_reg, \ in qlnx_reg_wr16()
5539 cdev = p_hwfn->p_dev; in qlnx_dbell_wr32_db()
5552 bus_write_4(((qlnx_host_t *)p_hwfn->p_dev)->pci_dbells, \ in qlnx_dbell_wr32()
5565 cdev = ((struct ecore_hwfn *)p_hwfn)->p_dev; in qlnx_direct_reg_rd32()
5579 cdev = ((struct ecore_hwfn *)p_hwfn)->p_dev; in qlnx_direct_reg_wr32()
5593 cdev = ((struct ecore_hwfn *)p_hwfn)->p_dev; in qlnx_direct_reg_wr64()
[all …]
/freebsd-12-stable/sys/dev/puc/
Dpuc.c58 device_t p_dev; member
180 port->p_ipend = SERDEV_IPEND(port->p_dev); in puc_intr()
320 port->p_dev = device_add_child(dev, NULL, -1); in puc_bfe_attach()
321 if (port->p_dev != NULL) in puc_bfe_attach()
322 device_set_ivars(port->p_dev, (void *)port); in puc_bfe_attach()
359 if (port->p_dev == NULL) in puc_bfe_attach()
361 error = device_probe_and_attach(port->p_dev); in puc_bfe_attach()
363 device_delete_child(dev, port->p_dev); in puc_bfe_attach()
364 port->p_dev = NULL; in puc_bfe_attach()
380 if (port->p_dev != NULL) in puc_bfe_attach()
[all …]

12