Symbol: attach
games/hack/hack.trap.c
440
placebc(int attach)
games/hack/hack.trap.c
448
if(attach){
sys/arch/macppc/macppc/ofw_machdep.c
369
int len, attach = 0;
sys/arch/macppc/macppc/ofw_machdep.c
401
attach = 1;
sys/arch/macppc/macppc/ofw_machdep.c
407
attach = 1;
sys/arch/macppc/macppc/ofw_machdep.c
410
if (attach == 0) {
sys/dev/cardbus/if_ral_cardbus.c
204
(*csc->sc_opns->attach)(sc, PCI_PRODUCT(ca->ca_id));
sys/dev/cardbus/if_ral_cardbus.c
54
int (*attach)(void *, int);
sys/dev/gpio/gpio.c
302
struct gpio_attach *attach;
sys/dev/gpio/gpio.c
412
attach = (struct gpio_attach *)data;
sys/dev/gpio/gpio.c
415
ga.ga_dvname = attach->ga_dvname;
sys/dev/gpio/gpio.c
416
ga.ga_offset = attach->ga_offset;
sys/dev/gpio/gpio.c
417
ga.ga_mask = attach->ga_mask;
sys/dev/gpio/gpio.c
418
ga.ga_flags = attach->ga_flags;
sys/dev/gpio/gpio.c
432
attach = (struct gpio_attach *)data;
sys/dev/gpio/gpio.c
434
if (strcmp(gdev->sc_dev->dv_xname, attach->ga_dvname)
sys/dev/ic/ac97.c
785
if ((error = host_if->attach(host_if->arg, &as->codec_if))) {
sys/dev/ic/ac97.h
46
int (*attach)(void *arg, struct ac97_codec_if *codecif);
sys/dev/ic/anxdp.c
731
.attach = anxdp_bridge_attach,
sys/dev/ic/ar5xxx.c
161
ar5k_attach_t *attach = NULL;
sys/dev/ic/ar5xxx.c
172
ar5k_known_products[i].attach != NULL)
sys/dev/ic/ar5xxx.c
173
attach = ar5k_known_products[i].attach;
sys/dev/ic/ar5xxx.c
176
if (attach == NULL) {
sys/dev/ic/ar5xxx.c
228
if ((attach)(device, hal, st, sh, status) == NULL)
sys/dev/ic/ar5xxx.c
34
ar5k_attach_t (*attach);
sys/dev/ic/dwhdmi.c
712
.attach = dwhdmi_bridge_attach,
sys/dev/isa/if_lc_isa.c
106
if (attach)
sys/dev/isa/if_lc_isa.c
131
if (attach)
sys/dev/isa/if_lc_isa.c
144
if (attach) {
sys/dev/isa/if_lc_isa.c
160
if (maddr != 0 && msize != 0 && (rv == 0 || !attach))
sys/dev/isa/if_lc_isa.c
163
if (rv == 0 || !attach)
sys/dev/isa/if_lc_isa.c
79
lemac_isa_find(struct lemac_softc *sc, struct isa_attach_args *ia, int attach)
sys/dev/pci/auacer.c
258
sc->host_if.attach = auacer_attach_codec;
sys/dev/pci/auglx.c
317
sc->host_if.attach = auglx_attach_codec;
sys/dev/pci/auich.c
493
sc->host_if.attach = auich_attach_codec;
sys/dev/pci/auixp.c
1285
codec->host_if.attach = auixp_attach_codec;
sys/dev/pci/autri.c
516
codec->host_if.attach = autri_attach_codec;
sys/dev/pci/auvia.c
296
sc->host_if.attach = auvia_attach_codec;
sys/dev/pci/cs4280.c
609
sc->host_if.attach = cs4280_attach_codec;
sys/dev/pci/cs4281.c
310
sc->host_if.attach = cs4281_attach_codec;
sys/dev/pci/drm/amd/amdgpu/amdgpu_dma_buf.c
101
pci_p2pdma_distance(adev->pdev, attach->dev, false) < 0)
sys/dev/pci/drm/amd/amdgpu/amdgpu_dma_buf.c
102
attach->peer2peer = false;
sys/dev/pci/drm/amd/amdgpu/amdgpu_dma_buf.c
116
static int amdgpu_dma_buf_pin(struct dma_buf_attachment *attach)
sys/dev/pci/drm/amd/amdgpu/amdgpu_dma_buf.c
118
struct dma_buf *dmabuf = attach->dmabuf;
sys/dev/pci/drm/amd/amdgpu/amdgpu_dma_buf.c
136
list_for_each_entry(attach, &dmabuf->attachments, node)
sys/dev/pci/drm/amd/amdgpu/amdgpu_dma_buf.c
137
if (!attach->peer2peer)
sys/dev/pci/drm/amd/amdgpu/amdgpu_dma_buf.c
160
static void amdgpu_dma_buf_unpin(struct dma_buf_attachment *attach)
sys/dev/pci/drm/amd/amdgpu/amdgpu_dma_buf.c
162
struct drm_gem_object *obj = attach->dmabuf->priv;
sys/dev/pci/drm/amd/amdgpu/amdgpu_dma_buf.c
181
static struct sg_table *amdgpu_dma_buf_map(struct dma_buf_attachment *attach,
sys/dev/pci/drm/amd/amdgpu/amdgpu_dma_buf.c
184
struct dma_buf *dma_buf = attach->dmabuf;
sys/dev/pci/drm/amd/amdgpu/amdgpu_dma_buf.c
197
attach->peer2peer) {
sys/dev/pci/drm/amd/amdgpu/amdgpu_dma_buf.c
215
if (dma_map_sgtable(attach->dev, sgt, dir,
sys/dev/pci/drm/amd/amdgpu/amdgpu_dma_buf.c
223
dma_buf_attach_adev(attach), bo)))
sys/dev/pci/drm/amd/amdgpu/amdgpu_dma_buf.c
227
bo->tbo.base.size, attach->dev,
sys/dev/pci/drm/amd/amdgpu/amdgpu_dma_buf.c
253
static void amdgpu_dma_buf_unmap(struct dma_buf_attachment *attach,
sys/dev/pci/drm/amd/amdgpu/amdgpu_dma_buf.c
258
dma_unmap_sgtable(attach->dev, sgt, dir, 0);
sys/dev/pci/drm/amd/amdgpu/amdgpu_dma_buf.c
262
amdgpu_vram_mgr_free_sgt(attach->dev, dir, sgt);
sys/dev/pci/drm/amd/amdgpu/amdgpu_dma_buf.c
341
.attach = amdgpu_dma_buf_attach,
sys/dev/pci/drm/amd/amdgpu/amdgpu_dma_buf.c
455
amdgpu_dma_buf_move_notify(struct dma_buf_attachment *attach)
sys/dev/pci/drm/amd/amdgpu/amdgpu_dma_buf.c
457
struct drm_gem_object *obj = attach->importer_priv;
sys/dev/pci/drm/amd/amdgpu/amdgpu_dma_buf.c
541
struct dma_buf_attachment *attach;
sys/dev/pci/drm/amd/amdgpu/amdgpu_dma_buf.c
562
attach = dma_buf_dynamic_attach(dma_buf, dev->dev,
sys/dev/pci/drm/amd/amdgpu/amdgpu_dma_buf.c
564
if (IS_ERR(attach)) {
sys/dev/pci/drm/amd/amdgpu/amdgpu_dma_buf.c
566
return ERR_CAST(attach);
sys/dev/pci/drm/amd/amdgpu/amdgpu_dma_buf.c
569
attach = NULL;
sys/dev/pci/drm/amd/amdgpu/amdgpu_dma_buf.c
573
obj->import_attach = attach;
sys/dev/pci/drm/amd/amdgpu/amdgpu_dma_buf.c
58
static struct amdgpu_device *dma_buf_attach_adev(struct dma_buf_attachment *attach)
sys/dev/pci/drm/amd/amdgpu/amdgpu_dma_buf.c
60
if (attach->importer_ops == &amdgpu_dma_buf_attach_ops) {
sys/dev/pci/drm/amd/amdgpu/amdgpu_dma_buf.c
61
struct drm_gem_object *obj = attach->importer_priv;
sys/dev/pci/drm/amd/amdgpu/amdgpu_dma_buf.c
80
struct dma_buf_attachment *attach)
sys/dev/pci/drm/amd/amdgpu/amdgpu_dma_buf.c
83
struct amdgpu_device *attach_adev = dma_buf_attach_adev(attach);
sys/dev/pci/drm/amd/amdgpu/amdgpu_dma_buf.c
98
attach->peer2peer = false;
sys/dev/pci/drm/amd/amdgpu/amdgpu_ttm.c
1090
struct dma_buf_attachment *attach;
sys/dev/pci/drm/amd/amdgpu/amdgpu_ttm.c
1092
attach = gtt->gobj->import_attach;
sys/dev/pci/drm/amd/amdgpu/amdgpu_ttm.c
1094
dma_buf_unmap_attachment(attach, ttm->sg, DMA_BIDIRECTIONAL);
sys/dev/pci/drm/amd/amdgpu/amdgpu_ttm.c
963
struct dma_buf_attachment *attach;
sys/dev/pci/drm/amd/amdgpu/amdgpu_ttm.c
966
attach = gtt->gobj->import_attach;
sys/dev/pci/drm/amd/amdgpu/amdgpu_ttm.c
968
sgt = dma_buf_map_attachment(attach, DMA_BIDIRECTIONAL);
sys/dev/pci/drm/drm_bridge.c
450
if (bridge->funcs->attach) {
sys/dev/pci/drm/drm_bridge.c
451
ret = bridge->funcs->attach(bridge, encoder, flags);
sys/dev/pci/drm/drm_gem_dma_helper.c
244
struct dma_buf_attachment *attach, struct sg_table *sgt)
sys/dev/pci/drm/drm_mipi_dsi.c
388
if (!ops || !ops->attach)
sys/dev/pci/drm/drm_mipi_dsi.c
391
ret = ops->attach(dsi->host, dsi);
sys/dev/pci/drm/drm_prime.c
1011
struct dma_buf_attachment *attach;
sys/dev/pci/drm/drm_prime.c
1033
attach = dma_buf_attach(dma_buf, attach_dev);
sys/dev/pci/drm/drm_prime.c
1034
if (IS_ERR(attach))
sys/dev/pci/drm/drm_prime.c
1035
return ERR_CAST(attach);
sys/dev/pci/drm/drm_prime.c
1040
sgt = dma_buf_map_attachment_unlocked(attach, DMA_BIDIRECTIONAL);
sys/dev/pci/drm/drm_prime.c
1046
obj = dev->driver->gem_prime_import_sg_table(dev, attach, sgt);
sys/dev/pci/drm/drm_prime.c
1052
obj->import_attach = attach;
sys/dev/pci/drm/drm_prime.c
1058
dma_buf_unmap_attachment_unlocked(attach, sgt, DMA_BIDIRECTIONAL);
sys/dev/pci/drm/drm_prime.c
1060
dma_buf_detach(dma_buf, attach);
sys/dev/pci/drm/drm_prime.c
1165
struct dma_buf_attachment *attach;
sys/dev/pci/drm/drm_prime.c
1168
attach = obj->import_attach;
sys/dev/pci/drm/drm_prime.c
1170
dma_buf_unmap_attachment_unlocked(attach, sg, DMA_BIDIRECTIONAL);
sys/dev/pci/drm/drm_prime.c
1171
dma_buf = attach->dmabuf;
sys/dev/pci/drm/drm_prime.c
1172
dma_buf_detach(attach->dmabuf, attach);
sys/dev/pci/drm/drm_prime.c
605
struct dma_buf_attachment *attach)
sys/dev/pci/drm/drm_prime.c
645
struct dma_buf_attachment *attach)
sys/dev/pci/drm/drm_prime.c
675
struct sg_table *drm_gem_map_dma_buf(struct dma_buf_attachment *attach,
sys/dev/pci/drm/drm_prime.c
678
struct drm_gem_object *obj = attach->dmabuf->priv;
sys/dev/pci/drm/drm_prime.c
692
ret = dma_map_sgtable(attach->dev, sgt, dir,
sys/dev/pci/drm/drm_prime.c
712
void drm_gem_unmap_dma_buf(struct dma_buf_attachment *attach,
sys/dev/pci/drm/drm_prime.c
719
dma_unmap_sgtable(attach->dev, sgt, dir, DMA_ATTR_SKIP_CPU_SYNC);
sys/dev/pci/drm/drm_prime.c
854
.attach = drm_gem_map_attach,
sys/dev/pci/drm/i915/display/icl_dsi.c
1855
.attach = gen11_dsi_host_attach,
sys/dev/pci/drm/i915/display/vlv_dsi.c
216
.attach = intel_dsi_host_attach,
sys/dev/pci/drm/i915/gem/i915_gem_dmabuf.c
169
struct dma_buf_attachment *attach)
sys/dev/pci/drm/i915/gem/i915_gem_dmabuf.c
198
struct dma_buf_attachment *attach)
sys/dev/pci/drm/i915/gem/i915_gem_dmabuf.c
209
.attach = i915_gem_dmabuf_attach,
sys/dev/pci/drm/i915/gem/i915_gem_dmabuf.c
29
static struct sg_table *i915_gem_map_dma_buf(struct dma_buf_attachment *attach,
sys/dev/pci/drm/i915/gem/i915_gem_dmabuf.c
297
struct dma_buf_attachment *attach;
sys/dev/pci/drm/i915/gem/i915_gem_dmabuf.c
319
attach = dma_buf_attach(dma_buf, dev->dev);
sys/dev/pci/drm/i915/gem/i915_gem_dmabuf.c
32
struct drm_i915_gem_object *obj = dma_buf_to_obj(attach->dmabuf);
sys/dev/pci/drm/i915/gem/i915_gem_dmabuf.c
320
if (IS_ERR(attach))
sys/dev/pci/drm/i915/gem/i915_gem_dmabuf.c
321
return ERR_CAST(attach);
sys/dev/pci/drm/i915/gem/i915_gem_dmabuf.c
335
obj->base.import_attach = attach;
sys/dev/pci/drm/i915/gem/i915_gem_dmabuf.c
351
dma_buf_detach(dma_buf, attach);
sys/dev/pci/drm/i915/gem/i915_gem_dmabuf.c
57
ret = dma_map_sgtable(attach->dev, sgt, dir, DMA_ATTR_SKIP_CPU_SYNC);
sys/dev/pci/drm/include/drm/drm_bridge.h
78
int (*attach)(struct drm_bridge *bridge, struct drm_encoder *encoder,
sys/dev/pci/drm/include/drm/drm_drv.h
328
struct dma_buf_attachment *attach,
sys/dev/pci/drm/include/drm/drm_mipi_dsi.h
16
int (*attach)(struct mipi_dsi_host *, struct mipi_dsi_device *);
sys/dev/pci/drm/include/drm/drm_prime.h
81
struct dma_buf_attachment *attach);
sys/dev/pci/drm/include/drm/drm_prime.h
83
struct dma_buf_attachment *attach);
sys/dev/pci/drm/include/drm/drm_prime.h
84
struct sg_table *drm_gem_map_dma_buf(struct dma_buf_attachment *attach,
sys/dev/pci/drm/include/drm/drm_prime.h
86
void drm_gem_unmap_dma_buf(struct dma_buf_attachment *attach,
sys/dev/pci/drm/radeon/radeon_prime.c
47
struct dma_buf_attachment *attach,
sys/dev/pci/drm/radeon/radeon_prime.c
50
struct dma_resv *resv = attach->dmabuf->resv;
sys/dev/pci/drm/radeon/radeon_prime.c
56
ret = radeon_bo_create(rdev, attach->dmabuf->size, PAGE_SIZE, false,
sys/dev/pci/eap.c
555
sc->host_if.attach = eap1371_attach_codec;
sys/dev/pci/emuxki.c
393
sc->hostif.attach = emuxki_ac97_attach;
sys/dev/pci/envy.c
653
sc->host_if.attach = envy_ac97_attach_codec;
sys/dev/pci/esa.c
999
sc->host_if.attach = esa_attach_codec;
sys/dev/pci/fms.c
218
sc->host_if.attach = fms_attach_codec;
sys/dev/pci/if_ral_pci.c
208
(*psc->sc_opns->attach)(sc, PCI_PRODUCT(pa->pa_id));
sys/dev/pci/if_ral_pci.c
52
int (*attach)(void *, int);
sys/dev/pci/maestro.c
700
sc->host_if.attach = maestro_attach_codec;
sys/dev/pci/neo.c
575
sc->host_if.attach = neo_attach_codec;
sys/dev/pci/ppb.c
274
goto attach;
sys/dev/pci/ppb.c
339
attach:
sys/dev/pci/yds.c
740
codec->host_if.attach = yds_attach_codec;
sys/dev/usb/if_umb.c
2797
umb_packet_service(struct umb_softc *sc, int attach)
sys/dev/usb/if_umb.c
2802
attach ? "attach" : "detach");
sys/dev/usb/if_umb.c
2804
s.action = htole32(attach ?
sys/dev/wscons/wsdisplay.c
1779
error = (*scr->scr_syncops->attach)(scr->scr_synccookie, waitok,
sys/dev/wscons/wsdisplay.c
292
(void)(*dconf->wsemul->attach)(1, 0, 0, 0, 0, scr, 0);
sys/dev/wscons/wsdisplay.c
302
dconf->wsemulcookie = (*dconf->wsemul->attach)(0, type, cookie,
sys/dev/wscons/wsdisplayvar.h
185
int (*attach)(void *, int, void (*)(void *, int, int), void *);
sys/dev/wscons/wsemulvar.h
68
void *(*attach)(int, const struct wsscreen_descr *, void *,
usr.bin/vi/common/main.c
153
attach(gp);
usr.bin/vi/common/main.c
34
static void attach(GS *);
usr.bin/vi/ex/ex_edit.c
107
ex_N_edit(SCR *sp, EXCMD *cmdp, FREF *frp, int attach)
usr.bin/vi/ex/ex_edit.c
120
if (attach) {
usr.bin/vi/ex/ex_edit.c
50
int attach, setalt;
usr.bin/vi/ex/ex_edit.c
65
attach = 0;
usr.bin/vi/ex/ex_edit.c
67
attach = 1;
usr.bin/vi/ex/ex_edit.c
73
attach = 0;
usr.bin/vi/ex/ex_edit.c
82
return (ex_N_edit(sp, cmdp, frp, attach));
usr.sbin/gpioctl/gpioctl.c
321
struct gpio_attach attach;
usr.sbin/gpioctl/gpioctl.c
323
memset(&attach, 0, sizeof(attach));
usr.sbin/gpioctl/gpioctl.c
324
strlcpy(attach.ga_dvname, dvname, sizeof(attach.ga_dvname));
usr.sbin/gpioctl/gpioctl.c
325
attach.ga_offset = offset;
usr.sbin/gpioctl/gpioctl.c
326
attach.ga_mask = mask;
usr.sbin/gpioctl/gpioctl.c
327
attach.ga_flags = flags;
usr.sbin/gpioctl/gpioctl.c
328
if (ioctl(devfd, GPIOATTACH, &attach) == -1)
usr.sbin/gpioctl/gpioctl.c
335
struct gpio_attach attach;
usr.sbin/gpioctl/gpioctl.c
337
memset(&attach, 0, sizeof(attach));
usr.sbin/gpioctl/gpioctl.c
338
strlcpy(attach.ga_dvname, dvname, sizeof(attach.ga_dvname));
usr.sbin/gpioctl/gpioctl.c
339
if (ioctl(devfd, GPIODETACH, &attach) == -1)