fres 46 arch/powerpc/include/asm/kvm_fpu.h FPD_ONE_IN(fres) fres 75 arch/powerpc/math-emu/math.c FLOATFUNC(fres); fres 272 arch/powerpc/math-emu/math.c case FRES: func = fres; type = XB; break; fres 166 drivers/net/ethernet/8390/mac8390.c static enum mac8390_type mac8390_ident(struct nubus_rsrc *fres) fres 168 drivers/net/ethernet/8390/mac8390.c switch (fres->dr_sw) { fres 170 drivers/net/ethernet/8390/mac8390.c switch (fres->dr_hw) { fres 181 drivers/net/ethernet/8390/mac8390.c switch (fres->dr_hw) { fres 198 drivers/net/ethernet/8390/mac8390.c if (fres->dr_hw == NUBUS_DRHW_CABLETRON) fres 209 drivers/net/ethernet/8390/mac8390.c switch (fres->dr_hw) { fres 222 drivers/net/ethernet/8390/mac8390.c if (fres->dr_hw == NUBUS_DRHW_SMC9194 || fres 223 drivers/net/ethernet/8390/mac8390.c fres->dr_hw == NUBUS_DRHW_INTERLAN) fres 294 drivers/net/ethernet/8390/mac8390.c struct nubus_rsrc *fres, fres 297 drivers/net/ethernet/8390/mac8390.c struct nubus_board *board = fres->board; fres 312 drivers/net/ethernet/8390/mac8390.c if (nubus_get_func_dir(fres, &dir) == -1) { fres 398 drivers/net/ethernet/8390/mac8390.c struct nubus_rsrc *fres; fres 407 drivers/net/ethernet/8390/mac8390.c for_each_board_func_rsrc(board, fres) { fres 408 drivers/net/ethernet/8390/mac8390.c if (fres->category != NUBUS_CAT_NETWORK || fres 409 drivers/net/ethernet/8390/mac8390.c fres->type != NUBUS_TYPE_ETHERNET) fres 412 drivers/net/ethernet/8390/mac8390.c cardtype = mac8390_ident(fres); fres 416 drivers/net/ethernet/8390/mac8390.c if (mac8390_rsrc_init(dev, fres, cardtype)) fres 419 drivers/net/ethernet/8390/mac8390.c if (!fres) fres 173 drivers/net/ethernet/cirrus/mac89x0.c struct nubus_rsrc *fres; fres 182 drivers/net/ethernet/cirrus/mac89x0.c for_each_func_rsrc(fres) fres 183 drivers/net/ethernet/cirrus/mac89x0.c if (fres->board->slot == slot) fres 403 drivers/net/ethernet/natsemi/macsonic.c static int macsonic_ident(struct nubus_rsrc *fres) fres 405 drivers/net/ethernet/natsemi/macsonic.c if (fres->dr_hw == NUBUS_DRHW_ASANTE_LC && fres 406 drivers/net/ethernet/natsemi/macsonic.c fres->dr_sw == NUBUS_DRSW_SONIC_LC) fres 408 drivers/net/ethernet/natsemi/macsonic.c if (fres->dr_hw == NUBUS_DRHW_SONIC && fres 409 drivers/net/ethernet/natsemi/macsonic.c fres->dr_sw == NUBUS_DRSW_APPLE) { fres 411 drivers/net/ethernet/natsemi/macsonic.c if (strstr(fres->board->name, "DuoDock")) fres 417 drivers/net/ethernet/natsemi/macsonic.c if (fres->dr_hw == NUBUS_DRHW_SMC9194 && fres 418 drivers/net/ethernet/natsemi/macsonic.c fres->dr_sw == NUBUS_DRSW_DAYNA) fres 421 drivers/net/ethernet/natsemi/macsonic.c if (fres->dr_hw == NUBUS_DRHW_APPLE_SONIC_LC && fres 422 drivers/net/ethernet/natsemi/macsonic.c fres->dr_sw == 0) { /* huh? */ fres 583 drivers/net/ethernet/natsemi/macsonic.c struct nubus_rsrc *fres; fres 593 drivers/net/ethernet/natsemi/macsonic.c for_each_board_func_rsrc(board, fres) { fres 594 drivers/net/ethernet/natsemi/macsonic.c if (fres->category != NUBUS_CAT_NETWORK || fres 595 drivers/net/ethernet/natsemi/macsonic.c fres->type != NUBUS_TYPE_ETHERNET) fres 598 drivers/net/ethernet/natsemi/macsonic.c id = macsonic_ident(fres); fres 602 drivers/net/ethernet/natsemi/macsonic.c if (!fres) fres 81 drivers/nubus/bus.c struct nubus_rsrc *fres, *tmp; fres 83 drivers/nubus/bus.c list_for_each_entry_safe(fres, tmp, &nubus_func_rsrcs, list) fres 84 drivers/nubus/bus.c if (fres->board == board) { fres 85 drivers/nubus/bus.c list_del(&fres->list); fres 86 drivers/nubus/bus.c kfree(fres); fres 230 drivers/nubus/nubus.c int nubus_get_func_dir(const struct nubus_rsrc *fres, struct nubus_dir *dir) fres 232 drivers/nubus/nubus.c dir->ptr = dir->base = fres->directory; fres 234 drivers/nubus/nubus.c dir->mask = fres->board->lanes; fres 390 drivers/nubus/nubus.c static int __init nubus_get_display_resource(struct nubus_rsrc *fres, fres 397 drivers/nubus/nubus.c nubus_get_block_rsrc_dir(fres->board, procdir, ent); fres 402 drivers/nubus/nubus.c nubus_get_display_vidmode(fres->board, procdir, ent); fres 412 drivers/nubus/nubus.c static int __init nubus_get_network_resource(struct nubus_rsrc *fres, fres 434 drivers/nubus/nubus.c static int __init nubus_get_cpu_resource(struct nubus_rsrc *fres, fres 467 drivers/nubus/nubus.c static int __init nubus_get_private_resource(struct nubus_rsrc *fres, fres 471 drivers/nubus/nubus.c switch (fres->category) { fres 473 drivers/nubus/nubus.c nubus_get_display_resource(fres, procdir, ent); fres 476 drivers/nubus/nubus.c nubus_get_network_resource(fres, procdir, ent); fres 479 drivers/nubus/nubus.c nubus_get_cpu_resource(fres, procdir, ent); fres 495 drivers/nubus/nubus.c struct nubus_rsrc *fres; fres 502 drivers/nubus/nubus.c fres = kzalloc(sizeof(*fres), GFP_ATOMIC); fres 503 drivers/nubus/nubus.c if (!fres) fres 505 drivers/nubus/nubus.c fres->resid = parent->type; fres 506 drivers/nubus/nubus.c fres->directory = dir.base; fres 507 drivers/nubus/nubus.c fres->board = board; fres 516 drivers/nubus/nubus.c fres->category = nbtdata[0]; fres 517 drivers/nubus/nubus.c fres->type = nbtdata[1]; fres 518 drivers/nubus/nubus.c fres->dr_sw = nbtdata[2]; fres 519 drivers/nubus/nubus.c fres->dr_hw = nbtdata[3]; fres 577 drivers/nubus/nubus.c nubus_get_private_resource(fres, dir.procdir, &ent); fres 581 drivers/nubus/nubus.c return fres; fres 807 drivers/nubus/nubus.c struct nubus_rsrc *fres; fres 809 drivers/nubus/nubus.c fres = nubus_get_functional_resource(board, slot, &ent); fres 810 drivers/nubus/nubus.c if (fres == NULL) fres 816 drivers/nubus/nubus.c if (fres->resid <= prev_resid) { fres 817 drivers/nubus/nubus.c kfree(fres); fres 820 drivers/nubus/nubus.c prev_resid = fres->resid; fres 822 drivers/nubus/nubus.c list_add_tail(&fres->list, &nubus_func_rsrcs); fres 39 drivers/nubus/proc.c struct nubus_rsrc *fres; fres 41 drivers/nubus/proc.c for_each_func_rsrc(fres) fres 43 drivers/nubus/proc.c fres->board->slot, fres->category, fres->type, fres 44 drivers/nubus/proc.c fres->dr_sw, fres->dr_hw, fres->board->slot_addr); fres 182 drivers/spi/spi-imx.c unsigned int fspi, unsigned int max, unsigned int *fres) fres 190 drivers/spi/spi-imx.c *fres = fin / mxc_clkdivs[i]; fres 196 drivers/spi/spi-imx.c unsigned int fspi, unsigned int *fres) fres 207 drivers/spi/spi-imx.c *fres = fin / div; fres 426 drivers/spi/spi-imx.c unsigned int fspi, unsigned int *fres) fres 457 drivers/spi/spi-imx.c *fres = (fin / (pre + 1)) >> post; fres 143 include/linux/nubus.h int nubus_get_func_dir(const struct nubus_rsrc *fres, struct nubus_dir *dir);