/kernel/linux/linux-5.10/drivers/clk/tegra/ |
H A D | clk-periph-fixed.c | 19 struct tegra_clk_periph_fixed *fixed = to_tegra_clk_periph_fixed(hw); in tegra_clk_periph_fixed_is_enabled() local 20 u32 mask = 1 << (fixed->num % 32), value; in tegra_clk_periph_fixed_is_enabled() 22 value = readl(fixed->base + fixed->regs->enb_reg); in tegra_clk_periph_fixed_is_enabled() 24 value = readl(fixed->base + fixed->regs->rst_reg); in tegra_clk_periph_fixed_is_enabled() 34 struct tegra_clk_periph_fixed *fixed = to_tegra_clk_periph_fixed(hw); in tegra_clk_periph_fixed_enable() local 35 u32 mask = 1 << (fixed->num % 32); in tegra_clk_periph_fixed_enable() 37 writel(mask, fixed->base + fixed in tegra_clk_periph_fixed_enable() 44 struct tegra_clk_periph_fixed *fixed = to_tegra_clk_periph_fixed(hw); tegra_clk_periph_fixed_disable() local 54 struct tegra_clk_periph_fixed *fixed = to_tegra_clk_periph_fixed(hw); tegra_clk_periph_fixed_recalc_rate() local 79 struct tegra_clk_periph_fixed *fixed; tegra_clk_register_periph_fixed() local [all...] |
/kernel/linux/linux-6.6/drivers/clk/tegra/ |
H A D | clk-periph-fixed.c | 19 struct tegra_clk_periph_fixed *fixed = to_tegra_clk_periph_fixed(hw); in tegra_clk_periph_fixed_is_enabled() local 20 u32 mask = 1 << (fixed->num % 32), value; in tegra_clk_periph_fixed_is_enabled() 22 value = readl(fixed->base + fixed->regs->enb_reg); in tegra_clk_periph_fixed_is_enabled() 24 value = readl(fixed->base + fixed->regs->rst_reg); in tegra_clk_periph_fixed_is_enabled() 34 struct tegra_clk_periph_fixed *fixed = to_tegra_clk_periph_fixed(hw); in tegra_clk_periph_fixed_enable() local 35 u32 mask = 1 << (fixed->num % 32); in tegra_clk_periph_fixed_enable() 37 writel(mask, fixed->base + fixed in tegra_clk_periph_fixed_enable() 44 struct tegra_clk_periph_fixed *fixed = to_tegra_clk_periph_fixed(hw); tegra_clk_periph_fixed_disable() local 54 struct tegra_clk_periph_fixed *fixed = to_tegra_clk_periph_fixed(hw); tegra_clk_periph_fixed_recalc_rate() local 79 struct tegra_clk_periph_fixed *fixed; tegra_clk_register_periph_fixed() local [all...] |
/kernel/linux/linux-5.10/drivers/clk/ |
H A D | clk-fixed-rate.c | 18 * DOC: basic fixed-rate clock that cannot gate 23 * rate - rate is always a fixed value. No clk_set_rate support 24 * parent - fixed parent. No clk_set_parent support 38 struct clk_fixed_rate *fixed = to_clk_fixed_rate(hw); in clk_fixed_rate_recalc_accuracy() local 40 if (fixed->flags & CLK_FIXED_RATE_PARENT_ACCURACY) in clk_fixed_rate_recalc_accuracy() 43 return fixed->fixed_accuracy; in clk_fixed_rate_recalc_accuracy() 71 struct clk_fixed_rate *fixed; in __clk_hw_register_fixed_rate() local 76 /* allocate fixed-rate clock */ in __clk_hw_register_fixed_rate() 78 fixed = devres_alloc(devm_clk_hw_register_fixed_rate_release, in __clk_hw_register_fixed_rate() 79 sizeof(*fixed), GFP_KERNE in __clk_hw_register_fixed_rate() 150 struct clk_fixed_rate *fixed; clk_hw_unregister_fixed_rate() local [all...] |
/kernel/linux/linux-6.6/drivers/clk/ |
H A D | clk-fixed-rate.c | 18 * DOC: basic fixed-rate clock that cannot gate 23 * rate - rate is always a fixed value. No clk_set_rate support 24 * parent - fixed parent. No clk_set_parent support 38 struct clk_fixed_rate *fixed = to_clk_fixed_rate(hw); in clk_fixed_rate_recalc_accuracy() local 40 if (fixed->flags & CLK_FIXED_RATE_PARENT_ACCURACY) in clk_fixed_rate_recalc_accuracy() 43 return fixed->fixed_accuracy; in clk_fixed_rate_recalc_accuracy() 71 struct clk_fixed_rate *fixed; in __clk_hw_register_fixed_rate() local 76 /* allocate fixed-rate clock */ in __clk_hw_register_fixed_rate() 78 fixed = devres_alloc(devm_clk_hw_register_fixed_rate_release, in __clk_hw_register_fixed_rate() 79 sizeof(*fixed), GFP_KERNE in __clk_hw_register_fixed_rate() 150 struct clk_fixed_rate *fixed; clk_hw_unregister_fixed_rate() local [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/ti/wlcore/ |
H A D | io.h | 46 bool fixed) in wlcore_raw_write() 55 ret = wl->if_ops->write(wl->dev, addr, buf, len, fixed); in wlcore_raw_write() 64 bool fixed) in wlcore_raw_read() 73 ret = wl->if_ops->read(wl->dev, addr, buf, len, fixed); in wlcore_raw_read() 82 bool fixed) in wlcore_raw_read_data() 84 return wlcore_raw_read(wl, wl->rtable[reg], buf, len, fixed); in wlcore_raw_read_data() 89 bool fixed) in wlcore_raw_write_data() 91 return wlcore_raw_write(wl, wl->rtable[reg], buf, len, fixed); in wlcore_raw_write_data() 119 void *buf, size_t len, bool fixed) in wlcore_read() 125 return wlcore_raw_read(wl, physical, buf, len, fixed); in wlcore_read() 44 wlcore_raw_write(struct wl1271 *wl, int addr, void *buf, size_t len, bool fixed) wlcore_raw_write() argument 62 wlcore_raw_read(struct wl1271 *wl, int addr, void *buf, size_t len, bool fixed) wlcore_raw_read() argument 80 wlcore_raw_read_data(struct wl1271 *wl, int reg, void *buf, size_t len, bool fixed) wlcore_raw_read_data() argument 87 wlcore_raw_write_data(struct wl1271 *wl, int reg, void *buf, size_t len, bool fixed) wlcore_raw_write_data() argument 118 wlcore_read(struct wl1271 *wl, int addr, void *buf, size_t len, bool fixed) wlcore_read() argument 128 wlcore_write(struct wl1271 *wl, int addr, void *buf, size_t len, bool fixed) wlcore_write() argument 138 wlcore_write_data(struct wl1271 *wl, int reg, void *buf, size_t len, bool fixed) wlcore_write_data() argument 145 wlcore_read_data(struct wl1271 *wl, int reg, void *buf, size_t len, bool fixed) wlcore_read_data() argument 152 wlcore_read_hwaddr(struct wl1271 *wl, int hwaddr, void *buf, size_t len, bool fixed) wlcore_read_hwaddr() argument [all...] |
H A D | spi.c | 232 void *buf, size_t len, bool fixed) in wl12xx_spi_raw_read() 254 if (fixed) in wl12xx_spi_raw_read() 289 if (!fixed) in wl12xx_spi_raw_read() 299 void *buf, size_t len, bool fixed) in __wl12xx_spi_raw_write() 329 if (fixed) in __wl12xx_spi_raw_write() 340 if (!fixed) in __wl12xx_spi_raw_write() 354 void *buf, size_t len, bool fixed) in wl12xx_spi_raw_write() 361 __wl12xx_spi_raw_write(child, addr, buf, len, fixed); in wl12xx_spi_raw_write() 363 return __wl12xx_spi_raw_write(child, addr, buf, len, fixed); in wl12xx_spi_raw_write() 231 wl12xx_spi_raw_read(struct device *child, int addr, void *buf, size_t len, bool fixed) wl12xx_spi_raw_read() argument 298 __wl12xx_spi_raw_write(struct device *child, int addr, void *buf, size_t len, bool fixed) __wl12xx_spi_raw_write() argument 353 wl12xx_spi_raw_write(struct device *child, int addr, void *buf, size_t len, bool fixed) wl12xx_spi_raw_write() argument
|
/kernel/linux/linux-6.6/drivers/net/wireless/ti/wlcore/ |
H A D | io.h | 46 bool fixed) in wlcore_raw_write() 55 ret = wl->if_ops->write(wl->dev, addr, buf, len, fixed); in wlcore_raw_write() 64 bool fixed) in wlcore_raw_read() 73 ret = wl->if_ops->read(wl->dev, addr, buf, len, fixed); in wlcore_raw_read() 82 bool fixed) in wlcore_raw_read_data() 84 return wlcore_raw_read(wl, wl->rtable[reg], buf, len, fixed); in wlcore_raw_read_data() 89 bool fixed) in wlcore_raw_write_data() 91 return wlcore_raw_write(wl, wl->rtable[reg], buf, len, fixed); in wlcore_raw_write_data() 119 void *buf, size_t len, bool fixed) in wlcore_read() 125 return wlcore_raw_read(wl, physical, buf, len, fixed); in wlcore_read() 44 wlcore_raw_write(struct wl1271 *wl, int addr, void *buf, size_t len, bool fixed) wlcore_raw_write() argument 62 wlcore_raw_read(struct wl1271 *wl, int addr, void *buf, size_t len, bool fixed) wlcore_raw_read() argument 80 wlcore_raw_read_data(struct wl1271 *wl, int reg, void *buf, size_t len, bool fixed) wlcore_raw_read_data() argument 87 wlcore_raw_write_data(struct wl1271 *wl, int reg, void *buf, size_t len, bool fixed) wlcore_raw_write_data() argument 118 wlcore_read(struct wl1271 *wl, int addr, void *buf, size_t len, bool fixed) wlcore_read() argument 128 wlcore_write(struct wl1271 *wl, int addr, void *buf, size_t len, bool fixed) wlcore_write() argument 138 wlcore_write_data(struct wl1271 *wl, int reg, void *buf, size_t len, bool fixed) wlcore_write_data() argument 145 wlcore_read_data(struct wl1271 *wl, int reg, void *buf, size_t len, bool fixed) wlcore_read_data() argument 152 wlcore_read_hwaddr(struct wl1271 *wl, int hwaddr, void *buf, size_t len, bool fixed) wlcore_read_hwaddr() argument [all...] |
/kernel/linux/linux-5.10/drivers/clk/uniphier/ |
H A D | clk-uniphier-fixed-rate.c | 16 struct clk_fixed_rate *fixed; in uniphier_clk_register_fixed_rate() local 20 /* allocate fixed-rate clock */ in uniphier_clk_register_fixed_rate() 21 fixed = devm_kzalloc(dev, sizeof(*fixed), GFP_KERNEL); in uniphier_clk_register_fixed_rate() 22 if (!fixed) in uniphier_clk_register_fixed_rate() 31 fixed->fixed_rate = data->fixed_rate; in uniphier_clk_register_fixed_rate() 32 fixed->hw.init = &init; in uniphier_clk_register_fixed_rate() 34 ret = devm_clk_hw_register(dev, &fixed->hw); in uniphier_clk_register_fixed_rate() 38 return &fixed->hw; in uniphier_clk_register_fixed_rate()
|
/kernel/linux/linux-6.6/drivers/clk/uniphier/ |
H A D | clk-uniphier-fixed-rate.c | 16 struct clk_fixed_rate *fixed; in uniphier_clk_register_fixed_rate() local 20 /* allocate fixed-rate clock */ in uniphier_clk_register_fixed_rate() 21 fixed = devm_kzalloc(dev, sizeof(*fixed), GFP_KERNEL); in uniphier_clk_register_fixed_rate() 22 if (!fixed) in uniphier_clk_register_fixed_rate() 31 fixed->fixed_rate = data->fixed_rate; in uniphier_clk_register_fixed_rate() 32 fixed->hw.init = &init; in uniphier_clk_register_fixed_rate() 34 ret = devm_clk_hw_register(dev, &fixed->hw); in uniphier_clk_register_fixed_rate() 38 return &fixed->hw; in uniphier_clk_register_fixed_rate()
|
/kernel/linux/linux-5.10/drivers/clk/sunxi/ |
H A D | clk-a10-hosc.c | 20 struct clk_fixed_rate *fixed; in sun4i_osc_clk_setup() local 28 /* allocate fixed-rate and gate clock structs */ in sun4i_osc_clk_setup() 29 fixed = kzalloc(sizeof(struct clk_fixed_rate), GFP_KERNEL); in sun4i_osc_clk_setup() 30 if (!fixed) in sun4i_osc_clk_setup() 38 /* set up gate and fixed rate properties */ in sun4i_osc_clk_setup() 42 fixed->fixed_rate = rate; in sun4i_osc_clk_setup() 47 &fixed->hw, &clk_fixed_rate_ops, in sun4i_osc_clk_setup() 60 kfree(fixed); in sun4i_osc_clk_setup()
|
/kernel/linux/linux-6.6/drivers/clk/sunxi/ |
H A D | clk-a10-hosc.c | 20 struct clk_fixed_rate *fixed; in sun4i_osc_clk_setup() local 28 /* allocate fixed-rate and gate clock structs */ in sun4i_osc_clk_setup() 29 fixed = kzalloc(sizeof(struct clk_fixed_rate), GFP_KERNEL); in sun4i_osc_clk_setup() 30 if (!fixed) in sun4i_osc_clk_setup() 38 /* set up gate and fixed rate properties */ in sun4i_osc_clk_setup() 42 fixed->fixed_rate = rate; in sun4i_osc_clk_setup() 47 &fixed->hw, &clk_fixed_rate_ops, in sun4i_osc_clk_setup() 60 kfree(fixed); in sun4i_osc_clk_setup()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/modules/freesync/ |
H A D | freesync.c | 36 /* Refresh rate ramp at a fixed rate of 65 Hz/second */ 44 /*Threshold to exit fixed refresh rate*/ 46 /* Number of consecutive frames to check before entering/exiting fixed refresh*/ 183 in_out_vrr->fixed.target_refresh_in_uhz); in update_v_total_for_static_ramp() 212 in_out_vrr->fixed.ramping_active = false; in update_v_total_for_static_ramp() 213 in_out_vrr->fixed.ramping_done = true; in update_v_total_for_static_ramp() 216 in_out_vrr->fixed.target_refresh_in_uhz); in update_v_total_for_static_ramp() 225 in_out_vrr->fixed.ramping_active = false; in update_v_total_for_static_ramp() 226 in_out_vrr->fixed.ramping_done = true; in update_v_total_for_static_ramp() 229 in_out_vrr->fixed in update_v_total_for_static_ramp() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/modules/freesync/ |
H A D | freesync.c | 34 /* Refresh rate ramp at a fixed rate of 65 Hz/second */ 42 /* Threshold to exit fixed refresh rate */ 44 /* Number of consecutive frames to check before entering/exiting fixed refresh */ 194 in_out_vrr->fixed.target_refresh_in_uhz); in update_v_total_for_static_ramp() 223 in_out_vrr->fixed.ramping_active = false; in update_v_total_for_static_ramp() 224 in_out_vrr->fixed.ramping_done = true; in update_v_total_for_static_ramp() 227 in_out_vrr->fixed.target_refresh_in_uhz); in update_v_total_for_static_ramp() 236 in_out_vrr->fixed.ramping_active = false; in update_v_total_for_static_ramp() 237 in_out_vrr->fixed.ramping_done = true; in update_v_total_for_static_ramp() 240 in_out_vrr->fixed in update_v_total_for_static_ramp() [all...] |
/kernel/linux/linux-5.10/arch/powerpc/mm/ |
H A D | mmap.c | 96 int fixed = (flags & MAP_FIXED); in radix__arch_get_unmapped_area() local 101 if (addr >= high_limit || (fixed && (addr + len > high_limit))) in radix__arch_get_unmapped_area() 107 if (fixed) { in radix__arch_get_unmapped_area() 140 int fixed = (flags & MAP_FIXED); in radix__arch_get_unmapped_area_topdown() local 145 if (addr >= high_limit || (fixed && (addr + len > high_limit))) in radix__arch_get_unmapped_area_topdown() 151 if (fixed) { in radix__arch_get_unmapped_area_topdown()
|
/kernel/linux/linux-5.10/drivers/clk/renesas/ |
H A D | rcar-gen2-cpg.c | 42 * parent - fixed parent. No clk_set_parent support 169 struct clk_fixed_factor *fixed; in cpg_rcan_clk_register() local 173 fixed = kzalloc(sizeof(*fixed), GFP_KERNEL); in cpg_rcan_clk_register() 174 if (!fixed) in cpg_rcan_clk_register() 177 fixed->mult = 1; in cpg_rcan_clk_register() 178 fixed->div = 6; in cpg_rcan_clk_register() 182 kfree(fixed); in cpg_rcan_clk_register() 192 &fixed->hw, &clk_fixed_factor_ops, in cpg_rcan_clk_register() 196 kfree(fixed); in cpg_rcan_clk_register() [all...] |
/kernel/linux/linux-6.6/drivers/clk/renesas/ |
H A D | rcar-gen2-cpg.c | 42 * parent - fixed parent. No clk_set_parent support 168 struct clk_fixed_factor *fixed; in cpg_rcan_clk_register() local 172 fixed = kzalloc(sizeof(*fixed), GFP_KERNEL); in cpg_rcan_clk_register() 173 if (!fixed) in cpg_rcan_clk_register() 176 fixed->mult = 1; in cpg_rcan_clk_register() 177 fixed->div = 6; in cpg_rcan_clk_register() 181 kfree(fixed); in cpg_rcan_clk_register() 191 &fixed->hw, &clk_fixed_factor_ops, in cpg_rcan_clk_register() 195 kfree(fixed); in cpg_rcan_clk_register() [all...] |
/kernel/linux/linux-6.6/drivers/phy/qualcomm/ |
H A D | phy-qcom-pcie2.c | 206 * Register a fixed rate pipe clock. 226 struct clk_fixed_rate *fixed; in phy_pipe_clksrc_register() local 236 fixed = devm_kzalloc(qphy->dev, sizeof(*fixed), GFP_KERNEL); in phy_pipe_clksrc_register() 237 if (!fixed) in phy_pipe_clksrc_register() 243 fixed->fixed_rate = 250000000; in phy_pipe_clksrc_register() 244 fixed->hw.init = &init; in phy_pipe_clksrc_register() 246 ret = devm_clk_hw_register(qphy->dev, &fixed->hw); in phy_pipe_clksrc_register() 250 return devm_of_clk_add_hw_provider(qphy->dev, of_clk_hw_simple_get, &fixed->hw); in phy_pipe_clksrc_register()
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | cma.h | 33 bool fixed, const char *name, struct cma **res_cma, 38 bool fixed, const char *name, struct cma **res_cma) in cma_declare_contiguous() 41 order_per_bit, fixed, name, res_cma, NUMA_NO_NODE); in cma_declare_contiguous() 35 cma_declare_contiguous(phys_addr_t base, phys_addr_t size, phys_addr_t limit, phys_addr_t alignment, unsigned int order_per_bit, bool fixed, const char *name, struct cma **res_cma) cma_declare_contiguous() argument
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | cma.h | 37 bool fixed, const char *name, struct cma **res_cma, 42 bool fixed, const char *name, struct cma **res_cma) in cma_declare_contiguous() 45 order_per_bit, fixed, name, res_cma, NUMA_NO_NODE); in cma_declare_contiguous() 39 cma_declare_contiguous(phys_addr_t base, phys_addr_t size, phys_addr_t limit, phys_addr_t alignment, unsigned int order_per_bit, bool fixed, const char *name, struct cma **res_cma) cma_declare_contiguous() argument
|
/kernel/linux/linux-5.10/drivers/clk/qcom/ |
H A D | common.c | 129 * clk as a fixed rate clock if it isn't present. 138 struct clk_fixed_rate *fixed; in _qcom_cc_register_board_clk() local 149 fixed = devm_kzalloc(dev, sizeof(*fixed), GFP_KERNEL); in _qcom_cc_register_board_clk() 150 if (!fixed) in _qcom_cc_register_board_clk() 153 fixed->fixed_rate = rate; in _qcom_cc_register_board_clk() 154 fixed->hw.init = &init_data; in _qcom_cc_register_board_clk() 159 ret = devm_clk_hw_register(dev, &fixed->hw); in _qcom_cc_register_board_clk()
|
/kernel/linux/linux-5.10/drivers/phy/hisilicon/ |
H A D | phy-histb-combphy.c | 36 int fixed; member 75 return (mode->fixed != PHY_NONE) ? true : false; in is_mode_fixed() 182 if (is_mode_fixed(mode) && mode->select != mode->fixed) { in histb_combphy_xlate() 183 dev_err(dev, "mode select %d mismatch fixed phy mode %d\n", in histb_combphy_xlate() 184 mode->select, mode->fixed); in histb_combphy_xlate() 218 mode->fixed = PHY_NONE; in histb_combphy_probe() 220 ret = of_property_read_u32(np, "hisilicon,fixed-mode", &mode->fixed); in histb_combphy_probe() 222 dev_dbg(dev, "found fixed phy mode %d\n", mode->fixed); in histb_combphy_probe() [all...] |
/kernel/linux/linux-5.10/drivers/phy/qualcomm/ |
H A D | phy-qcom-pcie2.c | 206 * Register a fixed rate pipe clock. 226 struct clk_fixed_rate *fixed; in phy_pipe_clksrc_register() local 236 fixed = devm_kzalloc(qphy->dev, sizeof(*fixed), GFP_KERNEL); in phy_pipe_clksrc_register() 237 if (!fixed) in phy_pipe_clksrc_register() 243 fixed->fixed_rate = 250000000; in phy_pipe_clksrc_register() 244 fixed->hw.init = &init; in phy_pipe_clksrc_register() 246 return devm_clk_hw_register(qphy->dev, &fixed->hw); in phy_pipe_clksrc_register()
|
/kernel/linux/linux-6.6/drivers/clk/qcom/ |
H A D | common.c | 127 * clk as a fixed rate clock if it isn't present. 136 struct clk_fixed_rate *fixed; in _qcom_cc_register_board_clk() local 147 fixed = devm_kzalloc(dev, sizeof(*fixed), GFP_KERNEL); in _qcom_cc_register_board_clk() 148 if (!fixed) in _qcom_cc_register_board_clk() 151 fixed->fixed_rate = rate; in _qcom_cc_register_board_clk() 152 fixed->hw.init = &init_data; in _qcom_cc_register_board_clk() 157 ret = devm_clk_hw_register(dev, &fixed->hw); in _qcom_cc_register_board_clk()
|
/kernel/linux/linux-6.6/drivers/phy/hisilicon/ |
H A D | phy-histb-combphy.c | 37 int fixed; member 76 return (mode->fixed != PHY_NONE) ? true : false; in is_mode_fixed() 183 if (is_mode_fixed(mode) && mode->select != mode->fixed) { in histb_combphy_xlate() 184 dev_err(dev, "mode select %d mismatch fixed phy mode %d\n", in histb_combphy_xlate() 185 mode->select, mode->fixed); in histb_combphy_xlate() 219 mode->fixed = PHY_NONE; in histb_combphy_probe() 221 ret = of_property_read_u32(np, "hisilicon,fixed-mode", &mode->fixed); in histb_combphy_probe() 223 dev_dbg(dev, "found fixed phy mode %d\n", mode->fixed); in histb_combphy_probe() [all...] |
/kernel/linux/linux-6.6/net/mac80211/ |
H A D | eht.c | 32 &eht_cap_ie_elem->fixed, in ieee80211_eht_cap_ie_to_sta_eht_cap() 39 if (eht_cap_ie_elem->fixed.phy_cap_info[5] & in ieee80211_eht_cap_ie_to_sta_eht_cap() 49 eht_cap_ie_elem->fixed.phy_cap_info); in ieee80211_eht_cap_ie_to_sta_eht_cap()
|