Searched +full:- +full:av (Results 1 – 25 of 533) sorted by relevance
12345678910>>...22
1 // SPDX-License-Identifier: GPL-2.0-only19 struct dccp_ackvec *av = kmem_cache_zalloc(dccp_ackvec_slab, priority); in dccp_ackvec_alloc() local21 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() argument32 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 …]
1 /* 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 structure54 * This implements a fixed-size circular buffer within an array and is largely79 * struct dccp_ackvec_record - Records information about sent Ack Vectors81 * These list entries define the additional information which the HC-Receiver82 * 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 …]
14 * - Redistributions of source code must retain the above18 * - Redistributions in binary form must reproduce the above46 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 …]
1 // SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB10 void rxe_init_av(struct rdma_ah_attr *attr, struct rxe_av *av) in rxe_init_av() argument12 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 …]
1 // SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB28 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 …]
15 * - Redistributions of source code must retain the above19 * - Redistributions in binary form must reproduce the above98 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 …]
14 * - Redistributions of source code must retain the above18 * - Redistributions in binary form must reproduce the above41 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 …]
4 * SPDX-License-Identifier: GPL-2.0+10 * UBI attaching sub-system.12 * This sub-system is responsible for attaching MTD devices and it also17 * 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 corresponding22 * &struct ubi_ainf_volume object. To put it differently, we keep an RB-tree of23 * per-volume objects and each of these objects is the root of RB-tree of24 * per-LEB objects.33 * UBI protects EC and VID headers with CRC-32 checksums, so it can detect[all …]
5 * SPDX-License-Identifier: GPL-2.0+12 * on-flash table containing volume meta-data like name, number of reserved13 * physical eraseblocks, type, etc. The volume table is stored in the so-called17 * consists of two logical eraseblocks - LEB 0 and LEB 1. Each logical30 * In this UBI implementation the on-flash volume table does not contain any41 * The volume table also stores so-called "update marker", which is used for44 * the update operation was interrupted (e.g. by an unclean reboot) - the67 * ubi_update_layout_vol - helper for updatting layout volumes on flash75 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 …]
6 * 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 size50 * set_seen - mark a PEB as seen.53 * @seen: integer array of @ubi->peb_count size64 * self_check_seen - check whether all PEB have been seen by fastmap.66 * @seen: integer array of @ubi->peb_count size[all …]
2 * Copyright (c) 2013-2015, Mellanox Technologies. All rights reserved.14 * - Redistributions of source code must retain the above18 * - Redistributions in binary form must reproduce the above38 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 …]
1 // SPDX-License-Identifier: GPL-2.0-or-later9 * UBI attaching sub-system.11 * This sub-system is responsible for attaching MTD devices and it also16 * 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 corresponding21 * &struct ubi_ainf_volume object. To put it differently, we keep an RB-tree of22 * per-volume objects and each of these objects is the root of RB-tree of23 * per-LEB objects.32 * UBI protects EC and VID headers with CRC-32 checksums, so it can detect[all …]
1 // SPDX-License-Identifier: GPL-2.0-or-later11 * on-flash table containing volume meta-data like name, number of reserved12 * physical eraseblocks, type, etc. The volume table is stored in the so-called16 * consists of two logical eraseblocks - LEB 0 and LEB 1. Each logical29 * In this UBI implementation the on-flash volume table does not contain any40 * The volume table also stores so-called "update marker", which is used for43 * the update operation was interrupted (e.g. by an unclean reboot) - the60 * ubi_update_layout_vol - helper for updatting layout volumes on flash68 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 …]
1 // SPDX-License-Identifier: GPL-2.0-only13 * 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 size41 * set_seen - mark a PEB as seen.44 * @seen: integer array of @ubi->peb_count size55 * self_check_seen - check whether all PEB have been seen by fastmap.57 * @seen: integer array of @ubi->peb_count size[all …]
3 * Copyright (C) 2009-2011 Howard Chu18 * Boston, MA 02110-1301, USA.131 #define STR2AVAL(av,str) av.av_val = str; av.av_len = strlen(av.av_val) argument179 AVal av; in SendConnectResult() local194 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 …]
18 * Boston, MA 02110-1301, USA.106 #define STR2AVAL(av,str) av.av_val = str; av.av_len = strlen(av.av_val) argument161 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 …]
3 * 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 copyright36 * linux-drivers@emulex.com94 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 …]
8 * SPDX-License-Identifier: GPL-2.0+14 #include <u-boot/md5.h>83 char * const *av; in do_md5sum() local89 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 …]
8 * SPDX-License-Identifier: GPL-2.0+14 #include <u-boot/sha1.h>20 char * const *av; in do_sha1sum() local25 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 …]
1 What: /sys/devices/platform/lg-laptop/reader_mode4 Contact: "Matan Ziv-Av <matan@svgalib.org>8 What: /sys/devices/platform/lg-laptop/fn_lock11 Contact: "Matan Ziv-Av <matan@svgalib.org>15 What: /sys/devices/platform/lg-laptop/battery_care_limit18 Contact: "Matan Ziv-Av <matan@svgalib.org>22 What: /sys/devices/platform/lg-laptop/fan_mode25 Contact: "Matan Ziv-Av <matan@svgalib.org>29 What: /sys/devices/platform/lg-laptop/usb_charge32 Contact: "Matan Ziv-Av <matan@svgalib.org>
... .6/arcam-av/50-arcam-av-ctl.conf alsa-plugins-1.2
1 // SPDX-License-Identifier: GPL-2.0-only6 * AV backend support for PS329 u32 av; member34 .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 …]
1 // SPDX-License-Identifier: GPL-2.0-or-later3 * hack-coff.c - hack the header of an xcoff file to fill in28 main(int ac, char **av) in main() argument38 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()
2 * 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() local66 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 …]
2 bool "gupnp-av"10 GUPnP-AV is a collection of helpers for building AV15 comment "gupnp-av needs a toolchain w/ wchar, threads"