Home
last modified time | relevance | path

Searched refs:attach (Results 1 – 25 of 123) sorted by relevance

12345

/dragonfly/sys/dev/drm/
H A Ddrm_prime.c196 attach->priv = prime_attach; in drm_gem_map_attach()
228 attach->priv = NULL; in drm_gem_map_detach()
401 .attach = drm_gem_map_attach,
613 struct dma_buf_attachment *attach; in drm_gem_prime_import_dev() local
634 if (IS_ERR(attach)) in drm_gem_prime_import_dev()
635 return ERR_CAST(attach); in drm_gem_prime_import_dev()
651 obj->import_attach = attach; in drm_gem_prime_import_dev()
658 dma_buf_detach(dma_buf, attach); in drm_gem_prime_import_dev()
880 attach = obj->import_attach; in drm_prime_gem_destroy()
883 dma_buf = attach->dmabuf; in drm_prime_gem_destroy()
[all …]
H A Dlinux_dma-buf.c139 dma_buf_map_attachment(struct dma_buf_attachment *attach, in dma_buf_map_attachment() argument
144 if (attach == NULL) in dma_buf_map_attachment()
147 if (attach->dmabuf == NULL) in dma_buf_map_attachment()
150 sg_table = attach->dmabuf->ops->map_dma_buf(attach, direction); in dma_buf_map_attachment()
157 void dma_buf_unmap_attachment(struct dma_buf_attachment *attach, in dma_buf_unmap_attachment() argument
H A Ddrm_bridge.c127 if (bridge->funcs->attach) { in drm_bridge_attach()
128 ret = bridge->funcs->attach(bridge); in drm_bridge_attach()
/dragonfly/sys/dev/drm/amd/amdgpu/
H A Damdgpu_prime.c160 struct dma_buf_attachment *attach, in amdgpu_gem_prime_import_sg_table() argument
170 bp.size = attach->dmabuf->size; in amdgpu_gem_prime_import_sg_table()
185 if (attach->dmabuf->ops != &amdgpu_dmabuf_ops) in amdgpu_gem_prime_import_sg_table()
252 struct dma_buf_attachment *attach)
259 r = drm_gem_map_attach(dma_buf, attach);
268 if (attach->dev->driver != adev->dev->driver) {
287 if (attach->dev->driver != adev->dev->driver)
295 drm_gem_map_detach(dma_buf, attach);
308 struct dma_buf_attachment *attach)
325 drm_gem_map_detach(dma_buf, attach);
[all …]
/dragonfly/contrib/nvi2/ex/
H A Dex_edit.c48 int attach, setalt; in ex_edit() local
65 attach = 0; in ex_edit()
67 attach = 1; in ex_edit()
75 attach = 0; in ex_edit()
84 return (ex_N_edit(sp, cmdp, frp, attach)); in ex_edit()
109 ex_N_edit(SCR *sp, EXCMD *cmdp, FREF *frp, int attach) in ex_N_edit() argument
123 if (attach) { in ex_N_edit()
/dragonfly/etc/
H A Ddevd.conf79 attach 0 {
93 attach 100 {
167 attach 100 {
175 attach 100 {
199 attach 0 {
285 attach 10 {
/dragonfly/sys/dev/drm/include/linux/
H A Ddma-buf.h59 int (*attach)(struct dma_buf *, struct device *, struct dma_buf_attachment *); member
100 struct dma_buf_attachment *attach; in dma_buf_attach() local
102 attach = kmalloc(sizeof(struct dma_buf_attachment), M_DRM, M_WAITOK | M_ZERO); in dma_buf_attach()
104 return attach; in dma_buf_attach()
/dragonfly/sys/dev/drm/radeon/
H A Dradeon_prime.c36 struct dma_buf_attachment *attach,
74 struct dma_buf_attachment *attach, in radeon_gem_prime_import_sg_table() argument
77 struct reservation_object *resv = attach->dmabuf->resv; in radeon_gem_prime_import_sg_table()
83 ret = radeon_bo_create(rdev, attach->dmabuf->size, PAGE_SIZE, false, in radeon_gem_prime_import_sg_table()
/dragonfly/sys/dev/drm/i915/
H A Di915_gem_dmabuf.c295 struct dma_buf_attachment *attach; in i915_gem_prime_import() local
313 attach = dma_buf_attach(dma_buf, dev->dev); in i915_gem_prime_import()
314 if (IS_ERR(attach)) in i915_gem_prime_import()
315 return ERR_CAST(attach); in i915_gem_prime_import()
329 obj->base.import_attach = attach; in i915_gem_prime_import()
346 dma_buf_detach(dma_buf, attach); in i915_gem_prime_import()
/dragonfly/share/examples/drivers/
H A Dmake_device_driver.sh72 static int ${1}attach (struct isa_device *);
96 ${1}attach,
163 ${1}attach (struct isa_device *dev)
170 * will attach it to the hardware soon after we return.
/dragonfly/sys/bus/pccard/
H A Dcard_if.m100 # device_{probe,attach} routines. For NEWCARD they are implemented such
101 # such that probe becomes strictly a matching routine and attach does both
102 # the old probe and old attach.
112 # DEVMETHOD(card_compat_attach, foo_attach), /* old attach */
/dragonfly/sys/netinet/
H A Dip_divert.c378 struct socket *so = msg->attach.base.nm_so; in div_attach()
379 int proto = msg->attach.nm_proto; in div_attach()
380 struct pru_attach_info *ai = msg->attach.nm_ai; in div_attach()
410 lwkt_replymsg(&msg->attach.base.lmsg, error); in div_attach()
/dragonfly/contrib/nvi2/common/
H A Dmain.c30 static void attach(GS *);
127 attach(gp); in editor()
553 attach(GS *gp) in attach() function
/dragonfly/sys/vfs/procfs/
H A DREADME22 echo attach > /proc/1293/ctl
95 attach - this stops the target process and
110 "attach". as before, the child will hit a breakpoint on the first
/dragonfly/sys/bus/isa/x86_64/
H A Disa_device.h74 int (*attach) (struct isa_device *idp); member
/dragonfly/sys/dev/netif/ral/
H A Dif_ral_pci.c112 int (*attach)(device_t, int); member
274 error = (*psc->sc_opns->attach)(dev, pci_get_device(dev)); in ral_pci_attach()
/dragonfly/sys/kern/
H A Ddevice_if.m77 # the softc structure will be available for its attach method and any
79 # if the attach method is called. If a success code of zero is
116 METHOD int attach {
/dragonfly/sys/netinet6/
H A Draw_ip6.c521 struct socket *so = msg->attach.base.nm_so; in rip6_attach()
522 int proto = msg->attach.nm_proto; in rip6_attach()
523 struct pru_attach_info *ai = msg->attach.nm_ai; in rip6_attach()
553 lwkt_replymsg(&msg->attach.base.lmsg, error); in rip6_attach()
H A Dudp6_usrreq.c517 struct socket *so = msg->attach.base.nm_so; in udp6_attach()
518 struct pru_attach_info *ai = msg->attach.nm_ai; in udp6_attach()
551 lwkt_replymsg(&msg->attach.base.lmsg, error); in udp6_attach()
/dragonfly/sys/net/
H A Draw_usrreq.c186 int proto = msg->attach.nm_proto; in raw_uattach()
187 struct pru_attach_info *ai = msg->attach.nm_ai; in raw_uattach()
/dragonfly/sys/dev/drm/include/drm/
H A Ddrm_gem_cma_helper.h100 struct dma_buf_attachment *attach,
H A Ddrm_bridge.h50 int (*attach)(struct drm_bridge *bridge); member
/dragonfly/test/vkernel/
H A DREADME19 can then attach to it. If you bridge you can use your normal LAN's dhcp
/dragonfly/sys/dev/netif/ath/ath_hal/
H A Dah_internal.h92 struct ath_hal *(*attach)(uint16_t devid, HAL_SOFTC, member
102 .attach = _attach \
115 HAL_BOOL (*attach)(struct ath_hal *ah, HAL_STATUS *ecode); member
122 .attach = _attach \
/dragonfly/sys/netgraph/socket/
H A Dng_socket.c167 struct socket *so = msg->attach.base.nm_so; in ngc_attach()
168 struct pru_attach_info *ai = msg->attach.nm_ai; in ngc_attach()
181 lwkt_replymsg(&msg->attach.base.lmsg, error); in ngc_attach()
312 struct socket *so = msg->attach.base.nm_so; in ngd_attach()

12345