| /src/sys/arch/i386/pci/ |
| amd756reg.h | 55 #define AMD756_GET_EDGESEL(ph) \ 56 (pci_conf_read((ph)->ph_pc, (ph)->ph_tag, AMD756_CFG_PIR) \ 59 #define AMD756_GET_PIIRQSEL(ph) \ 60 (pci_conf_read((ph)->ph_pc, (ph)->ph_tag, AMD756_CFG_PIR) \ 63 #define AMD756_SET_EDGESEL(ph, n) \ 64 pci_conf_write((ph)->ph_pc, (ph)->ph_tag, AMD756_CFG_PIR, \ 65 (pci_conf_read((ph)->ph_pc, (ph)->ph_tag, AMD756_CFG_PIR) [all...] |
| via8231reg.h | 85 #define VIA8231_GET_TRIGGER(ph) \ 86 ((pci_conf_read((ph)->ph_pc, (ph)->ph_tag, VIA8231_CFG_PIR) \ 88 #define VIA8237_GET_TRIGGER(ph) \ 89 ((pci_conf_read((ph)->ph_pc, (ph)->ph_tag, VIA8237_CFG_PIR) \ 92 #define VIA8231_SET_TRIGGER(ph, n) \ 93 pci_conf_write((ph)->ph_pc, (ph)->ph_tag, VIA8231_CFG_PIR, \ 94 (pci_conf_read((ph)->ph_pc, (ph)->ph_tag, VIA8231_CFG_PIR) [all...] |
| piix.c | 124 struct piix_handle *ph; local 126 ph = malloc(sizeof(*ph), M_DEVBUF, M_NOWAIT); 127 if (ph == NULL) 130 ph->ph_iot = iot; 131 ph->ph_pc = pc; 132 ph->ph_tag = tag; 135 &ph->ph_elcr_ioh) != 0) { 136 free(ph, M_DEVBUF); 141 piix_pir_dump(ph); 151 struct piix_handle *ph = v; local 233 struct piix_handle *ph = v; local 257 struct piix_handle *ph = v; local 280 struct piix_handle *ph = v; local 302 struct piix_handle *ph = v; local [all...] |
| opti82c558.c | 126 struct opti82c558_handle *ph; local 128 ph = malloc(sizeof(*ph), M_DEVBUF, M_NOWAIT); 129 if (ph == NULL) 132 ph->ph_pc = pc; 133 ph->ph_tag = tag; 136 *phandp = ph; 155 struct opti82c558_handle *ph = v; local 162 reg = pci_conf_read(ph->ph_pc, ph->ph_tag, VIPER_CFG_PIRQ) 173 struct opti82c558_handle *ph = v; local 192 struct opti82c558_handle *ph = v; local 213 struct opti82c558_handle *ph = v; local [all...] |
| via8231.c | 143 struct via8231_handle *ph; local 146 ph = malloc(sizeof(*ph), M_DEVBUF, M_NOWAIT); 147 if (ph == NULL) 150 ph->ph_iot = iot; 151 ph->ph_pc = pc; 152 ph->ph_tag = tag; 154 ph->flags = PCI_VENDOR(id) == PCI_VENDOR_VIATECH && 158 *phandp = ph; 161 via8231_pir_dump("via8231_init", ph); 170 struct via8231_handle *ph = v; local 185 struct via8231_handle *ph = v; local 208 struct via8231_handle *ph = v; local 235 struct via8231_handle *ph = v; local 260 struct via8231_handle *ph = v; local [all...] |
| amd756.c | 109 struct amd756_handle *ph; local 111 ph = malloc(sizeof(*ph), M_DEVBUF, M_NOWAIT); 112 if (ph == NULL) 115 ph->ph_iot = iot; 116 ph->ph_pc = pc; 117 ph->ph_tag = tag; 120 *phandp = ph; 123 amd756_pir_dump(ph); 143 struct amd756_handle *ph = v local 161 struct amd756_handle *ph = v; local 180 struct amd756_handle *ph = v; local 205 struct amd756_handle *ph = v; local [all...] |
| opti82c700.c | 114 struct opti82c700_handle *ph; local 116 ph = malloc(sizeof(*ph), M_DEVBUF, M_NOWAIT); 117 if (ph == NULL) 120 ph->ph_pc = pc; 121 ph->ph_tag = tag; 123 opti82c700_pir_dump(ph); 126 *phandp = ph; 197 struct opti82c700_handle *ph = v; local 204 reg = pci_conf_read(ph->ph_pc, ph->ph_tag, addrofs) 216 struct opti82c700_handle *ph = v; local 237 struct opti82c700_handle *ph = v; local 283 struct opti82c700_handle *ph = v; local [all...] |
| via82c586.c | 155 struct piix_handle *ph = v; local 162 reg = pci_conf_read(ph->ph_pc, ph->ph_tag, VP3_CFG_PIRQ_REG); 173 struct piix_handle *ph = v; local 180 reg = pci_conf_read(ph->ph_pc, ph->ph_tag, VP3_CFG_PIRQ_REG); 185 pci_conf_write(ph->ph_pc, ph->ph_tag, VP3_CFG_PIRQ_REG, reg); 196 struct piix_handle *ph = v; local 207 reg = pci_conf_read(ph->ph_pc, ph->ph_tag 227 struct piix_handle *ph = v; local [all...] |
| sis85c503.c | 128 struct piix_handle *ph = v; local 134 reg = pci_conf_read(ph->ph_pc, ph->ph_tag, 149 struct piix_handle *ph = v; local 156 reg = pci_conf_read(ph->ph_pc, ph->ph_tag, 162 pci_conf_write(ph->ph_pc, ph->ph_tag, SIS85C503_CFG_PIRQ_REGOFS(clink),
|
| ali1543.c | 183 struct piix_handle *ph = v; local 190 reg = pci_conf_read(ph->ph_pc, ph->ph_tag, ALI1543_INTR_CFG_REG); 204 struct piix_handle *ph = v; local 211 reg = pci_conf_read(ph->ph_pc, ph->ph_tag, ALI1543_INTR_CFG_REG); 216 pci_conf_write(ph->ph_pc, ph->ph_tag, ALI1543_INTR_CFG_REG, reg);
|
| /src/lib/librefuse/refuse/ |
| poll.c | 45 fuse_notify_poll(struct fuse_pollhandle *ph) { 50 fuse_pollhandle_destroy(struct fuse_pollhandle *ph) {
|
| poll.h | 48 int fuse_notify_poll(struct fuse_pollhandle *ph); 51 void fuse_pollhandle_destroy(struct fuse_pollhandle *ph);
|
| /src/sys/arch/arm/ep93xx/ |
| eppcic.c | 152 struct eppcic_handle *ph; local 178 ph = kmem_alloc(sizeof(*ph), KM_SLEEP); 179 sc->sc_ph[0] = ph; 180 ph->ph_sc = sc; 181 ph->ph_socket = 0; 182 ph->ph_port = PORT_F; 183 ph->ph_cd[0] = SOCKET0_MCCD1; 184 ph->ph_cd[1] = SOCKET0_MCCD2; 185 ph->ph_vs[0] = SOCKET0_VS1 277 struct eppcic_handle *ph = arg; local 303 struct eppcic_handle *ph = arg; local 313 struct eppcic_handle *ph = arg; local 334 struct eppcic_handle *ph = (struct eppcic_handle *)pch; local 354 struct eppcic_handle *ph = (struct eppcic_handle *)pch; local 392 struct eppcic_handle *ph = (struct eppcic_handle *)pch; local 404 struct eppcic_handle *ph = (struct eppcic_handle *)pch; local 420 struct eppcic_handle *ph = (struct eppcic_handle *)pch; local 432 struct eppcic_handle *ph = (struct eppcic_handle *)pch; local 465 struct eppcic_handle *ph = (struct eppcic_handle *)pch; local 483 struct eppcic_handle *ph = (struct eppcic_handle *)pch; local 496 struct eppcic_handle *ph = arg; local 515 struct eppcic_handle *ph = (struct eppcic_handle *)pch; local 534 struct eppcic_handle *ph = (struct eppcic_handle *)pch; local [all...] |
| /src/sys/dev/ic/ |
| pcdisplayvar.h | 60 static __inline u_int8_t _pcdisplay_6845_read(struct pcdisplay_handle *ph, int reg) 62 bus_space_write_1(ph->ph_iot, ph->ph_ioh_6845, MC6845_INDEX, reg); 63 return (bus_space_read_1(ph->ph_iot, ph->ph_ioh_6845, MC6845_DATA)); 66 static __inline void _pcdisplay_6845_write(struct pcdisplay_handle *ph, 69 bus_space_write_1(ph->ph_iot, ph->ph_ioh_6845, MC6845_INDEX, reg); 70 bus_space_write_1(ph->ph_iot, ph->ph_ioh_6845, MC6845_DATA, val) [all...] |
| /src/sys/arch/arm/at91/ |
| at91cf.c | 139 struct at91cf_handle *ph; local 177 ph = kmem_zalloc(sizeof(*ph), KM_SLEEP); 178 sc->sc_ph = ph; 179 ph->ph_sc = sc; 180 ph->ph_space[IO].base = sa->sa_addr + IO_BASE; 181 ph->ph_space[IO].size = IO_SIZE; 182 ph->ph_space[COMMON].base = sa->sa_addr + COMMON_BASE; 183 ph->ph_space[COMMON].size = COMMON_SIZE; 184 ph->ph_space[ATTRIBUTE].base = sa->sa_addr + MEMORY_BASE 245 struct at91cf_handle *ph = arg; local 264 struct at91cf_handle *ph = arg; local 289 struct at91cf_handle *ph = arg; local 299 struct at91cf_handle *ph = arg; local 320 struct at91cf_handle *ph = (struct at91cf_handle *)pch; local 340 struct at91cf_handle *ph = (struct at91cf_handle *)pch; local 376 struct at91cf_handle *ph = (struct at91cf_handle *)pch; local 388 struct at91cf_handle *ph = (struct at91cf_handle *)pch; local 404 struct at91cf_handle *ph = (struct at91cf_handle *)pch; local 416 struct at91cf_handle *ph = (struct at91cf_handle *)pch; local 448 struct at91cf_handle *ph = (struct at91cf_handle *)pch; local 467 struct at91cf_handle *ph = (struct at91cf_handle *)pch; local 482 struct at91cf_handle *ph = arg; local 503 struct at91cf_handle *ph = (struct at91cf_handle *)pch; local 517 struct at91cf_handle *ph = (struct at91cf_handle *)pch; local 531 struct at91cf_handle *ph = (struct at91cf_handle *)pch; local [all...] |
| /src/libexec/ld.elf_so/arch/arm/ |
| find_exidx.c | 68 const Elf_Phdr *ph = obj->phdr; local 69 const Elf_Phdr * const phlimit = ph + obj->phsize / sizeof(*ph); 70 for (; ph < phlimit; ph++) { 71 if (ph->p_type == PT_LOAD 72 && ph->p_vaddr <= va 73 && va < ph->p_vaddr + ph->p_memsz) {
|
| /src/sys/arch/hpcmips/dev/ |
| plumpcmcia.c | 215 struct plumpcmcia_handle *ph; local 248 ph = &sc->sc_ph[0]; 249 ph->ph_plum_irq = PLUM_INT_C1IO; 250 ph->ph_memarea = PLUM_PCMCIA_MEMWINCTRL_MAP_AREA1; 251 ph->ph_membase = PLUM_PCMCIA_MEMBASE1; 252 ph->ph_memsize = PLUM_PCMCIA_MEMSIZE1; 253 ph->ph_ioarea = PLUM_PCMCIA_IOWINADDRCTRL_AREA1; 254 ph->ph_iobase = PLUM_PCMCIA_IOBASE1; 255 ph->ph_iosize = PLUM_PCMCIA_IOSIZE1; 256 ph->ph_regt = sc->sc_regt 331 struct plumpcmcia_handle *ph = (void *)pch; local 347 struct plumpcmcia_handle *ph = pch; local 357 struct plumpcmcia_handle *ph = (void*)pch; local 399 struct plumpcmcia_handle *ph = (void*)pch; local 492 struct plumpcmcia_handle *ph = (void*)pch; local 509 struct plumpcmcia_handle *ph = (void*)pch; local 552 struct plumpcmcia_handle *ph = (void*)pch; local 656 struct plumpcmcia_handle *ph = (void*)pch; local 702 struct plumpcmcia_handle *ph = (void *)pch; local 793 struct plumpcmcia_handle *ph = (void *)pch; local 817 struct plumpcmcia_handle *ph = (void *)pch; local 866 struct plumpcmcia_handle *ph = arg; local [all...] |
| /src/sys/external/isc/libsodium/dist/src/libsodium/crypto_sign/ed25519/ |
| sign_ed25519.c | 80 unsigned char ph[crypto_hash_sha512_BYTES]; local 82 crypto_hash_sha512_final(&state->hs, ph); 84 return _crypto_sign_ed25519_detached(sig, siglen_p, ph, sizeof ph, sk, 1); 92 unsigned char ph[crypto_hash_sha512_BYTES]; local 94 crypto_hash_sha512_final(&state->hs, ph); 96 return _crypto_sign_ed25519_verify_detached(sig, ph, sizeof ph, pk, 1);
|
| /src/usr.sbin/btpand/ |
| packet.c | 88 pkthdr_t *ph; local 90 ph = malloc(sizeof(pkthdr_t)); 91 if (ph == NULL) { 96 ph->data = pkt; 99 return ph; 103 pkthdr_free(pkthdr_t *ph) 106 packet_free(ph->data); 107 free(ph);
|
| /src/sys/net/ |
| pfil.c | 117 pfil_head_t *ph; local 122 ph = kmem_zalloc(sizeof(pfil_head_t), KM_SLEEP); 123 ph->ph_type = type; 124 ph->ph_key = key; 126 pfil_listset_init(&ph->ph_in); 127 pfil_listset_init(&ph->ph_out); 128 pfil_listset_init(&ph->ph_ifaddr); 129 pfil_listset_init(&ph->ph_ifevent); 131 LIST_INSERT_HEAD(&pfil_head_list, ph, ph_list); 132 return ph; 157 pfil_head_t *ph; local [all...] |
| /src/sys/netinet/ |
| sctp_header.h | 47 struct sctp_paramhdr ph; /* type=SCTP_IPV4_PARAM_TYPE, len=8 */ member in struct:sctp_ipv4addr_param 52 struct sctp_paramhdr ph; /* type=SCTP_IPV6_PARAM_TYPE, len=20 */ member in struct:sctp_ipv6addr_param 58 struct sctp_paramhdr ph; /* type=SCTP_COOKIE_PRESERVE, len=8 */ member in struct:sctp_cookie_perserve_param 64 struct sctp_paramhdr ph; /* type=SCTP_HOSTNAME_ADDRESS */ member in struct:sctp_host_name_param 70 struct sctp_paramhdr ph; /* type=SCTP_SUPPORTED_ADDRTYPE */ member in struct:sctp_supported_addr_param 76 struct sctp_paramhdr ph; /* type=SCTP_ECN_CAPABLE */ member in struct:sctp_ecn_supported_param 82 struct sctp_paramhdr ph; member in struct:sctp_heartbeat_info_param 97 struct sctp_paramhdr ph; member in struct:sctp_prsctp_supported_param 103 struct sctp_paramhdr ph; /* a SCTP parameter header */ member in struct:sctp_asconf_paramhdr 120 struct sctp_paramhdr ph; /* type = 0x8001 len = 4 * member in struct:sctp_ecn_nonce_supported_param 124 struct sctp_paramhdr ph; \/* type = 0x8002 len = x *\/ member in struct:sctp_supported_chunk_types_param 208 struct sctp_paramhdr ph; member in struct:sctp_state_cookie_param 324 struct sctp_paramhdr ph; \/* really an error cause *\/ member in struct:sctp_stale_cookie_msg 329 struct sctp_paramhdr ph; member in struct:sctp_adaption_layer_indication 336 struct sctp_paramhdr ph; \/* really an error cause *\/ member in struct:sctp_cookie_while_shutting_down 403 struct sctp_paramhdr ph; member in struct:sctp_stream_reset_request 414 struct sctp_paramhdr ph; member in struct:sctp_stream_reset_response [all...] |
| /src/sys/kern/ |
| subr_pool.c | 411 pr_item_bitmap_index(const struct pool *pp, const struct pool_item_header *ph, 418 idx = (cp - (char *)ph->ph_page - ph->ph_off) / pp->pr_size; 429 pr_item_bitmap_put(const struct pool *pp, struct pool_item_header *ph, 432 unsigned int idx = pr_item_bitmap_index(pp, ph, obj); 433 pool_item_bitmap_t *bitmap = ph->ph_bitmap + (idx / BITMAP_SIZE); 444 pr_item_bitmap_get(const struct pool *pp, struct pool_item_header *ph) 446 pool_item_bitmap_t *bitmap = ph->ph_bitmap; 467 return (char *)ph->ph_page + ph->ph_off + idx * pp->pr_size 559 struct pool_item_header *ph; local 594 struct pool_item_header *ph, tmp; local 615 struct pool_item_header *ph, tmp; local 639 struct pool_item_header *ph; local 1027 struct pool_item_header *ph; local 1085 struct pool_item_header *ph; local 1101 struct pool_item_header *ph; local 1282 struct pool_item_header *ph; local 1398 struct pool_item_header *ph; local 1664 struct pool_item_header *ph, *phnext; local 1855 struct pool_item_header *ph; local 1877 struct pool_item_header *ph; local 2065 struct pool_item_header *ph; local 3340 struct pool_item_header *ph; local [all...] |
| exec_elf.c | 129 elf_placedynexec(struct exec_package *epp, Elf_Ehdr *eh, Elf_Phdr *ph) 135 if (ph[i].p_type == PT_LOAD && ph[i].p_align > align) 136 align = ph[i].p_align; 148 ph[i].p_vaddr += offset; 328 const Elf_Phdr *ph, Elf_Addr *addr, u_long *size, int flags) 340 *addr = ph->p_vaddr; 342 if (ph->p_align > 1) { 346 diff = ph->p_vaddr - ELF_TRUNC(ph->p_vaddr, ph->p_align) 426 Elf_Phdr *ph = NULL; local 653 Elf_Phdr *ph, *pp; local 904 Elf_Phdr *ph; local [all...] |
| /src/sys/arch/x68k/stand/common/ |
| exec_sub.c | 121 Elf32_Phdr *ph; local 132 ph = (void *) (top + hdr->e_phoff); 133 xarg->load_addr = ph->p_vaddr; 136 sec->sec_image = top + ph->p_offset; 137 sec->sec_size = ph->p_filesz; 140 sec->sec_pad = ph[1].p_vaddr - (ph->p_vaddr + ph->p_filesz); 143 ph++; 144 sec->sec_image = top + ph->p_offset [all...] |
| /src/usr.bin/elf2aout/ |
| elf2aout.c | 197 Elf32_Phdr *ph; local 271 ph = saveRead(infile, ex.e_phoff, 272 (size_t)ex.e_phnum * sizeof(Elf32_Phdr), "ph"); 274 bswap32_region((int32_t*)ph, sizeof(Elf32_Phdr) * ex.e_phnum); 312 qsort(ph, ex.e_phnum, sizeof(Elf32_Phdr), phcmp); 315 if (ph[i].p_type == PT_NULL || ph[i].p_type == PT_NOTE || 316 ph[i].p_type == PT_PHDR || ph[i].p_type == PT_MIPS_REGINFO) 319 if (ph[i].p_type == PT_TLS) [all...] |