/openbmc/linux/drivers/scsi/ |
H A D | aha1740.h | 85 #define any2scsi(up, p) \ argument 86 (up)[0] = (((unsigned long)(p)) >> 16) ; \ 87 (up)[1] = (((unsigned long)(p)) >> 8); \ 88 (up)[2] = ((unsigned long)(p)); 92 #define xany2scsi(up, p) \ argument 93 (up)[0] = ((long)(p)) >> 24; \ 94 (up)[1] = ((long)(p)) >> 16; \ 95 (up)[2] = ((long)(p)) >> 8; \ 96 (up)[3] = ((long)(p));
|
/openbmc/linux/drivers/video/fbdev/ |
H A D | c2p_iplan2.c | 94 void *p; in c2p_iplan2() local 104 p = dst; in c2p_iplan2() 113 store_iplan2_masked(p, bpp, d.words, first); in c2p_iplan2() 114 p += bpp*2; in c2p_iplan2() 125 store_iplan2_masked(p, bpp, d.words, first); in c2p_iplan2() 126 p += bpp*2; in c2p_iplan2() 134 store_iplan2(p, bpp, d.words); in c2p_iplan2() 135 p += bpp*2; in c2p_iplan2() 144 store_iplan2_masked(p, bpp, d.words, last); in c2p_iplan2()
|
H A D | c2p_planar.c | 96 void *p; in c2p_planar() local 104 p = dst; in c2p_planar() 113 store_planar_masked(p, dst_nextplane, bpp, d.words, in c2p_planar() 115 p += 4; in c2p_planar() 126 store_planar_masked(p, dst_nextplane, bpp, in c2p_planar() 128 p += 4; in c2p_planar() 136 store_planar(p, dst_nextplane, bpp, d.words); in c2p_planar() 137 p += 4; in c2p_planar() 146 store_planar_masked(p, dst_nextplane, bpp, in c2p_planar()
|
/openbmc/u-boot/drivers/dma/ |
H A D | fsl_dma.c | 140 uint *p = 0; in dma_meminit() local 143 for (*p = 0; p < (uint *)(8 * 1024); p++) { in dma_meminit() 144 if (((uint)p & 0x1f) == 0) in dma_meminit() 145 ppcDcbz((ulong)p); in dma_meminit() 147 *p = (uint)CONFIG_MEM_INIT_VALUE; in dma_meminit() 149 if (((uint)p & 0x1c) == 0x1c) in dma_meminit() 150 ppcDcbf((ulong)p); in dma_meminit()
|
/openbmc/qemu/linux-user/ |
H A D | trace-events | 8 user_setup_frame(void *env, uint64_t frame_addr) "env=%p frame_addr=0x%"PRIx64 9 user_setup_rt_frame(void *env, uint64_t frame_addr) "env=%p frame_addr=0x%"PRIx64 10 user_do_rt_sigreturn(void *env, uint64_t frame_addr) "env=%p frame_addr=0x%"PRIx64 11 user_do_sigreturn(void *env, uint64_t frame_addr) "env=%p frame_addr=0x%"PRIx64 12 user_dump_core_and_abort(void *env, int target_sig, int host_sig) "env=%p signal %d (host %d)" 13 user_handle_signal(void *env, int target_sig) "env=%p signal %d" 14 user_host_signal(void *env, int host_sig, int target_sig) "env=%p signal %d (target %d)" 15 user_queue_signal(void *env, int target_sig) "env=%p signal %d" 16 user_s390x_restore_sigregs(void *env, uint64_t sc_psw_addr, uint64_t env_psw_addr) "env=%p frame ps…
|
/openbmc/linux/drivers/input/serio/ |
H A D | parkbd.c | 85 unsigned char p; in parkbd_write() local 89 p = c ^ (c >> 4); in parkbd_write() 90 p = p ^ (p >> 2); in parkbd_write() 91 p = p ^ (p >> 1); in parkbd_write() 95 parkbd_buffer = c | (((int) (~p & 1)) << 8) | 0x600; in parkbd_write()
|
/openbmc/linux/arch/powerpc/kvm/ |
H A D | book3s_hv_uvmem.c | 252 p = kzalloc(sizeof(*p), GFP_KERNEL); in kvmppc_uvmem_slot_init() 253 if (!p) in kvmppc_uvmem_slot_init() 255 p->pfns = vcalloc(slot->npages, sizeof(*p->pfns)); in kvmppc_uvmem_slot_init() 256 if (!p->pfns) { in kvmppc_uvmem_slot_init() 257 kfree(p); in kvmppc_uvmem_slot_init() 282 kfree(p); in kvmppc_uvmem_slot_free() 295 if (gfn >= p->base_pfn && gfn < p->base_pfn + p->nr_pfns) { in kvmppc_mark_gfn() 339 if (gfn >= p->base_pfn && gfn < p->base_pfn + p->nr_pfns) { in kvmppc_gfn_is_uvmem_pfn() 370 p = iter; in kvmppc_next_nontransitioned_gfn() 373 if (!p) in kvmppc_next_nontransitioned_gfn() [all …]
|
/openbmc/linux/drivers/input/mouse/ |
H A D | alps.c | 647 (p[4] & 0x01); in alps_decode_pinnacle() 649 f->st.x = ((p[1] & 0x7f) << 4) | ((p[4] & 0x30) >> 2) | in alps_decode_pinnacle() 651 f->st.y = ((p[2] & 0x7f) << 4) | (p[4] & 0x0f); in alps_decode_pinnacle() 667 f->fingers = max((p[5] & 0x3), ((p[5] >> 2) & 0x3)) + 1; in alps_decode_rushmore() 677 f->st.x = ((p[1] & 0x7f) << 4) | ((p[4] & 0x30) >> 2) | in alps_decode_rushmore() 679 f->st.y = ((p[2] & 0x7f) << 4) | (p[4] & 0x0f); in alps_decode_rushmore() 698 f->st.x = ((p[1] & 0x7f) | ((p[4] & 0x0f) << 7)); in alps_decode_dolphin() 699 f->st.y = ((p[2] & 0x7f) | ((p[4] & 0xf0) << 3)); in alps_decode_dolphin() 700 f->pressure = (p[0] & 4) ? 0 : p[5] & 0x7f; in alps_decode_dolphin() 1068 if (p[0] & 0x20) in alps_decode_packet_v7() [all …]
|
/openbmc/linux/net/sunrpc/xprtrdma/ |
H A D | svc_rdma_pcl.c | 102 bool pcl_alloc_call(struct svc_rdma_recv_ctxt *rctxt, __be32 *p) in pcl_alloc_call() argument 113 p++; /* skip the list discriminator */ in pcl_alloc_call() 114 p = xdr_decode_read_segment(p, &position, &handle, in pcl_alloc_call() 156 bool pcl_alloc_read(struct svc_rdma_recv_ctxt *rctxt, __be32 *p) in pcl_alloc_read() argument 167 p++; /* skip the list discriminator */ in pcl_alloc_read() 168 p = xdr_decode_read_segment(p, &position, &handle, in pcl_alloc_read() 202 struct svc_rdma_pcl *pcl, __be32 *p) in pcl_alloc_write() argument 210 p++; /* skip the list discriminator */ in pcl_alloc_write() 211 segcount = be32_to_cpup(p++); in pcl_alloc_write() 220 p = xdr_decode_rdma_segment(p, &segment->rs_handle, in pcl_alloc_write()
|
/openbmc/linux/arch/x86/include/asm/ |
H A D | insn.h | 26 static inline void insn_field_set(struct insn_field *p, insn_value_t v, in insn_field_set() argument 29 p->value = v; in insn_field_set() 30 p->nbytes = n; in insn_field_set() 33 static inline void insn_set_byte(struct insn_field *p, unsigned char n, in insn_set_byte() argument 36 p->bytes[n] = v; in insn_set_byte() 52 static inline void insn_field_set(struct insn_field *p, insn_value_t v, in insn_field_set() argument 55 p->value = v; in insn_field_set() 56 p->little = __cpu_to_le32(v); in insn_field_set() 57 p->nbytes = n; in insn_field_set() 63 p->bytes[n] = v; in insn_set_byte() [all …]
|
/openbmc/linux/tools/arch/x86/include/asm/ |
H A D | insn.h | 26 static inline void insn_field_set(struct insn_field *p, insn_value_t v, in insn_field_set() argument 29 p->value = v; in insn_field_set() 30 p->nbytes = n; in insn_field_set() 33 static inline void insn_set_byte(struct insn_field *p, unsigned char n, in insn_set_byte() argument 36 p->bytes[n] = v; in insn_set_byte() 52 static inline void insn_field_set(struct insn_field *p, insn_value_t v, in insn_field_set() argument 55 p->value = v; in insn_field_set() 56 p->little = __cpu_to_le32(v); in insn_field_set() 57 p->nbytes = n; in insn_field_set() 63 p->bytes[n] = v; in insn_set_byte() [all …]
|
/openbmc/linux/tools/testing/selftests/bpf/bpf_testmod/ |
H A D | bpf_testmod.c | 147 struct bpf_testmod_btf_type_tag_1 __user *p; member 151 struct bpf_testmod_btf_type_tag_1 __percpu *p; member 164 return arg->p->a; in bpf_testmod_test_btf_type_tag_user_2() 174 return arg->p->a; in bpf_testmod_test_btf_type_tag_percpu_2() 413 return (int *)p; in __bpf_kfunc_call_test_get_mem() 419 return __bpf_kfunc_call_test_get_mem(p, rdwr_buf_size); in bpf_kfunc_call_test_get_rdwr_mem() 425 return __bpf_kfunc_call_test_get_mem(p, rdonly_buf_size); in bpf_kfunc_call_test_get_rdonly_mem() 436 return __bpf_kfunc_call_test_get_mem(p, rdonly_buf_size); in bpf_kfunc_call_test_acq_rdonly_mem() 439 __bpf_kfunc void bpf_kfunc_call_int_mem_release(int *p) in bpf_kfunc_call_int_mem_release() argument 447 __bpf_kfunc void bpf_kfunc_call_test_pass1(struct prog_test_pass1 *p) in bpf_kfunc_call_test_pass1() argument [all …]
|
/openbmc/linux/drivers/usb/gadget/udc/aspeed-vhub/ |
H A D | hub.c | 503 prev = p->status; in ast_vhub_change_port_stat() 510 u16 chg = p->status ^ prev; in ast_vhub_change_port_stat() 527 p->change = chg; in ast_vhub_change_port_stat() 582 ast_vhub_dev_resume(&p->dev); in ast_vhub_wake_work() 610 if (!p->dev.driver) in ast_vhub_port_reset() 617 ast_vhub_dev_reset(&p->dev); in ast_vhub_port_reset() 655 struct ast_vhub_port *p; in ast_vhub_set_port_feature() local 660 p = &vhub->ports[port]; in ast_vhub_set_port_feature() 698 struct ast_vhub_port *p; in ast_vhub_clr_port_feature() local 703 p = &vhub->ports[port]; in ast_vhub_clr_port_feature() [all …]
|
/openbmc/linux/drivers/staging/media/av7110/ |
H A D | av7110_ipack.h | 5 extern int av7110_ipack_init(struct ipack *p, int size, 8 extern void av7110_ipack_reset(struct ipack *p); 9 extern int av7110_ipack_instant_repack(const u8 *buf, int count, struct ipack *p); 10 extern void av7110_ipack_free(struct ipack * p); 11 extern void av7110_ipack_flush(struct ipack *p);
|
/openbmc/linux/arch/sh/include/asm/ |
H A D | io.h | 59 #define readsb(p,d,l) __raw_readsb(p,d,l) argument 60 #define readsw(p,d,l) __raw_readsw(p,d,l) argument 61 #define readsl(p,d,l) __raw_readsl(p,d,l) argument 63 #define writesb(p,d,l) __raw_writesb(p,d,l) argument 64 #define writesw(p,d,l) __raw_writesw(p,d,l) argument 65 #define writesl(p,d,l) __raw_writesl(p,d,l) argument 178 #define __BUILD_IOPORT_SINGLE(pfx, bwlq, type, p, slow) \ argument 180 static inline void pfx##out##bwlq##p(type val, unsigned long port) \ 189 static inline type pfx##in##bwlq##p(unsigned long port) \ 311 #define xlate_dev_mem_ptr(p) __va(p) argument [all …]
|
/openbmc/linux/net/ipv4/ |
H A D | tcp_offload.c | 187 struct sk_buff *p; in tcp_gro_receive() local 222 if (!NAPI_GRO_CB(p)->same_flow) in tcp_gro_receive() 225 th2 = tcp_hdr(p); in tcp_gro_receive() 228 NAPI_GRO_CB(p)->same_flow = 0; in tcp_gro_receive() 234 p = NULL; in tcp_gro_receive() 239 flush = NAPI_GRO_CB(p)->flush; in tcp_gro_receive() 253 NAPI_GRO_CB(p)->count != 1 || in tcp_gro_receive() 254 !NAPI_GRO_CB(p)->is_atomic) in tcp_gro_receive() 255 flush |= NAPI_GRO_CB(p)->flush_id; in tcp_gro_receive() 259 mss = skb_shinfo(p)->gso_size; in tcp_gro_receive() [all …]
|
/openbmc/linux/arch/arm/crypto/ |
H A D | sha1-ce-core.S | 96 add_update p, 1, k1, 9, 10, 11, 8 97 add_update p, 0, k1, 10, 11, 8, 9 98 add_update p, 1, k1, 11, 8, 9, 10 99 add_update p, 0, k1, 8, 9, 10, 11 100 add_update p, 1, k2, 9, 10, 11, 8 108 add_update p, 1, k3, 11, 8, 9, 10 109 add_only p, 0, k3, 9 110 add_only p, 1, k3, 10 111 add_only p, 0, k3, 11 112 add_only p, 1
|
/openbmc/linux/tools/testing/selftests/rseq/ |
H A D | rseq-x86.h | 43 #define rseq_smp_load_acquire(p) \ argument 45 rseq_unqual_scalar_typeof(*(p)) ____p1 = RSEQ_READ_ONCE(*(p)); \ 52 #define rseq_smp_store_release(p, v) \ argument 55 RSEQ_WRITE_ONCE(*(p), v); \ 127 #define rseq_smp_load_acquire(p) \ argument 129 __typeof(*p) ____p1 = RSEQ_READ_ONCE(*p); \ 136 #define rseq_smp_store_release(p, v) \ argument 139 RSEQ_WRITE_ONCE(*p, v); \
|
/openbmc/linux/tools/arch/s390/include/asm/ |
H A D | barrier.h | 31 #define smp_store_release(p, v) \ argument 34 WRITE_ONCE(*p, v); \ 37 #define smp_load_acquire(p) \ argument 39 typeof(*p) ___p1 = READ_ONCE(*p); \
|
/openbmc/qemu/tests/tcg/aarch64/ |
H A D | lse2-fault.c | 10 void *p; in main() local 21 p = shmat(id, NULL, 0); in main() 22 if (p == MAP_FAILED) { in main() 28 if (mprotect(p + psize, psize, PROT_NONE) < 0) { in main() 37 return *(int *)(p + psize - 6); in main()
|
/openbmc/linux/security/tomoyo/ |
H A D | util.c | 859 while (*f && *p) { in tomoyo_path_matches_pattern2() 865 p_delimiter = p + strlen(p); in tomoyo_path_matches_pattern2() 866 if (*p == '\\' && *(p + 1) == '{') in tomoyo_path_matches_pattern2() 874 p = p_delimiter; in tomoyo_path_matches_pattern2() 875 if (*p) in tomoyo_path_matches_pattern2() 876 p++; in tomoyo_path_matches_pattern2() 880 (*(p + 1) == '*' || *(p + 1) == '@')) in tomoyo_path_matches_pattern2() 881 p += 2; in tomoyo_path_matches_pattern2() 882 return !*f && !*p; in tomoyo_path_matches_pattern2() 890 if (*(p - 1) != '/' || p_delimiter <= p + 3 || *p_delimiter != '/' || in tomoyo_path_matches_pattern2() [all …]
|
/openbmc/linux/sound/pci/emu10k1/ |
H A D | memory.c | 168 struct list_head *p; in unmap_memblk() local 172 p = blk->mapped_link.prev; in unmap_memblk() 179 p = blk->mapped_link.next; in unmap_memblk() 208 struct list_head *p; in search_empty() local 279 for (; p != &emu->mapped_order_link_head; p = nextp) { in snd_emu10k1_memblk_map() 280 nextp = p->next; in snd_emu10k1_memblk_map() 456 struct list_head *p; in get_single_page_range() local 460 p = blk->mem.list.prev; in get_single_page_range() 461 if (p != &hdr->block) { in get_single_page_range() 467 p = blk->mem.list.next; in get_single_page_range() [all …]
|
/openbmc/u-boot/lib/ |
H A D | tiny-printf.c | 75 char *p = mac_addr; in mac_address_string() local 79 p = pack_hex_byte(p, addr[i]); in mac_address_string() 81 *p++ = ':'; in mac_address_string() 83 *p = '\0'; in mac_address_string() 129 char *p = ip4_addr; in ip4_addr_string() local 138 *p++ = '.'; in ip4_addr_string() 140 *p = '\0'; in ip4_addr_string() 201 char *p; in _vprintf() local 236 p = info->bf; in _vprintf() 302 info->bf = p; in _vprintf() [all …]
|
/openbmc/qemu/target/s390x/kvm/ |
H A D | stsi-topology.c | 26 static char *fill_container(char *p, int level, int id) in fill_container() argument 28 SYSIBContainerListEntry *tle = (SYSIBContainerListEntry *)p; in fill_container() 32 return p + sizeof(*tle); in fill_container() 43 static char *fill_tle_cpu(char *p, S390TopologyEntry *entry) in fill_tle_cpu() argument 45 SysIBCPUListEntry *tle = (SysIBCPUListEntry *)p; in fill_tle_cpu() 59 return p + sizeof(*tle); in fill_tle_cpu() 87 char *p, int level) in stsi_topology_fill_sysib() argument 105 p = fill_container(p, 3, drawer_id++); in stsi_topology_fill_sysib() 110 p = fill_container(p, 2, book_id++); in stsi_topology_fill_sysib() 115 p = fill_container(p, 1, socket_id++); in stsi_topology_fill_sysib() [all …]
|
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb/ |
H A D | cxgb2.c | 154 link_report(p); in t1_link_negotiated() 177 struct cmac *mac = p->mac; in link_start() 182 t1_set_rxmode(p->dev); in link_start() 183 t1_link_start(p->phy, mac, &p->link_config); in link_start() 270 struct cmac *mac = p->mac; in cxgb_close() 300 pstats = p->mac->ops->statistics_update(p->mac, in t1_get_stats() 538 u32 *p = buf + start; in reg_block_dump() local 668 t1_link_start(p->phy, p->mac, lc); in set_link_ksettings() 703 t1_link_start(p->phy, p->mac, lc); in set_pauseparam() 707 p->mac->ops->set_speed_duplex_fc(p->mac, -1, -1, in set_pauseparam() [all …]
|