| /linux/drivers/staging/greybus/ |
| H A D | i2c.c | 79 struct i2c_msg *msgs, u32 msg_count) in gb_i2c_operation_create() argument 93 if (msg_count > (u32)U16_MAX) { in gb_i2c_operation_create() 95 msg_count); in gb_i2c_operation_create() 98 op_count = (u16)msg_count; in gb_i2c_operation_create() 105 for (i = 0; i < msg_count; i++, msg++) in gb_i2c_operation_create() 112 request_size += msg_count * sizeof(*op); in gb_i2c_operation_create() 126 for (i = 0; i < msg_count; i++) in gb_i2c_operation_create() 135 for (i = 0; i < msg_count; i++) { in gb_i2c_operation_create() 146 static void gb_i2c_decode_response(struct i2c_msg *msgs, u32 msg_count, in gb_i2c_decode_response() argument 156 for (i = 0; i < msg_count; i++) { in gb_i2c_decode_response() [all …]
|
| /linux/drivers/mailbox/ |
| H A D | ti-msgmgr.c | 249 int msg_count; in ti_msgmgr_queue_rx_poll_timeout() local 252 ret = readl_poll_timeout_atomic(qinst->queue_state, msg_count, in ti_msgmgr_queue_rx_poll_timeout() 253 (msg_count & desc->status_cnt_mask), in ti_msgmgr_queue_rx_poll_timeout() 279 int msg_count; in ti_msgmgr_queue_rx_interrupt() local 300 msg_count = ti_msgmgr_queue_get_num_messages(desc, qinst); in ti_msgmgr_queue_rx_interrupt() 301 if (!msg_count) { in ti_msgmgr_queue_rx_interrupt() 324 int msg_count; in ti_msgmgr_queue_peek_data() local 334 msg_count = ti_msgmgr_queue_get_num_messages(desc, qinst); in ti_msgmgr_queue_peek_data() 336 return msg_count ? true : false; in ti_msgmgr_queue_peek_data() 351 int msg_count; in ti_msgmgr_last_tx_done() local [all …]
|
| /linux/drivers/net/ethernet/intel/ice/ |
| H A D | ice_vf_mbx.c | 144 vf_info->msg_count = 0; in ice_mbx_reset_snapshot() 202 vf_info->msg_count++; in ice_mbx_detect_malvf() 204 if (vf_info->msg_count >= ICE_ASYNC_VF_MSG_THRESHOLD) in ice_mbx_detect_malvf() 378 vf_info->msg_count = 0; in ice_mbx_clear_malvf()
|
| /linux/include/linux/ |
| H A D | ntb.h | 323 int (*msg_count)(struct ntb_dev *ntb); member 386 !ops->msg_inbits == !ops->msg_count && in ntb_dev_ops_is_valid() 387 !ops->msg_outbits == !ops->msg_count && in ntb_dev_ops_is_valid() 388 !ops->msg_read_sts == !ops->msg_count && in ntb_dev_ops_is_valid() 389 !ops->msg_clear_sts == !ops->msg_count && in ntb_dev_ops_is_valid() 392 !ops->msg_read == !ops->msg_count && in ntb_dev_ops_is_valid() 393 !ops->peer_msg_write == !ops->msg_count && in ntb_dev_ops_is_valid() 1416 if (!ntb->ops->msg_count) in ntb_msg_count() 1419 return ntb->ops->msg_count(ntb); in ntb_msg_count()
|
| H A D | virtio_vsock.h | 169 u32 msg_count; member
|
| /linux/drivers/scsi/ |
| H A D | dc395x.c | 183 u8 msg_count; member 804 srb->msg_count = 0; in build_srb() 1068 u8 *ptr = srb->msgout_buf + srb->msg_count; in build_sdtr() 1069 if (srb->msg_count > 1) { in build_sdtr() 1078 srb->msg_count += spi_populate_sync_msg(ptr, dcb->min_nego_period, in build_sdtr() 1090 u8 *ptr = srb->msgout_buf + srb->msg_count; in build_wdtr() 1091 if (srb->msg_count > 1) in build_wdtr() 1094 srb->msg_count += spi_populate_width_msg(ptr, wide); in build_wdtr() 1198 srb->msg_count = 1; in start_scsi() 1218 srb->msg_count = 0; in start_scsi() [all …]
|
| /linux/net/vmw_vsock/ |
| H A D | virtio_transport_common.c | 675 if (!vvs->msg_count) { in virtio_transport_seqpacket_do_peek() 735 if (vvs->msg_count == 0) { in virtio_transport_seqpacket_do_dequeue() 784 vvs->msg_count--; in virtio_transport_seqpacket_do_dequeue() 870 u32 msg_count; in virtio_transport_seqpacket_has_data() local 873 msg_count = vvs->msg_count; in virtio_transport_seqpacket_has_data() 876 return msg_count; in virtio_transport_seqpacket_has_data() 1358 vvs->msg_count++; in virtio_transport_recv_enqueue() 1743 vvs->msg_count--; in virtio_transport_read_skb()
|
| /linux/sound/virtio/ |
| H A D | virtio_pcm.h | 63 unsigned int msg_count; member
|
| /linux/arch/powerpc/sysdev/ |
| H A D | fsl_rio.h | 82 u32 msg_count; member
|
| H A D | fsl_rmu.c | 421 pw->port_write_msg.msg_count++; in fsl_rio_port_write_handler()
|
| /linux/drivers/soundwire/ |
| H A D | cadence_master.h | 150 unsigned int msg_count; member
|
| H A D | cadence_master.c | 635 if (cdns->msg_count != count) { in _cdns_xfer_msg() 637 cdns->msg_count = count; in _cdns_xfer_msg() 686 if (cdns->msg_count != CDNS_SCP_RX_FIFOLEVEL) { in cdns_program_scp_addr() 688 cdns->msg_count = CDNS_SCP_RX_FIFOLEVEL; in cdns_program_scp_addr() 1436 cdns->msg_count = cdns_readl(cdns, CDNS_MCP_FIFOLEVEL); in sdw_cdns_init()
|
| H A D | intel_auxdevice.c | 324 cdns->msg_count = 0; in intel_link_probe()
|
| /linux/drivers/spi/ |
| H A D | spi-mpc52xx.c | 73 int msg_count; member 296 ms->msg_count++; in mpc52xx_spi_fsmstate_wait()
|
| /linux/tools/testing/vsock/ |
| H A D | vsock_test.c | 357 int msg_count; in test_seqpacket_msg_bounds_client() local 372 msg_count = SOCK_BUF_SIZE / max_msg_size; in test_seqpacket_msg_bounds_client() 374 for (int i = 0; i < msg_count; i++) { in test_seqpacket_msg_bounds_client() 395 if (i == (msg_count / 2) || (rand() & 1)) { in test_seqpacket_msg_bounds_client()
|
| /linux/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_ras.c | 3653 uint32_t msg_count, uint32_t *gpu_reset) in amdgpu_ras_poison_consumption_handler() argument 3662 for (i = 0; i < msg_count; i++) { in amdgpu_ras_poison_consumption_handler() 3704 uint32_t poison_creation_count, msg_count; in amdgpu_ras_page_retirement_thread() local 3734 msg_count = kfifo_len(&con->poison_fifo); in amdgpu_ras_page_retirement_thread() 3735 if (msg_count) { in amdgpu_ras_page_retirement_thread() 3737 msg_count, &gpu_reset); in amdgpu_ras_page_retirement_thread() 3740 atomic_sub(msg_count, &con->page_retirement_req_cnt); in amdgpu_ras_page_retirement_thread() 3767 msg_count = kfifo_len(&con->poison_fifo); in amdgpu_ras_page_retirement_thread() 3768 if (msg_count) { in amdgpu_ras_page_retirement_thread() 3770 atomic_sub(msg_count, &con->page_retirement_req_cnt); in amdgpu_ras_page_retirement_thread()
|
| /linux/drivers/input/touchscreen/ |
| H A D | ads7846.c | 115 int msg_count; member 1108 ts->msg_count = 1; in ads7846_setup_spi_msg()
|
| /linux/drivers/net/ethernet/amd/ |
| H A D | amd8111e.c | 717 pkt_len = le16_to_cpu(lp->rx_ring[rx_index].msg_count) - 4; in amd8111e_rx_poll()
|
| /linux/drivers/ntb/hw/idt/ |
| H A D | ntb_hw_idt.c | 2258 .msg_count = idt_ntb_msg_count,
|