Lines Matching refs:mode

56     intptr_t arg, int mode);
58 intptr_t arg, int mode);
60 intptr_t arg, int mode);
62 intptr_t arg, int mode);
68 int mode);
70 int mode);
73 intptr_t arg, int mode);
75 intptr_t arg, int mode);
77 int mode);
79 int mode);
136 intptr_t arg, int mode);
153 hermon_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *credp,
178 status = hermon_ioctl_flash_read(state, dev, arg, mode);
182 status = hermon_ioctl_flash_write(state, dev, arg, mode);
186 status = hermon_ioctl_flash_erase(state, dev, arg, mode);
190 status = hermon_ioctl_flash_init(state, dev, arg, mode);
198 status = hermon_ioctl_info(state, dev, arg, mode);
202 status = hermon_ioctl_ports(state, arg, mode);
206 status = hermon_ioctl_loopback(state, arg, mode);
211 status = hermon_ioctl_reg_write(state, arg, mode);
215 status = hermon_ioctl_reg_read(state, arg, mode);
225 status = hermon_ioctl_write_boot_addr(state, dev, arg, mode);
242 int mode)
260 if (ddi_model_convert_from(mode & FMODELS) == DDI_MODEL_ILP32) {
264 sizeof (hermon_flash_ioctl32_t), mode) != 0) {
275 mode) != 0) {
303 mode) != 0) {
332 if (ddi_model_convert_from(mode & FMODELS) == DDI_MODEL_ILP32) {
342 sizeof (hermon_flash_ioctl32_t), mode) != 0) {
349 sizeof (hermon_flash_ioctl_t), mode) != 0) {
363 int mode)
381 if (ddi_model_convert_from(mode & FMODELS) == DDI_MODEL_ILP32) {
385 sizeof (hermon_flash_ioctl32_t), mode) != 0) {
397 sizeof (hermon_flash_ioctl_t), mode) != 0) {
417 mode) != 0) {
465 int mode)
483 if (ddi_model_convert_from(mode & FMODELS) == DDI_MODEL_ILP32) {
487 sizeof (hermon_flash_ioctl32_t), mode) != 0) {
496 mode) != 0) {
537 int mode)
561 sizeof (hermon_flash_init_ioctl_t), mode) != 0) {
630 sizeof (hermon_flash_init_ioctl_t), mode) != 0) {
761 hermon_ioctl_info(hermon_state_t *state, dev_t dev, intptr_t arg, int mode)
767 * Access to Hemron VTS ioctls is not allowed in "maintenance mode".
775 mode) != 0) {
796 (FKIOCTL | mode)) != 0) {
812 mode) != 0) {
823 hermon_ioctl_ports(hermon_state_t *state, intptr_t arg, int mode)
834 * Access to Hemron VTS ioctls is not allowed in "maintenance mode".
842 if (ddi_model_convert_from(mode & FMODELS) == DDI_MODEL_ILP32) {
846 sizeof (hermon_ports_ioctl32_t), mode) != 0) {
857 mode) != 0) {
906 sizeof (hermon_stat_port_ioctl_t), mode) != 0) {
919 if (ddi_model_convert_from(mode & FMODELS) == DDI_MODEL_ILP32) {
927 sizeof (hermon_ports_ioctl32_t), mode) != 0) {
933 mode) != 0) {
944 hermon_ioctl_loopback(hermon_state_t *state, intptr_t arg, int mode)
957 * Access to Hemron VTS ioctls is not allowed in "maintenance mode".
965 if (ddi_model_convert_from(mode & FMODELS) == DDI_MODEL_ILP32) {
969 sizeof (hermon_loopback_ioctl32_t), mode) != 0) {
985 mode) != 0) {
997 (void) hermon_loopback_copyout(&lb, arg, mode);
1004 (void) hermon_loopback_copyout(&lb, arg, mode);
1030 (void) hermon_loopback_copyout(&lb, arg, mode);
1069 (void) hermon_loopback_copyout(&lb, arg, mode);
1077 (void) hermon_loopback_copyout(&lb, arg, mode);
1087 (void) hermon_loopback_copyout(&lb, arg, mode);
1097 (void) hermon_loopback_copyout(&lb, arg, mode);
1104 lb.alb_buf_sz, mode) != 0) {
1106 (void) hermon_loopback_copyout(&lb, arg, mode);
1115 (void) hermon_loopback_copyout(&lb, arg, mode);
1124 (void) hermon_loopback_copyout(&lb, arg, mode);
1134 (void) hermon_loopback_copyout(&lb, arg, mode);
1144 (void) hermon_loopback_copyout(&lb, arg, mode);
1159 (void) hermon_loopback_copyout(&lb, arg, mode);
1175 mode) != 0) {
1178 (void) hermon_loopback_copyout(&lb, arg, mode);
1194 mode) != 0) {
1197 (void) hermon_loopback_copyout(&lb, arg, mode);
1210 ret = hermon_loopback_copyout(&lb, arg, mode);
1223 hermon_ioctl_reg_read(hermon_state_t *state, intptr_t arg, int mode)
1235 * Access to Hemron registers is not allowed in "maintenance mode".
1244 mode);
1282 mode);
1298 hermon_ioctl_reg_write(hermon_state_t *state, intptr_t arg, int mode)
1310 * Access to Hermon registers is not allowed in "maintenance mode".
1319 mode);
1363 int mode)
1383 if (ddi_model_convert_from(mode & FMODELS) == DDI_MODEL_ILP32) {
1387 sizeof (hermon_flash_ioctl32_t), mode) != 0) {
1399 sizeof (hermon_flash_ioctl_t), mode) != 0) {
1451 * be operating in normal mode (capable of read/write, etc.).
2542 * Mode: x16 working in x8 mode (Intel).
2547 "x16 working in x8 mode (Intel)\n");
2578 /* Reset to turn off CFI mode */
3034 hermon_loopback_copyout(hermon_loopback_ioctl_t *lb, intptr_t arg, int mode)
3037 if (ddi_model_convert_from(mode & FMODELS) == DDI_MODEL_ILP32) {
3054 sizeof (hermon_loopback_ioctl32_t), mode) != 0) {
3060 mode) != 0) {