/drivers/s390/net/ |
H A D | qeth_l2_main.c | 144 if (cmd->hdr.return_code == IPA_RC_L2_DUP_MAC) { 147 cmd->hdr.return_code = 0; 149 if (cmd->hdr.return_code) 151 mac, QETH_CARD_IFNAME(card), cmd->hdr.return_code); 172 if (cmd->hdr.return_code) 174 mac, QETH_CARD_IFNAME(card), cmd->hdr.return_code); 243 static void qeth_l2_fill_header(struct qeth_card *card, struct qeth_hdr *hdr, argument 248 memset(hdr, 0, sizeof(struct qeth_hdr)); 249 hdr->hdr 418 struct qeth_hdr *hdr; local 724 struct qeth_hdr *hdr = NULL; local [all...] |
/drivers/dma/bestcomm/ |
H A D | bestcomm.c | 141 struct bcom_task_header *hdr = (struct bcom_task_header *)task_image; local 147 if (hdr->magic != BCOM_TASK_MAGIC) { 164 if (hdr->desc_size != bcom_task_num_descs(task)) { 169 hdr->desc_size, 176 desc = bcom_sram_alloc(hdr->desc_size * sizeof(u32), 4, &start_pa); 181 tdt->stop = start_pa + ((hdr->desc_size-1) * sizeof(u32)); 191 desc_src = (u32 *)(hdr + 1); 192 var_src = desc_src + hdr->desc_size; 193 inc_src = var_src + hdr->var_size; 195 memcpy(desc, desc_src, hdr [all...] |
/drivers/staging/unisys/visorchipset/ |
H A D | visorchipset_main.c | 682 if (inmsg->hdr.Flags.responseExpected) 683 controlvm_respond_chipset_init(&inmsg->hdr, rc, features); 691 memcpy(&msg->hdr, msgHdr, sizeof(CONTROLVM_MESSAGE_HEADER)); 692 msg->hdr.PayloadBytes = 0; 693 msg->hdr.PayloadVmOffset = 0; 694 msg->hdr.PayloadMaxBytes = 0; 696 msg->hdr.Flags.failed = 1; 697 msg->hdr.CompletionStatus = (u32) (-response); 715 if (outmsg.hdr.Flags.testMessage == 1) { 717 __func__, outmsg.hdr [all...] |
/drivers/message/fusion/ |
H A D | mptfc.c | 294 ConfigPageHeader_t hdr; local 324 hdr.PageVersion = 0; 325 hdr.PageLength = 0; 326 hdr.PageNumber = 0; 327 hdr.PageType = MPI_CONFIG_PAGETYPE_FC_DEVICE; 328 cfg.cfghdr.hdr = &hdr; 338 if (hdr.PageLength <= 0) 341 data_sz = hdr.PageLength * 4; 741 ConfigPageHeader_t hdr; local 837 ConfigPageHeader_t hdr; local 880 ConfigPageHeader_t hdr; local [all...] |
H A D | mptctl.c | 211 "(0x%02X), req=%p, reply=%p\n", ioc->name, req->u.hdr.Function, 218 if (ioc->ioctl_cmds.msg_context != req->u.hdr.MsgContext) 236 if ((req->u.hdr.Function == MPI_FUNCTION_SCSI_IO_REQUEST) || 237 (req->u.hdr.Function == 265 if (req->u.hdr.Function == MPI_FUNCTION_SCSI_TASK_MGMT) { 468 u8 function = mf->u.hdr.Function; 721 if (mpt_verify_adapter(krinfo.hdr.iocnum, &iocp) < 0) { 723 __FILE__, __LINE__, krinfo.hdr.iocnum); 1271 if (((iocnum = mpt_verify_adapter(karg->hdr.iocnum, &ioc)) < 0) || 1280 if (karg->hdr 1824 MPIHeader_t *hdr; local 2417 ConfigPageHeader_t hdr; local 2672 ConfigPageHeader_t hdr; local [all...] |
/drivers/staging/rtl8192u/ieee80211/ |
H A D | ieee80211_rx.c | 51 struct ieee80211_hdr_4addr *hdr = (struct ieee80211_hdr_4addr *)skb->data; local 52 u16 fc = le16_to_cpu(hdr->frame_ctl); 98 struct ieee80211_hdr_4addr *hdr) 101 u16 fc = le16_to_cpu(hdr->frame_ctl); 102 u16 sc = le16_to_cpu(hdr->seq_ctl); 111 hdr_4addrqos = (struct ieee80211_hdr_4addrqos *)hdr; 116 hdr_3addrqos = (struct ieee80211_hdr_3addrqos *)hdr; 148 memcpy(entry->src_addr, hdr->addr2, ETH_ALEN); 149 memcpy(entry->dst_addr, hdr->addr1, ETH_ALEN); 153 entry = ieee80211_frag_cache_find(ieee, seq, frag, tid,hdr 97 ieee80211_frag_cache_get(struct ieee80211_device *ieee, struct ieee80211_hdr_4addr *hdr) argument 166 ieee80211_frag_cache_invalidate(struct ieee80211_device *ieee, struct ieee80211_hdr_4addr *hdr) argument 221 struct ieee80211_hdr_3addr *hdr = (struct ieee80211_hdr_3addr *)skb->data; local 302 struct ieee80211_hdr_4addr *hdr; local 342 struct ieee80211_hdr_4addr *hdr; local 389 struct ieee80211_hdr_4addr *hdr; local 772 struct ieee80211_hdr_3addr *hdr = (struct ieee80211_hdr_3addr *)skb->data; local 893 struct ieee80211_hdr_4addr *hdr; local [all...] |
/drivers/target/iscsi/ |
H A D | iscsi_target_tmr.c | 46 struct iscsi_tm *hdr = (struct iscsi_tm *) buf; local 48 ref_cmd = iscsit_find_cmd_from_itt(conn, hdr->rtt); 51 " %hu.\n", hdr->rtt, conn->cid); 52 return (iscsi_sna_gte(be32_to_cpu(hdr->refcmdsn), conn->sess->exp_cmd_sn) && 53 iscsi_sna_lte(be32_to_cpu(hdr->refcmdsn), conn->sess->max_cmd_sn)) ? 56 if (ref_cmd->cmd_sn != be32_to_cpu(hdr->refcmdsn)) { 59 hdr->refcmdsn, ref_cmd->cmd_sn); 63 se_tmr->ref_task_tag = (__force u32)hdr->rtt; 65 tmr_req->exp_data_sn = be32_to_cpu(hdr->exp_datasn); 122 struct iscsi_tm *hdr local [all...] |
/drivers/gpu/drm/nouveau/core/subdev/bios/ |
H A D | dcb.c | 31 dcb_table(struct nouveau_bios *bios, u8 *ver, u8 *hdr, u8 *cnt, u8 *len) argument 51 *hdr = nv_ro08(bios, dcb + 1); 60 *hdr = 8; 69 *hdr = 4; 103 u8 hdr, cnt; local 104 u16 dcb = dcb_table(bios, ver, &hdr, &cnt, len); 106 return dcb + hdr + (idx * *len);
|
/drivers/net/ethernet/8390/ |
H A D | hydra.c | 63 struct e8390_pkt_hdr *hdr, int ring_page); 207 struct e8390_pkt_hdr *hdr, int ring_page) 213 ptrs = (short *)hdr; 216 *((short *)hdr) = WORDSWAP(*((short *)hdr)); 219 *((short *)hdr+1) = WORDSWAP(*((short *)hdr+1)); 206 hydra_get_8390_hdr(struct net_device *dev, struct e8390_pkt_hdr *hdr, int ring_page) argument
|
H A D | mac8390.c | 136 struct e8390_pkt_hdr *hdr, int ring_page); 150 struct e8390_pkt_hdr *hdr, int ring_page); 163 struct e8390_pkt_hdr *hdr, int ring_page); 734 struct e8390_pkt_hdr *hdr, int ring_page) 737 memcpy_fromio(hdr, dev->mem_start + hdr_start, 4); 739 hdr->count = swab16(hdr->count); 771 struct e8390_pkt_hdr *hdr, int ring_page) 775 dayna_memcpy_fromcard(dev, hdr, hdr_start, 4); 777 hdr 733 sane_get_8390_hdr(struct net_device *dev, struct e8390_pkt_hdr *hdr, int ring_page) argument 770 dayna_get_8390_hdr(struct net_device *dev, struct e8390_pkt_hdr *hdr, int ring_page) argument 812 slow_sane_get_8390_hdr(struct net_device *dev, struct e8390_pkt_hdr *hdr, int ring_page) argument [all...] |
/drivers/net/wireless/ti/wlcore/ |
H A D | rx.c | 112 struct ieee80211_hdr *hdr; local 151 hdr = (void *)(data + sizeof(*desc) + offset_to_data); 157 ieee80211_hdrlen(hdr->frame_control))); 185 hdr = (struct ieee80211_hdr *)skb->data; 186 if (ieee80211_is_beacon(hdr->frame_control)) 188 if (ieee80211_is_data_present(hdr->frame_control)) 194 seq_num = (le16_to_cpu(hdr->seq_ctrl) & IEEE80211_SCTL_SEQ) >> 4;
|
/drivers/net/wireless/ath/ath9k/ |
H A D | dynack.c | 175 struct ieee80211_hdr *hdr; local 185 hdr = (struct ieee80211_hdr *)skb->data; 189 if (ieee80211_is_assoc_req(hdr->frame_control) || 190 ieee80211_is_assoc_resp(hdr->frame_control)) { 206 ether_addr_copy(da->st_rbf.addr[da->st_rbf.t_rb].h_dest, hdr->addr1); 207 ether_addr_copy(da->st_rbf.addr[da->st_rbf.t_rb].h_src, hdr->addr2); 226 hdr->addr1, da->st_rbf.ts[da->st_rbf.t_rb].tstamp, 252 struct ieee80211_hdr *hdr = (struct ieee80211_hdr *)skb->data; local 254 if (!ath_dynack_bssidmask(ah, hdr->addr1) || !da->enabled)
|
H A D | tx99.c | 54 struct ieee80211_hdr *hdr; local 72 hdr = (struct ieee80211_hdr *)skb->data; 73 hdr->frame_control = cpu_to_le16(IEEE80211_FTYPE_DATA); 74 hdr->duration_id = 0; 76 memcpy(hdr->addr1, hw->wiphy->perm_addr, ETH_ALEN); 77 memcpy(hdr->addr2, hw->wiphy->perm_addr, ETH_ALEN); 78 memcpy(hdr->addr3, hw->wiphy->perm_addr, ETH_ALEN); 80 hdr->seq_ctrl |= cpu_to_le16(avp->seq_no); 95 memcpy(skb->data + sizeof(*hdr), PN9Data, sizeof(PN9Data));
|
/drivers/net/wireless/iwlwifi/dvm/ |
H A D | ucode.c | 65 iwl_set_calib_hdr(&cmd.hdr, IWL_PHY_CALIBRATE_CRYSTAL_FRQ_CMD); 76 iwl_set_calib_hdr(&cmd.hdr, IWL_PHY_CALIBRATE_TEMP_OFFSET_CMD); 91 iwl_set_calib_hdr(&cmd.hdr, IWL_PHY_CALIBRATE_TEMP_OFFSET_CMD); 390 struct iwl_calib_hdr *hdr; local 392 if (pkt->hdr.cmd != CALIBRATION_RES_NOTIFICATION) { 393 WARN_ON(pkt->hdr.cmd != CALIBRATION_COMPLETE_NOTIFICATION); 397 hdr = (struct iwl_calib_hdr *)pkt->data; 399 if (iwl_calib_set(priv, hdr, iwl_rx_packet_payload_len(pkt))) 401 hdr->op_code);
|
/drivers/net/wireless/iwlwifi/mvm/ |
H A D | rx.c | 99 struct ieee80211_hdr *hdr, u16 len, 119 hdrlen = (len <= skb_tailroom(skb)) ? len : sizeof(*hdr); 121 memcpy(skb_put(skb, hdrlen), hdr, hdrlen); local 125 int offset = (void *)hdr + hdrlen - 179 * @hdr: 80211 header 186 struct ieee80211_hdr *hdr, 190 if (!ieee80211_has_protected(hdr->frame_control) || 244 struct ieee80211_hdr *hdr; local 257 hdr = (struct ieee80211_hdr *)(pkt->data + sizeof(*rx_res)); 267 if (iwl_mvm_set_mac80211_rx_flag(mvm, hdr, 98 iwl_mvm_pass_packet_to_mac80211(struct iwl_mvm *mvm, struct ieee80211_hdr *hdr, u16 len, u32 ampdu_status, struct iwl_rx_cmd_buffer *rxb, struct ieee80211_rx_status *stats) argument 185 iwl_mvm_set_mac80211_rx_flag(struct iwl_mvm *mvm, struct ieee80211_hdr *hdr, struct ieee80211_rx_status *stats, u32 rx_pkt_status) argument [all...] |
/drivers/scsi/qla4xxx/ |
H A D | ql4_iocb.c | 103 marker_entry->hdr.entryType = ET_MARKER; 104 marker_entry->hdr.entryCount = 1; 128 cont_entry->hdr.entryType = ET_CONTINUE; 129 cont_entry->hdr.entryCount = 1; 130 cont_entry->hdr.systemDefined = (uint8_t) cpu_to_le16(ha->request_in); 325 cmd_entry->hdr.entryType = ET_COMMAND; 333 cmd_entry->hdr.entryCount = req_cnt; 414 passthru_iocb->hdr.entryType = ET_PASSTHRU0; 415 passthru_iocb->hdr.systemDefined = SD_ISCSI_PDU; 416 passthru_iocb->hdr [all...] |
/drivers/macintosh/ |
H A D | smu.c | 950 struct smu_sdbp_header *hdr; local 977 hdr = (struct smu_sdbp_header *)(prop + 1); 981 prop->value = hdr; 985 if (smu_read_datablock((u8 *)hdr, addr, len)) { 992 if (hdr->id != id) { 994 "%02x !\n", id, hdr->id); 1003 return hdr; 1113 struct smu_user_cmd_hdr hdr; local 1118 else if (copy_from_user(&hdr, buf, sizeof(hdr))) 1170 struct smu_user_reply_hdr hdr; local [all...] |
/drivers/net/wireless/ath/carl9170/ |
H A D | rx.c | 140 ar->cmd_buf, (ar->cmd.hdr.len + 4) & 0x3f); 166 if ((cmd->hdr.cmd & CARL9170_RSP_FLAG) != CARL9170_RSP_FLAG) { 167 if (!(cmd->hdr.cmd & CARL9170_CMD_ASYNC_FLAG)) 173 if (unlikely(cmd->hdr.len != (len - 4))) { 177 cmd->hdr.cmd, cmd->hdr.len, len - 4); 187 switch (cmd->hdr.cmd) { 283 cmd->hdr.cmd); 466 struct ieee80211_hdr *hdr = (void *) buf; local 468 if (ieee80211_is_data_qos(hdr 520 struct ieee80211_hdr *hdr = data; local [all...] |
/drivers/net/wireless/libertas_tf/ |
H A D | cmd.c | 92 cmd.hdr.size = cpu_to_le16(sizeof(cmd)); 160 cmd.hdr.size = cpu_to_le16(sizeof(cmd)); 181 cmd.hdr.size = cpu_to_le16(size); 185 lbtf_cmd_async(priv, CMD_802_11_BEACON_SET, &cmd.hdr, size); 197 cmd.hdr.size = cpu_to_le16(sizeof(cmd)); 202 lbtf_cmd_async(priv, CMD_802_11_BEACON_CTRL, &cmd.hdr, sizeof(cmd)); 326 cmd.hdr.size = cpu_to_le16(sizeof(cmd)); 336 lbtf_cmd_async(priv, CMD_MAC_MULTICAST_ADR, &cmd.hdr, sizeof(cmd)); 347 cmd.hdr.size = cpu_to_le16(sizeof(cmd)); 350 lbtf_cmd_async(priv, CMD_802_11_SET_MODE, &cmd.hdr, sizeo [all...] |
/drivers/block/ |
H A D | cpqarray.c | 925 c->hdr.unit = (drv_info_t *)(creq->rq_disk->private_data) - h->drv; 926 c->hdr.size = sizeof(rblk_t) >> 2; 929 c->req.hdr.blk = blk_rq_pos(creq); 952 c->req.hdr.sg_cnt = seg; 953 c->req.hdr.blk_cnt = blk_rq_sectors(creq); 954 c->req.hdr.cmd = (rq_data_dir(creq) == READ) ? IDA_READ : IDA_WRITE; 1005 if (cmd->req.hdr.rcode & RCODE_NONFATAL && 1008 cmd->ctlr, cmd->hdr.unit); 1011 if (cmd->req.hdr.rcode & RCODE_FATAL) { 1013 cmd->ctlr, cmd->hdr [all...] |
/drivers/bluetooth/ |
H A D | bfusb.c | 260 static inline int bfusb_recv_block(struct bfusb_data *data, int hdr, unsigned char *buf, int len) argument 262 BT_DBG("bfusb %p hdr 0x%02x data %p len %d", data, hdr, buf, len); 264 if (hdr & 0x10) { 271 if (hdr & 0x04) { 292 struct hci_event_hdr *hdr = (struct hci_event_hdr *) buf; local 293 pkt_len = HCI_EVENT_HDR_SIZE + hdr->plen; 302 struct hci_acl_hdr *hdr = (struct hci_acl_hdr *) buf; local 303 pkt_len = HCI_ACL_HDR_SIZE + __le16_to_cpu(hdr->dlen); 312 struct hci_sco_hdr *hdr local 354 int err, hdr, len; local [all...] |
H A D | hci_bcsp.c | 183 u8 hdr[4], chan; local 227 /* Max len of packet: (original len +4(bcsp hdr) +2(crc))*2 240 hdr[0] = bcsp->rxseq_txack << 3; 245 hdr[0] |= 0x80 + bcsp->msgq_txseq; 251 hdr[0] |= 0x40; 253 hdr[1] = ((len << 4) & 0xff) | chan; 254 hdr[2] = len >> 4; 255 hdr[3] = ~(hdr[0] + hdr[ 516 struct hci_event_hdr hdr; local [all...] |
/drivers/isdn/hardware/eicon/ |
H A D | um_xdi.h | 64 diva_um_idi_ind_t hdr; member in struct:_diva_um_idi_ind_hdr
|
/drivers/media/pci/ngene/ |
H A D | ngene-i2c.c | 53 com.cmd.hdr.Opcode = CMD_I2C_READ; 54 com.cmd.hdr.Length = outlen + 3; 81 com.cmd.hdr.Opcode = CMD_I2C_WRITE; 82 com.cmd.hdr.Length = outlen + 1;
|
/drivers/misc/mei/ |
H A D | hbm.h | 45 int mei_hbm_dispatch(struct mei_device *dev, struct mei_msg_hdr *hdr);
|