/haiku/src/add-ons/kernel/drivers/graphics/virtio/ |
H A D | viogpu.h | 152 struct virtio_gpu_ctrl_hdr hdr; member in struct:virtio_gpu_update_cursor 171 struct virtio_gpu_ctrl_hdr hdr; member in struct:virtio_gpu_resource_unref 178 struct virtio_gpu_ctrl_hdr hdr; member in struct:virtio_gpu_resource_create_2d 187 struct virtio_gpu_ctrl_hdr hdr; member in struct:virtio_gpu_set_scanout 195 struct virtio_gpu_ctrl_hdr hdr; member in struct:virtio_gpu_resource_flush 203 struct virtio_gpu_ctrl_hdr hdr; member in struct:virtio_gpu_transfer_to_host_2d 218 struct virtio_gpu_ctrl_hdr hdr; member in struct:virtio_gpu_resource_attach_backing 225 struct virtio_gpu_ctrl_hdr hdr; member in struct:virtio_gpu_resource_detach_backing 233 struct virtio_gpu_ctrl_hdr hdr; member in struct:virtio_gpu_resp_display_info 250 struct virtio_gpu_ctrl_hdr hdr; member in struct:virtio_gpu_transfer_host_3d 262 struct virtio_gpu_ctrl_hdr hdr; member in struct:virtio_gpu_resource_create_3d 279 struct virtio_gpu_ctrl_hdr hdr; member in struct:virtio_gpu_ctx_create 287 struct virtio_gpu_ctrl_hdr hdr; member in struct:virtio_gpu_ctx_destroy 292 struct virtio_gpu_ctrl_hdr hdr; member in struct:virtio_gpu_ctx_resource 299 struct virtio_gpu_ctrl_hdr hdr; member in struct:virtio_gpu_cmd_submit 309 struct virtio_gpu_ctrl_hdr hdr; member in struct:virtio_gpu_get_capset_info 316 struct virtio_gpu_ctrl_hdr hdr; member in struct:virtio_gpu_resp_capset_info 325 struct virtio_gpu_ctrl_hdr hdr; member in struct:virtio_gpu_get_capset 332 struct virtio_gpu_ctrl_hdr hdr; member in struct:virtio_gpu_resp_capset 338 struct virtio_gpu_ctrl_hdr hdr; member in struct:virtio_gpu_cmd_get_edid 345 struct virtio_gpu_ctrl_hdr hdr; member in struct:virtio_gpu_resp_edid 376 struct virtio_gpu_ctrl_hdr hdr; member in struct:virtio_gpu_resource_assign_uuid 383 struct virtio_gpu_ctrl_hdr hdr; member in struct:virtio_gpu_resp_resource_uuid 389 struct virtio_gpu_ctrl_hdr hdr; member in struct:virtio_gpu_resource_create_blob 411 struct virtio_gpu_ctrl_hdr hdr; member in struct:virtio_gpu_set_scanout_blob 425 struct virtio_gpu_ctrl_hdr hdr; member in struct:virtio_gpu_resource_map_blob 438 struct virtio_gpu_ctrl_hdr hdr; member in struct:virtio_gpu_resp_map_info 445 struct virtio_gpu_ctrl_hdr hdr; member in struct:virtio_gpu_resource_unmap_blob [all...] |
H A D | virtio_gpu.cpp | 125 struct virtio_gpu_ctrl_hdr *hdr = (struct virtio_gpu_ctrl_hdr *)info->commandBuffer; local 130 hdr->flags |= VIRTIO_GPU_FLAG_FENCE; 131 hdr->fence_id = ++info->fenceId; 162 struct virtio_gpu_ctrl_hdr hdr = {}; local 165 hdr.type = VIRTIO_GPU_CMD_GET_DISPLAY_INFO; 167 virtio_gpu_send_cmd(info, &hdr, sizeof(hdr), &displayInfo, sizeof(displayInfo)); 169 if (displayInfo.hdr.type != VIRTIO_GPU_RESP_OK_DISPLAY_INFO) { 194 getEdid.hdr.type = VIRTIO_GPU_CMD_GET_EDID; 199 if (response.hdr [all...] |
/haiku/src/add-ons/kernel/drivers/network/ether/ipro1000/dev/e1000/ |
H A D | e1000_manage.c | 134 struct e1000_host_mng_dhcp_cookie *hdr = &hw->mng_cookie; local 165 hdr_csum = hdr->checksum; 166 hdr->checksum = 0; 167 csum = e1000_calculate_checksum((u8 *)hdr, 173 if ((hdr_csum != csum) || (hdr->signature != E1000_IAMT_SIGNATURE)) { 179 if (!(hdr->status & E1000_MNG_DHCP_COOKIE_STATUS_PARSING)) 188 * @hdr: pointer to the host interface command header 193 struct e1000_host_mng_command_header *hdr) 201 hdr->checksum = e1000_calculate_checksum((u8 *)hdr, lengt 192 e1000_mng_write_cmd_header_generic(struct e1000_hw *hw, struct e1000_host_mng_command_header *hdr) argument 301 struct e1000_host_mng_command_header hdr; local [all...] |
H A D | e1000_manage.h | 45 struct e1000_host_mng_command_header *hdr);
|
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/ |
H A D | if_rtwn_fw.c | 118 const struct r92c_fw_hdr *hdr; local 134 if (len < sizeof(*hdr) || len > sc->fwsize_limit) { 140 hdr = (const struct r92c_fw_hdr *)ptr; 142 if ((le16toh(hdr->signature) >> 4) == sc->fwsig) { 143 sc->fwver = le16toh(hdr->version); 147 le16toh(hdr->version), le16toh(hdr->subversion), 148 hdr->month, hdr->date, hdr [all...] |
/haiku/src/bin/fwcontrol/ |
H A D | fwdv.c | 276 u_int32_t iso_data, iso_empty, hdr[TNBUF + NEMPTY][3]; local 313 bzero(hdr[0], sizeof(hdr[0])); 314 hdr[0][0] = iso_data; 315 ciph = (struct ciphdr *)&hdr[0][1]; 323 bcopy(hdr[0], hdr[i], sizeof(hdr[0])); 328 htonl(hdr[0]), htonl(hdr[ [all...] |
H A D | fwcrom.c | 93 struct csrhdr *hdr; local 95 hdr = (struct csrhdr *)p; 96 if (hdr->info_len <= 1) { 101 p += 1 + hdr->info_len; 510 struct csrhdr *hdr; local 535 len = 1 + src->hdr.info_len; 537 if (crom_copy((uint32_t *)&src->hdr, buf, &count, len, maxlen) < 0) 548 hdr = (struct csrhdr *)buf; 549 hdr->crc_len = count - 1; 550 hdr [all...] |
H A D | fwcontrol.c | 443 struct csrhdr *hdr; local 451 hdr = (struct csrhdr *)crom_buf; 452 if (hdr->info_len == 1) { 454 reg = (struct csrreg *)hdr; 459 hdr->info_len, hdr->crc_len, hdr->crc); 460 crc = crom_crc(crom_buf+1, hdr->crc_len); 461 if (crc == hdr->crc)
|
/haiku/3rdparty/proj2make/ |
H A D | proj2make.cpp | 55 struct hdr struct 133 ParseGenB(hdr* data) 135 hdr* child = (hdr*)data->Data(); 166 Parse(hdr* current, hdr* parent) 219 hdr* child = (hdr*)(current->Data() + off); 222 off += child->Size() + sizeof(hdr); 223 child = (hdr*)(chil [all...] |
/haiku/src/add-ons/translators/ppm/ |
H A D | PPMTranslator.cpp | 393 TranslatorBitmap hdr; local 394 hdr.magic = B_HOST_TO_BENDIAN_INT32(B_TRANSLATOR_BITMAP); 395 hdr.bounds.left = B_HOST_TO_BENDIAN_FLOAT(0); 396 hdr.bounds.top = B_HOST_TO_BENDIAN_FLOAT(0); 397 hdr.bounds.right = B_HOST_TO_BENDIAN_FLOAT(width - 1); 398 hdr.bounds.bottom = B_HOST_TO_BENDIAN_FLOAT(height - 1); 399 hdr.rowBytes = B_HOST_TO_BENDIAN_INT32(out_rowbytes); 400 hdr.colors = (color_space) B_HOST_TO_BENDIAN_INT32(out_space); 401 hdr.dataSize = B_HOST_TO_BENDIAN_INT32(out_rowbytes * height); 404 err = outDestination->Write(&hdr, sizeo 776 TranslatorBitmap hdr; local [all...] |
/haiku/src/add-ons/kernel/bus_managers/firewire/ |
H A D | fwmem.cpp | 67 xfer->send.hdr.mode.hdr.dst = FWLOCALBUS | fwdev->dst; 98 fp = &xfer->send.hdr; 134 fp = &xfer->send.hdr; 171 fp = &xfer->send.hdr; 209 fp = &xfer->send.hdr;
|
H A D | firewire.cpp | 159 fp = &xfer->send.hdr; 318 fw_dump_hdr(&xfer->send.hdr, "send"); 675 src->hdr.info_len = 4; 1050 fp->mode.hdr.dst & 0x3f, 1051 fp->mode.hdr.tlrt >> 2, fp->mode.hdr.tlrt & 3, 1052 fp->mode.hdr.tcode, fp->mode.hdr.pri, 1053 fp->mode.hdr.src); 1078 fw_dump_hdr(&xfer->send.hdr, "sen 1606 struct csrhdr *hdr; local [all...] |
/haiku/src/add-ons/kernel/drivers/network/ether/virtio/ |
H A D | virtio_net.cpp | 30 struct virtio_net_hdr hdr; member in struct:virtio_net_rx_hdr 37 struct virtio_net_hdr hdr; member in union:virtio_net_tx_hdr::__anon9 45 struct virtio_net_hdr* hdr; member in struct:BufInfo 203 memset(buf->hdr, 0, sizeof(struct virtio_net_hdr)); 221 struct virtio_net_ctrl_hdr hdr; member in struct:__anon12 228 s.hdr.net_class = VIRTIO_NET_CTRL_RX; 229 s.hdr.cmd = cmd; 234 status_t status = get_memory_map(&s.hdr, sizeof(s.hdr), &entries[0], 1); 372 buf->hdr [all...] |
H A D | virtio_net.h | 102 struct virtio_net_hdr hdr; member in struct:virtio_net_hdr_mrg_rxbuf
|
/haiku/src/add-ons/media/media-add-ons/mixer/ |
H A D | MixerCore.cpp | 566 media_header* hdr = buffer->Header(); local 567 hdr->type = B_MEDIA_RAW_AUDIO; 568 hdr->size_used = size; 569 hdr->time_source = fTimeSource->ID(); 570 hdr->start_time = fEventTime; 695 media_header* hdr = buffer->Header(); local 696 hdr->type = B_MEDIA_RAW_AUDIO; 697 hdr->size_used 699 hdr->time_source = fTimeSource->ID(); 700 hdr [all...] |
/haiku/src/kits/game/ |
H A D | GameProducer.cpp | 541 media_header* hdr = buf->Header(); local 542 hdr->type = B_MEDIA_RAW_AUDIO; 543 hdr->size_used = fBufferSize; 544 hdr->time_source = TimeSource()->ID(); 563 hdr->start_time = stamp;
|
/haiku/src/libs/compat/freebsd_wlan/net80211/ |
H A D | ieee80211_crypto_tkip.c | 841 michael_mic_hdr(const struct ieee80211_frame *wh0, uint8_t hdr[16]) argument 848 IEEE80211_ADDR_COPY(hdr, wh->i_addr1); /* DA */ 849 IEEE80211_ADDR_COPY(hdr + IEEE80211_ADDR_LEN, wh->i_addr2); 852 IEEE80211_ADDR_COPY(hdr, wh->i_addr3); /* DA */ 853 IEEE80211_ADDR_COPY(hdr + IEEE80211_ADDR_LEN, wh->i_addr2); 856 IEEE80211_ADDR_COPY(hdr, wh->i_addr1); /* DA */ 857 IEEE80211_ADDR_COPY(hdr + IEEE80211_ADDR_LEN, wh->i_addr3); 860 IEEE80211_ADDR_COPY(hdr, wh->i_addr3); /* DA */ 861 IEEE80211_ADDR_COPY(hdr + IEEE80211_ADDR_LEN, wh->i_addr4); 868 hdr[1 879 uint8_t hdr[16]; local 884 michael_mic_hdr(mtod(m, struct ieee80211_frame *), hdr); local [all...] |
/haiku/src/add-ons/kernel/drivers/bus/firewire/ |
H A D | fw_raw.c | 318 fp = &xfer->recv.hdr; 323 tinfo = &xfer->fc->tcode[fp->mode.hdr.tcode]; 473 tinfo = &d->fc->tcode[pkt.mode.hdr.tcode]; 491 bcopy(&pkt, &xfer->send.hdr, sizeof(struct fw_pkt)); 761 tinfo = &fc->tcode[fp->mode.hdr.tcode]; 781 fp->mode.hdr.dst = FWLOCALBUS | fwdev->dst; 791 bcopy(fp, (void *)&xfer->send.hdr, tinfo->hdr_len); 810 tinfo = &fc->tcode[xfer->recv.hdr.mode.hdr.tcode]; 811 if (xfer->recv.hdr [all...] |
/haiku/src/add-ons/kernel/drivers/network/wlan/broadcom43xx/dev/bwi/ |
H A D | if_bwi.c | 2502 struct bwi_rxbuf_hdr *hdr; local 2559 hdr = mtod(rxbuf->rb_mbuf, struct bwi_rxbuf_hdr *); 2560 bzero(hdr, sizeof(*hdr)); 2567 rxbuf->rb_mbuf->m_len - sizeof(*hdr)); 2600 struct bwi_rxbuf_hdr *hdr; local 2617 hdr = mtod(m, struct bwi_rxbuf_hdr *); 2618 flags2 = le16toh(hdr->rxh_flags2); 2625 buflen = le16toh(hdr->rxh_buflen); 2635 bcopy((uint8_t *)(hdr 2920 struct bwi_txbuf_hdr *hdr; local 3111 struct bwi_txbuf_hdr *hdr; local 3336 const struct bwi_txbuf_hdr *hdr = local 3738 bwi_calc_rssi(struct bwi_softc *sc, const struct bwi_rxbuf_hdr *hdr) argument 3769 bwi_rx_radiotap(struct bwi_softc *sc, struct mbuf *m, struct bwi_rxbuf_hdr *hdr, const void *plcp, int rate, int rssi, int noise) argument [all...] |
H A D | bwimac.c | 836 const struct bwi_fwhdr *hdr; local 838 if (fw->datasize < sizeof(*hdr)) { 845 hdr = (const struct bwi_fwhdr *)fw->data; 851 if (be32toh(hdr->fw_size) != fw->datasize - sizeof(*hdr)) { 855 be32toh(hdr->fw_size), fw->datasize - sizeof(*hdr)); 860 if (hdr->fw_type != fw_type) { 864 hdr->fw_type, fw_type); 868 if (hdr 1140 const struct bwi_fwhdr *hdr; local [all...] |
/haiku/src/add-ons/kernel/drivers/network/wlan/iprowifi2100/dev/ipw/ |
H A D | if_ipw.c | 410 const struct ipw_firmware_hdr *hdr; local 447 if (fp->datasize < sizeof *hdr) { 454 hdr = (const struct ipw_firmware_hdr *)fp->data; 455 if (fp->datasize < sizeof *hdr + le32toh(hdr->mainsz) + 456 le32toh(hdr->ucodesz)) { 1591 KASSERT(shdr != NULL && sbuf != NULL, ("empty sw hdr/buf pool")); 1593 shdr->hdr.type = htole32(IPW_HDR_TYPE_SEND); 1594 shdr->hdr.subtype = 0; 1595 shdr->hdr 2317 const struct ipw_firmware_hdr *hdr; local [all...] |
H A D | if_ipwvar.h | 45 struct ipw_hdr hdr; member in struct:ipw_soft_hdr
|
/haiku/src/add-ons/media/media-add-ons/firewire_dv/ |
H A D | FireWireDVNode.cpp | 598 media_header* hdr = buf->Header(); local 599 hdr->type = B_MEDIA_ENCODED_VIDEO; 600 hdr->size_used = sizeUsed; 601 hdr->time_source = TimeSource()->ID(); // set time source id 603 hdr->start_time = TimeSource()->PerformanceTimeFor(system_time());
|
/haiku/headers/private/firewire/ |
H A D | firewire.h | 120 uint32_t hdr[1]; member in struct:fw_isohdr 124 uint32_t hdr[4]; member in struct:fw_asyhdr 157 } hdr; member in union:fw_pkt::__anon341
|
/haiku/src/add-ons/kernel/drivers/network/wlan/iprowifi2200/dev/iwi/ |
H A D | if_iwi.c | 1571 struct iwi_hdr *hdr; local 1582 hdr = mtod(data->m, struct iwi_hdr *); 1584 switch (hdr->type) { 1587 (struct iwi_frame *)(hdr + 1)); 1592 (struct iwi_notif *)(hdr + 1)); 1596 device_printf(sc->sc_dev, "unknown hdr type %u\n", 1597 hdr->type); 1739 desc->hdr.type = IWI_HDR_TYPE_COMMAND; 1740 desc->hdr.flags = IWI_HDR_FLAG_IRQ; 1902 desc->hdr 2152 const struct iwi_firmware_ohdr *hdr; local 2176 const struct iwi_firmware_ohdr *hdr; local 2215 const struct iwi_firmware_hdr *hdr; local [all...] |