Home
last modified time | relevance | path

Searched refs:clk_sel_val (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/stmicro/stmmac/
Ddwmac-visconti.c61 unsigned int val, clk_sel_val = 0; in visconti_eth_fix_mac_speed() local
73 clk_sel_val = ETHER_CLK_SEL_FREQ_SEL_125M; in visconti_eth_fix_mac_speed()
77 clk_sel_val = ETHER_CLK_SEL_FREQ_SEL_25M; in visconti_eth_fix_mac_speed()
79 clk_sel_val = ETHER_CLK_SEL_DIV_SEL_2; in visconti_eth_fix_mac_speed()
84 clk_sel_val = ETHER_CLK_SEL_FREQ_SEL_2P5M; in visconti_eth_fix_mac_speed()
86 clk_sel_val = ETHER_CLK_SEL_DIV_SEL_20; in visconti_eth_fix_mac_speed()
107 val = clk_sel_val | ETHER_CLK_SEL_RX_CLK_EXT_SEL_RXC; in visconti_eth_fix_mac_speed()
117 val = clk_sel_val | ETHER_CLK_SEL_RX_CLK_EXT_SEL_DIV | in visconti_eth_fix_mac_speed()
130 val = clk_sel_val | ETHER_CLK_SEL_RX_CLK_EXT_SEL_RXC | in visconti_eth_fix_mac_speed()
145 unsigned int reg_val, clk_sel_val; in visconti_eth_init_hw() local
[all …]
/linux-6.12.1/drivers/usb/serial/
Dmos7840.c1059 __u16 *clk_sel_val) in mos7840_calc_baud_rate_divisor() argument
1065 *clk_sel_val = 0x0; in mos7840_calc_baud_rate_divisor()
1069 *clk_sel_val = 0x10; in mos7840_calc_baud_rate_divisor()
1072 *clk_sel_val = 0x20; in mos7840_calc_baud_rate_divisor()
1075 *clk_sel_val = 0x30; in mos7840_calc_baud_rate_divisor()
1078 *clk_sel_val = 0x40; in mos7840_calc_baud_rate_divisor()
1081 *clk_sel_val = 0x50; in mos7840_calc_baud_rate_divisor()
1084 *clk_sel_val = 0x60; in mos7840_calc_baud_rate_divisor()
1087 *clk_sel_val = 0x70; in mos7840_calc_baud_rate_divisor()
1105 __u16 clk_sel_val; in mos7840_send_cmd_write_baud_rate() local
[all …]
/linux-6.12.1/drivers/phy/cadence/
Dphy-cadence-torrent.c1224 unsigned int clk_sel_val = 0; in cdns_torrent_dp_pma_cmn_rate() local
1230 clk_sel_val = 0x0f01; in cdns_torrent_dp_pma_cmn_rate()
1236 clk_sel_val = 0x0701; in cdns_torrent_dp_pma_cmn_rate()
1240 clk_sel_val = 0x0b00; in cdns_torrent_dp_pma_cmn_rate()
1245 clk_sel_val = 0x0301; in cdns_torrent_dp_pma_cmn_rate()
1249 clk_sel_val = 0x0200; in cdns_torrent_dp_pma_cmn_rate()
1256 CMN_PDIAG_PLL0_CLK_SEL_M0, clk_sel_val); in cdns_torrent_dp_pma_cmn_rate()
1260 CMN_PDIAG_PLL1_CLK_SEL_M0, clk_sel_val); in cdns_torrent_dp_pma_cmn_rate()