/kernel/linux/linux-5.10/arch/powerpc/boot/ |
D | addnote.c | 118 unsigned long ph, ps, np; in main() local 151 ph = (e_class == ELFCLASS32 ? GET_32(E_PHOFF) : GET_64(E_PHOFF)); in main() 154 if (ph < E_HSIZE || ps < PH_HSIZE || np < 1) in main() 156 if (ph + (np + 2) * ps + nnote + nnote2 > n) in main() 160 if (GET_32(ph + PH_TYPE) == PT_NOTE) { in main() 165 ph += ps; in main() 170 if (buf[ph + i] != 0) in main() 174 ns = ph + 2 * ps; in main() 175 PUT_32(ph + PH_TYPE, PT_NOTE); in main() 177 PUT_32(ph + PH_OFFSET, ns); in main() [all …]
|
/kernel/linux/linux-5.10/include/linux/soc/ti/ |
D | knav_qmss.h | 80 void knav_pool_destroy(void *ph); 81 int knav_pool_count(void *ph); 82 void *knav_pool_desc_get(void *ph); 83 void knav_pool_desc_put(void *ph, void *desc); 84 int knav_pool_desc_map(void *ph, void *desc, unsigned size, 86 void *knav_pool_desc_unmap(void *ph, dma_addr_t dma, unsigned dma_sz); 87 dma_addr_t knav_pool_desc_virt_to_dma(void *ph, void *virt); 88 void *knav_pool_desc_dma_to_virt(void *ph, dma_addr_t dma);
|
/kernel/linux/linux-5.10/tools/perf/util/ |
D | header.c | 224 if (ff->ph->needs_swap) in do_read_u32() 237 if (ff->ph->needs_swap) in do_read_u64() 312 session = container_of(ff->ph, struct perf_session, header); in write_build_id() 884 session = container_of(ff->ph, struct perf_session, header); in write_auxtrace() 895 return do_write(ff, &ff->ph->env.clock.clockid_res_ns, in write_clockid() 896 sizeof(ff->ph->env.clock.clockid_res_ns)); in write_clockid() 914 data32 = ff->ph->env.clock.clockid; in write_clock_data() 921 data64 = &ff->ph->env.clock.tod_ns; in write_clock_data() 928 data64 = &ff->ph->env.clock.clockid_ns; in write_clock_data() 939 session = container_of(ff->ph, struct perf_session, header); in write_dir_format() [all …]
|
D | header.h | 81 struct perf_header *ph, int fd); 94 struct perf_header *ph; member 131 struct perf_header *ph,
|
/kernel/linux/linux-5.10/drivers/block/paride/ |
D | epia.c | 138 { int k, ph, a, b; in epia_read_block() local 143 ph = 1; in epia_read_block() 145 w2(2+ph); a = r1(); in epia_read_block() 146 w2(4+ph); b = r1(); in epia_read_block() 148 ph = 1 - ph; in epia_read_block() 155 ph = 1; in epia_read_block() 157 w2(4+ph); in epia_read_block() 160 ph = 1 - ph; in epia_read_block() 166 ph = 1; in epia_read_block() 168 w2(0x24+ph); in epia_read_block() [all …]
|
D | epat.c | 99 { int k, ph, a, b; in epat_read_block() local 104 ph = 0; in epat_read_block() 107 w2(6+ph); a = r1(); in epat_read_block() 109 else { w2(4+ph); b = r1(); } in epat_read_block() 111 ph = 1 - ph; in epat_read_block() 117 ph = 0; in epat_read_block() 120 w2(4+ph); in epat_read_block() 123 ph = 1 - ph; in epat_read_block() 129 ph = 0; in epat_read_block() 131 w2(0x24+ph); in epat_read_block() [all …]
|
D | friq.c | 79 { int h, l, k, ph; in friq_read_block_int() local 92 case 1: ph = 2; in friq_read_block_int() 96 w2(0xa4 + ph); in friq_read_block_int() 98 ph = 2 - ph; in friq_read_block_int()
|
D | frpw.c | 76 { int h, l, k, ph; in frpw_read_block_int() local 89 case 1: ph = 2; in frpw_read_block_int() 93 w2(0xa4 + ph); in frpw_read_block_int() 95 ph = 2 - ph; in frpw_read_block_int()
|
/kernel/linux/linux-5.10/block/partitions/ |
D | ldm.c | 67 static bool ldm_parse_privhead(const u8 *data, struct privhead *ph) in ldm_parse_privhead() argument 71 BUG_ON(!data || !ph); in ldm_parse_privhead() 77 ph->ver_major = get_unaligned_be16(data + 0x000C); in ldm_parse_privhead() 78 ph->ver_minor = get_unaligned_be16(data + 0x000E); in ldm_parse_privhead() 79 ph->logical_disk_start = get_unaligned_be64(data + 0x011B); in ldm_parse_privhead() 80 ph->logical_disk_size = get_unaligned_be64(data + 0x0123); in ldm_parse_privhead() 81 ph->config_start = get_unaligned_be64(data + 0x012B); in ldm_parse_privhead() 82 ph->config_size = get_unaligned_be64(data + 0x0133); in ldm_parse_privhead() 84 if (ph->ver_major == 2 && ph->ver_minor == 12) in ldm_parse_privhead() 86 if (!is_vista && (ph->ver_major != 2 || ph->ver_minor != 11)) { in ldm_parse_privhead() [all …]
|
/kernel/linux/linux-5.10/include/net/phonet/ |
D | phonet.h | 70 struct phonethdr *ph = pn_hdr(skb); in pn_skb_get_src_sockaddr() local 71 u16 obj = pn_object(ph->pn_sdev, ph->pn_sobj); in pn_skb_get_src_sockaddr() 75 pn_sockaddr_set_resource(sa, ph->pn_res); in pn_skb_get_src_sockaddr() 82 struct phonethdr *ph = pn_hdr(skb); in pn_skb_get_dst_sockaddr() local 83 u16 obj = pn_object(ph->pn_rdev, ph->pn_robj); in pn_skb_get_dst_sockaddr() 87 pn_sockaddr_set_resource(sa, ph->pn_res); in pn_skb_get_dst_sockaddr()
|
/kernel/linux/linux-5.10/net/phonet/ |
D | pep.c | 52 } *ph, h; in pep_get_sb() local 55 ph = skb_header_pointer(skb, 0, 2, &h); in pep_get_sb() 56 if (ph == NULL || ph->sb_len < 2 || !pskb_may_pull(skb, ph->sb_len)) in pep_get_sb() 58 ph->sb_len -= 2; in pep_get_sb() 59 *ptype = ph->sb_type; in pep_get_sb() 60 *plen = ph->sb_len; in pep_get_sb() 62 if (buflen > ph->sb_len) in pep_get_sb() 63 buflen = ph->sb_len; in pep_get_sb() 65 __skb_pull(skb, 2 + ph->sb_len); in pep_get_sb() 89 struct pnpipehdr *ph; in pep_reply() local [all …]
|
D | af_phonet.c | 151 struct phonethdr *ph; in pn_send() local 170 ph = pn_hdr(skb); in pn_send() 171 ph->pn_rdev = pn_dev(dst); in pn_send() 172 ph->pn_sdev = pn_dev(src); in pn_send() 173 ph->pn_res = res; in pn_send() 174 ph->pn_length = __cpu_to_be16(skb->len + 2 - sizeof(*ph)); in pn_send() 175 ph->pn_robj = pn_obj(dst); in pn_send() 176 ph->pn_sobj = pn_obj(src); in pn_send() 287 const struct phonethdr *ph; in can_respond() local 294 ph = pn_hdr(skb); in can_respond() [all …]
|
/kernel/linux/linux-5.10/arch/mips/boot/ |
D | elf2ecoff.c | 271 Elf32_Phdr *ph; in main() local 329 ph = (Elf32_Phdr *) saveRead(infile, ex.e_phoff, in main() 333 convert_elf_phdrs(ph, ex.e_phnum); in main() 347 qsort(ph, ex.e_phnum, sizeof(Elf32_Phdr), phcmp); in main() 351 switch (ph[i].p_type) { in main() 361 if (ph[i].p_flags & PF_W) { in main() 364 ndata.vaddr = ph[i].p_vaddr; in main() 365 ndata.len = ph[i].p_filesz; in main() 366 nbss.vaddr = ph[i].p_vaddr + ph[i].p_filesz; in main() 367 nbss.len = ph[i].p_memsz - ph[i].p_filesz; in main() [all …]
|
/kernel/linux/linux-5.10/drivers/clk/meson/ |
D | clk-phase.c | 43 val = meson_parm_read(clk->map, &phase->ph); in meson_clk_phase_get_phase() 45 return meson_clk_degrees_from_val(val, phase->ph.width); in meson_clk_phase_get_phase() 54 val = meson_clk_degrees_to_val(degrees, phase->ph.width); in meson_clk_phase_set_phase() 55 meson_parm_write(clk->map, &phase->ph, val); in meson_clk_phase_set_phase() 147 val = meson_parm_read(clk->map, &tph->ph); in meson_sclk_ws_inv_sync() 159 val = meson_parm_read(clk->map, &tph->ph); in meson_sclk_ws_inv_get_phase() 161 return meson_clk_degrees_from_val(val, tph->ph.width); in meson_sclk_ws_inv_get_phase() 170 val = meson_clk_degrees_to_val(degrees, tph->ph.width); in meson_sclk_ws_inv_set_phase() 171 meson_parm_write(clk->map, &tph->ph, val); in meson_sclk_ws_inv_set_phase()
|
D | clk-phase.h | 14 struct parm ph; member 24 struct parm ph; member
|
/kernel/linux/linux-5.10/tools/testing/selftests/proc/ |
D | proc-pid-vm.c | 151 struct elf64_phdr ph; in make_exe() local 155 {&ph, sizeof(struct elf64_phdr)}, in make_exe() 184 memset(&ph, 0, sizeof(ph)); in make_exe() 185 ph.p_type = 1; in make_exe() 186 ph.p_flags = (1<<2)|1; in make_exe() 187 ph.p_offset = 0; in make_exe() 188 ph.p_vaddr = VADDR; in make_exe() 189 ph.p_paddr = 0; in make_exe() 190 ph.p_filesz = sizeof(struct elf64_hdr) + sizeof(struct elf64_phdr) + len; in make_exe() 191 ph.p_memsz = sizeof(struct elf64_hdr) + sizeof(struct elf64_phdr) + len; in make_exe() [all …]
|
/kernel/linux/linux-5.10/arch/x86/kernel/ |
D | irq_32.c | 115 struct page *ph, *ps; in irq_init_percpu_irqstack() local 120 ph = alloc_pages_node(node, THREADINFO_GFP, THREAD_SIZE_ORDER); in irq_init_percpu_irqstack() 121 if (!ph) in irq_init_percpu_irqstack() 125 __free_pages(ph, THREAD_SIZE_ORDER); in irq_init_percpu_irqstack() 129 per_cpu(hardirq_stack_ptr, cpu) = page_address(ph); in irq_init_percpu_irqstack()
|
/kernel/linux/linux-5.10/drivers/net/ppp/ |
D | pppoe.c | 416 struct pppoe_hdr *ph; in pppoe_rcv() local 431 ph = pppoe_hdr(skb); in pppoe_rcv() 432 len = ntohs(ph->length); in pppoe_rcv() 434 skb_pull_rcsum(skb, sizeof(*ph)); in pppoe_rcv() 441 ph = pppoe_hdr(skb); in pppoe_rcv() 447 po = get_item(pn, ph->sid, eth_hdr(skb)->h_source, dev->ifindex); in pppoe_rcv() 485 struct pppoe_hdr *ph; in pppoe_disc_rcv() local 499 ph = pppoe_hdr(skb); in pppoe_disc_rcv() 500 if (ph->code != PADT_CODE) in pppoe_disc_rcv() 504 po = get_item(pn, ph->sid, eth_hdr(skb)->h_source, dev->ifindex); in pppoe_disc_rcv() [all …]
|
/kernel/linux/linux-5.10/arch/powerpc/sysdev/ |
D | tsi108_dev.c | 77 const phandle *ph; in tsi108_eth_of_init() local 108 ph = of_get_property(np, "mdio-handle", NULL); in tsi108_eth_of_init() 109 mdio = of_find_node_by_phandle(*ph); in tsi108_eth_of_init() 115 ph = of_get_property(np, "phy-handle", NULL); in tsi108_eth_of_init() 116 phy = of_find_node_by_phandle(*ph); in tsi108_eth_of_init()
|
/kernel/linux/linux-5.10/tools/testing/selftests/netfilter/ |
D | nf-queue.c | 80 struct nfqnl_msg_packet_hdr *ph = NULL; in queue_cb() local 87 ph = mnl_attr_get_payload(tb[NFQA_PACKET_HDR]); in queue_cb() 88 id = ntohl(ph->packet_id); in queue_cb() 92 ntohs(ph->hw_protocol), ph->hook); in queue_cb() 94 if (ph->hook >= 5) { in queue_cb() 95 fprintf(stderr, "Unknown hook %d\n", ph->hook); in queue_cb() 114 queue_stats[ph->hook]++; in queue_cb()
|
/kernel/linux/linux-5.10/net/xfrm/ |
D | xfrm_output.c | 150 struct ip_beet_phdr *ph; in xfrm4_beet_encap_add() local 169 ph = __skb_pull(skb, XFRM_MODE_SKB_CB(skb)->ihl - hdrlen); in xfrm4_beet_encap_add() 177 ph->padlen = 4 - (optlen & 4); in xfrm4_beet_encap_add() 178 ph->hdrlen = optlen / 8; in xfrm4_beet_encap_add() 179 ph->nexthdr = top_iph->protocol; in xfrm4_beet_encap_add() 180 if (ph->padlen) in xfrm4_beet_encap_add() 181 memset(ph + 1, IPOPT_NOP, ph->padlen); in xfrm4_beet_encap_add() 280 struct ip_beet_phdr *ph; in xfrm6_beet_encap_add() local 294 ph = __skb_pull(skb, XFRM_MODE_SKB_CB(skb)->ihl - hdr_len); in xfrm6_beet_encap_add() 303 ph->padlen = 4 - (optlen & 4); in xfrm6_beet_encap_add() [all …]
|
/kernel/linux/linux-5.10/drivers/sbus/char/ |
D | openprom.c | 187 phandle ph; in opromnext() local 194 ph = *((int *) op->oprom_array); in opromnext() 195 if (ph) { in opromnext() 196 dp = of_find_node_by_phandle(ph); in opromnext() 221 ph = 0; in opromnext() 223 ph = dp->phandle; in opromnext() 226 *((int *) op->oprom_array) = ph; in opromnext() 260 phandle ph = 0; in oprompath2node() local 264 ph = dp->phandle; in oprompath2node() 266 *((int *)op->oprom_array) = ph; in oprompath2node()
|
/kernel/linux/linux-5.10/drivers/media/platform/qcom/camss/ |
D | Makefile | 7 camss-csiphy-2ph-1-0.o \ 8 camss-csiphy-3ph-1-0.o \
|
/kernel/linux/linux-5.10/drivers/pwm/ |
D | pwm-rcar.c | 111 u32 cyc, ph; in rcar_pwm_set_counter() local 122 ph = tmp & RCAR_PWMCNT_PH0_MASK; in rcar_pwm_set_counter() 125 if (cyc == 0 || ph == 0) in rcar_pwm_set_counter() 128 rcar_pwm_write(rp, cyc | ph, RCAR_PWMCNT); in rcar_pwm_set_counter()
|
/kernel/linux/linux-5.10/drivers/mailbox/ |
D | qcom-ipcc.c | 164 const struct of_phandle_args *ph) in qcom_ipcc_mbox_xlate() argument 171 if (ph->args_count != 2) in qcom_ipcc_mbox_xlate() 178 mchan->client_id = ph->args[0]; in qcom_ipcc_mbox_xlate() 179 mchan->signal_id = ph->args[1]; in qcom_ipcc_mbox_xlate()
|