Searched refs:fin (Results 1 - 25 of 69) sorted by relevance

123

/linux-master/tools/testing/selftests/bpf/progs/
H A Dcgroup_tcp_skb.c51 if (tcph->fin || !tcph->syn || !tcph->ack)
65 if (!tcph->syn || tcph->fin || tcph->ack)
71 if (tcph->fin || tcph->syn || !tcph->ack)
87 if (!tcph->syn || tcph->fin || tcph->ack)
100 if (tcph->fin || !tcph->syn || !tcph->ack)
117 if (tcph->fin || tcph->syn || !tcph->ack)
123 if (!tcph->fin)
139 if (tcph->fin)
143 if (tcph->fin || tcph->syn || !tcph->ack)
160 if (tcph->fin)
[all...]
H A Dtest_select_reuseport_kern.c114 if (th->fin)
H A Dtest_misc_tcp_hdr_options.c144 if (th->fin)
147 if (th->ack && !th->fin && tcp_hdrlen(th) == skops->skb_len)
/linux-master/sound/usb/line6/
H A Dcapture.c40 struct usb_iso_packet_descriptor *fin = local
42 fin->offset = urb_size;
43 fin->length = line6pcm->max_packet_size_in;
164 struct usb_iso_packet_descriptor *fin = &urb->iso_frame_desc[i]; local
166 if (fin->status == -EXDEV) {
171 fbuf = urb->transfer_buffer + fin->offset;
172 fsize = fin->actual_length;
/linux-master/samples/bpf/
H A Dhbm.c216 FILE *fin; local
228 fin = fopen("/sys/class/net/eth0/statistics/tx_bytes", "r");
229 if (fscanf(fin, "%llu", &last_eth_tx_bytes) != 1)
231 fclose(fin);
246 fin = fopen("/sys/class/net/eth0/statistics/tx_bytes",
248 if (fscanf(fin, "%llu", &new_eth_tx_bytes) != 1)
250 fclose(fin);
/linux-master/drivers/media/dvb-frontends/
H A Dves1820.c109 u32 fin; local
151 fin = state->config->xin >> 4;
153 ratio = (symbolrate << 4) / fin;
154 tmp = ((symbolrate << 4) % fin) << 8;
155 ratio = (ratio << 8) + tmp / fin;
156 tmp = (tmp % fin) << 8;
157 ratio = (ratio << 8) + DIV_ROUND_CLOSEST(tmp, fin);
/linux-master/drivers/clk/
H A Dclk-axi-clkgen.c126 unsigned long fin, unsigned long fout,
135 fin /= 1000;
143 d_min = max_t(unsigned long, DIV_ROUND_UP(fin, limits->fpfd_max), 1);
144 d_max = min_t(unsigned long, fin / limits->fpfd_min, 80);
150 m_min = max_t(unsigned long, DIV_ROUND_UP(fvco_min_fract, fin) * d_min, 1);
151 m_max = min_t(unsigned long, fvco_max_fract * d_max / fin, 64 << fract_shift);
154 _d_min = max(d_min, DIV_ROUND_UP(fin * m, fvco_max_fract));
155 _d_max = min(d_max, fin * m / fvco_min_fract);
158 fvco = fin * m / d;
125 axi_clkgen_calc_params(const struct axi_clkgen_limits *limits, unsigned long fin, unsigned long fout, unsigned int *best_d, unsigned int *best_m, unsigned int *best_dout) argument
/linux-master/sound/soc/sh/rcar/
H A Dsrc.c209 u32 fin, fout; local
222 fin = rsnd_src_get_in_rate(priv, io);
228 if (fin == fout)
230 else if (fin > fout)
231 ratio = 100 * fin / fout;
233 ratio = 100 * fout / fin;
240 use_src = (fin != fout) | rsnd_src_sync_is_enabled(mod);
256 n = (u64)0x0400000 * fin;
349 rsnd_adg_set_src_timesel_gen2(mod, io, fin, fout);
/linux-master/drivers/gpu/drm/loongson/
H A Dlsdc_output_7a2000.c415 int fin,
431 if (fin >= 170000)
435 else if (fin >= 85000)
439 else if (fin >= 42500)
443 else if (fin >= 21250)
460 drm_dbg(ddev, "Fin of HDMI-%u: %d kHz\n", index, fin);
414 ls7a2000_hdmi_phy_pll_config(struct lsdc_device *ldev, int fin, unsigned int index) argument
/linux-master/net/ipv6/netfilter/
H A Dip6t_SYNPROXY.c31 if (th->syn && !(th->ack || th->fin || th->rst)) {
52 } else if (th->ack && !(th->fin || th->rst || th->syn)) {
H A Dnf_tproxy_ipv6.c54 if (hp->syn && !hp->rst && !hp->ack && !hp->fin) {
/linux-master/net/ipv4/netfilter/
H A Dipt_SYNPROXY.c31 if (th->syn && !(th->ack || th->fin || th->rst)) {
51 } else if (th->ack && !(th->fin || th->rst || th->syn)) {
H A Dnf_tproxy_ipv4.c31 if (hp->syn && !hp->rst && !hp->ack && !hp->fin) {
/linux-master/drivers/clk/mediatek/
H A Dclk-pll.h96 u32 freq, u32 fin);
H A Dclk-pll.c40 static unsigned long __mtk_pll_recalc_rate(struct mtk_clk_pll *pll, u32 fin, argument
54 vco = (u64)fin * pcw;
135 * @fin: The input frequency
139 u32 freq, u32 fin)
167 /* _pcw = freq * postdiv / fin * 2^pcwfbits */
170 do_div(_pcw, fin);
138 mtk_pll_calc_values(struct mtk_clk_pll *pll, u32 *pcw, u32 *postdiv, u32 freq, u32 fin) argument
/linux-master/net/core/
H A Dtso.c35 tcph->fin = 0;
/linux-master/drivers/gpu/drm/renesas/rcar-du/
H A Drcar_lvds.c147 unsigned long fin; local
186 fin = clk_get_rate(clk);
187 if (fin < 12000000 || fin > 192000000)
196 m_min = max_t(unsigned int, 1, DIV_ROUND_UP(fin, 24000000));
197 m_max = min_t(unsigned int, 8, fin / 12000000);
212 fpfd = fin / m;
261 output = fin * pll->pll_n / pll->pll_m / (1 << pll->pll_e)
267 clk, fin, output, target, error / 100,
/linux-master/drivers/gpu/drm/bridge/
H A Dchipone-icn6211.c259 unsigned int fin; local
280 fin = icn->refclk_rate;
282 fin = icn->dsi->hs_rate / 4; /* in Hz */
285 p_min = clamp(DIV_ROUND_UP(fin, 20000000), 1U, 31U);
286 p_max = clamp(fin / 5000000, 1U, 31U);
291 freq_p = fin / p;
307 freq_out = (fin * m) / p;
329 min_delta, icn->refclk ? "EXT" : "DSI", fin,
330 (fin * best_m) / (best_p << (best_s + 1)));
H A Dsamsung-dsim.c565 unsigned long fin,
577 p_min = DIV_ROUND_UP(fin, (12 * MHZ));
578 p_max = fin / (6 * MHZ);
586 do_div(tmp, fin);
591 tmp = (u64)_m * fin;
597 tmp = (u64)_m * fin;
624 unsigned long fin, fout; local
636 fin = clk_get_rate(clk_get_parent(dsi->pll_clk));
637 while (fin > driver_data->pll_fin_max * MHZ)
638 fin /
564 samsung_dsim_pll_find_pms(struct samsung_dsim *dsi, unsigned long fin, unsigned long fout, u8 *p, u16 *m, u8 *s) argument
[all...]
/linux-master/tools/bpf/
H A Dbpf_dbg.c1318 static void init_shell(FILE *fin, FILE *fout) argument
1325 rl_instream = fin;
1350 static void exit_shell(FILE *fin, FILE *fout) argument
1362 if (fin != stdin)
1363 fclose(fin);
1368 static int run_shell_loop(FILE *fin, FILE *fout) argument
1372 init_shell(fin, fout);
1384 exit_shell(fin, fout);
1390 FILE *fin = NULL, *fout = NULL; local
1393 fin
[all...]
/linux-master/tools/include/uapi/linux/
H A Dtcp.h33 fin:1, member in struct:tcphdr
51 fin:1; member in struct:tcphdr
/linux-master/drivers/spi/
H A Dspi-imx.c193 static unsigned int spi_imx_clkdiv_1(unsigned int fin, argument
199 if (fspi * mxc_clkdivs[i] >= fin)
202 *fres = fin / mxc_clkdivs[i];
207 static unsigned int spi_imx_clkdiv_2(unsigned int fin, argument
213 if (fspi * div >= fin)
219 *fres = fin / div;
457 unsigned int fin = spi_imx->spi_clk; local
459 fspi = min(fspi, fin);
461 post = fls(fin) - fls(fspi);
462 if (fin > fsp
[all...]
/linux-master/tools/mm/
H A Dpage_owner_sort.c108 int read_block(char *buf, char *ext_buf, int buf_size, FILE *fin) argument
112 while (buf_end - curr > 1 && fgets(curr, buf_end - curr, fin)) {
662 FILE *fin, *fout; local
783 fin = fopen(argv[optind], "r");
785 if (!fin || !fout) {
802 fstat(fileno(fin), &st);
814 int buf_len = read_block(buf, ext_buf, BUF_SIZE, fin);
/linux-master/drivers/video/fbdev/matrox/
H A Dg450_pll.c24 static inline unsigned int g450_f2vco(unsigned char p, unsigned int fin) { argument
25 return (p & 0x40) ? fin : fin << ((p & 3) + 1);
/linux-master/drivers/net/wireless/ath/carl9170/
H A Dfw.c137 unsigned long fin, diff; local
165 fin = (unsigned long) last_desc + sizeof(*last_desc);
166 diff = fin - (unsigned long) otus_desc;

Completed in 210 milliseconds

123