Searched refs:regshft (Results 1 - 12 of 12) sorted by relevance

/freebsd-current/sys/dev/scc/
H A Dscc_bfe.h45 u_int regshft; member in struct:scc_bas
48 #define scc_regofs(bas, reg) ((reg) << (bas)->regshft)
142 int scc_bfe_probe(device_t dev, u_int regshft, u_int rclk, u_int rid);
H A Dscc_core.c124 size = abs(cl->cl_range) << sc->sc_bas.regshft;
350 scc_bfe_probe(device_t dev, u_int regshft, u_int rclk, u_int rid) argument
371 size = abs(cl->cl_range) << regshft;
401 sc->sc_bas.regshft = regshft;
486 *result = sc->sc_bas.regshft;
/freebsd-current/sys/dev/uart/
H A Duart_cpu_powerpc.c169 di->bas.regshft = 4;
174 di->bas.regshft = 0;
194 OF_getprop(input, "reg-shift", &di->bas.regshft,
195 sizeof(di->bas.regshft));
H A Duart_cpu_acpi.c121 di->bas.regshft = 0;
124 di->bas.regshft = 1;
127 di->bas.regshft = 2;
130 di->bas.regshft = 3;
201 di->bas.regshft = cd->cd_regshft;
276 di->bas.regshft = cd->cd_regshft;
H A Duart.h45 u_int regshft; member in struct:uart_bas
50 #define uart_regofs(bas, reg) ((reg) << (bas)->regshft)
H A Duart_cpu_fdt.c96 di->bas.regshft = shift;
H A Duart_cpu_x86.c109 di->bas.regshft = 0;
H A Duart_cpu_arm64.c97 di->bas.regshft = shift;
H A Duart_subr.c232 di->bas.regshft = 0;
271 di->bas.regshft = uart_parse_long(&spec);
H A Duart_bus_pci.c74 int regshft; member in struct:pci_id
268 .regshft = 0,
294 result = uart_bus_probe(dev, id->regshft, 0, id->rclk,
H A Duart_bus.h148 int uart_bus_probe(device_t dev, int regshft, int regiowidth, int rclk, int rid, int chan, int quirks);
H A Duart_core.c495 uart_bus_probe(device_t dev, int regshft, int regiowidth, int rclk, int rid, int chan, int quirks) argument
552 sc->sc_bas.regshft = regshft;

Completed in 196 milliseconds