| /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 …]
|
| /linux/drivers/net/ethernet/mediatek/ |
| H A D | mtk_ppe_debugfs.c | 65 mtk_print_addr_info(struct seq_file *m, struct mtk_flow_addr_info *ai) in mtk_print_addr_info() argument 67 mtk_print_addr(m, ai->src, ai->ipv6); in mtk_print_addr_info() 68 if (ai->src_port) in mtk_print_addr_info() 69 seq_printf(m, ":%d", *ai->src_port); in mtk_print_addr_info() 71 mtk_print_addr(m, ai->dest, ai->ipv6); in mtk_print_addr_info() 72 if (ai->dest_port) in mtk_print_addr_info() 73 seq_printf(m, ":%d", *ai->dest_port); in mtk_print_addr_info() 85 struct mtk_flow_addr_info ai = {}; in mtk_ppe_debugfs_foe_show() local 110 ai.src_port = &entry->ipv4.orig.src_port; in mtk_ppe_debugfs_foe_show() 111 ai.dest_port = &entry->ipv4.orig.dest_port; in mtk_ppe_debugfs_foe_show() [all …]
|
| /linux/drivers/staging/media/av7110/ |
| H A D | dvb_filter.c | 23 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() 47 ai->layer = 0; // 0 for AC3 in dvb_filter_get_ac3info() 51 ai->bit_rate = ac3_bitrates[frame >> 1] * 1000; in dvb_filter_get_ac3info() 53 ai->frequency = (headr[2] & 0xc0) >> 6; in dvb_filter_get_ac3info() 55 ai->frequency = freq[fr] * 100; in dvb_filter_get_ac3info() 57 ai->framesize = ac3_frames[fr][frame >> 1]; in dvb_filter_get_ac3info() 59 ai->framesize++; in dvb_filter_get_ac3info() 60 ai->framesize = ai->framesize << 1; in dvb_filter_get_ac3info() 64 (int)ai->bit_rate / 1000, (int)ai->frequency, (int)ai->framesize); in dvb_filter_get_ac3info()
|
| /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 …]
|
| /linux/Documentation/process/ |
| H A D | coding-assistants.rst | 5 AI Coding Assistants 8 This document provides guidance for AI tools and developers using AI 11 AI tools helping with Linux kernel development should follow the standard 18 For guidelines on content generated by AI coding assistants see: 34 AI agents MUST NOT add Signed-off-by tags. Only humans can legally 38 * Reviewing all AI-generated code 46 When AI tools contribute to kernel development, proper attribution 47 helps track the evolving role of AI in the development process. 64 When an AI assistant is used to find and fix bugs, it **MUST** follow at least 76 rare cases, an AI assistant able to find a bug is able to fix it. Note that
|
| H A D | security-bugs.rst | 95 **If you resorted to AI assistance to identify a bug, you must treat it as 117 anyone, or use of AI-based tools). 174 Responsible use of AI to find bugs 178 actually the result of code reviews assisted by AI tools. While this can be an 185 * **Length**: AI-generated reports tend to be excessively long, containing 192 * **Formatting**: Most AI-generated reports are littered with Markdown tags. 198 * **Impact Evaluation**: Many AI-generated reports lack an understanding 206 * **Reproducer**: AI-based tools are often capable of generating reproducers. 213 * **Propose a Fix**: Many AI tools are actually better at writing code than 232 At the very least, when using an AI assistant to find and report bugs, make the [all …]
|
| /linux/tools/testing/vsock/ |
| H A D | control.c | 43 struct addrinfo *ai; in control_init() local 52 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() 71 if (bind(fd, ai->ai_addr, ai->ai_addrlen) < 0) in control_init()
|
| /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 …]
|
| /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 259 Contact: trisin@habana.ai 272 Contact: ynudelman@habana.ai [all …]
|
| /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 in listen_all_addrinfo() [all...] |
| /linux/drivers/comedi/drivers/ |
| H A D | ni_mio_cs.c | 14 * Devices: [National Instruments] DAQCard-AI-16XE-50 (ni_mio_cs), 15 * DAQCard-AI-16E-4, DAQCard-6062E, DAQCard-6024E, DAQCard-6036E 42 .name = "DAQCard-ai-16xe-50", 51 .name = "DAQCard-ai-16e-4", 198 PCMCIA_DEVICE_MANF_CARD(0x010b, 0x010d), /* DAQCard-ai-16xe-50 */ 199 PCMCIA_DEVICE_MANF_CARD(0x010b, 0x010c), /* DAQCard-ai-16e-4 */
|
| H A D | das08.c | 31 #define DAS08_AI_LSB_REG 0x00 /* (R) AI least significant bits */ 32 #define DAS08_AI_MSB_REG 0x01 /* (R) AI most significant bits */ 33 #define DAS08_AI_TRIG_REG 0x01 /* (W) AI software trigger */ 35 #define DAS08_STATUS_AI_BUSY BIT(7) /* AI conversion in progress */ 46 * Note: The AI multiplexor channel can also be read from status register using 56 * (R/W) programmable AI gain ("PGx" and "AOx" boards): 57 * + bits 3..0 (R/W) show/set the gain for the current AI mux channel 58 * + bits 6..4 (R) show the current AI mux channel 241 dev_err(dev->class_dev, "bug! unknown ai encoding\n"); in das08_ai_insn_read() 358 /* ai */ in das08_common_attach()
|
| /linux/Documentation/devicetree/bindings/powerpc/nintendo/ |
| H A D | wii.txt | 79 1.e) The Audio Interface (AI) node 86 - compatible : should be "nintendo,hollywood-ai","nintendo,flipper-ai" 87 - reg : should contain the AI registers location and length 88 - interrupts : should contain the AI interrupt
|
| H A D | gamecube.txt | 77 1.e) The Audio Interface (AI) node 84 - compatible : should be "nintendo,flipper-ai" 85 - reg : should contain the AI registers location and length 86 - interrupts : should contain the AI interrupt
|
| /linux/ |
| H A D | README | 41 * AI Coding Assistant: LLMs and AI-powered development tools 148 AI Coding Assistant 151 CRITICAL: If you are an LLM or AI-powered coding assistant, you MUST read and 152 follow the AI coding assistants documentation before contributing to the Linux 158 and the Developer Certificate of Origin that all AI tools must comply with.
|
| /linux/mm/ |
| H A D | percpu-km.c | 107 static int __init pcpu_verify_alloc_info(const struct pcpu_alloc_info *ai) in pcpu_verify_alloc_info() argument 112 if (ai->nr_groups != 1) { in pcpu_verify_alloc_info() 117 nr_pages = (ai->groups[0].nr_units * ai->unit_size) >> PAGE_SHIFT; in pcpu_verify_alloc_info()
|
| /linux/arch/powerpc/platforms/cell/spufs/ |
| H A D | spu_save_crt0.S | 46 ai $4, $4, 4 55 ai $3, $3, 64 71 ai $SP, $SP, -160
|
| H A D | spu_restore_crt0.S | 37 ai $SP, $SP, -160 51 ai $4, $4, 4 60 ai $3, $3, 64
|
| /linux/drivers/net/ethernet/marvell/mvpp2/ |
| H A D | mvpp2_prs.c | 184 /* Update ai bits in tcam sw entry */ 203 /* Get ai bits from tcam sw entry */ 267 /* Update ai bits in sram sw entry */ 289 /* Read ai bits from sram sw entry */ 293 /* ai is stored on bits 90->97; so it spreads across two u32 */ in mvpp2_prs_sram_ai_get() 396 /* Sram store classification lookup ID in AI bits [5:0] */ in mvpp2_prs_flow_find() 585 /* Set ai bits for next iteration */ in mvpp2_prs_dsa_tag_set() 666 /* Clear all ai bits for next iteration */ in mvpp2_prs_dsa_tag_ethertype_set() 688 static int mvpp2_prs_vlan_find(struct mvpp2 *priv, unsigned short tpid, int ai) in mvpp2_prs_vlan_find() argument 712 /* Get current ai value from tcam */ in mvpp2_prs_vlan_find() [all …]
|
| /linux/drivers/accel/amdxdna/ |
| H A D | Kconfig | 4 tristate "AMD AI Engine" 15 client CPUs like AMD Ryzen AI 300 Series. AMD NPU can be used to
|
| /linux/tools/testing/selftests/net/ |
| H A D | cmsg_sender.c | 472 struct addrinfo hints, *ai; in main() local 489 ai = NULL; in main() 490 err = getaddrinfo(opt.host, opt.service, &hints, &ai); in main() 498 if (ai->ai_family == AF_INET6 && opt.sock.proto == IPPROTO_ICMP) in main() 501 fd = socket(ai->ai_family, opt.sock.type, opt.sock.proto); in main() 516 struct sockaddr_in6 *sin6 = (void *)ai->ai_addr; in main() 533 msg.msg_name = ai->ai_addr; in main() 534 msg.msg_namelen = ai->ai_addrlen; in main() 579 freeaddrinfo(ai); in main()
|
| /linux/arch/s390/pci/ |
| H A D | pci_irq.c | 262 unsigned long si, ai; in zpci_floating_irq_handler() local 283 for (ai = 0;;) { in zpci_floating_irq_handler() 284 ai = airq_iv_scan(aibv, ai, airq_iv_end(aibv)); in zpci_floating_irq_handler() 285 if (ai == -1UL) in zpci_floating_irq_handler() 288 airq_iv_lock(aibv, ai); in zpci_floating_irq_handler() 289 hwirq = airq_iv_get_data(aibv, ai); in zpci_floating_irq_handler() 290 msi_domain = (struct irq_domain *)airq_iv_get_ptr(aibv, ai); in zpci_floating_irq_handler() 292 airq_iv_unlock(aibv, ai); in zpci_floating_irq_handler()
|
| /linux/Documentation/translations/it_IT/process/ |
| H A D | volatile-considered-harmful.rst | 27 Come *volatile*, le primitive del kernel che rendono sicuro l'accesso ai dati 60 L'uso di *volatile* fu originalmente pensato per l'accesso ai registri di I/O 61 mappati in memoria. All'interno del kernel, l'accesso ai registri, dovrebbe 63 non "ottimizzi" l'accesso ai registri all'interno di una sezione critica.
|