Home
last modified time | relevance | path

Searched refs:p (Results 901 – 925 of 9049) sorted by relevance

1...<<31323334353637383940>>...362

/openbmc/linux/mm/kasan/
H A Dreport_sw_tags.c36 void *p = kasan_reset_tag(addr); in kasan_find_first_bad_addr() local
37 void *end = p + size; in kasan_find_first_bad_addr()
39 if (!addr_has_metadata(p)) in kasan_find_first_bad_addr()
40 return p; in kasan_find_first_bad_addr()
42 while (p < end && tag == *(u8 *)kasan_mem_to_shadow(p)) in kasan_find_first_bad_addr()
43 p += KASAN_GRANULE_SIZE; in kasan_find_first_bad_addr()
45 return p; in kasan_find_first_bad_addr()
/openbmc/linux/tools/power/acpi/tools/acpidbg/
H A Dacpidbg.c125 char *p; in acpi_aml_read() local
128 p = &crc->buf[crc->head]; in acpi_aml_read()
130 len = read(fd, p, len); in acpi_aml_read()
140 char *p; in acpi_aml_read_batch_cmd() local
161 char *p; in acpi_aml_read_batch_log() local
175 len = read(fd, p, 1); in acpi_aml_read_batch_log()
185 if (*p == '\n') in acpi_aml_read_batch_log()
196 if (*p != '\n') in acpi_aml_read_batch_log()
203 if (*p == ' ') { in acpi_aml_read_batch_log()
225 char *p; in acpi_aml_write() local
[all …]
/openbmc/linux/drivers/gpu/drm/i915/
H A Di915_scheduler.c55 last_prio = p->priority; in assert_priolists()
62 struct i915_priolist *p; in i915_sched_lookup_priolist() local
78 p = to_priolist(rb); in i915_sched_lookup_priolist()
79 if (prio > p->priority) { in i915_sched_lookup_priolist()
81 } else if (prio < p->priority) { in i915_sched_lookup_priolist()
85 return &p->requests; in i915_sched_lookup_priolist()
94 if (unlikely(!p)) { in i915_sched_lookup_priolist()
110 p->priority = prio; in i915_sched_lookup_priolist()
111 INIT_LIST_HEAD(&p->requests); in i915_sched_lookup_priolist()
116 return &p->requests; in i915_sched_lookup_priolist()
[all …]
/openbmc/linux/drivers/net/wireless/intersil/orinoco/
H A Dmain.h40 u8 *p = data; in orinoco_get_wpa_ie() local
41 while ((p + 2 + WPA_SELECTOR_LEN) < (data + len)) { in orinoco_get_wpa_ie()
42 if ((p[0] == WLAN_EID_VENDOR_SPECIFIC) && in orinoco_get_wpa_ie()
43 (memcmp(&p[2], WPA_OUI_TYPE, WPA_SELECTOR_LEN) == 0)) in orinoco_get_wpa_ie()
44 return p; in orinoco_get_wpa_ie()
45 p += p[1] + 2; in orinoco_get_wpa_ie()
/openbmc/qemu/hw/pci-host/
H A Dmv64361.c237 MV64361PCIState *p; in set_mem_windows() local
257 p->remap[4], (p->io_size + 1) << 16, in set_mem_windows()
266 p->remap[0], (p->mem_size[0] + 1) << 16, in set_mem_windows()
275 p->remap[1], (p->mem_size[1] + 1) << 16, in set_mem_windows()
284 p->remap[2], (p->mem_size[2] + 1) << 16, in set_mem_windows()
293 p->remap[3], (p->mem_size[3] + 1) << 16, in set_mem_windows()
302 p->remap[4], (p->io_size + 1) << 16, in set_mem_windows()
311 p->remap[0], (p->mem_size[0] + 1) << 16, in set_mem_windows()
320 p->remap[1], (p->mem_size[1] + 1) << 16, in set_mem_windows()
329 p->remap[2], (p->mem_size[2] + 1) << 16, in set_mem_windows()
[all …]
/openbmc/u-boot/drivers/usb/host/
H A Dehci-msm.c33 struct msm_ehci_priv *p = container_of(dev, struct msm_ehci_priv, ctrl); in msm_init_after_reset() local
34 struct usb_ehci *ehci = p->ehci; in msm_init_after_reset()
36 generic_phy_reset(&p->phy); in msm_init_after_reset()
50 struct msm_ehci_priv *p = dev_get_priv(dev); in ehci_usb_probe() local
51 struct usb_ehci *ehci = p->ehci; in ehci_usb_probe()
61 ret = ehci_setup_phy(dev, &p->phy, 0); in ehci_usb_probe()
75 struct msm_ehci_priv *p = dev_get_priv(dev); in ehci_usb_remove() local
76 struct usb_ehci *ehci = p->ehci; in ehci_usb_remove()
86 ret = ehci_shutdown_phy(dev, &p->phy); in ehci_usb_remove()
130 struct msm_ehci_priv *p = ctrl->priv; in ci_init_after_reset() local
[all …]
/openbmc/u-boot/arch/sandbox/include/asm/
H A Dbitops.h46 unsigned long *p = ((unsigned long *)addr) + BIT_WORD(nr); in __change_bit() local
48 *p ^= mask; in __change_bit()
54 unsigned long *p = ((unsigned long *)addr) + BIT_WORD(nr); in __test_and_set_bit() local
55 unsigned long old = *p; in __test_and_set_bit()
57 *p = old | mask; in __test_and_set_bit()
76 unsigned long *p = ((unsigned long *)addr) + BIT_WORD(nr); in __test_and_clear_bit() local
77 unsigned long old = *p; in __test_and_clear_bit()
79 *p = old & ~mask; in __test_and_clear_bit()
100 unsigned long *p = ((unsigned long *)addr) + BIT_WORD(nr); in __test_and_change_bit() local
101 unsigned long old = *p; in __test_and_change_bit()
[all …]
/openbmc/linux/drivers/gpu/drm/i915/gt/uc/
H A Dintel_guc_debugfs.c20 struct drm_printer p = drm_seq_file_printer(m); in guc_info_show() local
25 intel_guc_load_status(guc, &p); in guc_info_show()
26 drm_puts(&p, "\n"); in guc_info_show()
27 intel_guc_log_info(&guc->log, &p); in guc_info_show()
32 intel_guc_ct_print_info(&guc->ct, &p); in guc_info_show()
33 intel_guc_submission_print_info(guc, &p); in guc_info_show()
34 intel_guc_ads_print_policy_info(guc, &p); in guc_info_show()
43 struct drm_printer p = drm_seq_file_printer(m); in guc_registered_contexts_show() local
48 intel_guc_submission_print_context_info(guc, &p); in guc_registered_contexts_show()
58 struct drm_printer p = drm_seq_file_printer(m); in guc_slpc_info_show() local
[all …]
/openbmc/qemu/tests/tcg/aarch64/
H A Dmte-7.c13 void *p; in main() local
16 p = alloc_mte_mem(2 * 0x1000); in main()
19 p = (void *)((unsigned long)p | (1ul << 56)); in main()
22 asm("stz2g %0, [%0]" : : "r"(p + 0x0ff0)); in main()
28 asm("str %0, [%0]" : : "r"(p + 0x0ffc)); in main()
/openbmc/linux/drivers/platform/surface/aggregator/
H A Dtrace.h132 if (!p->data.ptr || p->data.len < SSH_MESSAGE_LENGTH(0)) in ssam_trace_get_packet_seq()
135 return p->data.ptr[SSH_MSGOFFSET_FRAME(seq)]; in ssam_trace_get_packet_seq()
148 if (!p->data.ptr || p->data.len < SSH_COMMAND_MESSAGE_LENGTH(0)) in ssam_trace_get_request_id()
164 if (!p->data.ptr || p->data.len < SSH_COMMAND_MESSAGE_LENGTH(0)) in ssam_trace_get_request_tid()
180 if (!p->data.ptr || p->data.len < SSH_COMMAND_MESSAGE_LENGTH(0)) in ssam_trace_get_request_sid()
196 if (!p->data.ptr || p->data.len < SSH_COMMAND_MESSAGE_LENGTH(0)) in ssam_trace_get_request_tc()
491 __entry->rqid = ssam_trace_get_request_id(p);
492 ssam_trace_ptr_uid(p, __entry->uid);
495 __entry->tc = ssam_trace_get_request_tc(p);
543 ssam_trace_ptr_uid(p, __entry->uid);
[all …]
/openbmc/qemu/tests/tcg/openrisc/
H A Dtest_lx.c6 int p[50]; in main() local
15 : "=r"(a), "+m"(*p) in main()
26 : "m"(*p) in main()
39 : "=r"(a), "=m"(*p) in main()
50 : "m"(*p) in main()
65 : "=r"(a), "+m"(*p) in main()
76 : "m"(*p) in main()
/openbmc/u-boot/common/
H A Dddr_spd.c51 const u8 *p = (const u8 *)spd; in ddr1_spd_check() local
53 return spd_check(p, spd->spd_rev, spd->cksum); in ddr1_spd_check()
59 const u8 *p = (const u8 *)spd; in ddr2_spd_check() local
61 return spd_check(p, spd->spd_rev, spd->cksum); in ddr2_spd_check()
88 char *p = (char *)spd; in ddr3_spd_check() local
101 csum16 = crc16(p, len); in ddr3_spd_check()
119 char *p = (char *)spd; in ddr4_spd_check() local
126 csum16 = crc16(p, len); in ddr4_spd_check()
139 p = (char *)((ulong)spd + 128); in ddr4_spd_check()
141 csum16 = crc16(p, len); in ddr4_spd_check()
/openbmc/linux/drivers/w1/slaves/
H A Dw1_ds2423.c42 int p; in w1_slave_show() local
54 for (p = 0; p < 4; p++) { in w1_slave_show()
63 rbuf + (p * READ_BYTE_COUNT), READ_BYTE_COUNT); in w1_slave_show()
67 rbuf[(p * READ_BYTE_COUNT) + ii]); in w1_slave_show()
68 if (read_byte_count != (p + 1) * READ_BYTE_COUNT) { in w1_slave_show()
77 if (p == 0) { in w1_slave_show()
87 ((p - 1) * READ_BYTE_COUNT), in w1_slave_show()
94 result |= rbuf[(p * in w1_slave_show()
/openbmc/linux/tools/testing/selftests/net/
H A Dcmsg_time.sh47 for p in u i r; do
48 [ $p == "u" ] && prot=UDPv${i:1:2}
49 [ $p == "i" ] && prot=ICMPv${i:1:2}
50 [ $p == "r" ] && prot=RAWv${i:1:2}
52 ts=$(ip netns exec $NS ./cmsg_sender -p $p $i 1234)
55 ts=$(ip netns exec $NS ./cmsg_sender -p $p $i 1234 -t | wc -l)
57 ts=$(ip netns exec $NS ./cmsg_sender -p $p $i 1234 -t |
60 ts=$(ip netns exec $NS ./cmsg_sender -p $p $i 1234 -t |
64 ts=$(ip netns exec $NS ./cmsg_sender -p $p $i 1234 -t -d 1000 |
68 ts=$(ip netns exec $NS ./cmsg_sender -p $p $i 1234 -t -d 1000 |
/openbmc/linux/net/dsa/
H A Dtag_rtl4_a.c40 __be16 *p; in rtl4a_tag_xmit() local
56 p = (__be16 *)tag; in rtl4a_tag_xmit()
57 *p = htons(RTL4_A_ETHERTYPE); in rtl4a_tag_xmit()
63 p = (__be16 *)(tag + 2); in rtl4a_tag_xmit()
64 *p = htons(out); in rtl4a_tag_xmit()
73 __be16 *p; in rtl4a_tag_rcv() local
83 p = (__be16 *)tag; in rtl4a_tag_rcv()
84 etype = ntohs(*p); in rtl4a_tag_rcv()
90 p = (__be16 *)(tag + 2); in rtl4a_tag_rcv()
91 protport = ntohs(*p); in rtl4a_tag_rcv()
/openbmc/linux/drivers/reset/
H A Dreset-uniphier.c271 const struct uniphier_reset_data *p; in uniphier_reset_update() local
273 for (p = priv->data; p->id != UNIPHIER_RESET_ID_END; p++) { in uniphier_reset_update()
276 if (p->id != id) in uniphier_reset_update()
279 mask = BIT(p->bit); in uniphier_reset_update()
286 if (p->flags & UNIPHIER_RESET_ACTIVE_LOW) in uniphier_reset_update()
312 const struct uniphier_reset_data *p; in uniphier_reset_status() local
314 for (p = priv->data; p->id != UNIPHIER_RESET_ID_END; p++) { in uniphier_reset_status()
318 if (p->id != id) in uniphier_reset_status()
325 asserted = !!(val & BIT(p->bit)); in uniphier_reset_status()
369 for (p = data; p->id != UNIPHIER_RESET_ID_END; p++) in uniphier_reset_probe()
[all …]
/openbmc/linux/drivers/clk/sunxi-ng/
H A Dccu_mp.c37 *p = best_p; in ccu_mp_find_best()
105 unsigned int m, p; in ccu_mp_round_rate() local
111 max_p = cmp->p.max ?: 1 << ((1 << cmp->p.width) - 1); in ccu_mp_round_rate()
152 unsigned int m, p; in ccu_mp_recalc_rate() local
167 p = reg >> cmp->p.shift; in ccu_mp_recalc_rate()
168 p &= (1 << cmp->p.width) - 1; in ccu_mp_recalc_rate()
170 rate = (parent_rate >> p) / m; in ccu_mp_recalc_rate()
192 unsigned int m, p; in ccu_mp_set_rate() local
200 max_p = cmp->p.max ?: 1 << ((1 << cmp->p.width) - 1); in ccu_mp_set_rate()
212 reg &= ~GENMASK(cmp->p.width + cmp->p.shift - 1, cmp->p.shift); in ccu_mp_set_rate()
[all …]
/openbmc/linux/lib/
H A Dkasprintf.c18 char *p; in kvasprintf() local
25 p = kmalloc_track_caller(first+1, gfp); in kvasprintf()
26 if (!p) in kvasprintf()
29 second = vsnprintf(p, first+1, fmt, ap); in kvasprintf()
33 return p; in kvasprintf()
56 char *p; in kasprintf() local
59 p = kvasprintf(gfp, fmt, ap); in kasprintf()
62 return p; in kasprintf()
/openbmc/linux/drivers/block/rnbd/
H A Drnbd-clt-sysfs.c71 char *p; in rnbd_clt_parse_map_options() local
87 if (!*p) in rnbd_clt_parse_map_options()
96 if (!p) { in rnbd_clt_parse_map_options()
107 kfree(p); in rnbd_clt_parse_map_options()
118 if (!p) { in rnbd_clt_parse_map_options()
123 ret = rtrs_addr_to_sockaddr(p, strlen(p), in rnbd_clt_parse_map_options()
134 kfree(p); in rnbd_clt_parse_map_options()
139 if (!p) { in rnbd_clt_parse_map_options()
150 kfree(p); in rnbd_clt_parse_map_options()
166 if (!p) { in rnbd_clt_parse_map_options()
[all …]
/openbmc/qemu/hw/usb/
H A Ddev-uas.c362 USBPacket *p; in usb_uas_send_status_bh() local
372 if (p == NULL) { in usb_uas_send_status_bh()
392 if (p) { in usb_uas_queue_status()
484 USBPacket *p; in usb_uas_complete_data_packet() local
489 p = req->data; in usb_uas_complete_data_packet()
825 switch (p->ep->nr) { in usb_uas_handle_data()
847 if (p->stream) { in usb_uas_handle_data()
855 uas->status3[p->stream] = p; in usb_uas_handle_data()
886 uas->data3[p->stream] = p; in usb_uas_handle_data()
896 req->data = p; in usb_uas_handle_data()
[all …]
/openbmc/linux/scripts/dtc/
H A Dtreesource.c104 const char *end = p + len; in write_propval_int()
107 for (; p < end; p += width) { in write_propval_int()
113 fprintf(f, "0x%02"PRIx16, dtb_ld16(p)); in write_propval_int()
116 fprintf(f, "0x%02"PRIx32, dtb_ld32(p)); in write_propval_int()
119 fprintf(f, "0x%02"PRIx64, dtb_ld64(p)); in write_propval_int()
122 if (p + width < end) in write_propval_int()
145 const char *p = prop->val.val; in guess_value_type() local
152 if (! isstring(p[i])) in guess_value_type()
154 if (p[i] == '\0') in guess_value_type()
224 write_propval_int(f, p, chunk_len, 2); in write_propval()
[all …]
/openbmc/linux/net/bridge/
H A Dbr_mst.c53 const struct net_bridge_port *p = NULL; in br_mst_get_state() local
59 p = br_port_get_check_rtnl(dev); in br_mst_get_state()
60 if (!p || !br_opt_get(p->br, BROPT_MST_ENABLED)) in br_mst_get_state()
63 vg = nbp_vlan_group(p); in br_mst_get_state()
94 .orig_dev = p->dev, in br_mst_set_state()
105 vg = nbp_vlan_group_rcu(p); in br_mst_set_state()
163 struct net_bridge_port *p; in br_mst_vlan_set_msti() local
176 vg = nbp_vlan_group(p); in br_mst_vlan_set_msti()
206 struct net_bridge_port *p; in br_mst_set_enabled() local
210 vg = nbp_vlan_group(p); in br_mst_set_enabled()
[all …]
/openbmc/linux/include/linux/sched/
H A Drt.h16 static inline int rt_task(struct task_struct *p) in rt_task() argument
18 return rt_prio(p->prio); in rt_task()
36 static inline struct task_struct *rt_mutex_get_top_task(struct task_struct *p) in rt_mutex_get_top_task() argument
38 return p->pi_top_task; in rt_mutex_get_top_task()
40 extern void rt_mutex_setprio(struct task_struct *p, struct task_struct *pi_task);
41 extern void rt_mutex_adjust_pi(struct task_struct *p);
47 # define rt_mutex_adjust_pi(p) do { } while (0) argument
/openbmc/linux/block/partitions/
H A Dcheck.h30 void *read_part_sector(struct parsed_partitions *state, sector_t n, Sector *p);
31 static inline void put_dev_sector(Sector p) in put_dev_sector() argument
33 folio_put(p.v); in put_dev_sector()
37 put_partition(struct parsed_partitions *p, int n, sector_t from, sector_t size) in put_partition() argument
39 if (n < p->limit) { in put_partition()
42 p->parts[n].from = from; in put_partition()
43 p->parts[n].size = size; in put_partition()
44 snprintf(tmp, sizeof(tmp), " %s%d", p->name, n); in put_partition()
45 strlcat(p->pp_buf, tmp, PAGE_SIZE); in put_partition()
/openbmc/linux/arch/mips/mm/
H A Dpgtable-32.c18 unsigned long *p = (unsigned long *)addr; in pgd_init() local
22 p[i + 0] = (unsigned long) invalid_pte_table; in pgd_init()
23 p[i + 1] = (unsigned long) invalid_pte_table; in pgd_init()
24 p[i + 2] = (unsigned long) invalid_pte_table; in pgd_init()
25 p[i + 3] = (unsigned long) invalid_pte_table; in pgd_init()
26 p[i + 4] = (unsigned long) invalid_pte_table; in pgd_init()
27 p[i + 5] = (unsigned long) invalid_pte_table; in pgd_init()
28 p[i + 6] = (unsigned long) invalid_pte_table; in pgd_init()
29 p[i + 7] = (unsigned long) invalid_pte_table; in pgd_init()

1...<<31323334353637383940>>...362