/drivers/staging/unisys/visorchipset/ |
D | parser.c | 51 ULTRA_CONTROLVM_PARAMETERS_HEADER *phdr = NULL; in parser_init_guts() local 113 phdr = (ULTRA_CONTROLVM_PARAMETERS_HEADER *) (ctx->data); in parser_init_guts() 114 if (phdr->TotalLength != bytes) { in parser_init_guts() 117 (ulong) (phdr->TotalLength), (ulong) (bytes)); in parser_init_guts() 121 if (phdr->TotalLength < phdr->HeaderLength) { in parser_init_guts() 124 (ulong) (phdr->TotalLength), in parser_init_guts() 125 (ulong) (phdr->HeaderLength)); in parser_init_guts() 129 if (phdr->HeaderLength < sizeof(ULTRA_CONTROLVM_PARAMETERS_HEADER)) { in parser_init_guts() 132 (ulong) (phdr->HeaderLength), in parser_init_guts() 199 ULTRA_CONTROLVM_PARAMETERS_HEADER *phdr = NULL; in parser_id_get() local [all …]
|
/drivers/staging/lustre/lustre/ptlrpc/ |
D | sec_plain.c | 194 struct plain_header *phdr; in plain_ctx_sign() local 198 phdr = lustre_msg_buf(msg, PLAIN_PACK_HDR_OFF, 0); in plain_ctx_sign() 199 phdr->ph_ver = 0; in plain_ctx_sign() 200 phdr->ph_flags = 0; in plain_ctx_sign() 201 phdr->ph_sp = ctx->cc_sec->ps_part; in plain_ctx_sign() 202 phdr->ph_bulk_hash_alg = req->rq_flvr.u_bulk.hash.hash_alg; in plain_ctx_sign() 205 phdr->ph_flags |= PLAIN_FL_USER; in plain_ctx_sign() 207 phdr->ph_flags |= PLAIN_FL_BULK; in plain_ctx_sign() 218 struct plain_header *phdr; in plain_ctx_verify() local 229 phdr = lustre_msg_buf(msg, PLAIN_PACK_HDR_OFF, sizeof(*phdr)); in plain_ctx_verify() [all …]
|
/drivers/media/common/siano/ |
D | smsendian.c | 96 struct sms_msg_hdr *phdr = (struct sms_msg_hdr *)msg; in smsendian_handle_message_header() local 98 phdr->msg_type = le16_to_cpu(phdr->msg_type); in smsendian_handle_message_header() 99 phdr->msg_length = le16_to_cpu(phdr->msg_length); in smsendian_handle_message_header() 100 phdr->msg_flags = le16_to_cpu(phdr->msg_flags); in smsendian_handle_message_header()
|
D | smscoreapi.c | 1486 struct sms_msg_hdr *phdr = (struct sms_msg_hdr *) ((u8 *) cb->p in smscore_onresponse() local 1508 if ((phdr->msg_type == MSG_SMS_HO_PER_SLICES_IND) || in smscore_onresponse() 1509 (phdr->msg_type == MSG_SMS_TRANSMISSION_IND)) { in smscore_onresponse() 1511 phdr->msg_dst_id = DVBT_BDA_CONTROL_MSG_ID; in smscore_onresponse() 1515 client = smscore_find_client(coredev, phdr->msg_type, phdr->msg_dst_id); in smscore_onresponse() 1523 switch (phdr->msg_type) { in smscore_onresponse() 1541 (struct sms_version_res *) phdr; in smscore_onresponse() 1563 struct sms_msg_data *validity = (struct sms_msg_data *) phdr; in smscore_onresponse() 1589 u32 *msgdata = (u32 *) phdr; in smscore_onresponse() 1602 ((char *)phdr in smscore_onresponse() [all …]
|
D | smsdvb-main.c | 523 struct sms_msg_hdr *phdr = (struct sms_msg_hdr *) (((u8 *) cb->p) in smsdvb_onresponse() local 525 void *p = phdr + 1; in smsdvb_onresponse() 530 switch (phdr->msg_type) { in smsdvb_onresponse()
|
/drivers/remoteproc/ |
D | remoteproc_elf_loader.c | 150 struct elf32_phdr *phdr; local 155 phdr = (struct elf32_phdr *)(elf_data + ehdr->e_phoff); 158 for (i = 0; i < ehdr->e_phnum; i++, phdr++) { 159 u32 da = phdr->p_paddr; 160 u32 memsz = phdr->p_memsz; 161 u32 filesz = phdr->p_filesz; 162 u32 offset = phdr->p_offset; 165 if (phdr->p_type != PT_LOAD) 169 phdr->p_type, da, memsz, filesz); 194 if (phdr->p_filesz) [all …]
|
/drivers/media/usb/siano/ |
D | smsusb.c | 96 struct sms_msg_hdr *phdr = (struct sms_msg_hdr *)surb->cb->p; in smsusb_onresponse() local 98 smsendian_handle_message_header(phdr); in smsusb_onresponse() 99 if (urb->actual_length >= phdr->msg_length) { in smsusb_onresponse() 100 surb->cb->size = phdr->msg_length; in smsusb_onresponse() 103 (phdr->msg_flags & MSG_HDR_FLAG_SPLIT_MSG)) { in smsusb_onresponse() 107 ((phdr->msg_flags >> 8) & 3); in smsusb_onresponse() 110 if (((int) phdr->msg_length + in smsusb_onresponse() 115 phdr->msg_length, in smsusb_onresponse() 123 memcpy((char *) phdr + surb->cb->offset, in smsusb_onresponse() 124 phdr, sizeof(struct sms_msg_hdr)); in smsusb_onresponse() [all …]
|
/drivers/staging/unisys/visorchannel/ |
D | visorchannel_funcs.c | 563 CHANNEL_HEADER *phdr = &hdr; in visorchannel_debug() local 579 phdr, sizeof(CHANNEL_HEADER)); in visorchannel_debug() 585 phdr = &channel->chan_hdr; in visorchannel_debug() 590 nbytes = (ulong) (phdr->Size); in visorchannel_debug() 593 seq_printf(seq, "Type = %pUL\n", &phdr->Type); in visorchannel_debug() 594 seq_printf(seq, "ZoneGuid = %pUL\n", &phdr->ZoneGuid); in visorchannel_debug() 596 (long long) phdr->Signature); in visorchannel_debug() 597 seq_printf(seq, "LegacyState = %lu\n", (ulong) phdr->LegacyState); in visorchannel_debug() 598 seq_printf(seq, "SrvState = %lu\n", (ulong) phdr->SrvState); in visorchannel_debug() 599 seq_printf(seq, "CliStateBoot = %lu\n", (ulong) phdr->CliStateBoot); in visorchannel_debug() [all …]
|
/drivers/net/wireless/brcm80211/brcmsmac/ |
D | d11.h | 677 #define D11A_PHY_HDR_GRATE(phdr) ((phdr)->rlpt[0] & 0x0f) argument 678 #define D11A_PHY_HDR_GRES(phdr) (((phdr)->rlpt[0] >> 4) & 0x01) argument 679 #define D11A_PHY_HDR_GLENGTH(phdr) (((u32 *)((phdr)->rlpt) >> 5) & 0x0fff) argument 680 #define D11A_PHY_HDR_GPARITY(phdr) (((phdr)->rlpt[3] >> 1) & 0x01) argument 681 #define D11A_PHY_HDR_GTAIL(phdr) (((phdr)->rlpt[3] >> 2) & 0x3f) argument 684 #define D11A_PHY_HDR_SRATE(phdr, rate) \ argument 685 ((phdr)->rlpt[0] = ((phdr)->rlpt[0] & 0xf0) | ((rate) & 0xf)) 687 #define D11A_PHY_HDR_SRES(phdr) ((phdr)->rlpt[0] &= 0xef) argument 689 #define D11A_PHY_HDR_SLENGTH(phdr, length) \ argument 690 (*(u32 *)((phdr)->rlpt) = *(u32 *)((phdr)->rlpt) | \ [all …]
|
/drivers/scsi/qla4xxx/ |
D | ql4_83xx.c | 604 uint8_t *phdr; in qla4_83xx_dump_reset_seq_hdr() local 612 phdr = ha->reset_tmplt.buff; in qla4_83xx_dump_reset_seq_hdr() 616 *phdr, *(phdr+1), *(phdr+2), *(phdr+3), *(phdr+4), in qla4_83xx_dump_reset_seq_hdr() 617 *(phdr+5), *(phdr+6), *(phdr+7), *(phdr + 8), in qla4_83xx_dump_reset_seq_hdr() 618 *(phdr+9), *(phdr+10), *(phdr+11), *(phdr+12), in qla4_83xx_dump_reset_seq_hdr() 619 *(phdr+13), *(phdr+14), *(phdr+15))); in qla4_83xx_dump_reset_seq_hdr()
|
/drivers/uwb/i1480/dfu/ |
D | mac.c | 108 int fw_hdrs_load(struct i1480 *i1480, struct fw_hdr **phdr, in fw_hdrs_load() argument 114 struct fw_hdr *hdr, **prev_hdr = phdr; in fw_hdrs_load() 122 *phdr = NULL; in fw_hdrs_load() 148 fw_hdrs_free(*phdr); in fw_hdrs_load()
|
/drivers/infiniband/hw/qib/ |
D | qib_verbs.c | 1144 struct qib_pio_header *phdr; in qib_verbs_send_dma() local 1188 phdr = &dev->pio_hdrs[tx->hdr_inx]; in qib_verbs_send_dma() 1189 phdr->pbc[0] = cpu_to_le32(plen); in qib_verbs_send_dma() 1190 phdr->pbc[1] = cpu_to_le32(control); in qib_verbs_send_dma() 1191 memcpy(&phdr->hdr, hdr, hdrwords << 2); in qib_verbs_send_dma() 1203 phdr = kmalloc(tx->hdr_dwords << 2, GFP_ATOMIC); in qib_verbs_send_dma() 1204 if (!phdr) in qib_verbs_send_dma() 1206 phdr->pbc[0] = cpu_to_le32(plen); in qib_verbs_send_dma() 1207 phdr->pbc[1] = cpu_to_le32(control); in qib_verbs_send_dma() 1208 memcpy(&phdr->hdr, hdr, hdrwords << 2); in qib_verbs_send_dma() [all …]
|
/drivers/scsi/qla2xxx/ |
D | qla_nx2.c | 1446 u8 *phdr; in qla8044_dump_reset_seq_hdr() local 1454 phdr = vha->reset_tmplt.buff; in qla8044_dump_reset_seq_hdr() 1459 *phdr, *(phdr+1), *(phdr+2), *(phdr+3), *(phdr+4), in qla8044_dump_reset_seq_hdr() 1460 *(phdr+5), *(phdr+6), *(phdr+7), *(phdr + 8), in qla8044_dump_reset_seq_hdr() 1461 *(phdr+9), *(phdr+10), *(phdr+11), *(phdr+12), in qla8044_dump_reset_seq_hdr() 1462 *(phdr+13), *(phdr+14), *(phdr+15)); in qla8044_dump_reset_seq_hdr()
|
/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_io.c | 194 struct ethhdr *phdr = (struct ethhdr *)(skb->data); in qlcnic_add_lb_filter() local 205 memcpy(&src_addr, phdr->h_source, ETH_ALEN); in qlcnic_add_lb_filter() 307 struct ethhdr *phdr = (struct ethhdr *)(skb->data); in qlcnic_send_filter() local 316 if (ether_addr_equal(phdr->h_source, adapter->mac_addr)) in qlcnic_send_filter() 328 memcpy(&src_addr, phdr->h_source, ETH_ALEN); in qlcnic_send_filter() 655 struct ethhdr *phdr; in qlcnic_xmit_frame() local 667 phdr = (struct ethhdr *)skb->data; in qlcnic_xmit_frame() 668 if (!ether_addr_equal(phdr->h_source, adapter->mac_addr)) in qlcnic_xmit_frame()
|
/drivers/scsi/be2iscsi/ |
D | be_main.c | 1888 void *phdr = NULL; in hwi_fwd_async_msg() local 1898 phdr = pasync_handle->pbuffer; in hwi_fwd_async_msg() 1914 phdr, hdr_len, pfirst_buffer, in hwi_fwd_async_msg()
|