Home
last modified time | relevance | path

Searched refs:p (Results 451 – 475 of 8921) sorted by relevance

1...<<11121314151617181920>>...357

/openbmc/linux/Documentation/powerpc/
H A Dptrace.rst103 p.addr = (uint64_t) address;
104 p.addr2 = 0;
105 p.condition_value = 0;
113 p.addr = (uint64_t) address;
114 p.addr2 = 0;
115 p.condition_value = 0;
123 p.addr = (uint64_t) address;
124 p.addr2 = 0;
135 p.condition_value = 0;
139 p.version = 1;
[all …]
/openbmc/linux/arch/m68k/include/asm/
H A Dbitops.h37 : "a" (p), "di" (nr & 7) in bset_reg_set_bit()
46 : "+m" (*p) in bset_mem_set_bit()
80 : "a" (p), "di" (nr & 7) in bclr_reg_clear_bit()
89 : "+m" (*p) in bclr_mem_clear_bit()
123 : "a" (p), "di" (nr & 7) in bchg_reg_change_bit()
132 : "+m" (*p) in bchg_mem_change_bit()
171 : "a" (p), "di" (nr & 7) in bset_reg_test_and_set_bit()
224 : "a" (p), "di" (nr & 7) in bclr_reg_test_and_clear_bit()
277 : "a" (p), "di" (nr & 7) in bchg_reg_test_and_change_bit()
344 while (!(num = ~*p++)) { in find_first_zero_bit()
[all …]
/openbmc/linux/fs/proc/
H A Dproc_tty.c29 seq_printf(m, "%-20s ", p->driver_name ? p->driver_name : "unknown"); in show_tty_range()
30 seq_printf(m, "/dev/%-8s ", p->name); in show_tty_range()
31 if (p->num > 1) { in show_tty_range()
37 switch (p->type) { in show_tty_range()
40 if (p->subtype == SYSTEM_TYPE_TTY) in show_tty_range()
54 if (p->subtype == PTY_TYPE_MASTER) in show_tty_range()
56 else if (p->subtype == PTY_TYPE_SLAVE) in show_tty_range()
62 seq_printf(m, "type:%d.%d", p->type, p->subtype); in show_tty_range()
70 dev_t from = MKDEV(p->major, p->minor_start); in show_tty_driver()
71 dev_t to = from + p->num; in show_tty_driver()
[all …]
/openbmc/linux/fs/
H A Dd_path.c22 return p->buf; in extract_string()
29 p->len--; in prepend_char()
30 *--p->buf = c; in prepend_char()
33 p->len = -1; in prepend_char()
67 p->buf -= p->len; in prepend()
68 prepend_copy(p->buf, str, p->len); in prepend()
69 p->len = -1; in prepend()
170 b = *p; in prepend_path()
190 b = *p; in prepend_path()
195 *p = b; in prepend_path()
[all …]
/openbmc/linux/drivers/gpu/drm/ttm/
H A Dttm_pool.c84 struct page *p; in ttm_pool_alloc_page() local
97 if (p) in ttm_pool_alloc_page()
99 return p; in ttm_pool_alloc_page()
124 return p; in ttm_pool_alloc_page()
247 p = list_first_entry_or_null(&pt->pages, typeof(*p), lru); in ttm_pool_type_take()
248 if (p) { in ttm_pool_type_take()
254 return p; in ttm_pool_type_take()
332 if (p) { in ttm_pool_shrink()
371 **pages = p; in ttm_pool_page_allocated()
461 if (p) { in ttm_pool_alloc()
[all …]
/openbmc/linux/tools/include/linux/unaligned/
H A Dpacked_struct.h11 static inline u16 __get_unaligned_cpu16(const void *p) in __get_unaligned_cpu16() argument
13 const struct __una_u16 *ptr = (const struct __una_u16 *)p; in __get_unaligned_cpu16()
17 static inline u32 __get_unaligned_cpu32(const void *p) in __get_unaligned_cpu32() argument
19 const struct __una_u32 *ptr = (const struct __una_u32 *)p; in __get_unaligned_cpu32()
23 static inline u64 __get_unaligned_cpu64(const void *p) in __get_unaligned_cpu64() argument
25 const struct __una_u64 *ptr = (const struct __una_u64 *)p; in __get_unaligned_cpu64()
29 static inline void __put_unaligned_cpu16(u16 val, void *p) in __put_unaligned_cpu16() argument
31 struct __una_u16 *ptr = (struct __una_u16 *)p; in __put_unaligned_cpu16()
35 static inline void __put_unaligned_cpu32(u32 val, void *p) in __put_unaligned_cpu32() argument
37 struct __una_u32 *ptr = (struct __una_u32 *)p; in __put_unaligned_cpu32()
[all …]
/openbmc/u-boot/drivers/power/mfd/
H A Dmuic_max77693.c14 static int power_chrg_get_type(struct pmic *p) in power_chrg_get_type() argument
20 if (pmic_probe(p)) in power_chrg_get_type()
57 struct pmic *p = pmic_alloc(); in power_muic_init() local
59 if (!p) { in power_muic_init()
66 p->name = name; in power_muic_init()
67 p->interface = PMIC_I2C; in power_muic_init()
68 p->number_of_regs = MUIC_NUM_OF_REGS; in power_muic_init()
69 p->hw.i2c.addr = MAX77693_MUIC_I2C_ADDR; in power_muic_init()
70 p->hw.i2c.tx_num = 1; in power_muic_init()
71 p->bus = bus; in power_muic_init()
[all …]
H A Dfg_max77693.c52 if (pmic_probe(p)) { in power_update_battery()
72 if (pmic_probe(p)) { in power_check_battery()
86 ret = power_update_battery(p, bat); in power_check_battery()
116 struct pmic *p = pmic_alloc(); in power_fg_init() local
118 if (!p) { in power_fg_init()
125 p->name = name; in power_fg_init()
126 p->interface = PMIC_I2C; in power_fg_init()
127 p->number_of_regs = FG_NUM_OF_REGS; in power_fg_init()
129 p->hw.i2c.tx_num = 2; in power_fg_init()
131 p->bus = bus; in power_fg_init()
[all …]
/openbmc/u-boot/drivers/power/pmic/
H A Dmuic_max8997.c14 static int power_chrg_get_type(struct pmic *p) in power_chrg_get_type() argument
19 if (pmic_probe(p)) in power_chrg_get_type()
55 struct pmic *p = pmic_alloc(); in power_muic_init() local
57 if (!p) { in power_muic_init()
64 p->name = name; in power_muic_init()
65 p->interface = PMIC_I2C; in power_muic_init()
66 p->number_of_regs = MUIC_NUM_OF_REGS; in power_muic_init()
67 p->hw.i2c.addr = MAX8997_MUIC_I2C_ADDR; in power_muic_init()
68 p->hw.i2c.tx_num = 1; in power_muic_init()
69 p->bus = bus; in power_muic_init()
[all …]
/openbmc/linux/include/linux/unaligned/
H A Dpacked_struct.h10 static inline u16 __get_unaligned_cpu16(const void *p) in __get_unaligned_cpu16() argument
12 const struct __una_u16 *ptr = (const struct __una_u16 *)p; in __get_unaligned_cpu16()
16 static inline u32 __get_unaligned_cpu32(const void *p) in __get_unaligned_cpu32() argument
18 const struct __una_u32 *ptr = (const struct __una_u32 *)p; in __get_unaligned_cpu32()
22 static inline u64 __get_unaligned_cpu64(const void *p) in __get_unaligned_cpu64() argument
24 const struct __una_u64 *ptr = (const struct __una_u64 *)p; in __get_unaligned_cpu64()
28 static inline void __put_unaligned_cpu16(u16 val, void *p) in __put_unaligned_cpu16() argument
30 struct __una_u16 *ptr = (struct __una_u16 *)p; in __put_unaligned_cpu16()
34 static inline void __put_unaligned_cpu32(u32 val, void *p) in __put_unaligned_cpu32() argument
36 struct __una_u32 *ptr = (struct __una_u32 *)p; in __put_unaligned_cpu32()
[all …]
/openbmc/qemu/hw/loongarch/
H A Dboot.c134 info->a2 = p - start; in init_systab()
146 systab->tables = p; in init_systab()
147 bp_tables_start = p; in init_systab()
270 void *start = p; in init_boot_rom()
272 init_cmdline(info, p, start); in init_boot_rom()
273 p += COMMAND_LINE_SIZE; in init_boot_rom()
275 init_systab(info, p, start); in init_boot_rom()
280 void *p, *bp; in loongarch_direct_kernel_boot() local
295 p = g_malloc0(1 * MiB); in loongarch_direct_kernel_boot()
296 bp = p; in loongarch_direct_kernel_boot()
[all …]
/openbmc/linux/fs/sysv/
H A Ditree.c69 p->key = *(p->p = v); in add_chain()
70 p->bh = bh; in add_chain()
122 return p; in get_branch()
304 for (p=partial; p>chain && all_zeroes((sysv_zone_t*)p->bh->b_data,p->p); p--) in find_shared()
312 if (p == chain + k - 1 && p > chain) { in find_shared()
313 p->p--; in find_shared()
315 *top = *p->p; in find_shared()
316 *p->p = 0; in find_shared()
330 for ( ; p < q ; p++) { in free_data()
333 *p = 0; in free_data()
[all …]
/openbmc/qemu/ui/
H A Dtrace-events30 gd_gl_area_destroy_context(void *ctx, void *current_ctx) "ctx=%p, current_ctx=%p"
43 vnc_msg_server_audio_begin(void *state, void *ioc) "VNC server msg audio begin state=%p ioc=%p"
44 vnc_msg_server_audio_end(void *state, void *ioc) "VNC server msg audio end state=%p ioc=%p"
45 … void *ioc, const void *buf, size_t len) "VNC server msg audio data state=%p ioc=%p buf=%p len=%zd"
48 vnc_msg_client_audio_enable(void *state, void *ioc) "VNC client msg audio enable state=%p ioc=%p"
52 vnc_client_eof(void *state, void *ioc) "VNC client EOF state=%p ioc=%p"
54 vnc_client_connect(void *state, void *ioc) "VNC client connect state=%p ioc=%p"
55 vnc_client_disconnect_start(void *state, void *ioc) "VNC client disconnect start state=%p ioc=%p"
71 vnc_job_nrects(void *state, void *job, int nrects) "VNC job state=%p job=%p nrects=%d"
167 dbus_gl_gfx_switch(void *p) "surf: %p"
[all …]
/openbmc/qemu/target/i386/tcg/
H A Daccess.c90 if (likely(p)) { in access_ldb()
91 return ldub_p(p); in access_ldb()
100 if (likely(p)) { in access_ldw()
110 if (likely(p)) { in access_ldl()
120 if (likely(p)) { in access_ldq()
130 if (likely(p)) { in access_stb()
131 stb_p(p, val); in access_stb()
141 if (likely(p)) { in access_stw()
142 stw_le_p(p, val); in access_stw()
152 if (likely(p)) { in access_stl()
[all …]
/openbmc/linux/net/bridge/
H A Dbr_netlink.c107 if (p) in br_get_link_af_size_filtered()
116 if (p && (p->flags & BR_VLAN_TUNNEL)) in br_get_link_af_size_filtered()
701 if (p) { in br_vlan_info()
717 if (p) { in br_vlan_info()
820 if (!p || !(p->flags & BR_VLAN_TUNNEL)) in br_afspec()
853 if (!p) { in br_afspec()
1021 br_fdb_delete_by_port(p->br, p, 0, 0); in br_setport()
1764 if (!p) in br_get_linkxstats_size()
1803 if (!p) in br_fill_linkxstats()
1805 br = p->br; in br_fill_linkxstats()
[all …]
/openbmc/u-boot/board/BuS/eb_cpu5282/
H A Deb_cpu5282.c104 uint *p; in testdram() local
107 for (p = pstart; p < pend; p++) in testdram()
108 *p = 0xaaaaaaaa; in testdram()
110 for (p = pstart; p < pend; p++) { in testdram()
111 if (*p != 0xaaaaaaaa) { in testdram()
112 printf ("SDRAM test fails at: %08x\n", (uint) p); in testdram()
118 for (p = pstart; p < pend; p++) in testdram()
119 *p = 0x55555555; in testdram()
121 for (p = pstart; p < pend; p++) { in testdram()
122 if (*p != 0x55555555) { in testdram()
[all …]
/openbmc/qemu/qga/vss-win32/
H A Dvss-common.h78 COMPointer(const COMPointer<T> &p) { } /* no copy */ in COMPointer() argument
79 T *p; variable
84 if (p && p != new_p) {
85 p->Release();
87 p = new_p;
94 return &p; in replace()
97 operator T*() { return p; }
98 T *operator->(void) { return p; }
99 T &operator*(void) { return *p; }
100 operator bool() { return !!p; }
[all …]
/openbmc/phosphor-inventory-manager/
H A Dgen_serialization.mako.hpp37 % for p in properties:
38 <% t = "cereal::make_nvp(\"" + p.CamelCase + "\", object." + p.camelCase + "())"
49 % for p in properties:
50 <% t = "object." + p.camelCase + "()" %>\
51 decltype(${t}) ${p.CamelCase}{};
56 props = ', '.join([p.CamelCase for p in properties])
62 % for p in properties:
63 <% t = "cereal::make_nvp(\"" + p.CamelCase + "\", " + p.CamelCase + ")" %>\
74 % for p in properties:
75 <% t = "object." + p.camelCase + "(" + p.CamelCase + ", skipSignals)" %>\
/openbmc/linux/arch/ia64/mm/
H A Dtlb.c473 i++, p++) { in ia64_itr_entry()
528 p->ifa = va; in ia64_itr_entry()
529 p->pte = pte; in ia64_itr_entry()
537 p->ifa = va; in ia64_itr_entry()
538 p->pte = pte; in ia64_itr_entry()
568 if ((p->pte&0x1) && is_tr_overlap(p, p->ifa, p->itir>>2)) { in ia64_ptr_entry()
569 p->pte = 0; in ia64_ptr_entry()
570 ia64_ptr(0x1, p->ifa, p->itir>>2); in ia64_ptr_entry()
577 if ((p->pte & 0x1) && is_tr_overlap(p, p->ifa, p->itir>>2)) { in ia64_ptr_entry()
578 p->pte = 0; in ia64_ptr_entry()
[all …]
/openbmc/u-boot/cmd/
H A Dmtdparts.c620 p++; in part_parse()
622 size = memsize_parse(p, &p); in part_parse()
632 p++; in part_parse()
633 offset = memsize_parse(p, &p); in part_parse()
648 p++; in part_parse()
670 } else if ((*p == ';') || (*p == '\0')) { in part_parse()
870 p++; in device_parse()
882 debug("parsing partitions %.*s\n", (int)(pend ? pend - p : strlen(p)), p); in device_parse()
894 while (p && (*p != '\0') && (*p != ';')) { in device_parse()
1375 if ((*p++ != ',') || (*p == '\0')) {
[all …]
/openbmc/linux/arch/sh/include/asm/
H A Dbitops-op32.h33 unsigned long *p = ((unsigned long *)addr) + BIT_WORD(nr); in arch___set_bit() local
35 *p |= mask; in arch___set_bit()
52 unsigned long *p = ((unsigned long *)addr) + BIT_WORD(nr); in arch___clear_bit() local
54 *p &= ~mask; in arch___clear_bit()
82 *p ^= mask; in arch___change_bit()
100 unsigned long old = *p; in arch___test_and_set_bit()
102 *p = old | mask; in arch___test_and_set_bit()
120 unsigned long old = *p; in arch___test_and_clear_bit()
122 *p = old & ~mask; in arch___test_and_clear_bit()
132 unsigned long old = *p; in arch___test_and_change_bit()
[all …]
/openbmc/linux/fs/nfs/
H A Dnfs42xdr.c334 p = xdr_encode_hyper(p, args->dst_pos); in encode_copy_commit()
392 p = xdr_encode_hyper(p, devinfo->offset); in encode_layoutstats()
393 p = xdr_encode_hyper(p, devinfo->length); in encode_layoutstats()
421 p = xdr_encode_hyper(p, args->src_offset); in encode_clone()
422 p = xdr_encode_hyper(p, args->dst_offset); in encode_clone()
446 p = xdr_encode_hyper(p, args->offset); in encode_layouterror()
447 p = xdr_encode_hyper(p, args->length); in encode_layouterror()
499 p = xdr_encode_hyper(p, arg->cookie); in encode_listxattrs()
826 p = xdr_decode_hyper(p, &res->count); in decode_write_response()
996 p = xdr_decode_hyper(p, &seg->offset); in decode_read_plus_segment()
[all …]
/openbmc/linux/drivers/usb/host/
H A Dxhci.h207 #define MAX_DEVS(p) ((p) & 0xff) argument
241 #define ER_IRQ_PENDING(p) ((p) & 0x1) argument
392 #define LAST_CTX(p) ((p) << 27) argument
482 #define EP_MULT(p) (((p) & 0x3) << 8) argument
504 #define ERROR_COUNT(p) (((p) & 0x3) << 1) argument
506 #define EP_TYPE(p) ((p) << 3) argument
516 #define MAX_BURST(p) (((p)&0xff) << 8) argument
1046 #define TRB_LEN(p) ((p) & 0x1ffff) argument
1056 #define TRB_TBC(p) (((p) & 0x3) << 7) argument
1084 #define TRB_TX_TYPE(p) ((p) << 16) argument
[all …]
/openbmc/qemu/tests/tcg/hexagon/
H A Dv68_scalar.c53 static inline int loadw_aq(int *p) in loadw_aq() argument
57 : "=r"(res) : "r"(p)); in loadw_aq()
71 static inline long long loadd_aq(long long *p) in loadd_aq() argument
75 : "=r"(res) : "r"(p)); in loadd_aq()
89 static inline void release_at(int *p) in release_at() argument
92 : : "r"(p)); in release_at()
103 static inline void release_st(int *p) in release_st() argument
106 : : "r"(p)); in release_st()
117 static inline void storew_rl_at(int *p, int val) in storew_rl_at() argument
120 : : "r"(p), "r"(val) : "memory"); in storew_rl_at()
[all …]
/openbmc/linux/include/linux/
H A Du64_stats_sync.h77 static inline u64 u64_stats_read(const u64_stats_t *p) in u64_stats_read() argument
79 return local64_read(&p->v); in u64_stats_read()
84 local64_set(&p->v, val); in u64_stats_set()
89 local64_add(val, &p->v); in u64_stats_add()
92 static inline void u64_stats_inc(u64_stats_t *p) in u64_stats_inc() argument
94 local64_inc(&p->v); in u64_stats_inc()
120 return p->v; in u64_stats_read()
125 p->v = val; in u64_stats_set()
130 p->v += val; in u64_stats_add()
133 static inline void u64_stats_inc(u64_stats_t *p) in u64_stats_inc() argument
[all …]

1...<<11121314151617181920>>...357