Home
last modified time | relevance | path

Searched refs:msg_num (Results 1 – 13 of 13) sorted by relevance

/Linux-v5.4/drivers/i2c/busses/
Di2c-mlxcpld.c79 u8 msg_num; member
231 priv->xfer.msg_num = num; in mlxcpld_i2c_set_transf_data()
319 if (priv->xfer.msg_num == 1) in mlxcpld_i2c_wait_for_tc()
371 if (priv->smbus_block && priv->xfer.msg_num >= 2 && in mlxcpld_i2c_xfer_msg()
379 for (i = 0; i < priv->xfer.msg_num; i++) { in mlxcpld_i2c_xfer_msg()
Di2c-pxa.c174 unsigned int msg_num; member
311 i2c->msg_num, i2c->msg_idx, i2c->msg_ptr); in i2c_pxa_scream_blue_murder()
784 i2c->msg_num = num; in i2c_pxa_do_pio_xfer()
791 while (i2c->msg_num > 0 && --timeout) { in i2c_pxa_do_pio_xfer()
849 i2c->msg_num = num; in i2c_pxa_do_xfer()
861 timeout = wait_event_timeout(i2c->wait, i2c->msg_num == 0, HZ * 5); in i2c_pxa_do_xfer()
869 if (!timeout && i2c->msg_num) { in i2c_pxa_do_xfer()
915 i2c->msg_num = 0; in i2c_pxa_master_complete()
969 i2c->msg_idx == i2c->msg_num - 1) in i2c_pxa_irq_txempty()
987 (i2c->msg_idx == i2c->msg_num - 1))) in i2c_pxa_irq_txempty()
[all …]
Di2c-lpc2k.c294 int msg_num) in i2c_lpc2k_xfer() argument
308 for (i = 0; i < msg_num; i++) { in i2c_lpc2k_xfer()
313 i2c->is_last = (i == (msg_num - 1)); in i2c_lpc2k_xfer()
320 return msg_num; in i2c_lpc2k_xfer()
Di2c-s3c2410.c100 unsigned int msg_num; member
180 i2c->msg_num = 0; in s3c24xx_i2c_master_complete()
282 while ((i2c->msg_num != 0) && is_ack(i2c)) { in s3c24xx_i2c_message_start()
357 return i2c->msg_idx >= (i2c->msg_num - 1); in is_lastmsg()
705 i2c->msg_num = num; in s3c24xx_i2c_doxfer()
722 timeout = wait_event_timeout(i2c->wait, i2c->msg_num == 0, HZ * 5); in s3c24xx_i2c_doxfer()
Di2c-synquacer.c134 u32 msg_num; member
151 return i2c->msg_idx >= (i2c->msg_num - 1); in is_lastmsg()
191 i2c->msg_num = 0; in synquacer_i2c_stop()
327 i2c->msg_num = num; in synquacer_i2c_doxfer()
Di2c-stm32f7.c294 unsigned int msg_num; member
782 f7_msg->stop = (i2c_dev->msg_id >= i2c_dev->msg_num - 1); in stm32f7_i2c_xfer_msg()
1563 i2c_dev->msg_num = num; in stm32f7_i2c_xfer()
/Linux-v5.4/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_debugfs.c14 .reg_msg = { .msg_num = ARRAY_SIZE(hclge_dbg_bios_common_reg),
19 .reg_msg = { .msg_num = ARRAY_SIZE(hclge_dbg_ssu_reg_0),
24 .reg_msg = { .msg_num = ARRAY_SIZE(hclge_dbg_ssu_reg_1),
29 .reg_msg = { .msg_num = ARRAY_SIZE(hclge_dbg_ssu_reg_2),
34 .reg_msg = { .msg_num = ARRAY_SIZE(hclge_dbg_igu_egu_reg),
39 .reg_msg = { .msg_num = ARRAY_SIZE(hclge_dbg_rpu_reg_0),
44 .reg_msg = { .msg_num = ARRAY_SIZE(hclge_dbg_rpu_reg_1),
49 .reg_msg = { .msg_num = ARRAY_SIZE(hclge_dbg_ncsi_reg),
54 .reg_msg = { .msg_num = ARRAY_SIZE(hclge_dbg_rtc_reg),
59 .reg_msg = { .msg_num = ARRAY_SIZE(hclge_dbg_ppp_reg),
[all …]
Dhclge_debugfs.h70 int msg_num; member
/Linux-v5.4/fs/ocfs2/cluster/
Dtcp.h34 __be32 msg_num; member
Dtcp.c80 be32_to_cpu(__hdr->msg_num) , ##args); \
1089 msg->msg_num = cpu_to_be32(nsw.ns_id); in o2net_send_message_vec()
1185 be32_to_cpu(hdr->msg_num), in o2net_process_message()
/Linux-v5.4/drivers/hid/i2c-hid/
Di2c-hid-core.c208 int msg_num = 1; in __i2c_hid_command() local
242 msg_num = 2; in __i2c_hid_command()
249 ret = i2c_transfer(client->adapter, msg, msg_num); in __i2c_hid_command()
254 if (ret != msg_num) in __i2c_hid_command()
/Linux-v5.4/drivers/crypto/qat/qat_common/
Dadf_transport.c69 static int adf_verify_ring_size(uint32_t msg_size, uint32_t msg_num) in adf_verify_ring_size() argument
74 if ((msg_size * msg_num) == ADF_SIZE_TO_RING_SIZE_IN_BYTES(i)) in adf_verify_ring_size()
/Linux-v5.4/drivers/net/ethernet/hisilicon/hns3/hns3vf/
Dhclgevf_main.c676 u16 msg_num, hash_key_index; in hclgevf_get_rss_hash_key() local
680 msg_num = (HCLGEVF_RSS_KEY_SIZE + HCLGEVF_RSS_MBX_RESP_LEN - 1) / in hclgevf_get_rss_hash_key()
682 for (index = 0; index < msg_num; index++) { in hclgevf_get_rss_hash_key()
695 if (index == msg_num - 1) in hclgevf_get_rss_hash_key()