/freebsd-11-stable/sys/dev/fdt/ |
H A D | fdt_clock.c | 57 uint32_t *clks; local 61 ncells = OF_getencprop_alloc(cnode, "clocks", sizeof(*clks), 62 (void **)&clks); 70 clockdev = OF_device_from_xref(clks[i]); 71 clocknum = clks[i + 1]; 92 OF_prop_free(clks); 102 uint32_t *clks; local 105 ncells = OF_getencprop_alloc(cnode, "clocks", sizeof(*clks), 106 (void **)&clks); 113 clockdev = OF_device_from_xref(clks[ [all...] |
/freebsd-11-stable/sys/dev/ath/ath_hal/ar5210/ |
H A D | ar5210_misc.c | 441 u_int clks = OS_REG_READ(ah, AR_IFS0) & 0x7ff; local 442 return ath_hal_mac_usec(ah, clks); /* convert from system clocks */ 466 u_int clks = OS_REG_READ(ah, AR_SLOT_TIME) & 0xffff; local 467 return ath_hal_mac_usec(ah, clks); /* convert from system clocks */ 492 u_int clks = MS(OS_REG_READ(ah, AR_TIME_OUT), AR_TIME_OUT_ACK); local 493 return ath_hal_mac_usec(ah, clks); /* convert from system clocks */ 539 u_int clks = MS(OS_REG_READ(ah, AR_TIME_OUT), AR_TIME_OUT_CTS); local 540 return ath_hal_mac_usec(ah, clks); /* convert from system clocks */
|
/freebsd-11-stable/sys/dev/ath/ath_hal/ar5211/ |
H A D | ar5211_misc.c | 443 u_int clks = OS_REG_READ(ah, AR_D_GBL_IFS_SIFS) & 0xffff; local 444 return ath_hal_mac_usec(ah, clks); /* convert from system clocks */ 468 u_int clks = OS_REG_READ(ah, AR_D_GBL_IFS_SLOT) & 0xffff; local 469 return ath_hal_mac_usec(ah, clks); /* convert from system clocks */ 494 u_int clks = MS(OS_REG_READ(ah, AR_TIME_OUT), AR_TIME_OUT_ACK); local 495 return ath_hal_mac_usec(ah, clks); /* convert from system clocks */ 541 u_int clks = MS(OS_REG_READ(ah, AR_TIME_OUT), AR_TIME_OUT_CTS); local 542 return ath_hal_mac_usec(ah, clks); /* convert from system clocks */
|
/freebsd-11-stable/sys/arm/nvidia/tegra124/ |
H A D | tegra124_car.c | 334 init_divs(struct tegra124_car_softc *sc, struct clk_div_def *clks, int nclks) argument 339 rv = clknode_div_register(sc->clkdom, clks + i); 346 init_gates(struct tegra124_car_softc *sc, struct clk_gate_def *clks, int nclks) argument 352 rv = clknode_gate_register(sc->clkdom, clks + i); 359 init_muxes(struct tegra124_car_softc *sc, struct clk_mux_def *clks, int nclks) argument 365 rv = clknode_mux_register(sc->clkdom, clks + i); 372 init_fixeds(struct tegra124_car_softc *sc, struct clk_fixed_def *clks, argument 393 rv = clknode_fixed_register(sc->clkdom, clks + i);
|
/freebsd-11-stable/sys/dev/ath/ath_hal/ |
H A D | ah.c | 509 u_int clks; local 514 clks = usecs * CLOCK_FAST_RATE_5GHZ_OFDM; 516 clks <<= 1; 518 clks = usecs * CLOCK_RATE[ath_hal_chan2wmode(ah, c)]; 520 clks <<= 1; 522 clks = usecs * CLOCK_RATE[WIRELESS_MODE_11b]; 526 clks = clks / 2; 528 clks = clks / 534 ath_hal_mac_usec(struct ath_hal *ah, u_int clks) argument [all...] |
H A D | ah_internal.h | 733 extern u_int ath_hal_mac_usec(struct ath_hal *ah, u_int clks);
|
/freebsd-11-stable/sys/contrib/dev/ath/ath_hal/ar9300/ |
H A D | ar9300_freebsd.c | 56 u_int clks = OS_REG_READ(ah, AR_D_GBL_IFS_SLOT) & 0xffff; local 57 return (ath_hal_mac_usec(ah, clks)); /* convert from system clocks */ 96 u_int clks = MS(OS_REG_READ(ah, AR_TIME_OUT), AR_TIME_OUT_CTS); local 97 return ath_hal_mac_usec(ah, clks); /* convert from system clocks */
|
H A D | ar9300_misc.c | 65 ar9300_mac_to_usec(struct ath_hal *ah, u_int clks) argument 71 return (ath_hal_mac_usec(ah, clks) / 2); 73 return (ath_hal_mac_usec(ah, clks)); 76 return (ath_hal_mac_usec(ah, clks)); 606 u_int clks = MS(OS_REG_READ(ah, AR_TIME_OUT), AR_TIME_OUT_ACK); local 607 return ar9300_mac_to_usec(ah, clks); /* convert from system clocks */
|
H A D | ar9300.h | 1627 extern u_int ar9300_mac_to_clks(struct ath_hal *ah, u_int clks);
|
/freebsd-11-stable/sys/dev/ath/ath_hal/ar5212/ |
H A D | ar5212_misc.c | 468 u_int clks = OS_REG_READ(ah, AR_D_GBL_IFS_SIFS) & 0xffff; local 469 return ath_hal_mac_usec(ah, clks)+2; /* convert from system clocks */ 493 u_int clks = OS_REG_READ(ah, AR_D_GBL_IFS_SLOT) & 0xffff; local 494 return ath_hal_mac_usec(ah, clks); /* convert from system clocks */ 519 u_int clks = MS(OS_REG_READ(ah, AR_TIME_OUT), AR_TIME_OUT_ACK); local 520 return ath_hal_mac_usec(ah, clks); /* convert from system clocks */ 566 u_int clks = MS(OS_REG_READ(ah, AR_TIME_OUT), AR_TIME_OUT_CTS); local 567 return ath_hal_mac_usec(ah, clks); /* convert from system clocks */
|
/freebsd-11-stable/sys/arm/ti/twl/ |
H A D | twl_clks.c | 485 * @clks the list of clocks supported by the device 499 twl_clks_add_clocks(struct twl_clks_softc *sc, const struct twl_clock *clks) argument 514 walker = &clks[0];
|
/freebsd-11-stable/sys/contrib/octeon-sdk/ |
H A D | cvmx-endor-defs.h | 6472 uint32_t clks : 8; /**< 7-0: Number of rf clock cycles per 64-bit timer member in struct:cvmx_endor_rfif_timer64_cfg::cvmx_endor_rfif_timer64_cfg_s 6477 uint32_t clks : 8;
|