Home
last modified time | relevance | path

Searched refs:fin (Results 1 – 25 of 72) sorted by relevance

123

/linux/tools/vm/
A Dpage_owner_sort.c39 int read_block(char *buf, int buf_size, FILE *fin) in read_block() argument
43 while (buf_end - curr > 1 && fgets(curr, buf_end - curr, fin)) { in read_block()
142 FILE *fin, *fout; in main() local
165 fin = fopen(argv[optind], "r"); in main()
167 if (!fin || !fout) { in main()
180 fstat(fileno(fin), &st); in main()
191 ret = read_block(buf, BUF_SIZE, fin); in main()
/linux/sound/usb/line6/
A Dcapture.c40 struct usb_iso_packet_descriptor *fin = in submit_audio_in_urb() local
42 fin->offset = urb_size; in submit_audio_in_urb()
43 fin->length = line6pcm->max_packet_size_in; in submit_audio_in_urb()
164 struct usb_iso_packet_descriptor *fin = &urb->iso_frame_desc[i]; in audio_in_callback() local
166 if (fin->status == -EXDEV) { in audio_in_callback()
171 fbuf = urb->transfer_buffer + fin->offset; in audio_in_callback()
172 fsize = fin->actual_length; in audio_in_callback()
/linux/samples/bpf/
A Dhbm.c209 FILE *fin; in run_bpf_prog() local
221 fin = fopen("/sys/class/net/eth0/statistics/tx_bytes", "r"); in run_bpf_prog()
222 if (fscanf(fin, "%llu", &last_eth_tx_bytes) != 1) in run_bpf_prog()
224 fclose(fin); in run_bpf_prog()
239 fin = fopen("/sys/class/net/eth0/statistics/tx_bytes", in run_bpf_prog()
241 if (fscanf(fin, "%llu", &new_eth_tx_bytes) != 1) in run_bpf_prog()
243 fclose(fin); in run_bpf_prog()
/linux/drivers/clk/
A Dclk-axi-clkgen.c126 unsigned long fin, unsigned long fout, in axi_clkgen_calc_params() argument
135 fin /= 1000; in axi_clkgen_calc_params()
143 d_min = max_t(unsigned long, DIV_ROUND_UP(fin, limits->fpfd_max), 1); in axi_clkgen_calc_params()
144 d_max = min_t(unsigned long, fin / limits->fpfd_min, 80); in axi_clkgen_calc_params()
150 m_min = max_t(unsigned long, DIV_ROUND_UP(fvco_min_fract, fin) * d_min, 1); in axi_clkgen_calc_params()
151 m_max = min_t(unsigned long, fvco_max_fract * d_max / fin, 64 << fract_shift); in axi_clkgen_calc_params()
154 _d_min = max(d_min, DIV_ROUND_UP(fin * m, fvco_max_fract)); in axi_clkgen_calc_params()
155 _d_max = min(d_max, fin * m / fvco_min_fract); in axi_clkgen_calc_params()
158 fvco = fin * m / d; in axi_clkgen_calc_params()
/linux/sound/soc/sh/rcar/
A Dsrc.c208 u32 fin, fout; in rsnd_src_set_convert_rate() local
221 fin = rsnd_src_get_in_rate(priv, io); in rsnd_src_set_convert_rate()
227 if (fin == fout) in rsnd_src_set_convert_rate()
229 else if (fin > fout) in rsnd_src_set_convert_rate()
230 ratio = 100 * fin / fout; in rsnd_src_set_convert_rate()
232 ratio = 100 * fout / fin; in rsnd_src_set_convert_rate()
239 use_src = (fin != fout) | rsnd_src_sync_is_enabled(mod); in rsnd_src_set_convert_rate()
255 n = (u64)0x0400000 * fin; in rsnd_src_set_convert_rate()
348 rsnd_adg_set_src_timesel_gen2(mod, io, fin, fout); in rsnd_src_set_convert_rate()
/linux/drivers/media/dvb-frontends/
A Dves1820.c109 u32 fin; in ves1820_set_symbolrate() local
151 fin = state->config->xin >> 4; in ves1820_set_symbolrate()
153 ratio = (symbolrate << 4) / fin; in ves1820_set_symbolrate()
154 tmp = ((symbolrate << 4) % fin) << 8; in ves1820_set_symbolrate()
155 ratio = (ratio << 8) + tmp / fin; in ves1820_set_symbolrate()
156 tmp = (tmp % fin) << 8; in ves1820_set_symbolrate()
157 ratio = (ratio << 8) + DIV_ROUND_CLOSEST(tmp, fin); in ves1820_set_symbolrate()
/linux/drivers/gpu/drm/rcar-du/
A Drcar_lvds.c138 unsigned long fin; in rcar_lvds_d3_e3_pll_calc() local
177 fin = clk_get_rate(clk); in rcar_lvds_d3_e3_pll_calc()
178 if (fin < 12000000 || fin > 192000000) in rcar_lvds_d3_e3_pll_calc()
187 m_min = max_t(unsigned int, 1, DIV_ROUND_UP(fin, 24000000)); in rcar_lvds_d3_e3_pll_calc()
188 m_max = min_t(unsigned int, 8, fin / 12000000); in rcar_lvds_d3_e3_pll_calc()
203 fpfd = fin / m; in rcar_lvds_d3_e3_pll_calc()
252 output = fin * pll->pll_n / pll->pll_m / (1 << pll->pll_e) in rcar_lvds_d3_e3_pll_calc()
258 clk, fin, output, target, error / 100, in rcar_lvds_d3_e3_pll_calc()
/linux/Documentation/userspace-api/media/rc/
A Dkeytable.c.rst103 FILE *fin;
107 fin=fopen(argv[2],"r");
108 if (fin==NULL) {
122 while (fgets(s,sizeof(s),fin)) {
/linux/Documentation/userspace-api/media/drivers/
A Dcx2341x-uapi.rst108 FILE *fin;
111 if (argc == 1) fin = stdin;
112 else fin = fopen(argv[1], "r");
114 if (fin == NULL) {
118 while (fread(frame, sizeof(frame), 1, fin) == 1) {
125 fclose(fin);
/linux/drivers/spi/
A Dspi-imx.c194 if (fspi * mxc_clkdivs[i] >= fin) in spi_imx_clkdiv_1()
197 *fres = fin / mxc_clkdivs[i]; in spi_imx_clkdiv_1()
208 if (fspi * div >= fin) in spi_imx_clkdiv_2()
214 *fres = fin / div; in spi_imx_clkdiv_2()
440 unsigned int fin = spi_imx->spi_clk; in mx51_ecspi_clkdiv() local
442 if (unlikely(fspi > fin)) in mx51_ecspi_clkdiv()
445 post = fls(fin) - fls(fspi); in mx51_ecspi_clkdiv()
446 if (fin > fspi << post) in mx51_ecspi_clkdiv()
454 fspi, fin); in mx51_ecspi_clkdiv()
461 __func__, fin, fspi, post, pre); in mx51_ecspi_clkdiv()
[all …]
/linux/tools/bpf/
A Dbpf_dbg.c1318 static void init_shell(FILE *fin, FILE *fout) in init_shell() argument
1325 rl_instream = fin; in init_shell()
1350 static void exit_shell(FILE *fin, FILE *fout) in exit_shell() argument
1362 if (fin != stdin) in exit_shell()
1363 fclose(fin); in exit_shell()
1368 static int run_shell_loop(FILE *fin, FILE *fout) in run_shell_loop() argument
1372 init_shell(fin, fout); in run_shell_loop()
1384 exit_shell(fin, fout); in run_shell_loop()
1390 FILE *fin = NULL, *fout = NULL; in main() local
1393 fin = fopen(argv[1], "r"); in main()
[all …]
/linux/net/ipv4/netfilter/
A Dipt_SYNPROXY.c31 if (th->syn && !(th->ack || th->fin || th->rst)) { in synproxy_tg4()
51 } else if (th->ack && !(th->fin || th->rst || th->syn)) { in synproxy_tg4()
/linux/net/ipv6/netfilter/
A Dip6t_SYNPROXY.c31 if (th->syn && !(th->ack || th->fin || th->rst)) { in synproxy_tg6()
52 } else if (th->ack && !(th->fin || th->rst || th->syn)) { in synproxy_tg6()
/linux/drivers/clk/mediatek/
A Dclk-pll.c64 static unsigned long __mtk_pll_recalc_rate(struct mtk_clk_pll *pll, u32 fin, in __mtk_pll_recalc_rate() argument
78 vco = (u64)fin * pcw; in __mtk_pll_recalc_rate()
162 u32 freq, u32 fin) in mtk_pll_calc_values() argument
193 do_div(_pcw, fin); in mtk_pll_calc_values()
/linux/tools/include/uapi/linux/
A Dtcp.h33 fin:1, member
51 fin:1; member
/linux/include/uapi/linux/
A Dtcp.h33 fin:1, member
51 fin:1; member
/linux/Documentation/translations/zh_CN/infiniband/
A Dtag_matching.rst44 RDMA读取操作。为了使缓冲区得到重用,需要收到一个fin消息。
/linux/drivers/net/wireless/ath/carl9170/
A Dfw.c137 unsigned long fin, diff; in carl9170_fw_checksum() local
165 fin = (unsigned long) last_desc + sizeof(*last_desc); in carl9170_fw_checksum()
166 diff = fin - (unsigned long) otus_desc; in carl9170_fw_checksum()
/linux/sound/soc/codecs/
A Dmadera.c4211 unsigned int fin; member
4219 .fin = 32768,
4226 .fin = 32768,
4326 unsigned int fin, unsigned int fout) in madera_set_fll_ao_refclk() argument
4338 fin, fout, source); in madera_set_fll_ao_refclk()
4342 if (madera_fllao_settings[i].fin == fin && in madera_set_fll_ao_refclk()
4358 fll->ref_freq = fin; in madera_set_fll_ao_refclk()
4428 fref = fin / (1 << refdiv); in madera_fllhj_apply()
4648 unsigned int fin, unsigned int fout) in madera_fllhj_set_refclk() argument
4663 if (fin && fout && madera_fllhj_validate(fll, fin, fout)) in madera_fllhj_set_refclk()
[all …]
/linux/drivers/gpu/drm/exynos/
A Dexynos_drm_dsi.c543 unsigned long fin, unsigned long fout, u8 *p, u16 *m, u8 *s) in exynos_dsi_pll_find_pms() argument
553 p_min = DIV_ROUND_UP(fin, (12 * MHZ)); in exynos_dsi_pll_find_pms()
554 p_max = fin / (6 * MHZ); in exynos_dsi_pll_find_pms()
562 do_div(tmp, fin); in exynos_dsi_pll_find_pms()
567 tmp = (u64)_m * fin; in exynos_dsi_pll_find_pms()
573 tmp = (u64)_m * fin; in exynos_dsi_pll_find_pms()
600 unsigned long fin, fout; in exynos_dsi_set_pll() local
606 fin = dsi->pll_clk_rate; in exynos_dsi_set_pll()
607 fout = exynos_dsi_pll_find_pms(dsi, fin, freq, &p, &m, &s); in exynos_dsi_set_pll()
/linux/drivers/video/fbdev/matrox/
A Dg450_pll.c24 static inline unsigned int g450_f2vco(unsigned char p, unsigned int fin) { in g450_f2vco() argument
25 return (p & 0x40) ? fin : fin << ((p & 3) + 1); in g450_f2vco()
/linux/tools/testing/selftests/net/
A Dgro.c255 int payload_len, int fin) in fill_transportlayer() argument
266 tcph->fin = fin; in fill_transportlayer()
285 int payload_len, int fin) in create_packet() argument
290 payload_len, fin); in create_packet()
773 if (tcph->fin) in check_recv_pkts()
/linux/arch/m68k/ifpsp060/
A DMISC68 fin.s : 2.4
127 fin.s : 2.4
/linux/tools/testing/selftests/bpf/progs/
A Dtest_misc_tcp_hdr_options.c143 if (th->fin) in check_active_hdr_in()
146 if (th->ack && !th->fin && tcp_hdrlen(th) == skops->skb_len) in check_active_hdr_in()
/linux/drivers/gpu/drm/rockchip/
A Ddw-mipi-dsi-rockchip.c536 unsigned long fvco_min, fvco_max, fin, fout; in dw_mipi_dsi_get_lane_mbps() local
573 fin = clk_get_rate(dsi->pllref_clk); in dw_mipi_dsi_get_lane_mbps()
577 min_prediv = DIV_ROUND_UP(fin, 40 * USEC_PER_SEC); in dw_mipi_dsi_get_lane_mbps()
578 max_prediv = fin / (5 * USEC_PER_SEC); in dw_mipi_dsi_get_lane_mbps()
589 do_div(tmp, fin); in dw_mipi_dsi_get_lane_mbps()
601 tmp = (u64)_fbdiv * fin; in dw_mipi_dsi_get_lane_mbps()

Completed in 65 milliseconds

123