Lines Matching defs:arg
225 efb_get_pci_config(drm_device_t *statep, dev_t dev, intptr_t arg, int mode)
234 if (ddi_copyout(&efb_pci_cfg, (void *)arg,
274 efb_get_gfx_identifier(drm_device_t *statep, dev_t dev, intptr_t arg, int mode)
301 if (ddi_copyout(&radeon_gfx_identifier, (caddr_t)arg,
310 efb_set_video_mode(drm_device_t *statep, dev_t dev, intptr_t arg, int mode)
320 if (ddi_copyin((caddr_t)arg, &efb_priv->videomode,
333 efb_get_video_mode(drm_device_t *statep, dev_t dev, intptr_t arg, int mode)
343 if (ddi_copyout(&efb_priv->videomode, (caddr_t)arg,
352 efb_get_edid_length(drm_device_t *statep, dev_t dev1, intptr_t arg, int mode)
368 if (ddi_copyin((void *)arg, &edid_buf, sizeof (gfx_edid_t), mode)) {
394 if (ddi_copyout(&edid_buf, (caddr_t)arg, sizeof (gfx_edid_t),
405 efb_get_edid(drm_device_t *statep, dev_t dev1, intptr_t arg, int mode)
421 if (ddi_copyin((void *)arg, &edid_buf, sizeof (gfx_edid_t), mode)) {
460 ret = ddi_copyout(&edid_buf, (caddr_t)arg,
492 efb_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *credp,
510 ret = efb_vis_devinit(statep, (caddr_t)arg, mode);
516 ret = efb_vis_devfini(statep, (caddr_t)arg, mode);
522 ret = efb_vis_consdisplay(statep, (caddr_t)arg, mode);
528 ret = efb_vis_conscursor(statep, (caddr_t)arg, mode);
534 ret = efb_vis_conscopy(statep, (caddr_t)arg, mode);
540 ret = efb_vis_putcmap(statep, (caddr_t)arg, mode);
547 if (ddi_copyout(&visId, (void *)arg,
555 if (ddi_copyout(&fb_attr, (void *)arg,
563 if (ddi_copyout(&fb_attr.fbtype, (void *)arg,
577 ret = efb_get_gfx_identifier(statep, dev, arg, mode);
583 ret = efb_get_pci_config(statep, dev, arg, mode);
589 ret = efb_set_video_mode(statep, dev, arg, mode);
595 ret = efb_get_video_mode(statep, dev, arg, mode);
601 ret = efb_get_edid_length(statep, dev, arg, mode);
607 ret = efb_get_edid(statep, dev, arg, mode);
613 ret = drm_cb_ops.cb_ioctl(dev, cmd, arg, mode,