Lines Matching defs:rval
18923 int rval = 0;
18939 return (rval);
19004 rval = bxe_get_preset_regs(sc, (uint32_t *)buf, preset_idx);
19006 if (rval)
19103 return(rval);
19163 int rval = 0;
19169 rval = bxe_nvram_write(sc, offset, (uint8_t *)data, len);
19172 return (rval);
19178 int rval = 0;
19184 rval = bxe_nvram_read(sc, offset, (uint8_t *)data, len);
19186 return (rval);
19192 int rval = 0;
19198 rval = copyin(eeprom->eeprom_data, sc->eeprom,
19201 if (rval)
19204 rval = bxe_wr_eeprom(sc, sc->eeprom, eeprom->eeprom_offset,
19210 rval = bxe_rd_eeprom(sc, sc->eeprom, eeprom->eeprom_offset,
19213 if (rval) {
19217 rval = copyout(sc->eeprom, eeprom->eeprom_data,
19222 rval = EINVAL;
19226 if (rval) {
19227 BLOGW(sc, "ioctl cmd %d failed rval %d\n", eeprom->eeprom_cmd, rval);
19230 return (rval);
19290 int rval = 0;
19325 rval = EINVAL;
19331 rval = bxe_grc_dump(sc);
19334 if((!rval) && (sc->grcdump_done) && (sc->grcdump_started) &&
19337 rval = copyout(sc->grc_dump, dump->grcdump, grc_dump_size);
19386 rval = copyout(sc->grc_dump, reg_p->reg_buf, grc_dump_size);
19429 rval = bxe_eeprom_rd_wr(sc, (bxe_eeprom_t *)data);
19437 return (rval);