Home
last modified time | relevance | path

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

1234

/linux-6.15/tools/testing/selftests/bpf/progs/
H A Dcgroup_tcp_skb.c51 if (tcph->fin || !tcph->syn || !tcph->ack) in egress_accept()
65 if (!tcph->syn || tcph->fin || tcph->ack) in ingress_accept()
71 if (tcph->fin || tcph->syn || !tcph->ack) in ingress_accept()
87 if (!tcph->syn || tcph->fin || tcph->ack) in egress_connect()
100 if (tcph->fin || !tcph->syn || !tcph->ack) in ingress_connect()
117 if (tcph->fin || tcph->syn || !tcph->ack) in egress_close_remote()
123 if (!tcph->fin) in egress_close_remote()
139 if (tcph->fin) in ingress_close_remote()
143 if (tcph->fin || tcph->syn || !tcph->ack) in ingress_close_remote()
160 if (tcph->fin) in egress_close_local()
[all …]
/linux-6.15/tools/testing/selftests/net/tcp_ao/lib/
H A Dftrace-tcp.c38 int fin; member
60 int fin, int syn, int rst, int psh, int ack, in __trace_event_expect() argument
71 .fin = fin, in __trace_event_expect()
125 unsigned int fin:1, member
166 if (p->fin >= 0 && p->fin != e->fin) in lookup_expected_event()
293 char fin, syn, rst, psh, ack; in tracer_scan_event() local
306 &fin, &syn, &rst, &psh, &ack); in tracer_scan_event()
320 &fin, &syn, &rst, &psh, &ack, in tracer_scan_event()
363 out->fin = (fin == 'F'); in tracer_scan_event()
369 if ((fin != 'F' && fin != ' ') || in tracer_scan_event()
[all …]
H A Daolib.h767 int fin, int syn, int rst, int psh, int ack,
773 int fin, int syn, int rst, int psh, int ack) in trace_hash_event_expect() argument
779 fin, syn, rst, psh, ack, in trace_hash_event_expect()
788 int fin, int syn, int rst, int psh, int ack, in trace_ao_event_expect() argument
795 fin, syn, rst, psh, ack, in trace_ao_event_expect()
/linux-6.15/sound/usb/line6/
H 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-6.15/sound/soc/renesas/rcar/
H A Dsrc.c208 u32 fin, fout, new_rate; in rsnd_src_set_convert_rate() local
218 fin = rsnd_src_get_in_rate(priv, io); in rsnd_src_set_convert_rate()
244 base = (u64)0x0400000 * fin; in rsnd_src_set_convert_rate()
270 u32 fin, fout; in rsnd_src_init_convert_rate() local
283 fin = rsnd_src_get_in_rate(priv, io); in rsnd_src_init_convert_rate()
289 if (fin == fout) in rsnd_src_init_convert_rate()
291 else if (fin > fout) in rsnd_src_init_convert_rate()
292 ratio = 100 * fin / fout; in rsnd_src_init_convert_rate()
294 ratio = 100 * fout / fin; in rsnd_src_init_convert_rate()
301 use_src = (fin != fout) | rsnd_src_sync_is_enabled(mod); in rsnd_src_init_convert_rate()
[all …]
/linux-6.15/samples/bpf/
H A Dhbm.c216 FILE *fin; in run_bpf_prog() local
228 fin = fopen("/sys/class/net/eth0/statistics/tx_bytes", "r"); in run_bpf_prog()
229 if (fscanf(fin, "%llu", &last_eth_tx_bytes) != 1) in run_bpf_prog()
231 fclose(fin); in run_bpf_prog()
246 fin = fopen("/sys/class/net/eth0/statistics/tx_bytes", in run_bpf_prog()
248 if (fscanf(fin, "%llu", &new_eth_tx_bytes) != 1) in run_bpf_prog()
250 fclose(fin); in run_bpf_prog()
/linux-6.15/drivers/clk/
H A Dclk-axi-clkgen.c127 unsigned long fin, unsigned long fout, in axi_clkgen_calc_params() argument
136 fin /= 1000; in axi_clkgen_calc_params()
144 d_min = max_t(unsigned long, DIV_ROUND_UP(fin, limits->fpfd_max), 1); in axi_clkgen_calc_params()
145 d_max = min_t(unsigned long, fin / limits->fpfd_min, 80); in axi_clkgen_calc_params()
151 m_min = max_t(unsigned long, DIV_ROUND_UP(fvco_min_fract, fin) * d_min, 1); in axi_clkgen_calc_params()
152 m_max = min_t(unsigned long, fvco_max_fract * d_max / fin, 64 << fract_shift); in axi_clkgen_calc_params()
155 _d_min = max(d_min, DIV_ROUND_UP(fin * m, fvco_max_fract)); in axi_clkgen_calc_params()
156 _d_max = min(d_max, fin * m / fvco_min_fract); in axi_clkgen_calc_params()
159 fvco = fin * m / d; in axi_clkgen_calc_params()
/linux-6.15/drivers/media/dvb-frontends/
H 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-6.15/drivers/gpu/drm/loongson/
H A Dlsdc_output_7a2000.c414 int fin, in ls7a2000_hdmi_phy_pll_config() argument
430 if (fin >= 170000) in ls7a2000_hdmi_phy_pll_config()
434 else if (fin >= 85000) in ls7a2000_hdmi_phy_pll_config()
438 else if (fin >= 42500) in ls7a2000_hdmi_phy_pll_config()
442 else if (fin >= 21250) in ls7a2000_hdmi_phy_pll_config()
459 drm_dbg(ddev, "Fin of HDMI-%u: %d kHz\n", index, fin); in ls7a2000_hdmi_phy_pll_config()
/linux-6.15/drivers/gpu/drm/bridge/
H A Dchipone-icn6211.c259 unsigned int fin; in chipone_configure_pll() local
280 fin = icn->refclk_rate; in chipone_configure_pll()
282 fin = icn->dsi->hs_rate / 4; /* in Hz */ in chipone_configure_pll()
285 p_min = clamp(DIV_ROUND_UP(fin, 20000000), 1U, 31U); in chipone_configure_pll()
286 p_max = clamp(fin / 5000000, 1U, 31U); in chipone_configure_pll()
291 freq_p = fin / p; in chipone_configure_pll()
307 freq_out = (fin * m) / p; in chipone_configure_pll()
329 min_delta, icn->refclk ? "EXT" : "DSI", fin, in chipone_configure_pll()
330 (fin * best_m) / (best_p << (best_s + 1))); in chipone_configure_pll()
H A Dsamsung-dsim.c565 unsigned long fin, in samsung_dsim_pll_find_pms() argument
578 p_max = fin / (driver_data->pll_fin_min * MHZ); in samsung_dsim_pll_find_pms()
586 do_div(tmp, fin); in samsung_dsim_pll_find_pms()
591 tmp = (u64)_m * fin; in samsung_dsim_pll_find_pms()
597 tmp = (u64)_m * fin; in samsung_dsim_pll_find_pms()
624 unsigned long fin, fout; in samsung_dsim_set_pll() local
637 while (fin > driver_data->pll_fin_max * MHZ) in samsung_dsim_set_pll()
638 fin /= 2; in samsung_dsim_set_pll()
639 clk_set_rate(dsi->pll_clk, fin); in samsung_dsim_set_pll()
641 fin = clk_get_rate(dsi->pll_clk); in samsung_dsim_set_pll()
[all …]
/linux-6.15/drivers/gpu/drm/renesas/rcar-du/
H A Drcar_lvds.c147 unsigned long fin; in rcar_lvds_d3_e3_pll_calc() local
186 fin = clk_get_rate(clk); in rcar_lvds_d3_e3_pll_calc()
187 if (fin < 12000000 || fin > 192000000) in rcar_lvds_d3_e3_pll_calc()
196 m_min = max_t(unsigned int, 1, DIV_ROUND_UP(fin, 24000000)); in rcar_lvds_d3_e3_pll_calc()
197 m_max = min_t(unsigned int, 8, fin / 12000000); in rcar_lvds_d3_e3_pll_calc()
212 fpfd = fin / m; in rcar_lvds_d3_e3_pll_calc()
261 output = fin * pll->pll_n / pll->pll_m / (1 << pll->pll_e) in rcar_lvds_d3_e3_pll_calc()
267 clk, fin, output, target, error / 100, in rcar_lvds_d3_e3_pll_calc()
/linux-6.15/drivers/phy/rockchip/
H A Dphy-rockchip-samsung-dcphy.c1134 u64 fin, fvco, fout; in samsung_mipi_dcphy_pll_round_rate() local
1152 fin = div64_ul(prate, MSEC_PER_SEC); in samsung_mipi_dcphy_pll_round_rate()
1170 min_prediv = DIV_ROUND_UP_ULL(fin, 30 * MSEC_PER_SEC); in samsung_mipi_dcphy_pll_round_rate()
1171 max_prediv = DIV_ROUND_CLOSEST_ULL(fin, 6 * MSEC_PER_SEC); in samsung_mipi_dcphy_pll_round_rate()
1176 _fbdiv = DIV_ROUND_CLOSEST_ULL(fvco * _prediv, 2 * fin); in samsung_mipi_dcphy_pll_round_rate()
1183 _dsm = ((_prediv * fvco) - (2 * _fbdiv * fin)); in samsung_mipi_dcphy_pll_round_rate()
1184 _dsm = DIV_ROUND_UP_ULL(_dsm << 15, fin); in samsung_mipi_dcphy_pll_round_rate()
1188 tmp = DIV_ROUND_CLOSEST_ULL((_fbdiv * fin * 2 * 1000), _prediv); in samsung_mipi_dcphy_pll_round_rate()
1189 tmp += DIV_ROUND_CLOSEST_ULL((_dsm * fin * 1000), _prediv << 15); in samsung_mipi_dcphy_pll_round_rate()
1416 max_mfr = DIV_ROUND_UP(fin, (20 * prediv) << 5); in samsung_mipi_dcphy_pll_ssc_modulation_calc()
[all …]
/linux-6.15/Documentation/userspace-api/media/rc/
H A Dkeytable.c.rst103 FILE *fin;
107 fin=fopen(argv[2],"r");
108 if (fin==NULL) {
122 while (fgets(s,sizeof(s),fin)) {
/linux-6.15/Documentation/userspace-api/media/drivers/
H 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-6.15/tools/bpf/
H 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-6.15/net/ipv4/netfilter/
H 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-6.15/tools/mm/
H A Dpage_owner_sort.c108 int read_block(char *buf, char *ext_buf, int buf_size, FILE *fin) in read_block() argument
112 while (buf_end - curr > 1 && fgets(curr, buf_end - curr, fin)) { in read_block()
663 FILE *fin, *fout; in main() local
784 fin = fopen(argv[optind], "r"); in main()
786 if (!fin || !fout) { in main()
803 fstat(fileno(fin), &st); in main()
815 int buf_len = read_block(buf, ext_buf, BUF_SIZE, fin); in main()
/linux-6.15/drivers/spi/
H A Dspi-imx.c204 if (fspi * mxc_clkdivs[i] >= fin) in spi_imx_clkdiv_1()
207 *fres = fin / mxc_clkdivs[i]; in spi_imx_clkdiv_1()
218 if (fspi * div >= fin) in spi_imx_clkdiv_2()
224 *fres = fin / div; in spi_imx_clkdiv_2()
473 unsigned int fin = spi_imx->spi_clk; in mx51_ecspi_clkdiv() local
475 fspi = min(fspi, fin); in mx51_ecspi_clkdiv()
477 post = fls(fin) - fls(fspi); in mx51_ecspi_clkdiv()
478 if (fin > fspi << post) in mx51_ecspi_clkdiv()
486 fspi, fin); in mx51_ecspi_clkdiv()
493 __func__, fin, fspi, post, pre); in mx51_ecspi_clkdiv()
[all …]
/linux-6.15/net/ipv6/netfilter/
H 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-6.15/include/trace/events/
H A Dtcp.h441 __field(bool, fin)
466 __entry->fin = th->fin;
479 __entry->fin ? 'F' : ' ',
538 __field(bool, fin)
567 __entry->fin = th->fin;
584 __entry->fin ? 'F' : ' ',
/linux-6.15/drivers/clk/mediatek/
H A Dclk-pll.c40 static unsigned long __mtk_pll_recalc_rate(struct mtk_clk_pll *pll, u32 fin, in __mtk_pll_recalc_rate() argument
54 vco = (u64)fin * pcw; in __mtk_pll_recalc_rate()
139 u32 freq, u32 fin) in mtk_pll_calc_values() argument
170 do_div(_pcw, fin); in mtk_pll_calc_values()
/linux-6.15/Documentation/translations/zh_CN/infiniband/
H A Dtag_matching.rst44 RDMA读取操作。为了使缓冲区得到重用,需要收到一个fin消息。
/linux-6.15/drivers/gpu/drm/bridge/imx/
H A Dimx93-mipi-dsi.c225 unsigned long fin = dsi->ref_clk_rate; in dphy_pll_get_configure_from_opts() local
250 min_n = DIV_ROUND_UP_ULL((u64)fin, MHZ(8)); in dphy_pll_get_configure_from_opts()
251 max_n = DIV_ROUND_DOWN_ULL((u64)fin, MHZ(2)); in dphy_pll_get_configure_from_opts()
262 m = DIV_ROUND_CLOSEST(fout * n * fvco_div, fin); in dphy_pll_get_configure_from_opts()
269 tmp = m * fin; in dphy_pll_get_configure_from_opts()
/linux-6.15/tools/include/uapi/linux/
H A Dtcp.h33 fin:1, member
51 fin:1; member

1234