Lines Matching refs:softc

417     int *rval, agp_master_softc_t *softc)  in agpmaster_ioctl()  argument
429 CONFIRM(softc); in agpmaster_ioctl()
438 if (ddi_copyout(&softc->agpm_dev_type, in agpmaster_ioctl()
448 CONFIRM(softc->agpm_dev_type == DEVICE_IS_AGP); in agpmaster_ioctl()
449 CONFIRM(softc->agpm_data.agpm_acaptr); in agpmaster_ioctl()
455 pci_config_put32(softc->agpm_acc_hdl, in agpmaster_ioctl()
456 softc->agpm_data.agpm_acaptr + AGP_CONF_COMMAND, in agpmaster_ioctl()
466 CONFIRM(softc->agpm_dev_type == DEVICE_IS_AGP); in agpmaster_ioctl()
467 CONFIRM(softc->agpm_data.agpm_acaptr); in agpmaster_ioctl()
469 cap = softc->agpm_data.agpm_acaptr; in agpmaster_ioctl()
470 value = pci_config_get32(softc->agpm_acc_hdl, cap); in agpmaster_ioctl()
473 info.agpi_devid = softc->agpm_id; in agpmaster_ioctl()
475 softc->agpm_acc_hdl, cap + AGP_CONF_STATUS); in agpmaster_ioctl()
487 CONFIRM(softc->agpm_dev_type == DEVICE_IS_I810); in agpmaster_ioctl()
495 AGPM_WRITE(softc, PGTBL_CTL, addr); in agpmaster_ioctl()
503 CONFIRM(IS_IGD(softc)); in agpmaster_ioctl()
505 if (ddi_copyout(&softc->agpm_data.agpm_gtt.gtt_info, in agpmaster_ioctl()
515 CONFIRM(IS_IGD(softc)); in agpmaster_ioctl()
521 if (i8xx_add_to_gtt(&softc->agpm_data.agpm_gtt, seg)) in agpmaster_ioctl()
530 CONFIRM(IS_IGD(softc)); in agpmaster_ioctl()
536 i8xx_remove_from_gtt(&softc->agpm_data.agpm_gtt, seg); in agpmaster_ioctl()
544 CONFIRM(IS_IGD(softc)); in agpmaster_ioctl()
546 if (softc->agpm_dev_type == DEVICE_IS_I810) in agpmaster_ioctl()
547 AGPM_WRITE(softc, PGTBL_CTL, 0); in agpmaster_ioctl()