Home
last modified time | relevance | path

Searched refs:msg_info (Results 1 - 13 of 13) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/huawei/hinic/
H A Dhinic_hw_mbox.c399 if (recv_mbox->msg_info.msg_id == func_to_func->send_msg_id && in resp_mbox_handler()
405 func_to_func->send_msg_id, recv_mbox->msg_info.msg_id, in resp_mbox_handler()
406 recv_mbox->msg_info.status); in resp_mbox_handler()
465 recv_mbox->msg_info.msg_id = HINIC_MBOX_HEADER_GET(mbox_header, MSG_ID); in recv_mbox_handler()
466 recv_mbox->msg_info.status = HINIC_MBOX_HEADER_GET(mbox_header, STATUS); in recv_mbox_handler()
803 int poll, void *msg_info) in send_mbox_seg()
849 struct mbox_msg_info *msg_info) in send_mbox_to_func()
870 HINIC_MBOX_HEADER_SET(msg_info->msg_id, MSG_ID) | in send_mbox_to_func()
871 HINIC_MBOX_HEADER_SET(msg_info->status, STATUS) | in send_mbox_to_func()
885 seg_len, MBOX_SEND_MSG_INT, msg_info); in send_mbox_to_func()
801 send_mbox_seg(struct hinic_mbox_func_to_func *func_to_func, u64 header, u16 dst_func, void *seg, u16 seg_len, int poll, void *msg_info) send_mbox_seg() argument
844 send_mbox_to_func(struct hinic_mbox_func_to_func *func_to_func, enum hinic_mod_type mod, u16 cmd, void *msg, u16 msg_len, u16 dst_func, enum hinic_hwif_direction_type direction, enum hinic_mbox_ack_type ack_type, struct mbox_msg_info *msg_info) send_mbox_to_func() argument
912 struct mbox_msg_info msg_info = {0}; response_for_recv_func_mbox() local
1010 struct mbox_msg_info msg_info = {0}; hinic_mbox_to_func() local
[all...]
H A Dhinic_hw_mbox.h51 struct mbox_msg_info msg_info; member
/kernel/linux/linux-6.6/drivers/net/ethernet/huawei/hinic/
H A Dhinic_hw_mbox.c394 if (recv_mbox->msg_info.msg_id == func_to_func->send_msg_id && in resp_mbox_handler()
400 func_to_func->send_msg_id, recv_mbox->msg_info.msg_id, in resp_mbox_handler()
401 recv_mbox->msg_info.status); in resp_mbox_handler()
460 recv_mbox->msg_info.msg_id = HINIC_MBOX_HEADER_GET(mbox_header, MSG_ID); in recv_mbox_handler()
461 recv_mbox->msg_info.status = HINIC_MBOX_HEADER_GET(mbox_header, STATUS); in recv_mbox_handler()
798 int poll, void *msg_info) in send_mbox_seg()
844 struct mbox_msg_info *msg_info) in send_mbox_to_func()
865 HINIC_MBOX_HEADER_SET(msg_info->msg_id, MSG_ID) | in send_mbox_to_func()
866 HINIC_MBOX_HEADER_SET(msg_info->status, STATUS) | in send_mbox_to_func()
880 seg_len, MBOX_SEND_MSG_INT, msg_info); in send_mbox_to_func()
796 send_mbox_seg(struct hinic_mbox_func_to_func *func_to_func, u64 header, u16 dst_func, void *seg, u16 seg_len, int poll, void *msg_info) send_mbox_seg() argument
839 send_mbox_to_func(struct hinic_mbox_func_to_func *func_to_func, enum hinic_mod_type mod, u16 cmd, void *msg, u16 msg_len, u16 dst_func, enum hinic_hwif_direction_type direction, enum hinic_mbox_ack_type ack_type, struct mbox_msg_info *msg_info) send_mbox_to_func() argument
907 struct mbox_msg_info msg_info = {0}; response_for_recv_func_mbox() local
1005 struct mbox_msg_info msg_info = {0}; hinic_mbox_to_func() local
[all...]
H A Dhinic_hw_mbox.h51 struct mbox_msg_info msg_info; member
/kernel/linux/linux-5.10/fs/hmdfs/comm/
H A Dsocket_adapter.c863 void hmdfs_response_wakeup(struct sendmsg_wait_queue *msg_info, in hmdfs_response_wakeup() argument
866 msg_info->ret = ret_code; in hmdfs_response_wakeup()
867 msg_info->size = data_len; in hmdfs_response_wakeup()
868 msg_info->buf = buf; in hmdfs_response_wakeup()
869 atomic_set(&msg_info->valid, MSG_Q_END_RECV); in hmdfs_response_wakeup()
870 wake_up_interruptible(&msg_info->response_q); in hmdfs_response_wakeup()
873 static int hmdfs_readfile_slice(struct sendmsg_wait_queue *msg_info, in hmdfs_readfile_slice() argument
878 struct file_recv_info *recv_info = &msg_info->recv_info; in hmdfs_readfile_slice()
913 struct sendmsg_wait_queue *msg_info = NULL; in hmdfs_file_response_work_fn() local
920 msg_info in hmdfs_file_response_work_fn()
966 struct sendmsg_wait_queue *msg_info = NULL; hmdfs_response_handle_sync() local
[all...]
H A Dsocket_adapter.h157 void hmdfs_response_wakeup(struct sendmsg_wait_queue *msg_info,
/kernel/linux/linux-6.6/fs/hmdfs/comm/
H A Dsocket_adapter.c863 void hmdfs_response_wakeup(struct sendmsg_wait_queue *msg_info, in hmdfs_response_wakeup() argument
866 msg_info->ret = ret_code; in hmdfs_response_wakeup()
867 msg_info->size = data_len; in hmdfs_response_wakeup()
868 msg_info->buf = buf; in hmdfs_response_wakeup()
869 atomic_set(&msg_info->valid, MSG_Q_END_RECV); in hmdfs_response_wakeup()
870 wake_up_interruptible(&msg_info->response_q); in hmdfs_response_wakeup()
873 static int hmdfs_readfile_slice(struct sendmsg_wait_queue *msg_info, in hmdfs_readfile_slice() argument
878 struct file_recv_info *recv_info = &msg_info->recv_info; in hmdfs_readfile_slice()
913 struct sendmsg_wait_queue *msg_info = NULL; in hmdfs_file_response_work_fn() local
920 msg_info in hmdfs_file_response_work_fn()
966 struct sendmsg_wait_queue *msg_info = NULL; hmdfs_response_handle_sync() local
[all...]
H A Dsocket_adapter.h157 void hmdfs_response_wakeup(struct sendmsg_wait_queue *msg_info,
/kernel/linux/linux-5.10/drivers/rapidio/devices/
H A Dtsi721.h563 __le32 msg_info; member
592 __le32 msg_info; member
H A Dtsi721.c1697 desc[tx_slot].msg_info = in tsi721_add_outb_message()
1996 bd_ptr[entries].msg_info = 0; in tsi721_open_outb_mbox()
2462 if (!(le32_to_cpu(desc->msg_info) & TSI721_IMD_HO)) in tsi721_get_inb_message()
2478 msg_size = le32_to_cpu(desc->msg_info) & TSI721_IMD_BCOUNT; in tsi721_get_inb_message()
2485 desc->msg_info &= cpu_to_le32(~TSI721_IMD_HO); in tsi721_get_inb_message()
/kernel/linux/linux-6.6/drivers/rapidio/devices/
H A Dtsi721.h563 __le32 msg_info; member
592 __le32 msg_info; member
H A Dtsi721.c1697 desc[tx_slot].msg_info = in tsi721_add_outb_message()
1996 bd_ptr[entries].msg_info = 0; in tsi721_open_outb_mbox()
2462 if (!(le32_to_cpu(desc->msg_info) & TSI721_IMD_HO)) in tsi721_get_inb_message()
2478 msg_size = le32_to_cpu(desc->msg_info) & TSI721_IMD_BCOUNT; in tsi721_get_inb_message()
2485 desc->msg_info &= cpu_to_le32(~TSI721_IMD_HO); in tsi721_get_inb_message()
/kernel/linux/linux-6.6/drivers/accel/habanalabs/gaudi2/
H A Dgaudi2.c3490 struct gaudi2_queues_test_info *msg_info = gaudi2->queues_test_info; in gaudi2_test_queues_msgs_free() local
3495 if (!msg_info[i].kern_addr) in gaudi2_test_queues_msgs_free()
3498 hl_asic_dma_pool_free(hdev, msg_info[i].kern_addr, msg_info[i].dma_addr); in gaudi2_test_queues_msgs_free()
3499 msg_info[i].kern_addr = NULL; in gaudi2_test_queues_msgs_free()
3506 struct gaudi2_queues_test_info *msg_info = gaudi2->queues_test_info; in gaudi2_test_queues_msgs_alloc() local
3511 msg_info[i].kern_addr = in gaudi2_test_queues_msgs_alloc()
3513 GFP_KERNEL, &msg_info[i].dma_addr); in gaudi2_test_queues_msgs_alloc()
3514 if (!msg_info[i].kern_addr) { in gaudi2_test_queues_msgs_alloc()
6882 struct gaudi2_queues_test_info *msg_info) in gaudi2_test_queue_send_msg_short()
6881 gaudi2_test_queue_send_msg_short(struct hl_device *hdev, u32 hw_queue_id, u32 sob_val, struct gaudi2_queues_test_info *msg_info) gaudi2_test_queue_send_msg_short() argument
6953 struct gaudi2_queues_test_info *msg_info; gaudi2_test_queues() local
[all...]

Completed in 29 milliseconds