/openbmc/linux/drivers/net/wireless/cisco/ |
H A D | airo.c | 1113 static int enable_MAC(struct airo_info *ai, int lock); 1114 static void disable_MAC(struct airo_info *ai, int lock); 1140 static void mpi_receive_802_3(struct airo_info *ai); 1141 static void mpi_receive_802_11(struct airo_info *ai); 1142 static int waitbusy(struct airo_info *ai); 1154 static void micinit(struct airo_info *ai); 1155 static int micsetup(struct airo_info *ai); 1156 static int encapsulate(struct airo_info *ai, etherHead *pPacket, MICBuffer *buffer, int len); 1157 static int decapsulate(struct airo_info *ai, MICBuffer *mic, etherHead *pPacket, u16 payLen); 1162 static void airo_networks_free(struct airo_info *ai); [all …]
|
/openbmc/linux/drivers/mtd/ubi/ |
H A D | attach.c | 79 static int self_check_ai(struct ubi_device *ubi, struct ubi_attach_info *ai); 88 * @ai: attaching information 103 static struct ubi_ainf_volume *find_or_add_av(struct ubi_attach_info *ai, in find_or_add_av() argument 108 struct rb_node **p = &ai->volumes.rb_node, *parent = NULL; in find_or_add_av() 140 if (vol_id > ai->highest_vol_id) in find_or_add_av() 141 ai->highest_vol_id = vol_id; in find_or_add_av() 144 rb_insert_color(&av->rb, &ai->volumes); in find_or_add_av() 145 ai->vols_found += 1; in find_or_add_av() 154 * @ai: attaching information 161 static struct ubi_ainf_volume *ubi_find_or_add_av(struct ubi_attach_info *ai, in ubi_find_or_add_av() argument [all …]
|
H A D | fastmap.c | 128 * @ai: UBI attach info object 136 static int add_aeb(struct ubi_attach_info *ai, struct list_head *list, in add_aeb() argument 141 aeb = ubi_alloc_aeb(ai, pnum, ec); in add_aeb() 149 ai->ec_sum += aeb->ec; in add_aeb() 150 ai->ec_count++; in add_aeb() 152 if (ai->max_ec < aeb->ec) in add_aeb() 153 ai->max_ec = aeb->ec; in add_aeb() 155 if (ai->min_ec > aeb->ec) in add_aeb() 156 ai->min_ec = aeb->ec; in add_aeb() 165 * @ai: ubi_attach_info object [all …]
|
H A D | vtbl.c | 278 * @ai: attaching information 285 static int create_vtbl(struct ubi_device *ubi, struct ubi_attach_info *ai, in create_vtbl() argument 302 new_aeb = ubi_early_get_peb(ubi, ai); in create_vtbl() 314 vid_hdr->sqnum = cpu_to_be64(++ai->max_sqnum); in create_vtbl() 330 err = ubi_add_to_av(ubi, ai, new_aeb->pnum, new_aeb->ec, vid_hdr, 0); in create_vtbl() 331 ubi_free_aeb(ai, new_aeb); in create_vtbl() 341 list_add(&new_aeb->u.list, &ai->erase); in create_vtbl() 344 ubi_free_aeb(ai, new_aeb); in create_vtbl() 354 * @ai: attaching information 362 struct ubi_attach_info *ai, in process_lvol() argument [all …]
|
/openbmc/u-boot/drivers/mtd/ubi/ |
H A D | attach.c | 87 static int self_check_ai(struct ubi_device *ubi, struct ubi_attach_info *ai); 95 * @ai: attaching information 114 static int add_to_list(struct ubi_attach_info *ai, int pnum, int vol_id, in add_to_list() argument 119 if (list == &ai->free) { in add_to_list() 121 } else if (list == &ai->erase) { in add_to_list() 123 } else if (list == &ai->alien) { in add_to_list() 125 ai->alien_peb_count += 1; in add_to_list() 129 aeb = kmem_cache_alloc(ai->aeb_slab_cache, GFP_KERNEL); in add_to_list() 146 * @ai: attaching information 155 static int add_corrupted(struct ubi_attach_info *ai, int pnum, int ec) in add_corrupted() argument [all …]
|
H A D | fastmap.c | 134 * @ai: UBI attach info object 142 static int add_aeb(struct ubi_attach_info *ai, struct list_head *list, in add_aeb() argument 147 aeb = kmem_cache_alloc(ai->aeb_slab_cache, GFP_KERNEL); in add_aeb() 157 ai->ec_sum += aeb->ec; in add_aeb() 158 ai->ec_count++; in add_aeb() 160 if (ai->max_ec < aeb->ec) in add_aeb() 161 ai->max_ec = aeb->ec; in add_aeb() 163 if (ai->min_ec > aeb->ec) in add_aeb() 164 ai->min_ec = aeb->ec; in add_aeb() 173 * @ai: ubi_attach_info object [all …]
|
H A D | vtbl.c | 288 * @ai: attaching information 295 static int create_vtbl(struct ubi_device *ubi, struct ubi_attach_info *ai, argument 309 new_aeb = ubi_early_get_peb(ubi, ai); 321 vid_hdr->sqnum = cpu_to_be64(++ai->max_sqnum); 337 err = ubi_add_to_av(ubi, ai, new_aeb->pnum, new_aeb->ec, vid_hdr, 0); 338 kmem_cache_free(ai->aeb_slab_cache, new_aeb); 348 list_add(&new_aeb->u.list, &ai->erase); 351 kmem_cache_free(ai->aeb_slab_cache, new_aeb); 361 * @ai: attaching information 369 struct ubi_attach_info *ai, argument [all …]
|
/openbmc/linux/drivers/net/ethernet/mediatek/ |
H A D | mtk_ppe_debugfs.c | 64 mtk_print_addr_info(struct seq_file *m, struct mtk_flow_addr_info *ai) in mtk_print_addr_info() argument 66 mtk_print_addr(m, ai->src, ai->ipv6); in mtk_print_addr_info() 67 if (ai->src_port) in mtk_print_addr_info() 68 seq_printf(m, ":%d", *ai->src_port); in mtk_print_addr_info() 70 mtk_print_addr(m, ai->dest, ai->ipv6); in mtk_print_addr_info() 71 if (ai->dest_port) in mtk_print_addr_info() 72 seq_printf(m, ":%d", *ai->dest_port); in mtk_print_addr_info() 84 struct mtk_flow_addr_info ai = {}; in mtk_ppe_debugfs_foe_show() local 109 ai.src_port = &entry->ipv4.orig.src_port; in mtk_ppe_debugfs_foe_show() 110 ai.dest_port = &entry->ipv4.orig.dest_port; in mtk_ppe_debugfs_foe_show() [all …]
|
/openbmc/linux/kernel/kcsan/ |
H A D | report.c | 43 struct access_info ai; member 389 const struct access_info *ai, in print_report() argument 396 int skipnr = sanitize_stack_entries(stack_entries, num_stack_entries, ai->ip, &reordered_to); in print_report() 411 other_info->ai.ip, &other_reordered_to); in print_report() 433 get_bug_type(ai->access_type | other_info->ai.access_type), in print_report() 437 pr_err("BUG: KCSAN: %s in %pS\n", get_bug_type(ai->access_type), in print_report() 446 get_access_type(other_info->ai.access_type), other_info->ai.ptr, in print_report() 447 other_info->ai.size, get_thread_desc(other_info->ai.task_pid), in print_report() 448 other_info->ai.cpu_id); in print_report() 459 get_access_type(ai->access_type), ai->ptr, ai->size, in print_report() [all …]
|
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-support/ruli/files/ |
H A D | 0001-Fix-build-with-format-string-checks.patch | 33 for (ai = ai_res; ai; ai = ai->ai_next) { 38 switch (ai->ai_family) { 44 for (ai = ai_res; ai; ai = ai->ai_next) { 49 switch (ai->ai_family) {
|
/openbmc/linux/mm/ |
H A D | percpu.c | 1583 static int __init pcpu_verify_alloc_info(const struct pcpu_alloc_info *ai); 2420 * Allocate ai which is large enough for @nr_groups groups containing 2421 * @nr_units units. The returned ai's groups[0].cpu_map points to the 2433 struct pcpu_alloc_info *ai; in pcpu_alloc_alloc_info() local 2438 base_size = ALIGN(struct_size(ai, groups, nr_groups), in pcpu_alloc_alloc_info() 2439 __alignof__(ai->groups[0].cpu_map[0])); in pcpu_alloc_alloc_info() 2440 ai_size = base_size + nr_units * sizeof(ai->groups[0].cpu_map[0]); in pcpu_alloc_alloc_info() 2445 ai = ptr; in pcpu_alloc_alloc_info() 2448 ai->groups[0].cpu_map = ptr; in pcpu_alloc_alloc_info() 2451 ai->groups[0].cpu_map[unit] = NR_CPUS; in pcpu_alloc_alloc_info() [all …]
|
/openbmc/linux/drivers/staging/media/av7110/ |
H A D | dvb_filter.c | 21 int dvb_filter_get_ac3info(u8 *mbuf, int count, struct dvb_audio_info *ai, int pr) in dvb_filter_get_ac3info() argument 43 ai->off = c; in dvb_filter_get_ac3info() 46 ai->layer = 0; // 0 for AC3 in dvb_filter_get_ac3info() 50 ai->bit_rate = ac3_bitrates[frame >> 1]*1000; in dvb_filter_get_ac3info() 53 printk(KERN_CONT " BRate: %d kb/s", (int) ai->bit_rate/1000); in dvb_filter_get_ac3info() 55 ai->frequency = (headr[2] & 0xc0 ) >> 6; in dvb_filter_get_ac3info() 57 ai->frequency = freq[fr]*100; in dvb_filter_get_ac3info() 59 printk(KERN_CONT " Freq: %d Hz\n", (int) ai->frequency); in dvb_filter_get_ac3info() 61 ai->framesize = ac3_frames[fr][frame >> 1]; in dvb_filter_get_ac3info() 62 if ((frame & 1) && (fr == 1)) ai->framesize++; in dvb_filter_get_ac3info() [all …]
|
/openbmc/linux/net/ipv4/ |
H A D | tcp_highspeed.c | 97 u32 ai; member 105 ca->ai = 0; in hstcp_init() 126 * hstcp_aimd_vals[ca->ai-1].cwnd < in hstcp_cong_avoid() 128 * hstcp_aimd_vals[ca->ai].cwnd in hstcp_cong_avoid() 130 if (tcp_snd_cwnd(tp) > hstcp_aimd_vals[ca->ai].cwnd) { in hstcp_cong_avoid() 131 while (tcp_snd_cwnd(tp) > hstcp_aimd_vals[ca->ai].cwnd && in hstcp_cong_avoid() 132 ca->ai < HSTCP_AIMD_MAX - 1) in hstcp_cong_avoid() 133 ca->ai++; in hstcp_cong_avoid() 134 } else if (ca->ai && tcp_snd_cwnd(tp) <= hstcp_aimd_vals[ca->ai-1].cwnd) { in hstcp_cong_avoid() 135 while (ca->ai && tcp_snd_cwnd(tp) <= hstcp_aimd_vals[ca->ai-1].cwnd) in hstcp_cong_avoid() [all …]
|
/openbmc/linux/arch/ia64/mm/ |
H A D | contig.c | 103 struct pcpu_alloc_info *ai; in setup_per_cpu_areas() local 108 ai = pcpu_alloc_alloc_info(1, num_possible_cpus()); in setup_per_cpu_areas() 109 if (!ai) in setup_per_cpu_areas() 111 gi = &ai->groups[0]; in setup_per_cpu_areas() 125 ai->static_size = static_size; in setup_per_cpu_areas() 126 ai->reserved_size = reserved_size; in setup_per_cpu_areas() 127 ai->dyn_size = dyn_size; in setup_per_cpu_areas() 128 ai->unit_size = PERCPU_PAGE_SIZE; in setup_per_cpu_areas() 129 ai->atom_size = PAGE_SIZE; in setup_per_cpu_areas() 130 ai->alloc_size = PERCPU_PAGE_SIZE; in setup_per_cpu_areas() [all …]
|
H A D | discontig.c | 182 struct pcpu_alloc_info *ai; in setup_per_cpu_areas() local 191 ai = pcpu_alloc_alloc_info(MAX_NUMNODES, nr_cpu_ids); in setup_per_cpu_areas() 192 if (!ai) in setup_per_cpu_areas() 194 cpu_map = ai->groups[0].cpu_map; in setup_per_cpu_areas() 219 ai->static_size = static_size; in setup_per_cpu_areas() 220 ai->reserved_size = reserved_size; in setup_per_cpu_areas() 221 ai->dyn_size = dyn_size; in setup_per_cpu_areas() 222 ai->unit_size = PERCPU_PAGE_SIZE; in setup_per_cpu_areas() 223 ai->atom_size = PAGE_SIZE; in setup_per_cpu_areas() 224 ai->alloc_size = PERCPU_PAGE_SIZE; in setup_per_cpu_areas() [all …]
|
/openbmc/linux/tools/testing/vsock/ |
H A D | control.c | 42 struct addrinfo *ai; in control_init() local 51 for (ai = result; ai; ai = ai->ai_next) { in control_init() 55 fd = socket(ai->ai_family, ai->ai_socktype, ai->ai_protocol); in control_init() 60 if (connect(fd, ai->ai_addr, ai->ai_addrlen) < 0) in control_init() 74 if (bind(fd, ai->ai_addr, ai->ai_addrlen) < 0) in control_init()
|
/openbmc/linux/Documentation/sound/cards/ |
H A D | audiophile-usb.rst | 33 * Analog Stereo Input (Ai) 59 - Ai+Ao+Di+Do 64 - Ai+Ao+Do or Ai+Di+Ao or Ai+Di+Do or Di+Ao+Do 68 - Ai or Ao or Di or Do 128 * hw:1,1 is Do in playback and Ai in capture 146 * recording a S24_3BE encoded raw file from the Ai port:: 167 from the Ai interface sounds distorted (as if boosted with an excessive high 198 - Ai,Ao,Do can be used at the same time 205 - Ai,Ao,Di,Do can be used at the same time 235 - Ai,Ao,Do can be used at the same time [all …]
|
/openbmc/qemu/tcg/ |
H A D | tcg-op-vec.c | 234 TCGArg ai = tcgv_i64_arg(a); in tcg_gen_dup_i64_vec() local 235 vec_gen_2(INDEX_op_dup_vec, type, vece, ri, ai); in tcg_gen_dup_i64_vec() 241 TCGArg ai = tcgv_i32_arg(TCGV_LOW(a)); in tcg_gen_dup_i64_vec() local 242 vec_gen_2(INDEX_op_dup_vec, type, vece, ri, ai); in tcg_gen_dup_i64_vec() 249 TCGArg ai = tcgv_i32_arg(a); in tcg_gen_dup_i32_vec() local 253 vec_gen_2(INDEX_op_dup_vec, type, vece, ri, ai); in tcg_gen_dup_i32_vec() 373 TCGArg ai = temp_arg(at); in do_op2() local 381 vec_gen_2(opc, type, vece, ri, ai); in do_op2() 384 tcg_expand_vec_op(opc, type, vece, ri, ai); in do_op2() 451 TCGArg ai = temp_arg(at); in do_shifti() local [all …]
|
/openbmc/linux/drivers/misc/cxl/ |
H A D | flash.c | 230 struct cxl_adapter_image *ai) in handle_image() argument 239 need_header = (ai->flags & CXL_AI_NEED_HEADER); in handle_image() 250 header->image_length = cpu_to_be64(ai->len_image); in handle_image() 254 len_chunk = ai->len_data; in handle_image() 280 from = (void *) ai->data; in handle_image() 324 struct cxl_adapter_image *ai) in transfer_image() argument 332 &cxl_h_download_adapter_image, ai); in transfer_image() 341 &cxl_h_validate_adapter_image, ai); in transfer_image() 375 struct cxl_adapter_image ai; in ioctl_transfer_image() local 379 if (copy_from_user(&ai, uai, sizeof(struct cxl_adapter_image))) in ioctl_transfer_image() [all …]
|
/openbmc/qemu/tests/unit/ |
H A D | socket-helpers.c | 44 struct addrinfo ai, *res = NULL; in socket_can_bind_connect() local 53 memset(&ai, 0, sizeof(ai)); in socket_can_bind_connect() 54 ai.ai_flags = AI_CANONNAME | AI_ADDRCONFIG; in socket_can_bind_connect() 55 ai.ai_family = family; in socket_can_bind_connect() 56 ai.ai_socktype = SOCK_STREAM; in socket_can_bind_connect() 59 rc = getaddrinfo(hostname, NULL, &ai, &res); in socket_can_bind_connect()
|
/openbmc/qemu/io/ |
H A D | dns-resolver.c | 55 struct addrinfo ai, *res, *e; in qio_dns_resolver_lookup_sync_inet() local 67 memset(&ai, 0, sizeof(ai)); in qio_dns_resolver_lookup_sync_inet() 68 ai.ai_flags = AI_PASSIVE; in qio_dns_resolver_lookup_sync_inet() 70 ai.ai_flags |= AI_NUMERICHOST | AI_NUMERICSERV; in qio_dns_resolver_lookup_sync_inet() 72 ai.ai_family = inet_ai_family_from_address(iaddr, &err); in qio_dns_resolver_lookup_sync_inet() 73 ai.ai_socktype = SOCK_STREAM; in qio_dns_resolver_lookup_sync_inet() 91 strlen(port) ? port : NULL, &ai, &res); in qio_dns_resolver_lookup_sync_inet()
|
/openbmc/qemu/util/ |
H A D | qemu-sockets.c | 214 struct addrinfo ai, *res, *e; in inet_listen_saddr() local 229 memset(&ai,0, sizeof(ai)); in inet_listen_saddr() 230 ai.ai_flags = AI_PASSIVE; in inet_listen_saddr() 232 ai.ai_flags |= AI_NUMERICHOST | AI_NUMERICSERV; in inet_listen_saddr() 234 ai.ai_socktype = SOCK_STREAM; in inet_listen_saddr() 235 ai.ai_family = inet_ai_family_from_address(saddr, errp); in inet_listen_saddr() 269 strlen(port) ? port : NULL, &ai, &res); in inet_listen_saddr() 393 struct addrinfo ai, *res; in inet_parse_connect_saddr() local 397 memset(&ai, 0, sizeof(ai)); in inet_parse_connect_saddr() 399 ai.ai_flags = AI_CANONNAME | AI_ADDRCONFIG; in inet_parse_connect_saddr() [all …]
|
/openbmc/linux/Documentation/ABI/testing/ |
H A D | debugfs-driver-habanalabs | 97 Contact: ttayar@habana.ai 114 Contact: fkassabri@habana.ai 163 Contact: obitton@habana.ai 200 Contact: dhirschfeld@habana.ai 207 Contact: dhirschfeld@habana.ai 225 Contact: fkassabri@habana.ai 235 Contact: osharabi@habana.ai 249 Contact: osharabi@habana.ai 266 Contact: ynudelman@habana.ai 274 Contact: ynudelman@habana.ai [all …]
|
/openbmc/linux/tools/usb/usbip/src/ |
H A D | usbipd.c | 360 static void addrinfo_to_text(struct addrinfo *ai, char buf[], in addrinfo_to_text() argument 369 rc = getnameinfo(ai->ai_addr, ai->ai_addrlen, hbuf, sizeof(hbuf), in addrinfo_to_text() 380 struct addrinfo *ai; in listen_all_addrinfo() local 385 for (ai = ai_head; ai && nsockfd < maxsockfd; ai = ai->ai_next) { in listen_all_addrinfo() 388 addrinfo_to_text(ai, ai_buf, ai_buf_size); in listen_all_addrinfo() 390 sock = socket(ai->ai_family, ai->ai_socktype, ai->ai_protocol); in listen_all_addrinfo() 403 ret = bind(sock, ai->ai_addr, ai->ai_addrlen); in listen_all_addrinfo()
|
/openbmc/linux/drivers/accel/qaic/ |
H A D | Kconfig | 3 # Qualcomm Cloud AI accelerators driver 7 tristate "Qualcomm Cloud AI accelerators" 14 Enables driver for Qualcomm's Cloud AI accelerator PCIe cards that are
|