Home
last modified time | relevance | path

Searched refs:msg (Results 1 – 25 of 460) sorted by relevance

12345678910>>...19

/drivers/isdn/act2000/
Dcapi.c146 m->msg.listen_req.controller = 0; in actcapi_listen_req()
147 m->msg.listen_req.infomask = 0x3f; /* All information */ in actcapi_listen_req()
148 m->msg.listen_req.eazmask = eazmask; in actcapi_listen_req()
149 m->msg.listen_req.simask = (eazmask)?0x86:0; /* All SI's */ in actcapi_listen_req()
167 m->msg.connect_req.controller = 0; in actcapi_connect_req()
168 m->msg.connect_req.bchan = 0x83; in actcapi_connect_req()
169 m->msg.connect_req.infomask = 0x3f; in actcapi_connect_req()
170 m->msg.connect_req.si1 = si1; in actcapi_connect_req()
171 m->msg.connect_req.si2 = si2; in actcapi_connect_req()
172 m->msg.connect_req.eaz = eaz?eaz:'0'; in actcapi_connect_req()
[all …]
/drivers/usb/serial/
Dkeyspan.c514 struct keyspan_usa26_portStatusMessage *msg; in usa26_instat_callback() local
533 msg = (struct keyspan_usa26_portStatusMessage *)data; in usa26_instat_callback()
537 __func__, msg->port, msg->hskia_cts, msg->gpia_dcd, msg->dsr, msg->ri, msg->_txOff, in usa26_instat_callback()
538 msg->_txXoff, msg->rxEnabled, msg->controlResponse); in usa26_instat_callback()
545 if (msg->port >= serial->num_ports) { in usa26_instat_callback()
546 dbg("%s - Unexpected port number %d", __func__, msg->port); in usa26_instat_callback()
549 port = serial->port[msg->port]; in usa26_instat_callback()
554 p_priv->cts_state = ((msg->hskia_cts) ? 1 : 0); in usa26_instat_callback()
555 p_priv->dsr_state = ((msg->dsr) ? 1 : 0); in usa26_instat_callback()
556 p_priv->dcd_state = ((msg->gpia_dcd) ? 1 : 0); in usa26_instat_callback()
[all …]
/drivers/staging/wlan-ng/
Dprism2mgmt.c130 p80211msg_dot11req_scan_t *msg = msgp; in prism2mgmt_scan() local
146 msg->resultcode.data = P80211ENUM_resultcode_not_supported; in prism2mgmt_scan()
158 msg->resultcode.data = in prism2mgmt_scan()
170 msg->resultcode.data = in prism2mgmt_scan()
180 if (msg->scantype.data != P80211ENUM_scantype_active) { in prism2mgmt_scan()
181 word = host2hfa384x_16(msg->maxchanneltime.data); in prism2mgmt_scan()
198 for (i = 0; i < msg->channellist.data.len; i++) { in prism2mgmt_scan()
199 u8 channel = msg->channellist.data.data[i]; in prism2mgmt_scan()
207 scanreq.ssid.len = host2hfa384x_16(msg->ssid.data.len); in prism2mgmt_scan()
208 memcpy(scanreq.ssid.data, msg->ssid.data.data, msg->ssid.data.len); in prism2mgmt_scan()
[all …]
Dp80211wext.c146 p80211msg_dot11req_mibset_t msg; in p80211wext_dorequest() local
152 msg.msgcode = DIDmsg_dot11req_mibset; in p80211wext_dorequest()
155 memcpy(&msg.mibattribute.data, &mibitem, sizeof(mibitem)); in p80211wext_dorequest()
156 result = p80211req_dorequest(wlandev, (u8*)&msg); in p80211wext_dorequest()
164 p80211msg_lnxreq_autojoin_t msg; in p80211wext_autojoin() local
182 msg.authtype.data = P80211ENUM_authalg_sharedkey; in p80211wext_autojoin()
184 msg.authtype.data = P80211ENUM_authalg_opensystem; in p80211wext_autojoin()
186 msg.msgcode = DIDmsg_lnxreq_autojoin; in p80211wext_autojoin()
194 memcpy(msg.ssid.data.data, ssid, data.length); in p80211wext_autojoin()
195 msg.ssid.data.len = data.length; in p80211wext_autojoin()
[all …]
/drivers/char/ipmi/
Dipmi_msghandler.c396 void (*null_user_handler)(ipmi_smi_t intf, struct ipmi_recv_msg *msg);
451 struct ipmi_recv_msg *msg, *msg2; in free_recv_msg_list() local
453 list_for_each_entry_safe(msg, msg2, q, link) { in free_recv_msg_list()
454 list_del(&msg->link); in free_recv_msg_list()
455 ipmi_free_recv_msg(msg); in free_recv_msg_list()
461 struct ipmi_smi_msg *msg, *msg2; in free_smi_msg_list() local
463 list_for_each_entry_safe(msg, msg2, q, link) { in free_smi_msg_list()
464 list_del(&msg->link); in free_smi_msg_list()
465 ipmi_free_smi_msg(msg); in free_smi_msg_list()
680 static void deliver_response(struct ipmi_recv_msg *msg) in deliver_response() argument
[all …]
Dipmi_devintf.c61 static void file_receive_handler(struct ipmi_recv_msg *msg, in file_receive_handler() argument
71 list_add_tail(&(msg->link), &(priv->recv_msgs)); in file_receive_handler()
178 struct kernel_ipmi_msg msg; in handle_send_req() local
186 msg.netfn = req->msg.netfn; in handle_send_req()
187 msg.cmd = req->msg.cmd; in handle_send_req()
188 msg.data_len = req->msg.data_len; in handle_send_req()
189 msg.data = kmalloc(IPMI_MAX_MSG_LENGTH, GFP_KERNEL); in handle_send_req()
190 if (!msg.data) in handle_send_req()
200 if (req->msg.data != NULL) { in handle_send_req()
201 if (req->msg.data_len > IPMI_MAX_MSG_LENGTH) { in handle_send_req()
[all …]
/drivers/connector/
Dcn_proc.c52 struct cn_msg *msg; in proc_fork_connector() local
60 msg = (struct cn_msg*)buffer; in proc_fork_connector()
61 ev = (struct proc_event*)msg->data; in proc_fork_connector()
62 get_seq(&msg->seq, &ev->cpu); in proc_fork_connector()
71 memcpy(&msg->id, &cn_proc_event_id, sizeof(msg->id)); in proc_fork_connector()
72 msg->ack = 0; /* not used */ in proc_fork_connector()
73 msg->len = sizeof(*ev); in proc_fork_connector()
75 cn_netlink_send(msg, CN_IDX_PROC, GFP_KERNEL); in proc_fork_connector()
80 struct cn_msg *msg; in proc_exec_connector() local
88 msg = (struct cn_msg*)buffer; in proc_exec_connector()
[all …]
/drivers/s390/crypto/
Dzcrypt_pcixcc.c158 } __attribute__((packed)) *msg = ap_msg->message; in ICAMEX_msg_to_type6MEX_msgX() local
162 msg->length = mex->inputdatalength + 2; in ICAMEX_msg_to_type6MEX_msgX()
163 if (copy_from_user(msg->text, mex->inputdata, mex->inputdatalength)) in ICAMEX_msg_to_type6MEX_msgX()
167 size = zcrypt_type6_mex_key_en(mex, msg->text+mex->inputdatalength, 1); in ICAMEX_msg_to_type6MEX_msgX()
170 size += sizeof(*msg) + mex->inputdatalength; in ICAMEX_msg_to_type6MEX_msgX()
173 msg->hdr = static_type6_hdrX; in ICAMEX_msg_to_type6MEX_msgX()
174 msg->hdr.ToCardLen1 = size - sizeof(msg->hdr); in ICAMEX_msg_to_type6MEX_msgX()
175 msg->hdr.FromCardLen1 = PCIXCC_MAX_ICA_RESPONSE_SIZE - sizeof(msg->hdr); in ICAMEX_msg_to_type6MEX_msgX()
177 msg->cprbx = static_cprbx; in ICAMEX_msg_to_type6MEX_msgX()
178 msg->cprbx.domain = AP_QID_QUEUE(zdev->ap_dev->qid); in ICAMEX_msg_to_type6MEX_msgX()
[all …]
Dzcrypt_pcicc.c177 } __attribute__((packed)) *msg = ap_msg->message; in ICAMEX_msg_to_type6MEX_msg() local
181 if (copy_from_user(msg->text, mex->inputdata, mex->inputdatalength)) in ICAMEX_msg_to_type6MEX_msg()
184 if (is_PKCS11_padded(msg->text, mex->inputdatalength)) in ICAMEX_msg_to_type6MEX_msg()
188 msg->hdr = static_type6_hdr; in ICAMEX_msg_to_type6MEX_msg()
189 msg->fr = static_pke_function_and_rules; in ICAMEX_msg_to_type6MEX_msg()
191 if (is_PKCS12_padded(msg->text, mex->inputdatalength)) { in ICAMEX_msg_to_type6MEX_msg()
193 pad_len = strnlen(msg->text + 2, mex->inputdatalength - 2) + 3; in ICAMEX_msg_to_type6MEX_msg()
197 memmove(msg->text, msg->text + pad_len, vud_len); in ICAMEX_msg_to_type6MEX_msg()
198 msg->length = cpu_to_le16(vud_len + 2); in ICAMEX_msg_to_type6MEX_msg()
201 size = zcrypt_type6_mex_key_en(mex, msg->text + vud_len, 0); in ICAMEX_msg_to_type6MEX_msg()
[all …]
/drivers/message/i2o/
Diop.c65 struct i2o_message *msg; in i2o_msg_get_wait() local
67 while (IS_ERR(msg = i2o_msg_get(c))) { in i2o_msg_get_wait()
76 return msg; in i2o_msg_get_wait()
281 struct i2o_message *msg; in i2o_iop_quiesce() local
292 msg = i2o_msg_get_wait(c, I2O_TIMEOUT_MESSAGE_GET); in i2o_iop_quiesce()
293 if (IS_ERR(msg)) in i2o_iop_quiesce()
294 return PTR_ERR(msg); in i2o_iop_quiesce()
296 msg->u.head[0] = cpu_to_le32(FOUR_WORD_MSG_SIZE | SGL_OFFSET_0); in i2o_iop_quiesce()
297 msg->u.head[1] = in i2o_iop_quiesce()
302 if ((rc = i2o_msg_post_wait(c, msg, 240))) in i2o_iop_quiesce()
[all …]
Dexec-osm.c54 struct i2o_message *msg; /* pointer to the reply message */ member
122 int i2o_msg_post_wait_mem(struct i2o_controller *c, struct i2o_message *msg, in i2o_msg_post_wait_mem() argument
133 i2o_msg_nop(c, msg); in i2o_msg_post_wait_mem()
148 msg->u.s.icntxt = cpu_to_le32(i2o_exec_driver.context); in i2o_msg_post_wait_mem()
150 msg->u.s.tcntxt = cpu_to_le32(wait->tcntxt); in i2o_msg_post_wait_mem()
163 i2o_msg_post(c, msg); in i2o_msg_post_wait_mem()
172 rc = le32_to_cpu(wait->msg->body[0]) >> 24; in i2o_msg_post_wait_mem()
217 struct i2o_message *msg, u32 context) in i2o_msg_post_wait_complete() argument
237 wait->msg = msg; in i2o_msg_post_wait_complete()
385 struct i2o_message *msg; in i2o_exec_lct_notify() local
[all …]
Di2o_config.c233 struct i2o_message *msg; in i2o_cfg_swdl() local
259 msg = i2o_msg_get_wait(c, I2O_TIMEOUT_MESSAGE_GET); in i2o_cfg_swdl()
260 if (IS_ERR(msg)) in i2o_cfg_swdl()
261 return PTR_ERR(msg); in i2o_cfg_swdl()
264 i2o_msg_nop(c, msg); in i2o_cfg_swdl()
269 i2o_msg_nop(c, msg); in i2o_cfg_swdl()
274 msg->u.head[0] = cpu_to_le32(NINE_WORD_MSG_SIZE | SGL_OFFSET_7); in i2o_cfg_swdl()
275 msg->u.head[1] = in i2o_cfg_swdl()
278 msg->u.head[2] = cpu_to_le32(i2o_config_driver.context); in i2o_cfg_swdl()
279 msg->u.head[3] = cpu_to_le32(0); in i2o_cfg_swdl()
[all …]
Di2o_block.c135 struct i2o_message *msg; in i2o_block_device_flush() local
137 msg = i2o_msg_get_wait(dev->iop, I2O_TIMEOUT_MESSAGE_GET); in i2o_block_device_flush()
138 if (IS_ERR(msg)) in i2o_block_device_flush()
139 return PTR_ERR(msg); in i2o_block_device_flush()
141 msg->u.head[0] = cpu_to_le32(FIVE_WORD_MSG_SIZE | SGL_OFFSET_0); in i2o_block_device_flush()
142 msg->u.head[1] = in i2o_block_device_flush()
145 msg->body[0] = cpu_to_le32(60 << 16); in i2o_block_device_flush()
148 return i2o_msg_post_wait(dev->iop, msg, 60); in i2o_block_device_flush()
163 struct i2o_message *msg; in i2o_block_device_mount() local
165 msg = i2o_msg_get_wait(dev->iop, I2O_TIMEOUT_MESSAGE_GET); in i2o_block_device_mount()
[all …]
Ddebug.c8 static void i2o_report_fail_status(u8 req_status, u32 * msg);
19 u32 *msg = (u32 *) m; in i2o_report_status() local
20 u8 cmd = (msg[1] >> 24) & 0xFF; in i2o_report_status()
21 u8 req_status = (msg[4] >> 24) & 0xFF; in i2o_report_status()
22 u16 detailed_status = msg[4] & 0xFFFF; in i2o_report_status()
37 if (msg[0] & MSG_FAIL) { in i2o_report_status()
38 i2o_report_fail_status(req_status, msg); in i2o_report_status()
55 u32 *msg = (u32 *) m; in i2o_dump_message() local
58 msg[0] >> 16 & 0xffff, msg); in i2o_dump_message()
59 for (i = 0; i < ((msg[0] >> 16) & 0xffff); i++) in i2o_dump_message()
[all …]
/drivers/w1/
Dw1_netlink.c31 void w1_netlink_send(struct w1_master *dev, struct w1_netlink_msg *msg) in w1_netlink_send() argument
45 memcpy(w, msg, sizeof(struct w1_netlink_msg)); in w1_netlink_send()
52 struct cn_msg *msg = dev->priv; in w1_send_slave() local
53 struct w1_netlink_msg *hdr = (struct w1_netlink_msg *)(msg + 1); in w1_send_slave()
65 msg->len += 8; in w1_send_slave()
69 msg->ack++; in w1_send_slave()
70 cn_netlink_send(msg, 0, GFP_KERNEL); in w1_send_slave()
72 msg->len = sizeof(struct w1_netlink_msg) + sizeof(struct w1_netlink_cmd); in w1_send_slave()
77 static int w1_process_search_command(struct w1_master *dev, struct cn_msg *msg, in w1_process_search_command() argument
80 struct w1_netlink_msg *hdr = (struct w1_netlink_msg *)(msg + 1); in w1_process_search_command()
[all …]
/drivers/media/dvb/dvb-usb/
Ddw2102.c79 static int dw2102_i2c_transfer(struct i2c_adapter *adap, struct i2c_msg msg[], in dw2102_i2c_transfer() argument
95 value = msg[0].buf[0];/* register */ in dw2102_i2c_transfer()
96 for (i = 0; i < msg[1].len; i++) { in dw2102_i2c_transfer()
100 msg[1].buf[i] = buf6[0]; in dw2102_i2c_transfer()
104 switch (msg[0].addr) { in dw2102_i2c_transfer()
108 buf6[1] = msg[0].buf[0]; in dw2102_i2c_transfer()
109 buf6[2] = msg[0].buf[1]; in dw2102_i2c_transfer()
114 if (msg[0].flags == 0) { in dw2102_i2c_transfer()
119 buf6[3] = msg[0].buf[0]; in dw2102_i2c_transfer()
120 buf6[4] = msg[0].buf[1]; in dw2102_i2c_transfer()
[all …]
/drivers/net/wan/
Dixp4xx_hss.c245 struct msg { struct
332 static void hss_npe_send(struct port *port, struct msg *msg, const char* what) in hss_npe_send() argument
334 u32 *val = (u32*)msg; in hss_npe_send()
335 if (npe_send_message(port->npe, msg, what)) { in hss_npe_send()
345 struct msg msg; in hss_config_set_lut() local
348 memset(&msg, 0, sizeof(msg)); in hss_config_set_lut()
349 msg.cmd = PORT_CONFIG_WRITE; in hss_config_set_lut()
350 msg.hss_port = port->id; in hss_config_set_lut()
353 msg.data32 >>= 2; in hss_config_set_lut()
354 msg.data32 |= TDMMAP_HDLC << 30; in hss_config_set_lut()
[all …]
/drivers/pci/
Dhtirq.c32 struct ht_irq_msg msg; member
36 void write_ht_irq_msg(unsigned int irq, struct ht_irq_msg *msg) in write_ht_irq_msg() argument
41 if (cfg->msg.address_lo != msg->address_lo) { in write_ht_irq_msg()
43 pci_write_config_dword(cfg->dev, cfg->pos + 4, msg->address_lo); in write_ht_irq_msg()
45 if (cfg->msg.address_hi != msg->address_hi) { in write_ht_irq_msg()
47 pci_write_config_dword(cfg->dev, cfg->pos + 4, msg->address_hi); in write_ht_irq_msg()
50 cfg->update(cfg->dev, irq, msg); in write_ht_irq_msg()
52 cfg->msg = *msg; in write_ht_irq_msg()
55 void fetch_ht_irq_msg(unsigned int irq, struct ht_irq_msg *msg) in fetch_ht_irq_msg() argument
58 *msg = cfg->msg; in fetch_ht_irq_msg()
[all …]
/drivers/xen/xenbus/
Dxenbus_xs.c131 struct xs_stored_msg *msg; in read_reply() local
144 msg = list_entry(xs_state.reply_list.next, in read_reply()
146 list_del(&msg->list); in read_reply()
150 *type = msg->hdr.type; in read_reply()
152 *len = msg->hdr.len; in read_reply()
153 body = msg->u.reply.body; in read_reply()
155 kfree(msg); in read_reply()
160 void *xenbus_dev_request_and_reply(struct xsd_sockmsg *msg) in xenbus_dev_request_and_reply() argument
163 struct xsd_sockmsg req_msg = *msg; in xenbus_dev_request_and_reply()
171 err = xb_write(msg, sizeof(*msg) + msg->len); in xenbus_dev_request_and_reply()
[all …]
/drivers/misc/sgi-xp/
Dxpc_uv.c271 xpc_send_gru_msg(unsigned long mq_gpa, void *msg, size_t msg_size) in xpc_send_gru_msg() argument
277 ret = gru_send_message_gpa(mq_gpa, msg, msg_size); in xpc_send_gru_msg()
373 struct xpc_activate_mq_msg_heartbeat_req_uv *msg; in xpc_handle_activate_mq_msg_uv() local
375 msg = container_of(msg_hdr, in xpc_handle_activate_mq_msg_uv()
378 part_uv->heartbeat = msg->heartbeat; in xpc_handle_activate_mq_msg_uv()
382 struct xpc_activate_mq_msg_heartbeat_req_uv *msg; in xpc_handle_activate_mq_msg_uv() local
384 msg = container_of(msg_hdr, in xpc_handle_activate_mq_msg_uv()
387 part_uv->heartbeat = msg->heartbeat; in xpc_handle_activate_mq_msg_uv()
395 struct xpc_activate_mq_msg_heartbeat_req_uv *msg; in xpc_handle_activate_mq_msg_uv() local
397 msg = container_of(msg_hdr, in xpc_handle_activate_mq_msg_uv()
[all …]
Dxpnet.c82 && (msg->magic == XPNET_MAGIC))
146 xpnet_receive(short partid, int channel, struct xpnet_message *msg) in xpnet_receive() argument
152 if (!XPNET_VALID_MSG(msg)) { in xpnet_receive()
156 xpc_received(partid, channel, (void *)msg); in xpnet_receive()
162 dev_dbg(xpnet, "received 0x%lx, %d, %d, %d\n", msg->buf_pa, msg->size, in xpnet_receive()
163 msg->leadin_ignore, msg->tailout_ignore); in xpnet_receive()
166 skb = dev_alloc_skb(msg->size + L1_CACHE_BYTES); in xpnet_receive()
169 msg->size + L1_CACHE_BYTES); in xpnet_receive()
171 xpc_received(partid, channel, (void *)msg); in xpnet_receive()
185 msg->leadin_ignore)); in xpnet_receive()
[all …]
/drivers/staging/otus/80211core/
Dwlan.h284 #define zm_msg0_scan(lv, msg) if (ZM_SCANMSG_LEV >= lv) \ argument
285 {zm_debug_msg0(msg);}
286 #define zm_msg1_scan(lv, msg, val) if (ZM_SCANMSG_LEV >= lv) \ argument
287 {zm_debug_msg1(msg, val);}
288 #define zm_msg2_scan(lv, msg, val) if (ZM_SCANMSG_LEV >= lv) \ argument
289 {zm_debug_msg2(msg, val);}
291 #define zm_msg0_tx(lv, msg) if (ZM_TXMSG_LEV >= lv) \ argument
292 {zm_debug_msg0(msg);}
293 #define zm_msg1_tx(lv, msg, val) if (ZM_TXMSG_LEV >= lv) \ argument
294 {zm_debug_msg1(msg, val);}
[all …]
/drivers/media/video/cx23885/
Dcx23885-i2c.c82 const struct i2c_msg *msg, int joined_rlen) in i2c_sendbytes() argument
91 msg->len, joined_rlen); in i2c_sendbytes()
93 dprintk(1, "%s(msg->len=%d)\n", __func__, msg->len); in i2c_sendbytes()
96 if (msg->len == 0) { in i2c_sendbytes()
97 cx_write(bus->reg_addr, msg->addr << 25); in i2c_sendbytes()
110 addr = (msg->addr << 25) | msg->buf[0]; in i2c_sendbytes()
111 wdata = msg->buf[0]; in i2c_sendbytes()
114 if (msg->len > 1) in i2c_sendbytes()
129 printk(" <W %02x %02x", msg->addr << 1, msg->buf[0]); in i2c_sendbytes()
134 for (cnt = 1; cnt < msg->len; cnt++) { in i2c_sendbytes()
[all …]
/drivers/i2c/algos/
Di2c-algo-pca.c100 struct i2c_msg *msg) in pca_address() argument
105 addr = ( (0x7f & msg->addr) << 1 ); in pca_address()
106 if (msg->flags & I2C_M_RD ) in pca_address()
109 msg->addr, msg->flags & I2C_M_RD ? 'R' : 'W', addr); in pca_address()
173 struct i2c_msg *msg = NULL; in pca_xfer() local
193 msg = &msgs[curmsg]; in pca_xfer()
195 addr = (0x7f & msg->addr) ; in pca_xfer()
197 if (msg->flags & I2C_M_RD ) in pca_xfer()
199 curmsg, msg->len, addr, (addr<<1) | 1); in pca_xfer()
202 curmsg, msg->len, addr, addr<<1, in pca_xfer()
[all …]
/drivers/media/dvb/firewire/
Dfiredtv-ci.c84 return avc_ca_app_info(fdtv, reply->msg, &reply->length) ? -EFAULT : 0; in fdtv_ca_app_info()
91 return avc_ca_info(fdtv, reply->msg, &reply->length) ? -EFAULT : 0; in fdtv_ca_info()
98 return avc_ca_get_mmi(fdtv, reply->msg, &reply->length) ? -EFAULT : 0; in fdtv_ca_get_mmi()
130 struct ca_msg *msg = arg; in fdtv_ca_pmt() local
136 if (msg->msg[3] & 0x80) { in fdtv_ca_pmt()
138 for (i = 0; i < (msg->msg[3] & 0x7f); i++) in fdtv_ca_pmt()
139 data_length = (data_length << 8) + msg->msg[data_pos++]; in fdtv_ca_pmt()
141 data_length = msg->msg[3]; in fdtv_ca_pmt()
144 return avc_ca_pmt(fdtv, &msg->msg[data_pos], data_length) ? -EFAULT : 0; in fdtv_ca_pmt()
149 struct ca_msg *msg = arg; in fdtv_ca_send_msg() local
[all …]

12345678910>>...19