Home
last modified time | relevance | path

Searched refs:fixed (Results 1 – 25 of 82) sorted by relevance

1234

/drivers/clk/tegra/
Dclk-periph-fixed.c29 struct tegra_clk_periph_fixed *fixed = to_tegra_clk_periph_fixed(hw); in tegra_clk_periph_fixed_is_enabled() local
30 u32 mask = 1 << (fixed->num % 32), value; in tegra_clk_periph_fixed_is_enabled()
32 value = readl(fixed->base + fixed->regs->enb_reg); in tegra_clk_periph_fixed_is_enabled()
34 value = readl(fixed->base + fixed->regs->rst_reg); in tegra_clk_periph_fixed_is_enabled()
44 struct tegra_clk_periph_fixed *fixed = to_tegra_clk_periph_fixed(hw); in tegra_clk_periph_fixed_enable() local
45 u32 mask = 1 << (fixed->num % 32); in tegra_clk_periph_fixed_enable()
47 writel(mask, fixed->base + fixed->regs->enb_set_reg); in tegra_clk_periph_fixed_enable()
54 struct tegra_clk_periph_fixed *fixed = to_tegra_clk_periph_fixed(hw); in tegra_clk_periph_fixed_disable() local
55 u32 mask = 1 << (fixed->num % 32); in tegra_clk_periph_fixed_disable()
57 writel(mask, fixed->base + fixed->regs->enb_clr_reg); in tegra_clk_periph_fixed_disable()
[all …]
DMakefile6 obj-y += clk-periph-fixed.o
14 obj-y += clk-tegra-fixed.o
/drivers/net/wireless/ti/wlcore/
Dio.h60 bool fixed) in wlcore_raw_write() argument
69 ret = wl->if_ops->write(wl->dev, addr, buf, len, fixed); in wlcore_raw_write()
78 bool fixed) in wlcore_raw_read() argument
87 ret = wl->if_ops->read(wl->dev, addr, buf, len, fixed); in wlcore_raw_read()
96 bool fixed) in wlcore_raw_read_data() argument
98 return wlcore_raw_read(wl, wl->rtable[reg], buf, len, fixed); in wlcore_raw_read_data()
103 bool fixed) in wlcore_raw_write_data() argument
105 return wlcore_raw_write(wl, wl->rtable[reg], buf, len, fixed); in wlcore_raw_write_data()
133 void *buf, size_t len, bool fixed) in wlcore_read() argument
139 return wlcore_raw_read(wl, physical, buf, len, fixed); in wlcore_read()
[all …]
Dspi.c245 void *buf, size_t len, bool fixed) in wl12xx_spi_raw_read() argument
267 if (fixed) in wl12xx_spi_raw_read()
302 if (!fixed) in wl12xx_spi_raw_read()
312 void *buf, size_t len, bool fixed) in __wl12xx_spi_raw_write() argument
342 if (fixed) in __wl12xx_spi_raw_write()
353 if (!fixed) in __wl12xx_spi_raw_write()
367 void *buf, size_t len, bool fixed) in wl12xx_spi_raw_write() argument
376 ret = __wl12xx_spi_raw_write(child, addr, buf, len, fixed); in wl12xx_spi_raw_write()
377 ret = __wl12xx_spi_raw_write(child, addr, buf, len, fixed); in wl12xx_spi_raw_write()
Dsdio.c76 void *buf, size_t len, bool fixed) in wl12xx_sdio_raw_read() argument
96 if (fixed) in wl12xx_sdio_raw_read()
114 void *buf, size_t len, bool fixed) in wl12xx_sdio_raw_write() argument
137 if (fixed) in wl12xx_sdio_raw_write()
Dwlcore_i.h199 size_t len, bool fixed);
201 size_t len, bool fixed);
/drivers/clk/uniphier/
Dclk-uniphier-fixed-rate.c25 struct clk_fixed_rate *fixed; in uniphier_clk_register_fixed_rate() local
30 fixed = devm_kzalloc(dev, sizeof(*fixed), GFP_KERNEL); in uniphier_clk_register_fixed_rate()
31 if (!fixed) in uniphier_clk_register_fixed_rate()
39 fixed->fixed_rate = data->fixed_rate; in uniphier_clk_register_fixed_rate()
40 fixed->hw.init = &init; in uniphier_clk_register_fixed_rate()
42 ret = devm_clk_hw_register(dev, &fixed->hw); in uniphier_clk_register_fixed_rate()
46 return &fixed->hw; in uniphier_clk_register_fixed_rate()
DMakefile2 obj-y += clk-uniphier-fixed-factor.o
3 obj-y += clk-uniphier-fixed-rate.o
/drivers/clk/
Dclk-fixed-rate.c62 struct clk_fixed_rate *fixed; in clk_hw_register_fixed_rate_with_accuracy() local
68 fixed = kzalloc(sizeof(*fixed), GFP_KERNEL); in clk_hw_register_fixed_rate_with_accuracy()
69 if (!fixed) in clk_hw_register_fixed_rate_with_accuracy()
79 fixed->fixed_rate = fixed_rate; in clk_hw_register_fixed_rate_with_accuracy()
80 fixed->fixed_accuracy = fixed_accuracy; in clk_hw_register_fixed_rate_with_accuracy()
81 fixed->hw.init = &init; in clk_hw_register_fixed_rate_with_accuracy()
84 hw = &fixed->hw; in clk_hw_register_fixed_rate_with_accuracy()
87 kfree(fixed); in clk_hw_register_fixed_rate_with_accuracy()
151 struct clk_fixed_rate *fixed; in clk_hw_unregister_fixed_rate() local
153 fixed = to_clk_fixed_rate(hw); in clk_hw_unregister_fixed_rate()
[all …]
DMakefile6 obj-$(CONFIG_COMMON_CLK) += clk-fixed-factor.o
7 obj-$(CONFIG_COMMON_CLK) += clk-fixed-rate.o
DKconfig46 multi-function devices have two fixed-rate oscillators,
107 and uses a fixed setting for the output muxes.
126 (S2MPS11, S5M8767) fixed-rate oscillators, clocked at 32KHz each.
/drivers/clk/sunxi/
Dclk-a10-hosc.c29 struct clk_fixed_rate *fixed; in sun4i_osc_clk_setup() local
38 fixed = kzalloc(sizeof(struct clk_fixed_rate), GFP_KERNEL); in sun4i_osc_clk_setup()
39 if (!fixed) in sun4i_osc_clk_setup()
51 fixed->fixed_rate = rate; in sun4i_osc_clk_setup()
56 &fixed->hw, &clk_fixed_rate_ops, in sun4i_osc_clk_setup()
69 kfree(fixed); in sun4i_osc_clk_setup()
Dclk-sunxi.c900 u8 fixed; /* is it a fixed divisor? if not... */ member
931 { .fixed = 2 }, /* P, other */
933 { .fixed = 4 }, /* pll6 / 4, used as ahb input */
941 { .fixed = 2 }, /* normal output */
1061 if (data->div[i].fixed) { in sunxi_divs_clk_setup()
1067 fix_factor->div = data->div[i].fixed; in sunxi_divs_clk_setup()
/drivers/clk/renesas/
Dclk-rcar-gen2.c170 struct clk_fixed_factor *fixed; in cpg_rcan_clk_register() local
174 fixed = kzalloc(sizeof(*fixed), GFP_KERNEL); in cpg_rcan_clk_register()
175 if (!fixed) in cpg_rcan_clk_register()
178 fixed->mult = 1; in cpg_rcan_clk_register()
179 fixed->div = 6; in cpg_rcan_clk_register()
183 kfree(fixed); in cpg_rcan_clk_register()
193 &fixed->hw, &clk_fixed_factor_ops, in cpg_rcan_clk_register()
197 kfree(fixed); in cpg_rcan_clk_register()
/drivers/clk/qcom/
Dcommon.c104 struct clk_fixed_rate *fixed; in _qcom_cc_register_board_clk() local
114 fixed = devm_kzalloc(dev, sizeof(*fixed), GFP_KERNEL); in _qcom_cc_register_board_clk()
115 if (!fixed) in _qcom_cc_register_board_clk()
118 fixed->fixed_rate = rate; in _qcom_cc_register_board_clk()
119 fixed->hw.init = &init_data; in _qcom_cc_register_board_clk()
124 ret = devm_clk_hw_register(dev, &fixed->hw); in _qcom_cc_register_board_clk()
/drivers/gpu/drm/i2c/
Dch7006_priv.h35 typedef int64_t fixed; typedef
50 fixed vrefresh;
55 fixed subc_freq;
56 fixed black_level;
68 fixed subc_coeff;
163 static inline int32_t round_fixed(fixed x) in round_fixed()
/drivers/base/
Ddma-contiguous.c112 bool fixed = false; in dma_contiguous_reserve() local
121 fixed = true; in dma_contiguous_reserve()
141 fixed); in dma_contiguous_reserve()
164 bool fixed) in dma_contiguous_reserve_area() argument
168 ret = cma_declare_contiguous(base, size, limit, 0, 0, fixed, res_cma); in dma_contiguous_reserve_area()
/drivers/gpu/drm/rcar-du/
Drcar_du_plane.c106 int fixed = -1; in rcar_du_plane_hwalloc() local
114 fixed = 0; in rcar_du_plane_hwalloc()
117 fixed = plane->group->index == 0 ? 1 : 0; in rcar_du_plane_hwalloc()
120 if (fixed >= 0) in rcar_du_plane_hwalloc()
121 return free & (1 << fixed) ? fixed : -EBUSY; in rcar_du_plane_hwalloc()
/drivers/clk/ti/
Dclk.c297 struct ti_clk_fixed *fixed; in ti_clk_register_clk() local
306 fixed = setup->data; in ti_clk_register_clk()
309 fixed->frequency); in ti_clk_register_clk()
DMakefile5 fixed-factor.o mux.o apll.o \
/drivers/media/v4l2-core/
DKconfig20 bool "Enable old-style fixed minor ranges on drivers/video devices"
23 Say Y here to enable the old-style fixed-range minor assignments.
/drivers/staging/rtl8188eu/core/
Drtw_mlme.c133 pnetwork->fixed = false; in _rtw_alloc_network()
154 if (pnetwork->fixed) in _rtw_free_network()
177 if (pnetwork->fixed) in _rtw_free_network_nolock()
349 if (!pwlan->fixed) { in rtw_get_oldest_wlan_network()
446 pnetwork->fixed = false; in rtw_update_scanned_network()
780 pwlan->fixed = false; in rtw_free_assoc_resources_locked()
1041 pcur_wlan->fixed = false; in rtw_joinbss_event_prehandle()
1053 ptarget_wlan->fixed = true; in rtw_joinbss_event_prehandle()
1060 ptarget_wlan->fixed = true; in rtw_joinbss_event_prehandle()
1227 ptarget_wlan->fixed = true; in rtw_stassoc_event_callback()
[all …]
/drivers/usb/serial/
DMakefile-keyspan_pda_fw3 # insisting upon fixed suffixes for the input and output files,
/drivers/net/wireless/zydas/
Dzd1201.c1169 iwe.u.bitrate.fixed = 0; in zd1201_get_scan()
1261 if (!rrq->fixed) { /* Also enable all lower bitrates */ in zd1201_set_rate()
1299 rrq->fixed = 0; in zd1201_get_rate()
1312 if (rts->disabled || !rts->fixed) in zd1201_set_rts()
1337 rts->fixed = 1; in zd1201_get_rts()
1349 if (frag->disabled || !frag->fixed) in zd1201_set_frag()
1375 frag->fixed = 1; in zd1201_get_frag()
1633 rrq->fixed = 1; in zd1201_get_hostauth()
1683 rrq->fixed = 1; in zd1201_get_maxassoc()
/drivers/regulator/
DMakefile6 obj-$(CONFIG_REGULATOR) += core.o dummy.o fixed-helper.o helpers.o devres.o
8 obj-$(CONFIG_REGULATOR_FIXED_VOLTAGE) += fixed.o

1234