Lines Matching refs:mprog2
2745 lom2_mprog_t mprog2; in bscv_ioc_mprog2() local
2751 if (ddi_copyin((caddr_t)arg, (caddr_t)&mprog2, sizeof (mprog2), in bscv_ioc_mprog2()
2760 if ((mprog2.addr_space < 240) || (mprog2.addr_space > 255)) { in bscv_ioc_mprog2()
2768 base_addr = (mprog2.addr_space - 240) * data_size; in bscv_ioc_mprog2()
2797 if (bscv_eerw(ssp, base_addr, &mprog2.data[0], in bscv_ioc_mprog2()
2819 lom2_mprog_t mprog2; in bscv_ioc_mread2() local
2825 if (ddi_copyin((caddr_t)arg, (caddr_t)&mprog2, sizeof (mprog2), in bscv_ioc_mread2()
2836 if ((mprog2.addr_space < 240) || (mprog2.addr_space > 255)) { in bscv_ioc_mread2()
2844 base_addr = (mprog2.addr_space - 240) * data_size; in bscv_ioc_mread2()
2858 if (bscv_eerw(ssp, base_addr, &mprog2.data[0], in bscv_ioc_mread2()
2869 (ddi_copyout((caddr_t)&mprog2, (caddr_t)arg, sizeof (mprog2), in bscv_ioc_mread2()