/drivers/uwb/ |
H A D | scan.c | 54 * USB from the stack. The reply event is copied from an stage buffer, 63 struct uwb_rc_evt_confirm reply; local 75 reply.rceb.bEventType = UWB_RC_CET_GENERAL; 76 reply.rceb.wEvent = UWB_RC_CMD_SCAN; 78 &reply.rceb, sizeof(reply)); 81 if (reply.bResultCode != UWB_RC_RES_SUCCESS) { 84 uwb_rc_strerror(reply.bResultCode), reply.bResultCode);
|
H A D | address.c | 52 * @reply: Pointer to reply buffer (can be stack allocated) 61 struct uwb_rc_evt_dev_addr_mgmt *reply) 82 reply->rceb.bEventType = UWB_RC_CET_GENERAL; 83 reply->rceb.wEvent = UWB_RC_CMD_DEV_ADDR_MGMT; 86 &reply->rceb, sizeof(*reply)); 89 if (result < sizeof(*reply)) { 92 "%d vs %zu bytes needed\n", result, sizeof(*reply)); 94 } else if (reply 59 uwb_rc_dev_addr_mgmt(struct uwb_rc *rc, u8 bmOperationType, const u8 *baAddr, struct uwb_rc_evt_dev_addr_mgmt *reply) argument 131 struct uwb_rc_evt_dev_addr_mgmt reply; local [all...] |
H A D | ie.c | 115 struct uwb_rceb *reply = NULL; local 126 &reply); 131 get_ie = container_of(reply, struct uwb_rc_evt_get_ie, rceb); 159 struct uwb_rc_evt_set_ie reply; local 161 reply.rceb.bEventType = UWB_RC_CET_GENERAL; 162 reply.rceb.wEvent = UWB_RC_CMD_SET_IE; 165 &reply.rceb, sizeof(reply)); 168 else if (result != sizeof(reply)) { 169 dev_err(dev, "SET-IE: not enough data to decode reply " [all...] |
H A D | reset.c | 120 struct uwb_rceb *reply; member in struct:uwb_rc_cmd_done_params 125 struct uwb_rceb *reply, ssize_t reply_size) 130 if (p->reply) 133 p->reply = kmalloc(reply_size, GFP_ATOMIC); 135 if (p->reply) 136 memcpy(p->reply, reply, reply_size); 154 * @reply: Pointer to where to store the reply 155 * @reply_size: @reply' 124 uwb_rc_cmd_done(struct uwb_rc *rc, void *arg, struct uwb_rceb *reply, ssize_t reply_size) argument 171 __uwb_rc_cmd(struct uwb_rc *rc, const char *cmd_name, struct uwb_rccb *cmd, size_t cmd_size, struct uwb_rceb *reply, size_t reply_size, u8 expected_type, u16 expected_event, struct uwb_rceb **preply) argument 227 uwb_rc_cmd(struct uwb_rc *rc, const char *cmd_name, struct uwb_rccb *cmd, size_t cmd_size, struct uwb_rceb *reply, size_t reply_size) argument 294 struct uwb_rc_evt_confirm reply; local [all...] |
/drivers/gpu/drm/nouveau/core/core/ |
H A D | notify.c | 139 void *data, u32 size, u32 reply, 146 if (ret == 0 && (ret = -EINVAL, notify->size == reply)) { 154 notify->data = kmalloc(reply, GFP_KERNEL); 137 nvkm_notify_init(struct nouveau_object *object, struct nvkm_event *event, int (*func)(struct nvkm_notify *), bool work, void *data, u32 size, u32 reply, struct nvkm_notify *notify) argument
|
H A D | client.c | 102 u8 index, reply; local 119 nv_ioctl(client, "notify new vers %d reply %d route %02x " 121 req->v0.reply, req->v0.route, req->v0.token); 127 reply = req->v0.reply; 132 false, data, size, reply, ¬ify->n);
|
/drivers/infiniband/hw/amso1100/ |
H A D | c2_cm.c | 114 * Send WR to adapter. NOTE: There is no synch reply from 139 struct c2wr_ep_listen_create_rep *reply; local 184 * Wait for reply from adapter 191 * Process reply 193 reply = 195 if (!reply) { 200 if ((err = c2_errno(reply)) != 0) 206 cm_id->provider_data = (void*)(unsigned long) reply->ep_handle; 211 vq_repbuf_free(c2dev, reply); 217 vq_repbuf_free(c2dev, reply); 229 struct c2wr_ep_listen_destroy_rep *reply; local 298 struct c2wr_cr_accept_rep *reply; /* VQ Reply msg ptr. */ local 402 struct c2wr_cr_reject_rep *reply; local [all...] |
H A D | c2_vq.c | 44 * adapter has replied, and a copy of the verb reply work request. 47 * in the verbs reply message. The function handle_vq() in the interrupt 49 * 1) append a copy of the verbs reply message 50 * 2) mark that the reply is ready 51 * 3) wake up the kernel verbs handler blocked awaiting the reply. 57 * until the adapter's reply can be processed. The reason we need this is 59 * the verbs work request message, and reflected back in the reply message. 61 * kernel verb handler that is blocked awaiting the verb reply. 64 * getting the reply, then we don't need these refcnts. 69 * does not reply 257 vq_repbuf_free(struct c2_dev *c2dev, void *reply) argument [all...] |
H A D | c2_mm.c | 43 * Wait for the adapter's reply on the last one. 57 struct c2wr_nsmr_pbl_rep *reply; /* reply ptr */ local 81 * Only the last PBL message will generate a reply from the verbs, 83 * handler blocked awaiting this reply. 96 * vq request struct cuz we're gonna wait for a reply. 110 * wait for the reply. 148 * Now wait for the reply... 156 * Process reply 158 reply 181 struct c2wr_nsmr_register_rep *reply; local 320 struct c2wr_stag_dealloc_rep *reply; /* WR reply */ local [all...] |
H A D | c2_rnic.c | 127 struct c2wr_rnic_query_rep *reply; local 150 reply = 152 if (!reply) 155 err = c2_errno(reply); 160 ((u64)be32_to_cpu(reply->fw_ver_major) << 32) | 161 ((be32_to_cpu(reply->fw_ver_minor) & 0xFFFF) << 16) | 162 (be32_to_cpu(reply->fw_ver_patch) & 0xFFFF); 166 props->vendor_id = be32_to_cpu(reply->vendor_id); 167 props->vendor_part_id = be32_to_cpu(reply->part_number); 168 props->hw_ver = be32_to_cpu(reply 216 struct c2wr_rnic_setconfig_rep *reply; local 278 struct c2wr_rnic_setconfig_rep *reply; local 341 struct c2wr_rnic_open_rep *reply; local 395 struct c2wr_rnic_close_rep *reply; local [all...] |
H A D | c2_cq.c | 293 struct c2wr_cq_create_rep *reply; local 342 reply = (struct c2wr_cq_create_rep *) (unsigned long) (vq_req->reply_msg); 343 if (!reply) { 348 if ((err = c2_errno(reply)) != 0) 351 cq->adapter_handle = reply->cq_handle; 352 cq->mq.index = be32_to_cpu(reply->mq_index); 354 peer_pa = c2dev->pa + be32_to_cpu(reply->adapter_shared); 361 vq_repbuf_free(c2dev, reply); 378 vq_repbuf_free(c2dev, reply); 394 struct c2wr_cq_destroy_rep *reply; local [all...] |
/drivers/net/wireless/brcm80211/brcmfmac/ |
H A D | vendor.c | 37 struct sk_buff *reply; local 79 reply = cfg80211_vendor_cmd_alloc_reply_skb(wiphy, payload); 80 if (NULL == reply) { 85 if (nla_put(reply, BRCMF_NLATTR_DATA, msglen, wr_pointer) || 86 nla_put_u16(reply, BRCMF_NLATTR_LEN, msglen)) { 87 kfree_skb(reply); 92 ret = cfg80211_vendor_cmd_reply(reply);
|
/drivers/uwb/i1480/dfu/ |
H A D | dfu.c | 89 * @returns size of the reply data filled in i1480->evt_buf or < 0 errno 96 struct uwb_rceb *reply = i1480->evt_buf; local 98 u16 expected_event = reply->wEvent; 99 u8 expected_type = reply->bEventType; 122 dev_err(i1480->dev, "%s: command reply reception failed: %zd\n",
|
H A D | phy.c | 56 struct i1480_evt_confirm *reply = i1480->evt_buf; local 64 reply->rceb.bEventType = i1480_CET_VS1; 65 reply->rceb.wEvent = i1480_CMD_MPI_WRITE; 66 result = i1480_cmd(i1480, "MPI-WRITE", sizeof(*cmd) + size, sizeof(*reply)); 69 if (reply->bResultCode != UWB_RC_RES_SUCCESS) { 71 reply->bResultCode); 94 * We use the i1480->cmd_buf for the command, i1480->evt_buf for the reply. 96 * As the reply has to fit in 512 bytes (i1480->evt_buffer), the max amount 97 * of values we can read is (512 - sizeof(*reply)) / 3 104 struct i1480_evt_mpi_read *reply local [all...] |
/drivers/gpu/drm/nouveau/core/include/nvif/ |
H A D | event.h | 6 __u8 reply; member in struct:nvif_notify_req_v0 19 __u8 data[]; /* reply data (below) */
|
/drivers/gpu/drm/nouveau/nvif/ |
H A D | event.h | 6 __u8 reply; member in struct:nvif_notify_req_v0 19 __u8 data[]; /* reply data (below) */
|
H A D | notify.c | 169 void *data, u32 size, u32 reply, struct nvif_notify *notify) 185 notify->size = reply; 201 args->req.reply = notify->size; 233 bool work, u8 type, void *data, u32 size, u32 reply, 239 type, data, size, reply, notify); 167 nvif_notify_init(struct nvif_object *object, void (*dtor)(struct nvif_notify *), int (*func)(struct nvif_notify *), bool work, u8 event, void *data, u32 size, u32 reply, struct nvif_notify *notify) argument 232 nvif_notify_new(struct nvif_object *object, int (*func)(struct nvif_notify *), bool work, u8 type, void *data, u32 size, u32 reply, struct nvif_notify **pnotify) argument
|
/drivers/gpu/drm/nouveau/core/subdev/pwr/ |
H A D | base.c | 38 nouveau_pwr_send(struct nouveau_pwr *ppwr, u32 reply[2], argument 50 * on a synchronous reply, take the PPWR mutex and tell the 53 if (reply) { 76 /* wait for reply, if requested */ 77 if (reply) { 79 reply[0] = ppwr->recv.data[0]; 80 reply[1] = ppwr->recv.data[1]; 116 /* wake process if it's waiting on a synchronous reply */
|
H A D | memx.c | 47 u32 reply[2]; local 50 ret = ppwr->message(ppwr, reply, PROC_MEMX, MEMX_MSG_INFO, 0, 0); 58 memx->base = reply[0]; 59 memx->size = reply[1]; 75 u32 finish, reply[2]; local 84 /* call MEMX process to execute the script, and wait for reply */ 86 ppwr->message(ppwr, reply, PROC_MEMX, MEMX_MSG_EXEC, 91 reply[0], reply[1]);
|
/drivers/media/firewire/ |
H A D | firedtv-ci.c | 79 struct ca_msg *reply = arg; local 81 return avc_ca_app_info(fdtv, reply->msg, &reply->length); 86 struct ca_msg *reply = arg; local 88 return avc_ca_info(fdtv, reply->msg, &reply->length); 93 struct ca_msg *reply = arg; local 95 return avc_ca_get_mmi(fdtv, reply->msg, &reply->length);
|
/drivers/media/usb/dvb-usb-v2/ |
H A D | ec168.c | 190 u8 reply; local 191 struct ec168_req req = {GET_CONFIG, 0, 1, sizeof(reply), &reply}; 198 dev_dbg(&d->udev->dev, "%s: reply=%02x\n", __func__, reply); 200 if (reply == 0x01)
|
/drivers/s390/crypto/ |
H A D | zcrypt_pcixcc.c | 55 #define PCIXCC_MAX_ICA_RESPONSE_SIZE 0x77c /* max size type86 v2 reply */ 172 char *reply; local 175 reply = (void *) get_zeroed_page(GFP_KERNEL); 176 if (!reply) 186 rc = ap_recv(ap_dev->qid, &psmid, reply, 4096); 197 cprbx = (struct CPRBX *) (reply + 48); 203 free_page((unsigned long) reply); 222 } __attribute__((packed)) *reply; local 250 reply = ap_msg.message; 251 if (reply [all...] |
/drivers/staging/lustre/lnet/selftest/ |
H A D | ping_test.c | 126 srpc_ping_reply_t *reply = &rpc->crpc_replymsg.msg_body.ping_reply; local 141 __swab32s(&reply->pnr_seq); 142 __swab32s(&reply->pnr_magic); 143 __swab32s(&reply->pnr_status); 146 if (reply->pnr_magic != LST_PING_TEST_MAGIC) { 150 reply->pnr_magic, libcfs_id2str(rpc->crpc_dest), 155 if (reply->pnr_seq != reqst->pnr_seq) { 159 reply->pnr_seq, libcfs_id2str(rpc->crpc_dest), 165 CDEBUG (D_NET, "%d reply in %u usec\n", reply [all...] |
/drivers/staging/lustre/lustre/include/ |
H A D | lustre_update.h | 114 static inline void update_init_reply_buf(struct update_reply *reply, int count) argument 116 reply->ur_version = UPDATE_REPLY_V1; 117 reply->ur_count = count; 120 static inline void *update_get_buf_internal(struct update_reply *reply, argument 124 int count = reply->ur_count; 130 ptr = (char *)reply + cfs_size_round(offsetof(struct update_reply, 133 LASSERT(reply->ur_lens[i] > 0); 134 ptr += cfs_size_round(reply->ur_lens[i]); 138 *size = reply->ur_lens[index]; 143 static inline void update_insert_reply(struct update_reply *reply, voi argument 160 update_get_reply_buf(struct update_reply *reply, void **buf, int index) argument 178 update_get_reply_result(struct update_reply *reply, void **buf, int index) argument [all...] |
/drivers/gpu/drm/nouveau/ |
H A D | nouveau_usif.c | 46 u16 reply; member in struct:usif_notify 90 if (WARN_ON(!ntfy->p || ntfy->reply != (length + size))) 146 ntfy->reply = sizeof(struct nvif_notify_rep_v0) + req->v0.reply; 207 ntfy->p = kmalloc(sizeof(*ntfy->p) + ntfy->reply, GFP_KERNEL); 215 ntfy->p->e.base.length = sizeof(ntfy->p->e.base) + ntfy->reply;
|