Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/nubus/
Dnubus.c230 int nubus_get_func_dir(const struct nubus_rsrc *fres, struct nubus_dir *dir) in nubus_get_func_dir() argument
232 dir->ptr = dir->base = fres->directory; in nubus_get_func_dir()
234 dir->mask = fres->board->lanes; in nubus_get_func_dir()
390 static int __init nubus_get_display_resource(struct nubus_rsrc *fres, in nubus_get_display_resource() argument
397 nubus_get_block_rsrc_dir(fres->board, procdir, ent); in nubus_get_display_resource()
402 nubus_get_display_vidmode(fres->board, procdir, ent); in nubus_get_display_resource()
412 static int __init nubus_get_network_resource(struct nubus_rsrc *fres, in nubus_get_network_resource() argument
434 static int __init nubus_get_cpu_resource(struct nubus_rsrc *fres, in nubus_get_cpu_resource() argument
467 static int __init nubus_get_private_resource(struct nubus_rsrc *fres, in nubus_get_private_resource() argument
471 switch (fres->category) { in nubus_get_private_resource()
[all …]
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()
Dbus.c81 struct nubus_rsrc *fres, *tmp; in nubus_device_release() local
83 list_for_each_entry_safe(fres, tmp, &nubus_func_rsrcs, list) in nubus_device_release()
84 if (fres->board == board) { in nubus_device_release()
85 list_del(&fres->list); in nubus_device_release()
86 kfree(fres); in nubus_device_release()
/Linux-v5.10/drivers/net/ethernet/natsemi/
Dmacsonic.c369 static int macsonic_ident(struct nubus_rsrc *fres) in macsonic_ident() argument
371 if (fres->dr_hw == NUBUS_DRHW_ASANTE_LC && in macsonic_ident()
372 fres->dr_sw == NUBUS_DRSW_SONIC_LC) in macsonic_ident()
374 if (fres->dr_hw == NUBUS_DRHW_SONIC && in macsonic_ident()
375 fres->dr_sw == NUBUS_DRSW_APPLE) { in macsonic_ident()
377 if (strstr(fres->board->name, "DuoDock")) in macsonic_ident()
383 if (fres->dr_hw == NUBUS_DRHW_SMC9194 && in macsonic_ident()
384 fres->dr_sw == NUBUS_DRSW_DAYNA) in macsonic_ident()
387 if (fres->dr_hw == NUBUS_DRHW_APPLE_SONIC_LC && in macsonic_ident()
388 fres->dr_sw == 0) { /* huh? */ in macsonic_ident()
[all …]
/Linux-v5.10/drivers/net/ethernet/8390/
Dmac8390.c166 static enum mac8390_type mac8390_ident(struct nubus_rsrc *fres) in mac8390_ident() argument
168 switch (fres->dr_sw) { in mac8390_ident()
170 switch (fres->dr_hw) { in mac8390_ident()
181 switch (fres->dr_hw) { in mac8390_ident()
198 if (fres->dr_hw == NUBUS_DRHW_CABLETRON) in mac8390_ident()
209 switch (fres->dr_hw) { in mac8390_ident()
222 if (fres->dr_hw == NUBUS_DRHW_SMC9194 || in mac8390_ident()
223 fres->dr_hw == NUBUS_DRHW_INTERLAN) in mac8390_ident()
294 struct nubus_rsrc *fres, in mac8390_rsrc_init() argument
297 struct nubus_board *board = fres->board; in mac8390_rsrc_init()
[all …]
/Linux-v5.10/arch/powerpc/math-emu/
Dfres.c7 fres(void *frD, void *frB) in fres() function
DMakefile9 fnmadds.o fnmsub.o fnmsubs.o fres.o \
Dmath.c75 FLOATFUNC(fres);
272 case FRES: func = fres; type = XB; break; in do_mathemu()
/Linux-v5.10/arch/powerpc/kvm/
Dfpu.S86 FPS_ONE_IN(fres)
240 FPD_ONE_IN(fres)
/Linux-v5.10/drivers/net/ethernet/cirrus/
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-v5.10/include/linux/
Dnubus.h143 int nubus_get_func_dir(const struct nubus_rsrc *fres, struct nubus_dir *dir);
/Linux-v5.10/arch/powerpc/include/asm/
Dkvm_fpu.h46 FPD_ONE_IN(fres)
/Linux-v5.10/drivers/spi/
Dspi-imx.c185 unsigned int fspi, unsigned int max, unsigned int *fres) in spi_imx_clkdiv_1() argument
193 *fres = fin / mxc_clkdivs[i]; in spi_imx_clkdiv_1()
199 unsigned int fspi, unsigned int *fres) in spi_imx_clkdiv_2() argument
210 *fres = fin / div; in spi_imx_clkdiv_2()
429 unsigned int fspi, unsigned int *fres) in mx51_ecspi_clkdiv() argument
460 *fres = (fin / (pre + 1)) >> post; in mx51_ecspi_clkdiv()