Home
last modified time | relevance | path

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

/linux-4.1.27/tools/vm/
Dpage_owner_sort.c31 int read_block(char *buf, int buf_size, FILE *fin) in read_block() argument
35 while (buf_end - curr > 1 && fgets(curr, buf_end - curr, fin)) { in read_block()
86 FILE *fin, *fout; in main() local
98 fin = fopen(argv[1], "r"); in main()
100 if (!fin || !fout) { in main()
106 fstat(fileno(fin), &st); in main()
112 ret = read_block(buf, BUF_SIZE, fin); in main()
/linux-4.1.27/drivers/clk/sirf/
Dclk-common.c75 unsigned long fin = parent_rate; in pll_clk_recalc_rate() local
82 return fin; in pll_clk_recalc_rate()
89 WARN_ON(fin % MHZ); in pll_clk_recalc_rate()
90 return fin / MHZ * nf / nr / od * MHZ; in pll_clk_recalc_rate()
97 unsigned long fin, nf, nr, od; in pll_clk_round_rate() local
112 fin = *parent_rate; in pll_clk_round_rate()
114 nr = fin / MHZ; in pll_clk_round_rate()
119 dividend = (u64)fin * nf; in pll_clk_round_rate()
129 unsigned long fin, nf, nr, od, reg; in pll_clk_set_rate() local
140 fin = parent_rate; in pll_clk_set_rate()
[all …]
/linux-4.1.27/sound/usb/line6/
Dcapture.c44 struct usb_iso_packet_descriptor *fin = in submit_audio_in_urb() local
46 fin->offset = urb_size; in submit_audio_in_urb()
47 fin->length = line6pcm->max_packet_size; in submit_audio_in_urb()
166 struct usb_iso_packet_descriptor *fin = &urb->iso_frame_desc[i]; in audio_in_callback() local
168 if (fin->status == -EXDEV) { in audio_in_callback()
173 fbuf = urb->transfer_buffer + fin->offset; in audio_in_callback()
174 fsize = fin->actual_length; in audio_in_callback()
/linux-4.1.27/drivers/clk/
Dclk-axi-clkgen.c143 static void axi_clkgen_calc_params(unsigned long fin, unsigned long fout, in axi_clkgen_calc_params() argument
150 fin /= 1000; in axi_clkgen_calc_params()
158 d_min = max_t(unsigned long, DIV_ROUND_UP(fin, fpfd_max), 1); in axi_clkgen_calc_params()
159 d_max = min_t(unsigned long, fin / fpfd_min, 80); in axi_clkgen_calc_params()
161 m_min = max_t(unsigned long, DIV_ROUND_UP(fvco_min, fin) * d_min, 1); in axi_clkgen_calc_params()
162 m_max = min_t(unsigned long, fvco_max * d_max / fin, 64); in axi_clkgen_calc_params()
165 _d_min = max(d_min, DIV_ROUND_UP(fin * m, fvco_max)); in axi_clkgen_calc_params()
166 _d_max = min(d_max, fin * m / fvco_min); in axi_clkgen_calc_params()
169 fvco = fin * m / d; in axi_clkgen_calc_params()
/linux-4.1.27/Documentation/video4linux/cx2341x/
DREADME.hm1299 FILE *fin;
102 if (argc == 1) fin = stdin;
103 else fin = fopen(argv[1], "r");
105 if (fin == NULL) {
109 while (fread(frame, sizeof(frame), 1, fin) == 1) {
116 fclose(fin);
/linux-4.1.27/drivers/media/dvb-frontends/
Dves1820.c120 u32 fin; in ves1820_set_symbolrate() local
162 fin = state->config->xin >> 4; in ves1820_set_symbolrate()
164 ratio = (symbolrate << 4) / fin; in ves1820_set_symbolrate()
165 tmp = ((symbolrate << 4) % fin) << 8; in ves1820_set_symbolrate()
166 ratio = (ratio << 8) + tmp / fin; in ves1820_set_symbolrate()
167 tmp = (tmp % fin) << 8; in ves1820_set_symbolrate()
168 ratio = (ratio << 8) + DIV_ROUND_CLOSEST(tmp, fin); in ves1820_set_symbolrate()
/linux-4.1.27/drivers/spi/
Dspi-imx.c172 static unsigned int spi_imx_clkdiv_1(unsigned int fin, in spi_imx_clkdiv_1() argument
178 if (fspi * mxc_clkdivs[i] >= fin) in spi_imx_clkdiv_1()
185 static unsigned int spi_imx_clkdiv_2(unsigned int fin, in spi_imx_clkdiv_2() argument
191 if (fspi * div >= fin) in spi_imx_clkdiv_2()
248 static unsigned int mx51_ecspi_clkdiv(unsigned int fin, unsigned int fspi, in mx51_ecspi_clkdiv() argument
257 if (unlikely(fspi > fin)) in mx51_ecspi_clkdiv()
260 post = fls(fin) - fls(fspi); in mx51_ecspi_clkdiv()
261 if (fin > fspi << post) in mx51_ecspi_clkdiv()
269 __func__, fspi, fin); in mx51_ecspi_clkdiv()
273 pre = DIV_ROUND_UP(fin, fspi << post) - 1; in mx51_ecspi_clkdiv()
[all …]
/linux-4.1.27/tools/net/
Dbpf_dbg.c1315 static void init_shell(FILE *fin, FILE *fout) in init_shell() argument
1322 rl_instream = fin; in init_shell()
1347 static void exit_shell(FILE *fin, FILE *fout) in exit_shell() argument
1359 if (fin != stdin) in exit_shell()
1360 fclose(fin); in exit_shell()
1365 static int run_shell_loop(FILE *fin, FILE *fout) in run_shell_loop() argument
1369 init_shell(fin, fout); in run_shell_loop()
1381 exit_shell(fin, fout); in run_shell_loop()
1387 FILE *fin = NULL, *fout = NULL; in main() local
1390 fin = fopen(argv[1], "r"); in main()
[all …]
/linux-4.1.27/include/uapi/linux/
Dtcp.h32 fin:1, member
50 fin:1; member
/linux-4.1.27/drivers/gpu/drm/exynos/
Dexynos_drm_dsi.c373 unsigned long fin, unsigned long fout, u8 *p, u16 *m, u8 *s) in exynos_dsi_pll_find_pms() argument
382 p_min = DIV_ROUND_UP(fin, (12 * MHZ)); in exynos_dsi_pll_find_pms()
383 p_max = fin / (6 * MHZ); in exynos_dsi_pll_find_pms()
391 do_div(tmp, fin); in exynos_dsi_pll_find_pms()
396 tmp = (u64)_m * fin; in exynos_dsi_pll_find_pms()
401 tmp = (u64)_m * fin; in exynos_dsi_pll_find_pms()
428 unsigned long fin, fout; in exynos_dsi_set_pll() local
436 fin = clk_get_rate(dsi->pll_clk); in exynos_dsi_set_pll()
437 if (!fin) { in exynos_dsi_set_pll()
442 dev_dbg(dsi->dev, "PLL input frequency: %lu\n", fin); in exynos_dsi_set_pll()
[all …]
/linux-4.1.27/drivers/net/wireless/ath/carl9170/
Dfw.c150 unsigned long fin, diff; in carl9170_fw_checksum() local
178 fin = (unsigned long) last_desc + sizeof(*last_desc); in carl9170_fw_checksum()
179 diff = fin - (unsigned long) otus_desc; in carl9170_fw_checksum()
/linux-4.1.27/drivers/video/fbdev/matrox/
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-4.1.27/arch/m68k/ifpsp060/
DMISC68 fin.s : 2.4
127 fin.s : 2.4
/linux-4.1.27/net/core/
Dtso.c33 tcph->fin = 0; in tso_build_hdr()
/linux-4.1.27/net/netfilter/
Dnf_log_common.c105 if (th->fin) in nf_log_dump_tcp_header()
Dxt_TPROXY.c265 if (hp->syn && !hp->rst && !hp->ack && !hp->fin) { in tproxy_handle_time_wait4()
428 if (hp->syn && !hp->rst && !hp->ack && !hp->fin) { in tproxy_handle_time_wait6()
Dnf_conntrack_proto_tcp.c329 else if (tcph->fin) return TCP_FIN_SET; in get_conntrack_index()
371 + (tcph->syn ? 1 : 0) + (tcph->fin ? 1 : 0)); in segment_seq_plus_len()
1050 (th->fin ? 1 : 0), (th->rst ? 1 : 0), in tcp_packet()
/linux-4.1.27/Documentation/devicetree/bindings/clock/
Dsamsung,s3c64xx-clock.txt49 fin_pll: clock-fin-pll {
/linux-4.1.27/net/ipv4/netfilter/
Dnf_reject_ipv4.c86 tcph->ack_seq = htonl(ntohl(oth->seq) + oth->syn + oth->fin + in nf_reject_ip_tcphdr_put()
Dipt_SYNPROXY.c274 if (th->syn && !(th->ack || th->fin || th->rst)) { in synproxy_tg4()
292 } else if (th->ack && !(th->fin || th->rst || th->syn)) { in synproxy_tg4()
/linux-4.1.27/drivers/crypto/
Dmxs-dcp.c579 int fin = rctx->fini; in dcp_sha_req_to_buf() local
580 if (fin) in dcp_sha_req_to_buf()
612 if (fin) { in dcp_sha_req_to_buf()
/linux-4.1.27/net/ipv6/netfilter/
Dip6t_SYNPROXY.c289 if (th->syn && !(th->ack || th->fin || th->rst)) { in synproxy_tg6()
307 } else if (th->ack && !(th->fin || th->rst || th->syn)) { in synproxy_tg6()
Dnf_reject_ipv6.c111 tcph->ack_seq = htonl(ntohl(oth->seq) + oth->syn + oth->fin + in nf_reject_ip6_tcphdr_put()
/linux-4.1.27/Documentation/input/
Dalps.txt106 byte 2: 0 ? ? l r ? fin ges
116 byte 2: 0 x10 x9 x8 x7 ? fin ges
132 byte 2: 0 x10 x9 x8 x7 0 fin ges
/linux-4.1.27/net/ipv4/
Dtcp_offload.c135 th->fin = th->psh = 0; in tcp_gso_segment()
Dinet_lro.c69 tcph->rst || tcph->syn || tcph->fin) in lro_tcp_ip_check()
Dtcp_minisocks.c147 if (!th->fin || in tcp_timewait_state_process()
Dtcp_ipv4.c619 rep.th.ack_seq = htonl(ntohl(th->seq) + th->syn + th->fin + in tcp_v4_send_reset()
1589 TCP_SKB_CB(skb)->end_seq = (TCP_SKB_CB(skb)->seq + th->syn + th->fin + in tcp_v4_rcv()
Dtcp_input.c5721 if (th->fin) in tcp_rcv_state_process()
5882 after(TCP_SKB_CB(skb)->end_seq - th->fin, tp->rcv_nxt))) { in tcp_rcv_state_process()
5891 } else if (th->fin || sock_owned_by_user(sk)) { in tcp_rcv_state_process()
5940 after(TCP_SKB_CB(skb)->end_seq - th->fin, tp->rcv_nxt)) { in tcp_rcv_state_process()
/linux-4.1.27/drivers/char/
Dapplicom.c249 goto fin; in applicom_init()
294 fin: in applicom_init()
/linux-4.1.27/net/netfilter/ipvs/
Dip_vs_proto_tcp.c466 if (th->fin) in tcp_state_idx()
510 th->fin ? 'F' : '.', in set_tcp_state()
/linux-4.1.27/drivers/input/mouse/
Dalps.c249 int x, y, z, ges, fin, left, right, middle; in alps_process_packet_v1_v2() local
281 fin = packet[2] & 2; in alps_process_packet_v1_v2()
303 if (ges && !fin) in alps_process_packet_v1_v2()
311 if (ges && fin && !priv->prev_fin) { in alps_process_packet_v1_v2()
318 priv->prev_fin = fin; in alps_process_packet_v1_v2()
/linux-4.1.27/drivers/media/pci/bt8xx/
Dbttv-driver.c804 static void set_pll_freq(struct bttv *btv, unsigned int fin, unsigned int fout) in set_pll_freq() argument
809 fin/=4; in set_pll_freq()
813 fi=fout/fin; in set_pll_freq()
815 fout=(fout%fin)*256; in set_pll_freq()
816 fh=fout/fin; in set_pll_freq()
818 fout=(fout%fin)*256; in set_pll_freq()
819 fl=fout/fin; in set_pll_freq()
/linux-4.1.27/drivers/net/slip/
Dslhc.c270 if(hlen > isize || th->syn || th->fin || th->rst || in slhc_compress()
/linux-4.1.27/net/sched/
Dsch_htb.c897 goto fin; in htb_dequeue()
940 fin: in htb_dequeue()
/linux-4.1.27/net/ipv6/
Dtcp_ipv6.c888 ack_seq = ntohl(th->seq) + th->syn + th->fin + skb->len - in tcp_v6_send_reset()
1350 TCP_SKB_CB(skb)->end_seq = (TCP_SKB_CB(skb)->seq + th->syn + th->fin + in tcp_v6_fill_cb()
/linux-4.1.27/drivers/infiniband/hw/nes/
Dnes_cm.c509 tcph->fin = 1; in form_cm_frame()
2355 tcph->ack, tcph->rst, tcph->fin); in process_packet()
2366 if (tcph->fin) in process_packet()
2793 if (!tcph->rst && !tcph->fin) { in mini_cm_recv_pkt()
Dnes_mgt.c182 *fin_rcvd = tcph->fin; in nes_get_seq()
Dnes_nic.c609 tcph->fin = 0; in nes_netdev_start_xmit()
/linux-4.1.27/drivers/net/ethernet/intel/i40e/
Di40e_txrx.c1985 if (!th->fin && in i40e_atr()
2012 dtype_cmd |= (th->fin || th->rst) ? in i40e_atr()
/linux-4.1.27/drivers/media/i2c/cx25840/
Dcx25840-core.c851 int fin, fsc; in cx25840_std_setup() local
860 fin = ((u64)src_decimation * pll) >> 12; in cx25840_std_setup()
863 fin / 1000000, fin % 1000000); in cx25840_std_setup()
/linux-4.1.27/drivers/net/ethernet/tile/
Dtilegx.c1789 th->fin = 0; in tso_headers_prepare()
/linux-4.1.27/drivers/net/wireless/iwlwifi/mvm/
Dd3.c459 pkt->tcp.fin = 1; in iwl_mvm_build_tcp_packet()
/linux-4.1.27/arch/m68k/ifpsp060/src/
Dfpsp.S11394 bsr.l fin
11411 long fin - tbl_unsupp # 00: fmove
12019 # fin(): emulates the fmove instruction #
/linux-4.1.27/drivers/net/ethernet/neterion/
Ds2io.c8407 tcp->syn || tcp->fin || in verify_l3_l4_lro_capable()
/linux-4.1.27/drivers/net/ethernet/intel/ixgbe/
Dixgbe_main.c7186 if (!th || th->fin) in ixgbe_atr()
/linux-4.1.27/
DMAINTAINERS4879 M: Fionnuala Gunter <fin@linux.vnet.ibm.com>