Searched refs:container_of (Results 1 - 25 of 7854) sorted by relevance

1234567891011>>

/linux-master/drivers/gpu/drm/xe/
H A Dxe_gt_sysfs.h16 return container_of(kobj, struct kobj_gt, base)->gt;
H A Dxe_tile_sysfs.h16 return container_of(kobj, struct kobj_tile, base)->tile;
/linux-master/include/soc/starfive/
H A Dreset-starfive-jh71x0.h7 #include <linux/container_of.h>
15 container_of((_adev), struct jh71x0_reset_adev, adev)
/linux-master/drivers/gpu/drm/renesas/rz-du/
H A Drzg2l_du_encoder.h14 #include <linux/container_of.h>
25 return container_of(e, struct rzg2l_du_encoder, base);
H A Drzg2l_du_crtc.h13 #include <linux/container_of.h>
67 return container_of(c, struct rzg2l_du_crtc, crtc);
82 return container_of(s, struct rzg2l_du_crtc_state, state);
/linux-master/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_dim.c16 struct dim *dim = container_of(work, struct dim, work);
17 struct bnxt_cp_ring_info *cpr = container_of(dim,
20 struct bnxt_napi *bnapi = container_of(cpr,
/linux-master/include/linux/
H A Dcontainer_of.h11 * container_of - cast a member of a structure out to the containing structure
18 #define container_of(ptr, type, member) ({ \ macro
22 "pointer type mismatch in container_of()"); \
34 const typeof(*(ptr)) *: ((const type *)container_of(ptr, type, member)),\
35 default: ((type *)container_of(ptr, type, member)) \
H A Dmei_aux.h29 container_of(auxiliary_dev, struct mei_aux_device, aux_dev)
/linux-master/drivers/cpufreq/
H A Dcpufreq_ondemand.h21 return container_of(policy_dbs, struct od_policy_dbs_info, policy_dbs);
/linux-master/drivers/gpu/drm/nouveau/nvkm/engine/device/
H A Dctrl.h4 #define nvkm_control(p) container_of((p), struct nvkm_control, object)
/linux-master/drivers/gpu/drm/msm/adreno/
H A Da3xx_gpu.h24 #define to_a3xx_gpu(x) container_of(x, struct a3xx_gpu, base)
H A Da4xx_gpu.h21 #define to_a4xx_gpu(x) container_of(x, struct a4xx_gpu, base)
H A Da2xx_gpu.h20 #define to_a2xx_gpu(x) container_of(x, struct a2xx_gpu, base)
/linux-master/drivers/gpu/drm/nouveau/nvkm/engine/pm/
H A Dnv40.h4 #define nv40_pm(p) container_of((p), struct nv40_pm, base)
/linux-master/drivers/soundwire/
H A Dintel_auxdevice.h16 container_of(auxiliary_dev, struct sdw_intel_link_dev, auxdev)
/linux-master/drivers/gpu/drm/amd/display/dc/resource/dcn315/
H A Ddcn315_resource.h32 container_of(pool, struct dcn315_resource_pool, base)
/linux-master/drivers/gpu/drm/amd/display/dc/resource/dcn316/
H A Ddcn316_resource.h32 container_of(pool, struct dcn316_resource_pool, base)
/linux-master/drivers/gpu/drm/sun4i/
H A Dsun4i_layer.h30 return container_of(plane, struct sun4i_layer, plane);
36 return container_of(state, struct sun4i_layer_state, state);
H A Dsun6i_mipi_dsi.h45 return container_of(host, struct sun6i_dsi, host);
50 return container_of(connector, struct sun6i_dsi, connector);
55 return container_of(encoder, struct sun6i_dsi, encoder);
/linux-master/include/crypto/
H A Dpcrypt.h12 #include <linux/container_of.h>
36 return container_of(padata, struct pcrypt_request, padata);
/linux-master/drivers/usb/typec/
H A Dpd.h22 #define to_usb_power_delivery_capabilities(o) container_of(o, struct usb_power_delivery_capabilities, dev)
23 #define to_usb_power_delivery(o) container_of(o, struct usb_power_delivery, dev)
/linux-master/drivers/vfio/mdev/
H A Dmdev_private.h20 container_of(_attr, struct mdev_type_attribute, attr)
22 container_of(_kobj, struct mdev_type, kobj)
/linux-master/drivers/usb/gadget/function/
H A Duvc_configfs.h21 return container_of(to_config_group(item), struct f_uvc_opts,
37 return container_of(item, struct uvcg_control_header, item);
47 container_of(group_ptr, struct uvcg_color_matching, group)
71 return container_of(to_config_group(item), struct uvcg_format, group);
84 return container_of(item, struct uvcg_streaming_header, item);
114 return container_of(item, struct uvcg_frame, item);
128 return container_of(to_uvcg_format(item), struct uvcg_uncompressed, fmt);
142 return container_of(to_uvcg_format(item), struct uvcg_mjpeg, fmt);
172 return container_of(item, struct uvcg_extension, item);
/linux-master/drivers/infiniband/hw/usnic/
H A Dusnic_ib.h103 return container_of(ibdev, struct usnic_ib_dev, ib_dev);
109 return container_of(ibucontext, struct usnic_ib_ucontext, ibucontext);
115 return container_of(ibpd, struct usnic_ib_pd, ibpd);
121 return container_of(ibucontext, struct usnic_ib_ucontext, ibucontext);
127 return container_of(ibmr, struct usnic_ib_mr, ibmr);
/linux-master/drivers/gpu/drm/nouveau/nvkm/engine/gr/
H A Dnv20.h4 #define nv20_gr(p) container_of((p), struct nv20_gr, base)
22 #define nv20_gr_chan(p) container_of((p), struct nv20_gr_chan, object)

Completed in 420 milliseconds

1234567891011>>