Home
last modified time | relevance | path

Searched refs:fres (Results 1 – 13 of 13) sorted by relevance

/linux/drivers/nubus/
H A Dnubus.c237 int nubus_get_func_dir(const struct nubus_rsrc *fres, struct nubus_dir *dir) in nubus_get_func_dir() argument
239 dir->ptr = dir->base = fres->directory; in nubus_get_func_dir()
241 dir->mask = fres->board->lanes; in nubus_get_func_dir()
397 static int __init nubus_get_display_resource(struct nubus_rsrc *fres, in nubus_get_display_resource() argument
404 nubus_get_block_rsrc_dir(fres->board, procdir, ent); in nubus_get_display_resource()
409 nubus_get_display_vidmode(fres->board, procdir, ent); in nubus_get_display_resource()
419 static int __init nubus_get_network_resource(struct nubus_rsrc *fres, in nubus_get_network_resource() argument
441 static int __init nubus_get_cpu_resource(struct nubus_rsrc *fres, in nubus_get_cpu_resource() argument
474 static int __init nubus_get_private_resource(struct nubus_rsrc *fres, in nubus_get_private_resource() argument
478 switch (fres->category) { in nubus_get_private_resource()
[all …]
H A Dproc.c39 struct nubus_rsrc *fres; in nubus_devices_proc_show() local
41 for_each_func_rsrc(fres) in nubus_devices_proc_show()
43 fres->board->slot, fres->category, fres->type, in nubus_devices_proc_show()
44 fres->dr_sw, fres->dr_hw, fres->board->slot_addr); in nubus_devices_proc_show()
H A Dbus.c72 struct nubus_rsrc *fres, *tmp; in nubus_device_release() local
74 list_for_each_entry_safe(fres, tmp, &nubus_func_rsrcs, list) in nubus_device_release()
75 if (fres->board == board) { in nubus_device_release()
76 list_del(&fres->list); in nubus_device_release()
77 kfree(fres); in nubus_device_release()
/linux/drivers/net/ethernet/natsemi/
H A Dmacsonic.c376 static int macsonic_ident(struct nubus_rsrc *fres) in macsonic_ident() argument
378 if (fres->dr_hw == NUBUS_DRHW_ASANTE_LC && in macsonic_ident()
379 fres->dr_sw == NUBUS_DRSW_SONIC_LC) in macsonic_ident()
381 if (fres->dr_hw == NUBUS_DRHW_SONIC && in macsonic_ident()
382 fres->dr_sw == NUBUS_DRSW_APPLE) { in macsonic_ident()
384 if (strstr(fres->board->name, "DuoDock")) in macsonic_ident()
390 if (fres->dr_hw == NUBUS_DRHW_SMC9194 && in macsonic_ident()
391 fres->dr_sw == NUBUS_DRSW_DAYNA) in macsonic_ident()
394 if (fres->dr_hw == NUBUS_DRHW_APPLE_SONIC_LC && in macsonic_ident()
395 fres->dr_sw == 0) { /* huh? */ in macsonic_ident()
[all …]
/linux/drivers/net/ethernet/8390/
H A Dmac8390.c164 static enum mac8390_type mac8390_ident(struct nubus_rsrc *fres) in mac8390_ident() argument
166 switch (fres->dr_sw) { in mac8390_ident()
168 switch (fres->dr_hw) { in mac8390_ident()
178 switch (fres->dr_hw) { in mac8390_ident()
193 if (fres->dr_hw == NUBUS_DRHW_CABLETRON) in mac8390_ident()
202 switch (fres->dr_hw) { in mac8390_ident()
214 if (fres->dr_hw == NUBUS_DRHW_SMC9194 || in mac8390_ident()
215 fres->dr_hw == NUBUS_DRHW_INTERLAN) in mac8390_ident()
285 struct nubus_rsrc *fres, in mac8390_rsrc_init() argument
288 struct nubus_board *board = fres->board; in mac8390_rsrc_init()
[all …]
/linux/arch/powerpc/math-emu/
H A Dfres.c7 fres(void *frD, void *frB) in fres() function
H A DMakefile9 fnmadds.o fnmsub.o fnmsubs.o fres.o \
H A Dmath.c75 FLOATFUNC(fres);
272 case FRES: func = fres; type = XB; break; in do_mathemu()
/linux/arch/powerpc/kvm/
H A Dfpu.S88 FPS_ONE_IN(fres)
247 FPD_ONE_IN(fres)
/linux/drivers/net/ethernet/cirrus/
H A Dmac89x0.c173 struct nubus_rsrc *fres; in mac89x0_device_probe() local
182 for_each_func_rsrc(fres) in mac89x0_device_probe()
183 if (fres->board->slot == slot) in mac89x0_device_probe()
/linux/include/linux/
H A Dnubus.h142 int nubus_get_func_dir(const struct nubus_rsrc *fres, struct nubus_dir *dir);
/linux/arch/powerpc/include/asm/
H A Dkvm_fpu.h46 FPD_ONE_IN(fres)
/linux/drivers/spi/
H A Dspi-imx.c194 unsigned int fspi, unsigned int max, unsigned int *fres) in spi_imx_clkdiv_1() argument
202 *fres = fin / mxc_clkdivs[i]; in spi_imx_clkdiv_1()
208 unsigned int fspi, unsigned int *fres) in spi_imx_clkdiv_2() argument
219 *fres = fin / div; in spi_imx_clkdiv_2()
450 unsigned int fspi, unsigned int *fres) in mx51_ecspi_clkdiv() argument
480 *fres = (fin / (pre + 1)) >> post; in mx51_ecspi_clkdiv()