Home
last modified time | relevance | path

Searched refs:msg_buf (Results 1 – 21 of 21) sorted by relevance

/drivers/s390/char/
Dsclp_rw.c92 struct msg_buf *msg; in sclp_initialize_mto()
99 msg_size = sizeof(struct msg_buf) + max_len; in sclp_initialize_mto()
106 msg = (struct msg_buf *)((addr_t) sccb + sccb->length); in sclp_initialize_mto()
107 memset(msg, 0, sizeof(struct msg_buf)); in sclp_initialize_mto()
108 msg->header.length = sizeof(struct msg_buf); in sclp_initialize_mto()
142 struct msg_buf *msg; in sclp_finalize_mto()
320 count -= sizeof(struct msg_buf) + buffer->current_length; in sclp_buffer_space()
Dsclp_rw.h51 struct msg_buf { struct
58 sizeof(struct sccb_header)) / sizeof(struct msg_buf)) argument
68 struct msg_buf *current_msg;
Dsclp_tty.c100 count = sclp_buffer_space(sclp_ttybuf) / sizeof(struct msg_buf); in sclp_tty_write_room()
/drivers/i2c/busses/
Di2c-bcm2835.c69 u8 *msg_buf; member
93 *i2c_dev->msg_buf); in bcm2835_fill_txfifo()
94 i2c_dev->msg_buf++; in bcm2835_fill_txfifo()
107 *i2c_dev->msg_buf = bcm2835_i2c_readl(i2c_dev, in bcm2835_drain_rxfifo()
109 i2c_dev->msg_buf++; in bcm2835_drain_rxfifo()
164 i2c_dev->msg_buf = msg->buf; in bcm2835_i2c_xfer_msg()
Di2c-xlp9xx.c89 u8 *msg_buf; member
132 u8 *buf = priv->msg_buf; in xlp9xx_i2c_fill_tx_fifo()
138 priv->msg_buf += len; in xlp9xx_i2c_fill_tx_fifo()
144 u8 *buf = priv->msg_buf; in xlp9xx_i2c_drain_rx_fifo()
153 priv->msg_buf = buf; in xlp9xx_i2c_drain_rx_fifo()
233 priv->msg_buf = msg->buf; in xlp9xx_i2c_xfer_msg()
Di2c-tegra.c192 u8 *msg_buf; member
291 u8 *buf = i2c_dev->msg_buf; in tegra_i2c_empty_rx_fifo()
325 i2c_dev->msg_buf = buf; in tegra_i2c_empty_rx_fifo()
333 u8 *buf = i2c_dev->msg_buf; in tegra_i2c_fill_tx_fifo()
359 i2c_dev->msg_buf = buf + in tegra_i2c_fill_tx_fifo()
380 i2c_dev->msg_buf = NULL; in tegra_i2c_fill_tx_fifo()
641 i2c_dev->msg_buf = msg->buf; in tegra_i2c_xfer_msg()
/drivers/net/ethernet/intel/i40evf/
Di40evf_virtchnl.c97 event.msg_buf = kzalloc(event.buf_len, GFP_KERNEL); in i40evf_verify_api_ver()
98 if (!event.msg_buf) { in i40evf_verify_api_ver()
128 pf_vvi = (struct i40e_virtchnl_version_info *)event.msg_buf; in i40evf_verify_api_ver()
137 kfree(event.msg_buf); in i40evf_verify_api_ver()
197 event.msg_buf = kzalloc(event.buf_len, GFP_KERNEL); in i40evf_get_vf_config()
198 if (!event.msg_buf) { in i40evf_get_vf_config()
217 memcpy(adapter->vf_res, event.msg_buf, min(event.msg_len, len)); in i40evf_get_vf_config()
221 kfree(event.msg_buf); in i40evf_get_vf_config()
Di40e_adminq.h83 u8 *msg_buf; member
Di40e_adminq.c929 if (e->msg_buf != NULL && (e->msg_len != 0)) in i40evf_clean_arq_element()
930 memcpy(e->msg_buf, hw->aq.arq.r.arq_bi[desc_idx].va, in i40evf_clean_arq_element()
934 i40evf_debug_aq(hw, I40E_DEBUG_AQ_COMMAND, (void *)desc, e->msg_buf, in i40evf_clean_arq_element()
Di40evf_main.c1868 event.msg_buf = kzalloc(event.buf_len, GFP_KERNEL); in i40evf_adminq_task()
1869 if (!event.msg_buf) in i40evf_adminq_task()
1879 v_msg->v_retval, event.msg_buf, in i40evf_adminq_task()
1882 memset(event.msg_buf, 0, I40EVF_MAX_AQ_BUF_SIZE); in i40evf_adminq_task()
1928 kfree(event.msg_buf); in i40evf_adminq_task()
/drivers/block/
Dskd_main.c200 u8 *msg_buf; member
240 u8 *msg_buf; member
674 fmh = (struct fit_msg_hdr *)skmsg->msg_buf; in skd_request_fn()
691 cmd_ptr = &skmsg->msg_buf[skmsg->length]; in skd_request_fn()
1650 struct fit_msg_hdr *fmh = (struct fit_msg_hdr *)skspcl->msg_buf; in skd_sg_io_send_fitmsg()
1653 memset(skspcl->msg_buf, 0, SKD_N_SPECIAL_FITMSG_BYTES); in skd_sg_io_send_fitmsg()
1813 fmh = (struct fit_msg_hdr *)&skspcl->msg_buf[0]; in skd_format_internal_skspcl()
1817 scsi = (struct skd_scsi_request *)&skspcl->msg_buf[64]; in skd_format_internal_skspcl()
1852 scsi = (struct skd_scsi_request *)&skspcl->msg_buf[64]; in skd_send_internal_skspcl()
1958 (struct skd_scsi_request *)&skspcl->msg_buf[64]; in skd_complete_internal()
[all …]
/drivers/net/wimax/i2400m/
Ddriver.c128 const void *msg_buf, size_t msg_len, in i2400m_op_msg_from_user() argument
138 msg_buf, msg_len, genl_info); in i2400m_op_msg_from_user()
139 ack_skb = i2400m_msg_to_dev(i2400m, msg_buf, msg_len); in i2400m_op_msg_from_user()
146 "genl_info %p) = %d\n", wimax_dev, i2400m, msg_buf, msg_len, in i2400m_op_msg_from_user()
/drivers/isdn/isdnloop/
Disdnloop.c287 card->msg_buf_read = card->msg_buf; in isdnloop_putmsg()
290 card->msg_buf_write = card->msg_buf; in isdnloop_putmsg()
454 card->msg_buf_read = card->msg_buf; in isdnloop_readstatus()
1462 card->msg_buf_write = card->msg_buf; in isdnloop_initcard()
1463 card->msg_buf_read = card->msg_buf; in isdnloop_initcard()
1464 card->msg_buf_end = &card->msg_buf[sizeof(card->msg_buf) - 1]; in isdnloop_initcard()
Disdnloop.h89 char msg_buf[2048]; /* Buffer for status-messages */ member
/drivers/staging/i4l/icn/
Dicn.c598 card->msg_buf_read = card->msg_buf; in icn_putmsg()
601 card->msg_buf_write = card->msg_buf; in icn_putmsg()
1011 card->msg_buf_read = card->msg_buf; in icn_readstatus()
1545 card->msg_buf_write = card->msg_buf; in icn_initcard()
1546 card->msg_buf_read = card->msg_buf; in icn_initcard()
1547 card->msg_buf_end = &card->msg_buf[sizeof(card->msg_buf) - 1]; in icn_initcard()
Dicn.h157 char msg_buf[2048]; /* Buffer for status-messages */ member
/drivers/net/ethernet/intel/i40e/
Di40e_adminq.h83 u8 *msg_buf; member
Di40e_adminq.c981 if (e->msg_buf != NULL && (e->msg_len != 0)) in i40e_clean_arq_element()
982 memcpy(e->msg_buf, hw->aq.arq.r.arq_bi[desc_idx].va, in i40e_clean_arq_element()
986 i40e_debug_aq(hw, I40E_DEBUG_AQ_COMMAND, (void *)desc, e->msg_buf, in i40e_clean_arq_element()
Di40e_main.c6339 event.msg_buf = kzalloc(event.buf_len, GFP_KERNEL); in i40e_clean_adminq_subtask()
6340 if (!event.msg_buf) in i40e_clean_adminq_subtask()
6363 event.msg_buf, in i40e_clean_adminq_subtask()
6403 kfree(event.msg_buf); in i40e_clean_adminq_subtask()
/drivers/input/touchscreen/
Datmel_mxt_ts.c295 u8 *msg_buf; member
980 data->T5_msg_size * count, data->msg_buf); in mxt_read_and_process_messages()
988 data->msg_buf + data->T5_msg_size * i); in mxt_read_and_process_messages()
1006 data->T5_msg_size + 1, data->msg_buf); in mxt_process_messages_t44()
1012 count = data->msg_buf[0]; in mxt_process_messages_t44()
1027 ret = mxt_proc_message(data, data->msg_buf + 1); in mxt_process_messages_t44()
1585 kfree(data->msg_buf); in mxt_free_object_table()
1586 data->msg_buf = NULL; in mxt_free_object_table()
1711 data->msg_buf = kcalloc(data->max_reportid, in mxt_get_object_table()
1713 if (!data->msg_buf) { in mxt_get_object_table()
/drivers/ata/
Dlibahci.c366 const unsigned char *msg_buf = buf; in ahci_store_em_buffer() local
388 msg = msg_buf[i] | msg_buf[i + 1] << 8 | in ahci_store_em_buffer()
389 msg_buf[i + 2] << 16 | msg_buf[i + 3] << 24; in ahci_store_em_buffer()