Home
last modified time | relevance | path

Searched refs:container_of (Results 1 – 25 of 85) sorted by relevance

1234

/f-stack/dpdk/drivers/bus/dpaa/base/fman/
H A Dfman_hw.c38 struct __fman_if *__if = container_of(p, struct __fman_if, __if); in fman_if_set_mcast_filter_table()
50 struct __fman_if *__if = container_of(p, struct __fman_if, __if); in fman_if_reset_mcast_filter_table()
89 struct __fman_if *__if = container_of(p, struct __fman_if, __if); in fman_if_add_hash_mac_addr()
108 struct __fman_if *__if = container_of(p, struct __fman_if, __if); in fman_if_get_primary_mac_addr()
130 struct __fman_if *m = container_of(p, struct __fman_if, __if); in fman_if_clear_mac_addr()
151 struct __fman_if *m = container_of(p, struct __fman_if, __if); in fman_if_add_mac_addr()
186 struct __fman_if *__if = container_of(p, struct __fman_if, __if); in fman_if_set_rx_ignore_pause_frames()
205 struct __fman_if *__if = container_of(p, struct __fman_if, __if); in fman_if_conf_max_frame_len()
218 struct __fman_if *m = container_of(p, struct __fman_if, __if); in fman_if_stats_get()
241 struct __fman_if *m = container_of(p, struct __fman_if, __if); in fman_if_stats_get_all()
[all …]
/f-stack/freebsd/arm/nvidia/drm2/
H A Dtegra_fb.c52 fb = container_of(drm_fb, struct tegra_fb, drm_fb); in fb_destroy()
70 fb = container_of(drm_fb, struct tegra_fb, drm_fb); in fb_create_handle()
137 fb = container_of(helper, struct tegra_fb, fb_helper); in tegra_fb_probe()
138 drm = container_of(drm_dev, struct tegra_drm, drm_dev); in tegra_fb_probe()
208 drm = container_of(drm_dev, struct tegra_drm, drm_dev); in tegra_drm_fb_getinfo()
234 drm = container_of(drm_dev, struct tegra_drm, drm_dev); in tegra_drm_fb_init()
304 planes[i] = container_of(gem_obj, struct tegra_bo, gem_obj); in tegra_drm_fb_create()
327 drm = container_of(drm_dev, struct tegra_drm, drm_dev); in tegra_drm_fb_destroy()
H A Dtegra_drm_subr.c58 output = container_of(connector, struct tegra_drm_encoder, in tegra_drm_connector_get_modes()
89 output = container_of(connector, struct tegra_drm_encoder, in tegra_drm_connector_best_encoder()
102 output = container_of(connector, struct tegra_drm_encoder, in tegra_drm_connector_detect()
H A Dtegra_dc.c329 output = container_of(encoder, struct tegra_drm_encoder, in dc_setup_clk()
517 fb = container_of(drm_fb, struct tegra_fb, drm_fb); in dc_plane_update()
518 crtc = container_of(drm_crtc, struct tegra_crtc, drm_crtc); in dc_plane_update()
651 crtc = container_of(drm_crtc, struct tegra_crtc, drm_crtc); in dc_crtc_mode_set()
653 fb = container_of(drm_crtc->fb, struct tegra_fb, drm_fb); in dc_crtc_mode_set()
723 crtc = container_of(drm_crtc, struct tegra_crtc, drm_crtc); in dc_crtc_mode_set_base()
724 fb = container_of(drm_crtc->fb, struct tegra_fb, drm_fb); in dc_crtc_mode_set_base()
743 crtc = container_of(drm_crtc, struct tegra_crtc, drm_crtc); in dc_crtc_prepare()
884 fb = container_of(drm_crtc->fb, struct tegra_fb, drm_fb); in dc_finish_page_flip()
949 fb = container_of(drm_crtc->fb, struct tegra_fb, drm_fb); in dc_page_flip()
[all …]
/f-stack/dpdk/drivers/net/bnxt/tf_core/
H A Dtfp.c43 rc = bnxt_hwrm_tf_message_direct(container_of(tfp, in tfp_send_msg_direct()
75 rc = bnxt_hwrm_tf_message_tunneled(container_of(tfp, in tfp_send_msg_tunneled()
173 bp = container_of(tfp, struct bnxt, tfp); in tfp_get_fid()
190 bp = container_of(tfp, struct bnxt, tfp); in tfp_get_pf()
/f-stack/dpdk/drivers/crypto/mvsam/
H A Drte_mrvl_compat.h15 #ifdef container_of
16 #undef container_of
/f-stack/dpdk/drivers/event/dlb/pf/base/
H A Ddlb_osdep_list.h26 && (ptr = container_of(iter, typeof(*(ptr)), name)); \
34 (ptr = container_of(iter, typeof(*(ptr)), name)) &&\
105 container_of(TAILQ_FIRST(&head), type, name) : \
H A Ddlb_osdep.h214 dlb_dev = container_of(hw, struct dlb_dev, hw); in os_schedule_work()
241 dlb_dev = container_of(hw, struct dlb_dev, hw); in os_worker_active()
/f-stack/dpdk/drivers/event/dlb2/pf/base/
H A Ddlb2_osdep_list.h26 && (ptr = container_of(iter, typeof(*(ptr)), name)); \
34 (ptr = container_of(iter, typeof(*(ptr)), name)) &&\
105 container_of(TAILQ_FIRST(&head), type, name) : \
H A Ddlb2_osdep.h198 dlb2_dev = container_of(hw, struct dlb2_dev, hw); in os_schedule_work()
225 dlb2_dev = container_of(hw, struct dlb2_dev, hw); in os_worker_active()
/f-stack/dpdk/drivers/net/mlx5/
H A Dmlx5_rxtx_vec_neon.h798 (container_of(p0, struct mlx5_cqe, in rxq_cq_process_v()
803 (container_of(p1, struct mlx5_cqe, in rxq_cq_process_v()
808 (container_of(p2, struct mlx5_cqe, in rxq_cq_process_v()
819 rte_be_to_cpu_64(container_of(p0, in rxq_cq_process_v()
822 rte_be_to_cpu_64(container_of(p1, in rxq_cq_process_v()
825 rte_be_to_cpu_64(container_of(p2, in rxq_cq_process_v()
828 rte_be_to_cpu_64(container_of(p3, in rxq_cq_process_v()
837 container_of(p0, struct mlx5_cqe, in rxq_cq_process_v()
840 container_of(p1, struct mlx5_cqe, in rxq_cq_process_v()
843 container_of(p2, struct mlx5_cqe, in rxq_cq_process_v()
[all …]
H A Dmlx5_txq.c179 container_of(txq, struct mlx5_txq_ctrl, txq); in mlx5_tx_queue_stop_primary()
252 container_of(txq, struct mlx5_txq_ctrl, txq); in mlx5_tx_queue_start_primary()
377 container_of(txq, struct mlx5_txq_ctrl, txq); in mlx5_tx_queue_setup()
418 container_of(txq, struct mlx5_txq_ctrl, txq); in mlx5_tx_hairpin_queue_setup()
482 txq_ctrl = container_of(txq, struct mlx5_txq_ctrl, txq); in mlx5_tx_queue_release()
647 txq_ctrl = container_of(txq, struct mlx5_txq_ctrl, txq); in mlx5_tx_uar_uninit_secondary()
677 txq_ctrl = container_of(txq, struct mlx5_txq_ctrl, txq); in mlx5_tx_uar_init_secondary()
692 txq_ctrl = container_of(txq, struct mlx5_txq_ctrl, txq); in mlx5_tx_uar_init_secondary()
1212 ctrl = container_of(txq_data, struct mlx5_txq_ctrl, txq); in mlx5_txq_get()
1237 txq_ctrl = container_of((*priv->txqs)[idx], struct mlx5_txq_ctrl, txq); in mlx5_txq_release()
[all …]
H A Dmlx5_rxq.c108 struct mlx5_rxq_ctrl *rxq_ctrl = container_of in mlx5_mprq_enabled()
525 container_of(rxq, struct mlx5_rxq_ctrl, rxq); in mlx5_rx_queue_stop_primary()
611 container_of(rxq, struct mlx5_rxq_ctrl, rxq); in mlx5_rx_queue_start_primary()
745 container_of(rxq, struct mlx5_rxq_ctrl, rxq); in mlx5_rx_queue_setup()
814 container_of(rxq, struct mlx5_rxq_ctrl, rxq); in mlx5_rx_hairpin_queue_setup()
877 rxq_ctrl = container_of(rxq, struct mlx5_rxq_ctrl, rxq); in mlx5_rx_queue_release()
1248 struct mlx5_rxq_ctrl *rxq_ctrl = container_of in mlx5_mprq_alloc_mp()
1326 struct mlx5_rxq_ctrl *rxq_ctrl = container_of in mlx5_mprq_alloc_mp()
1849 rxq_ctrl = container_of((*priv->rxqs)[idx], in mlx5_rxq_get_type()
1875 rxq_ctrl = container_of((*priv->rxqs)[idx], in mlx5_rxq_get_hairpin_conf()
[all …]
H A Dmlx5_devx.c326 container_of(rxq_data, struct mlx5_rxq_ctrl, rxq); in mlx5_rxq_create_devx_rq_resources()
422 container_of(rxq_data, struct mlx5_rxq_ctrl, rxq); in mlx5_rxq_create_devx_cq_resources()
575 container_of(rxq_data, struct mlx5_rxq_ctrl, rxq); in mlx5_rxq_obj_hairpin_new()
634 container_of(rxq_data, struct mlx5_rxq_ctrl, rxq); in mlx5_rxq_devx_obj_new()
733 container_of(rxq, struct mlx5_rxq_ctrl, rxq); in mlx5_devx_ind_table_create_rqt_attr()
855 container_of(rxq_data, struct mlx5_rxq_ctrl, rxq); in mlx5_devx_tir_attr_set()
1073 container_of(txq_data, struct mlx5_txq_ctrl, txq); in mlx5_txq_obj_hairpin_new()
1198 container_of(txq_data, struct mlx5_txq_ctrl, txq); in mlx5_txq_create_devx_cq_resources()
1317 container_of(txq_data, struct mlx5_txq_ctrl, txq); in mlx5_txq_create_devx_sq_resources()
1421 container_of(txq_data, struct mlx5_txq_ctrl, txq); in mlx5_txq_devx_obj_new()
/f-stack/dpdk/drivers/net/mvneta/
H A Dmvneta_ethdev.h20 #ifdef container_of
21 #undef container_of
/f-stack/dpdk/drivers/raw/ifpga/base/
H A Difpga_compat.h10 #undef container_of
11 #define container_of(ptr, type, member) ({ \ macro
/f-stack/dpdk/drivers/bus/vdev/
H A Drte_bus_vdev.h32 container_of(ptr, struct rte_vdev_device, device)
35 container_of(ptr, const struct rte_vdev_device, device)
/f-stack/freebsd/contrib/openzfs/include/os/freebsd/spl/sys/
H A Dccompat.h89 #define hlist_entry(ptr, type, field) container_of(ptr, type, field)
91 #define container_of(ptr, type, member) \ macro
/f-stack/dpdk/drivers/net/sfc/
H A Dsfc_dp_rx.h249 return (p == NULL) ? NULL : container_of(p, struct sfc_dp_rx, dp); in sfc_dp_find_rx_by_name()
257 return (p == NULL) ? NULL : container_of(p, struct sfc_dp_rx, dp); in sfc_dp_find_rx_by_caps()
H A Dsfc_dp_tx.h199 return (p == NULL) ? NULL : container_of(p, struct sfc_dp_tx, dp); in sfc_dp_find_tx_by_name()
207 return (p == NULL) ? NULL : container_of(p, struct sfc_dp_tx, dp); in sfc_dp_find_tx_by_caps()
/f-stack/dpdk/drivers/net/ice/base/
H A Dice_osdep.h356 container_of((head)->lh_first, struct type, member) : \
360 container_of((pos)->member.next.le_next, struct type, \
366 container_of((head)->lh_first, struct type, member) : \
369 container_of((pos)->member.next.le_next, struct type, \
375 container_of((pos)->member.next.le_next, struct type, \
/f-stack/dpdk/drivers/net/mvpp2/
H A Dmrvl_ethdev.h21 #ifdef container_of
22 #undef container_of
/f-stack/dpdk/drivers/bus/pci/
H A Drte_bus_pci.h86 #define RTE_DEV_TO_PCI(ptr) container_of(ptr, struct rte_pci_device, device)
89 container_of(ptr, const struct rte_pci_device, device)
/f-stack/dpdk/drivers/bus/dpaa/
H A Drte_dpaa_bus.h50 container_of(ptr, struct rte_dpaa_device, device)
65 container_of(ptr, const struct rte_dpaa_device, device)
/f-stack/dpdk/drivers/net/cxgbe/
H A Dcxgbe_compat.h139 #ifndef container_of
140 #define container_of(ptr, type, member) ({ \ macro

1234