| /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 …]
|
| H A D | mailbox.c | 31 if (chan->msg_count == MBOX_TX_QUEUE_LEN) in add_to_rbuf() 36 chan->msg_count++; in add_to_rbuf() 53 if (!chan->msg_count || chan->active_req != MBOX_NO_MSG) in msg_submit() 56 count = chan->msg_count; in msg_submit() 71 chan->msg_count--; in msg_submit() 236 ret = MBOX_TX_QUEUE_LEN - chan->msg_count; in mbox_chan_tx_slots_available() 342 chan->msg_count = 0; in __mbox_bind_client()
|
| /linux/sound/virtio/ |
| H A D | virtio_pcm_msg.c | 208 unsigned int msg_count = vss->msg_count; in virtsnd_pcm_msg_send() local 247 vss->msg_count++; in virtsnd_pcm_msg_send() 254 if (msg_count == vss->msg_count) in virtsnd_pcm_msg_send() 276 return vss->msg_count; in virtsnd_pcm_msg_pending_num() 322 vss->msg_count--; in virtsnd_pcm_msg_complete() 332 } else if (!vss->msg_count) { in virtsnd_pcm_msg_complete()
|
| H A D | virtio_pcm.h | 62 unsigned int msg_count; member
|
| /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/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 | 656 if (!vvs->msg_count) { in virtio_transport_seqpacket_do_peek() 716 if (vvs->msg_count == 0) { in virtio_transport_seqpacket_do_dequeue() 765 vvs->msg_count--; in virtio_transport_seqpacket_do_dequeue() 860 u32 msg_count; in virtio_transport_seqpacket_has_data() local 863 msg_count = vvs->msg_count; in virtio_transport_seqpacket_has_data() 866 return msg_count; in virtio_transport_seqpacket_has_data() 1364 vvs->msg_count++; in virtio_transport_recv_enqueue() 1763 vvs->msg_count--; in virtio_transport_read_skb()
|
| /linux/include/linux/ |
| H A D | mailbox_controller.h | 136 unsigned msg_count, msg_free; member
|
| /linux/drivers/net/can/usb/ |
| H A D | ems_usb.c | 441 u8 msg_count, start; in ems_usb_read_bulk_callback() local 443 msg_count = ibuf[0] & ~0x80; in ems_usb_read_bulk_callback() 447 while (msg_count) { in ems_usb_read_bulk_callback() 480 msg_count--; in ems_usb_read_bulk_callback()
|
| /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
|
| /linux/drivers/spi/ |
| H A D | spi-mpc52xx.c | 73 int msg_count; member 296 ms->msg_count++; in mpc52xx_spi_fsmstate_wait()
|
| /linux/fs/ext4/ |
| H A D | sysfs.c | 271 EXT4_RO_ATTR_SBI_ATOMIC(msg_count, s_msg_count); 322 ATTR_LIST(msg_count),
|
| /linux/tools/testing/vsock/ |
| H A D | vsock_test.c | 391 int msg_count; in test_seqpacket_msg_bounds_client() 416 msg_count = SOCK_BUF_SIZE / max_msg_size; in test_seqpacket_msg_bounds_client() 418 for (int i = 0; i < msg_count; i++) { in test_seqpacket_msg_bounds_client() 439 if (i == (msg_count / 2) || (rand() & 1)) { in test_seqpacket_msg_bounds_server() 359 int msg_count; test_seqpacket_msg_bounds_client() local
|
| /linux/drivers/gpu/nova-core/gsp/ |
| H A D | fw.rs | 697 pub(crate) fn new(msgq_size: u32, rx_hdr_offset: u32, msg_count: u32) -> Self { in new() 702 msgCount: msg_count, in new()
|
| /linux/drivers/accel/qaic/ |
| H A D | qaic_control.c | 1449 u32 msg_count = le32_to_cpu(msg->hdr.count); in resp_worker() local 1454 for (j = 0; j < msg_count && len < msg_len; ++j) { in resp_worker()
|
| /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,
|