Home
last modified time | relevance | path

Searched +full:- +full:av (Results 1 – 25 of 533) sorted by relevance

12345678910>>...22

/OK3568_Linux_fs/kernel/net/dccp/
H A Dackvec.c1 // SPDX-License-Identifier: GPL-2.0-only
19 struct dccp_ackvec *av = kmem_cache_zalloc(dccp_ackvec_slab, priority); in dccp_ackvec_alloc() local
21 if (av != NULL) { in dccp_ackvec_alloc()
22 av->av_buf_head = av->av_buf_tail = DCCPAV_MAX_ACKVEC_LEN - 1; in dccp_ackvec_alloc()
23 INIT_LIST_HEAD(&av->av_records); in dccp_ackvec_alloc()
25 return av; in dccp_ackvec_alloc()
28 static void dccp_ackvec_purge_records(struct dccp_ackvec *av) in dccp_ackvec_purge_records() argument
32 list_for_each_entry_safe(cur, next, &av->av_records, avr_node) in dccp_ackvec_purge_records()
34 INIT_LIST_HEAD(&av->av_records); in dccp_ackvec_purge_records()
37 void dccp_ackvec_free(struct dccp_ackvec *av) in dccp_ackvec_free() argument
[all …]
H A Dackvec.h1 /* SPDX-License-Identifier: GPL-2.0-only */
27 /* Estimated minimum average Ack Vector length - used for updating MPS */
52 * struct dccp_ackvec - Ack Vector main data structure
54 * This implements a fixed-size circular buffer within an array and is largely
79 * struct dccp_ackvec_record - Records information about sent Ack Vectors
81 * These list entries define the additional information which the HC-Receiver
82 * keeps about recently-sent Ack Vectors; again refer to RFC 4340, Appendix A.
106 void dccp_ackvec_free(struct dccp_ackvec *av);
108 void dccp_ackvec_input(struct dccp_ackvec *av, struct sk_buff *skb);
109 int dccp_ackvec_update_records(struct dccp_ackvec *av, u64 seq, u8 sum);
[all …]
/OK3568_Linux_fs/kernel/drivers/infiniband/hw/mlx4/
H A Dah.c14 * - Redistributions of source code must retain the above
18 * - Redistributions in binary form must reproduce the above
46 struct mlx4_dev *dev = to_mdev(ib_ah->device)->dev; in create_ib_ah()
48 ah->av.ib.port_pd = cpu_to_be32(to_mpd(ib_ah->pd)->pdn | in create_ib_ah()
50 ah->av.ib.g_slid = rdma_ah_get_path_bits(ah_attr); in create_ib_ah()
51 ah->av.ib.sl_tclass_flowlabel = in create_ib_ah()
56 ah->av.ib.g_slid |= 0x80; in create_ib_ah()
57 ah->av.ib.gid_index = grh->sgid_index; in create_ib_ah()
58 ah->av.ib.hop_limit = grh->hop_limit; in create_ib_ah()
59 ah->av.ib.sl_tclass_flowlabel |= in create_ib_ah()
[all …]
/OK3568_Linux_fs/kernel/drivers/infiniband/sw/rxe/
H A Drxe_av.c1 // SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB
10 void rxe_init_av(struct rdma_ah_attr *attr, struct rxe_av *av) in rxe_init_av() argument
12 rxe_av_from_attr(rdma_ah_get_port_num(attr), av, attr); in rxe_init_av()
13 rxe_av_fill_ip_info(av, attr); in rxe_init_av()
14 memcpy(av->dmac, attr->roce.dmac, ETH_ALEN); in rxe_init_av()
23 port = &rxe->port; in rxe_av_chk_attr()
26 if (grh->sgid_index > port->attr.gid_tbl_len) { in rxe_av_chk_attr()
28 grh->sgid_index); in rxe_av_chk_attr()
29 return -EINVAL; in rxe_av_chk_attr()
32 type = rdma_gid_attr_network_type(grh->sgid_attr); in rxe_av_chk_attr()
[all …]
H A Drxe_net.c1 // SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB
28 ipv6_eth_mc_map((struct in6_addr *)mgid->raw, ll_addr); in rxe_mcast_add()
29 err = dev_mc_add(rxe->ndev, ll_addr); in rxe_mcast_add()
39 ipv6_eth_mc_map((struct in6_addr *)mgid->raw, ll_addr); in rxe_mcast_delete()
40 err = dev_mc_del(rxe->ndev, ll_addr); in rxe_mcast_delete()
53 fl.flowi4_oif = ndev->ifindex; in rxe_find_route4()
60 pr_err_ratelimited("no route to %pI4\n", &daddr->s_addr); in rxe_find_route4()
64 return &rt->dst; in rxe_find_route4()
76 fl6.flowi6_oif = ndev->ifindex; in rxe_find_route6()
81 ndst = ipv6_stub->ipv6_dst_lookup_flow(sock_net(recv_sockets.sk6->sk), in rxe_find_route6()
[all …]
/OK3568_Linux_fs/kernel/drivers/infiniband/hw/mthca/
H A Dmthca_av.c15 * - Redistributions of source code must retain the above
19 * - Redistributions in binary form must reproduce the above
98 if (dev->limits.stat_rate_support == 0x3 && mthca_rate) in mthca_rate_to_ib()
101 return memfree_rate_to_ib(mthca_rate, dev->rate[port - 1]); in mthca_rate_to_ib()
103 return tavor_rate_to_ib(mthca_rate, dev->rate[port - 1]); in mthca_rate_to_ib()
112 * Inter-packet delay (IPD) to get from rate X down to a rate in ib_rate_to_memfree()
113 * no more than Y is (X - 1) / Y. in ib_rate_to_memfree()
115 switch ((cur_rate - 1) / req_rate) { in ib_rate_to_memfree()
138 if (!static_rate || ib_rate_to_mult(static_rate) >= dev->rate[port - 1]) in mthca_get_rate()
143 dev->rate[port - 1]); in mthca_get_rate()
[all …]
/OK3568_Linux_fs/kernel/drivers/infiniband/hw/hns/
H A Dhns_roce_ah.c14 * - Redistributions of source code must retain the above
18 * - Redistributions in binary form must reproduce the above
41 u32 fl = ah_attr->grh.flow_label; in get_ah_udp_sport()
46 (IB_ROCE_UDP_ENCAP_VALID_PORT_MAX + 1 - in get_ah_udp_sport()
58 struct rdma_ah_attr *ah_attr = init_attr->ah_attr; in hns_roce_create_ah()
60 struct hns_roce_dev *hr_dev = to_hr_dev(ibah->device); in hns_roce_create_ah()
64 ah->av.port = rdma_ah_get_port_num(ah_attr); in hns_roce_create_ah()
65 ah->av.gid_index = grh->sgid_index; in hns_roce_create_ah()
68 ah->av.stat_rate = IB_RATE_10_GBPS; in hns_roce_create_ah()
70 ah->av.hop_limit = grh->hop_limit; in hns_roce_create_ah()
[all …]
/OK3568_Linux_fs/u-boot/drivers/mtd/ubi/
H A Dattach.c4 * SPDX-License-Identifier: GPL-2.0+
10 * UBI attaching sub-system.
12 * This sub-system is responsible for attaching MTD devices and it also
17 * objects which are kept in volume RB-tree with root at the @volumes field.
18 * The RB-tree is indexed by the volume ID.
21 * objects are kept in per-volume RB-trees with the root at the corresponding
22 * &struct ubi_ainf_volume object. To put it differently, we keep an RB-tree of
23 * per-volume objects and each of these objects is the root of RB-tree of
24 * per-LEB objects.
33 * UBI protects EC and VID headers with CRC-32 checksums, so it can detect
[all …]
H A Dvtbl.c5 * SPDX-License-Identifier: GPL-2.0+
12 * on-flash table containing volume meta-data like name, number of reserved
13 * physical eraseblocks, type, etc. The volume table is stored in the so-called
17 * consists of two logical eraseblocks - LEB 0 and LEB 1. Each logical
30 * In this UBI implementation the on-flash volume table does not contain any
41 * The volume table also stores so-called "update marker", which is used for
44 * the update operation was interrupted (e.g. by an unclean reboot) - the
67 * ubi_update_layout_vol - helper for updatting layout volumes on flash
75 layout_vol = ubi->volumes[vol_id2idx(ubi, UBI_LAYOUT_VOLUME_ID)]; in ubi_update_layout_vol()
77 err = ubi_eba_atomic_leb_change(ubi, layout_vol, i, ubi->vtbl, in ubi_update_layout_vol()
[all …]
H A Dfastmap.c6 * SPDX-License-Identifier: GPL-2.0+
23 * init_seen - allocate memory for used for debugging.
33 ret = kcalloc(ubi->peb_count, sizeof(int), GFP_KERNEL); in init_seen()
35 return ERR_PTR(-ENOMEM); in init_seen()
41 * free_seen - free the seen logic integer array.
42 * @seen: integer array of @ubi->peb_count size
50 * set_seen - mark a PEB as seen.
53 * @seen: integer array of @ubi->peb_count size
64 * self_check_seen - check whether all PEB have been seen by fastmap.
66 * @seen: integer array of @ubi->peb_count size
[all …]
/OK3568_Linux_fs/kernel/drivers/infiniband/hw/mlx5/
H A Dah.c2 * Copyright (c) 2013-2015, Mellanox Technologies. All rights reserved.
14 * - Redistributions of source code must retain the above
18 * - Redistributions in binary form must reproduce the above
38 enum ib_gid_type gid_type = ah_attr->grh.sgid_attr->gid_type; in mlx5_ah_get_udp_sport()
43 (ah_attr->grh.flow_label & IB_GRH_FLOWLABEL_MASK)) in mlx5_ah_get_udp_sport()
45 rdma_flow_label_to_udp_sport(ah_attr->grh.flow_label)); in mlx5_ah_get_udp_sport()
48 ah_attr->grh.sgid_attr); in mlx5_ah_get_udp_sport()
56 struct rdma_ah_attr *ah_attr = init_attr->ah_attr; in create_ib_ah()
62 memcpy(ah->av.rgid, &grh->dgid, 16); in create_ib_ah()
63 ah->av.grh_gid_fl = cpu_to_be32(grh->flow_label | in create_ib_ah()
[all …]
/OK3568_Linux_fs/kernel/drivers/mtd/ubi/
H A Dattach.c1 // SPDX-License-Identifier: GPL-2.0-or-later
9 * UBI attaching sub-system.
11 * This sub-system is responsible for attaching MTD devices and it also
16 * objects which are kept in volume RB-tree with root at the @volumes field.
17 * The RB-tree is indexed by the volume ID.
20 * objects are kept in per-volume RB-trees with the root at the corresponding
21 * &struct ubi_ainf_volume object. To put it differently, we keep an RB-tree of
22 * per-volume objects and each of these objects is the root of RB-tree of
23 * per-LEB objects.
32 * UBI protects EC and VID headers with CRC-32 checksums, so it can detect
[all …]
H A Dvtbl.c1 // SPDX-License-Identifier: GPL-2.0-or-later
11 * on-flash table containing volume meta-data like name, number of reserved
12 * physical eraseblocks, type, etc. The volume table is stored in the so-called
16 * consists of two logical eraseblocks - LEB 0 and LEB 1. Each logical
29 * In this UBI implementation the on-flash volume table does not contain any
40 * The volume table also stores so-called "update marker", which is used for
43 * the update operation was interrupted (e.g. by an unclean reboot) - the
60 * ubi_update_layout_vol - helper for updatting layout volumes on flash
68 layout_vol = ubi->volumes[vol_id2idx(ubi, UBI_LAYOUT_VOLUME_ID)]; in ubi_update_layout_vol()
70 err = ubi_eba_atomic_leb_change(ubi, layout_vol, i, ubi->vtbl, in ubi_update_layout_vol()
[all …]
H A Dfastmap.c1 // SPDX-License-Identifier: GPL-2.0-only
13 * init_seen - allocate memory for used for debugging.
23 ret = kcalloc(BITS_TO_LONGS(ubi->peb_count), sizeof(unsigned long), in init_seen()
26 return ERR_PTR(-ENOMEM); in init_seen()
32 * free_seen - free the seen logic integer array.
33 * @seen: integer array of @ubi->peb_count size
41 * set_seen - mark a PEB as seen.
44 * @seen: integer array of @ubi->peb_count size
55 * self_check_seen - check whether all PEB have been seen by fastmap.
57 * @seen: integer array of @ubi->peb_count size
[all …]
/OK3568_Linux_fs/buildroot/dl/rtmpdump/git/
H A Drtmpsrv.c3 * Copyright (C) 2009-2011 Howard Chu
18 * Boston, MA 02110-1301, USA.
131 #define STR2AVAL(av,str) av.av_val = str; av.av_len = strlen(av.av_val) argument
179 AVal av; in SendConnectResult() local
194 STR2AVAL(av, "FMS/3,5,1,525"); in SendConnectResult()
195 enc = AMF_EncodeNamedString(enc, pend, &av_fmsVer, &av); in SendConnectResult()
204 STR2AVAL(av, "status"); in SendConnectResult()
205 enc = AMF_EncodeNamedString(enc, pend, &av_level, &av); in SendConnectResult()
206 STR2AVAL(av, "NetConnection.Connect.Success"); in SendConnectResult()
207 enc = AMF_EncodeNamedString(enc, pend, &av_code, &av); in SendConnectResult()
[all …]
H A Drtmpsuck.c18 * Boston, MA 02110-1301, USA.
106 #define STR2AVAL(av,str) av.av_val = str; av.av_len = strlen(av.av_val) argument
161 int nBodySize = pack->m_nBodySize; in ServeInvoke()
163 if (body > pack->m_body) in ServeInvoke()
164 nBodySize--; in ServeInvoke()
205 server->rc.Link.app = pval; in ServeInvoke()
210 server->rc.Link.flashVer = pval; in ServeInvoke()
217 RTMP_HashSWF(pval.av_val, &server->rc.Link.SWFSize, in ServeInvoke()
218 (unsigned char *)server->rc.Link.SWFHash, 30); in ServeInvoke()
220 server->rc.Link.swfUrl = pval; in ServeInvoke()
[all …]
/OK3568_Linux_fs/kernel/drivers/infiniband/hw/ocrdma/
H A Docrdma_ah.c3 * Copyright (C) 2012-2015 Emulex. All rights reserved.
16 * - Redistributions of source code must retain the above copyright notice,
19 * - Redistributions in binary form must reproduce the above copyright
36 * linux-drivers@emulex.com
94 proto_num = ocrdma_hdr_type_to_proto_num(dev->id, ah->hdr_type); in set_av_attr()
96 return -EINVAL; in set_av_attr()
100 vlan_tag = dev->pvid; in set_av_attr()
101 if (vlan_tag || dev->pfc_state) { in set_av_attr()
104 dev->id); in set_av_attr()
106 dev->id); in set_av_attr()
[all …]
/OK3568_Linux_fs/u-boot/cmd/
H A Dmd5sum.c8 * SPDX-License-Identifier: GPL-2.0+
14 #include <u-boot/md5.h>
83 char * const *av; in do_md5sum() local
89 av = argv + 1; in do_md5sum()
90 ac = argc - 1; in do_md5sum()
91 if (strcmp(*av, "-v") == 0) { in do_md5sum()
93 av++; in do_md5sum()
94 ac--; in do_md5sum()
99 addr = simple_strtoul(*av++, NULL, 16); in do_md5sum()
100 len = simple_strtoul(*av++, NULL, 16); in do_md5sum()
[all …]
H A Dsha1sum.c8 * SPDX-License-Identifier: GPL-2.0+
14 #include <u-boot/sha1.h>
20 char * const *av; in do_sha1sum() local
25 av = argv + 1; in do_sha1sum()
26 ac = argc - 1; in do_sha1sum()
28 if (strcmp(*av, "-v") == 0) { in do_sha1sum()
30 av++; in do_sha1sum()
31 ac--; in do_sha1sum()
35 return hash_command("sha1", flags, cmdtp, flag, ac, av); in do_sha1sum()
43 " - compute SHA1 message digest [save to sum]\n"
[all …]
/OK3568_Linux_fs/kernel/Documentation/ABI/testing/
H A Dsysfs-platform-lg-laptop1 What: /sys/devices/platform/lg-laptop/reader_mode
4 Contact: "Matan Ziv-Av <matan@svgalib.org>
8 What: /sys/devices/platform/lg-laptop/fn_lock
11 Contact: "Matan Ziv-Av <matan@svgalib.org>
15 What: /sys/devices/platform/lg-laptop/battery_care_limit
18 Contact: "Matan Ziv-Av <matan@svgalib.org>
22 What: /sys/devices/platform/lg-laptop/fan_mode
25 Contact: "Matan Ziv-Av <matan@svgalib.org>
29 What: /sys/devices/platform/lg-laptop/usb_charge
32 Contact: "Matan Ziv-Av <matan@svgalib.org>
/OK3568_Linux_fs/buildroot/dl/alsa-plugins/
HDalsa-plugins-1.2.6.tar.bz2 ... .6/arcam-av/50-arcam-av-ctl.conf alsa-plugins-1.2
/OK3568_Linux_fs/kernel/drivers/ps3/
H A Dps3av_cmd.c1 // SPDX-License-Identifier: GPL-2.0-only
6 * AV backend support for PS3
29 u32 av; member
34 .av = PS3AV_CMD_AV_CS_RGB_8,
38 .av = PS3AV_CMD_AV_CS_RGB_8,
42 .av = PS3AV_CMD_AV_CS_RGB_8,
46 .av = PS3AV_CMD_AV_CS_YUV444_8,
50 .av = PS3AV_CMD_AV_CS_YUV444_8,
54 .av = PS3AV_CMD_AV_CS_YUV444_8,
58 .av = PS3AV_CMD_AV_CS_YUV422_8,
[all …]
/OK3568_Linux_fs/kernel/arch/powerpc/boot/
H A Dhack-coff.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * hack-coff.c - hack the header of an xcoff file to fill in
28 main(int ac, char **av) in main() argument
38 fprintf(stderr, "Usage: hack-coff coff-file\n"); in main()
41 if ((fd = open(av[1], 2)) == -1) { in main()
42 perror(av[2]); in main()
49 fprintf(stderr, "%s: not an xcoff file\n", av[1]); in main()
69 if (lseek(fd, (long) sizeof(struct external_filehdr), 0) == -1 in main()
71 fprintf(stderr, "%s: write error\n", av[1]); in main()
78 fprintf(stderr, "%s: read error or file too short\n", av[1]); in main()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/nouveau/nvkm/engine/gr/
H A Dgk20a.c2 * Copyright (c) 2014-2015, NVIDIA CORPORATION. All rights reserved.
40 struct nvkm_subdev *subdev = &gr->base.engine.subdev; in gk20a_gr_av_to_init()
55 ret = -ENOMEM; in gk20a_gr_av_to_init()
64 struct gk20a_fw_av *av = &((struct gk20a_fw_av *)blob.data)[i]; in gk20a_gr_av_to_init() local
66 ent->addr = av->addr; in gk20a_gr_av_to_init()
67 ent->data = av->data; in gk20a_gr_av_to_init()
68 ent->count = 1; in gk20a_gr_av_to_init()
69 ent->pitch = 1; in gk20a_gr_av_to_init()
90 struct nvkm_subdev *subdev = &gr->base.engine.subdev; in gk20a_gr_aiv_to_init()
105 ret = -ENOMEM; in gk20a_gr_aiv_to_init()
[all …]
/OK3568_Linux_fs/buildroot/package/gupnp-av/
H A DConfig.in2 bool "gupnp-av"
10 GUPnP-AV is a collection of helpers for building AV
15 comment "gupnp-av needs a toolchain w/ wchar, threads"

12345678910>>...22