Lines Matching refs:mode

926 	 * mode handling simpler.
1921 bscv_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *cred, int *rvalp)
1977 * (FWRITE set in mode) for those ioctls which change lom
1980 if (!(mode & FWRITE)) {
1997 res = bscv_ioc_dogstate(ssp, arg, mode);
2001 res = bscv_prog(ssp, arg, mode);
2005 res = bscv_ioc_psustate(ssp, arg, mode);
2009 res = bscv_ioc_fanstate(ssp, arg, mode);
2013 res = bscv_ioc_fledstate(ssp, arg, mode);
2017 res = bscv_ioc_ledstate(ssp, arg, mode);
2021 res = bscv_ioc_info(ssp, arg, mode);
2025 res = bscv_ioc_mread(ssp, arg, mode);
2029 res = bscv_ioc_volts(ssp, arg, mode);
2033 res = bscv_ioc_stats(ssp, arg, mode);
2037 res = bscv_ioc_temp(ssp, arg, mode);
2041 res = bscv_ioc_cons(ssp, arg, mode);
2045 res = bscv_ioc_eventlog2(ssp, arg, mode);
2049 res = bscv_ioc_info2(ssp, arg, mode);
2053 res = bscv_ioc_test(ssp, arg, mode);
2057 res = bscv_ioc_mprog2(ssp, arg, mode);
2061 res = bscv_ioc_mread2(ssp, arg, mode);
2077 bscv_ioc_dogstate(bscv_soft_state_t *ssp, intptr_t arg, int mode)
2091 (caddr_t)arg, sizeof (dogstate), mode) < 0)) {
2104 bscv_ioc_psustate(bscv_soft_state_t *ssp, intptr_t arg, int mode)
2122 mode) < 0) {
2136 bscv_ioc_fanstate(bscv_soft_state_t *ssp, intptr_t arg, int mode)
2157 mode) < 0)) {
2167 bscv_ioc_fledstate(bscv_soft_state_t *ssp, intptr_t arg, int mode)
2184 sizeof (fled_info), mode) < 0)) {
2194 bscv_ioc_ledstate(bscv_soft_state_t *ssp, intptr_t arg, int mode)
2202 sizeof (lom_led_state_t), mode) < 0) {
2257 sizeof (lom_led_state_t), mode) < 0)) {
2267 * serial escape character, alarm3 mode, version and checksum read from
2271 bscv_ioc_info(bscv_soft_state_t *ssp, intptr_t arg, int mode)
2301 mode) < 0)) {
2311 bscv_ioc_mread(bscv_soft_state_t *ssp, intptr_t arg, int mode)
2338 mode) < 0)) {
2348 bscv_ioc_volts(bscv_soft_state_t *ssp, intptr_t arg, int mode)
2364 sizeof (ssp->volts), mode) < 0)) {
2374 bscv_ioc_stats(bscv_soft_state_t *ssp, intptr_t arg, int mode)
2388 sizeof (ssp->sflags), mode) < 0)) {
2398 bscv_ioc_temp(bscv_soft_state_t *ssp, intptr_t arg, int mode)
2430 mode) < 0)) {
2440 bscv_ioc_cons(bscv_soft_state_t *ssp, intptr_t arg, int mode)
2460 mode) < 0)) {
2470 bscv_ioc_eventlog2(bscv_soft_state_t *ssp, intptr_t arg, int mode)
2487 sizeof (lom_eventlog2_t), mode) < 0) {
2586 sizeof (lom_eventlog2_t), mode) < 0)) {
2598 bscv_ioc_info2(bscv_soft_state_t *ssp, intptr_t arg, int mode)
2660 mode) < 0)) {
2670 bscv_ioc_test(bscv_soft_state_t *ssp, intptr_t arg, int mode)
2678 mode) < 0) {
2733 mode) < 0)) {
2743 bscv_ioc_mprog2(bscv_soft_state_t *ssp, intptr_t arg, int mode)
2752 mode) < 0) {
2817 bscv_ioc_mread2(bscv_soft_state_t *ssp, intptr_t arg, int mode)
2826 mode) < 0) {
2870 mode) < 0)) {
4279 * inputs - soft state pointer, arg ptr, ioctl mode
4284 bscv_prog(bscv_soft_state_t *ssp, intptr_t arg, int mode)
4296 mode) < 0) {
4317 sizeof (lom_prog_t), mode) < 0) {
4711 cmn_err(CE_WARN, "lom: Failed to enter program mode, error 0x%x"
4716 BSCV_TRACE(ssp, 'U', "bscv_prog_image", "entered programming mode");
4766 "got error 0x%x - leaving programming mode",
4772 "programming complete - leaving programming mode");
4803 * It is assumed the device is now in programming mode.
4947 /* Ensure prog mode entry to enable PRGMODE_OFF */