Home
last modified time | relevance | path

Searched refs:msg_count (Results 1 – 25 of 29) sorted by relevance

12

/openbmc/linux/drivers/staging/greybus/
H A Di2c.c79 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 …]
/openbmc/linux/drivers/mailbox/
H A Dti-msgmgr.c249 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 Dmailbox.c35 if (chan->msg_count == MBOX_TX_QUEUE_LEN) { in add_to_rbuf()
42 chan->msg_count++; in add_to_rbuf()
63 if (!chan->msg_count || chan->active_req) in msg_submit()
66 count = chan->msg_count; in msg_submit()
81 chan->msg_count--; in msg_submit()
334 chan->msg_count = 0; in __mbox_bind_client()
/openbmc/linux/sound/virtio/
H A Dvirtio_pcm_msg.c212 n = runtime->periods - vss->msg_count; in virtsnd_pcm_msg_send()
241 vss->msg_count++; in virtsnd_pcm_msg_send()
266 num = vss->msg_count; in virtsnd_pcm_msg_pending_num()
313 vss->msg_count--; in virtsnd_pcm_msg_complete()
325 } else if (!vss->msg_count) { in virtsnd_pcm_msg_complete()
H A Dvirtio_pcm.h61 unsigned int msg_count; member
H A Dvirtio_pcm_ops.c301 vss->msg_count = 0; in virtsnd_pcm_prepare()
/openbmc/linux/drivers/net/ethernet/intel/ice/
H A Dice_vf_mbx.c144 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()
/openbmc/linux/include/linux/
H A Dntb.h323 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 Dmailbox_controller.h124 unsigned msg_count, msg_free; member
H A Dvirtio_vsock.h142 u32 msg_count; member
/openbmc/linux/net/vmw_vsock/
H A Dvirtio_transport_common.c485 if (!vvs->msg_count) { in virtio_transport_seqpacket_do_peek()
544 if (vvs->msg_count == 0) { in virtio_transport_seqpacket_do_dequeue()
591 vvs->msg_count--; in virtio_transport_seqpacket_do_dequeue()
677 u32 msg_count; in virtio_transport_seqpacket_has_data() local
680 msg_count = vvs->msg_count; in virtio_transport_seqpacket_has_data()
683 return msg_count; in virtio_transport_seqpacket_has_data()
1169 vvs->msg_count++; in virtio_transport_recv_enqueue()
1553 vvs->msg_count--; in virtio_transport_read_skb()
/openbmc/linux/drivers/scsi/
H A Ddc395x.c242 u8 msg_count; member
878 srb->msg_count = 0; in build_srb()
1254 u8 *ptr = srb->msgout_buf + srb->msg_count; in build_sdtr()
1255 if (srb->msg_count > 1) { in build_sdtr()
1258 srb->msg_count, srb->msgout_buf[0], in build_sdtr()
1268 srb->msg_count += spi_populate_sync_msg(ptr, dcb->min_nego_period, in build_sdtr()
1280 u8 *ptr = srb->msgout_buf + srb->msg_count; in build_wdtr()
1281 if (srb->msg_count > 1) { in build_wdtr()
1284 srb->msg_count, srb->msgout_buf[0], in build_wdtr()
1288 srb->msg_count += spi_populate_width_msg(ptr, wide); in build_wdtr()
[all …]
/openbmc/linux/drivers/net/can/usb/
H A Dems_usb.c441 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()
475 msg_count--; in ems_usb_read_bulk_callback()
/openbmc/linux/arch/powerpc/sysdev/
H A Dfsl_rio.h82 u32 msg_count; member
/openbmc/linux/drivers/soundwire/
H A Dcadence_master.h149 unsigned int msg_count; member
H A Dcadence_master.c634 if (cdns->msg_count != count) { in _cdns_xfer_msg()
636 cdns->msg_count = count; in _cdns_xfer_msg()
685 if (cdns->msg_count != CDNS_SCP_RX_FIFOLEVEL) { in cdns_program_scp_addr()
687 cdns->msg_count = CDNS_SCP_RX_FIFOLEVEL; in cdns_program_scp_addr()
1398 cdns->msg_count = cdns_readl(cdns, CDNS_MCP_FIFOLEVEL); in sdw_cdns_init()
H A Dintel_auxdevice.c235 cdns->msg_count = 0; in intel_link_probe()
/openbmc/u-boot/drivers/i2c/
H A Di2c-uclass.c134 int msg_count; in dm_i2c_read() local
152 msg_count = ptr - msg; in dm_i2c_read()
154 return ops->xfer(bus, msg, msg_count); in dm_i2c_read()
/openbmc/linux/tools/testing/vsock/
H A Dvsock_test.c402 int msg_count; in test_seqpacket_msg_bounds_client() local
417 msg_count = SOCK_BUF_SIZE / max_msg_size; in test_seqpacket_msg_bounds_client()
419 for (int i = 0; i < msg_count; i++) { in test_seqpacket_msg_bounds_client()
441 if (i == (msg_count / 2) || (rand() & 1)) { in test_seqpacket_msg_bounds_client()
/openbmc/linux/drivers/spi/
H A Dspi-mpc52xx.c72 int msg_count; member
295 ms->msg_count++; in mpc52xx_spi_fsmstate_wait()
/openbmc/linux/fs/ext4/
H A Dsysfs.c233 EXT4_RO_ATTR_SBI_ATOMIC(msg_count, s_msg_count);
282 ATTR_LIST(msg_count),
/openbmc/linux/drivers/gpu/drm/bridge/
H A Dite-it6505.c1959 int down_stream_count, i, err, msg_count = 0; in it6505_setup_sha1_input() local
1988 sha1_input + msg_count, in it6505_setup_sha1_input()
1994 msg_count += 5; in it6505_setup_sha1_input()
1998 sha1_input[msg_count++] = binfo[0]; in it6505_setup_sha1_input()
1999 sha1_input[msg_count++] = binfo[1]; in it6505_setup_sha1_input()
2005 sha1_input + msg_count, 8); in it6505_setup_sha1_input()
2014 msg_count += 8; in it6505_setup_sha1_input()
2016 return msg_count; in it6505_setup_sha1_input()
/openbmc/linux/drivers/net/can/peak_canfd/
H A Dpeak_canfd.c484 struct pucan_rx_msg *msg_list, int msg_count) in peak_canfd_handle_msgs_list() argument
489 for (i = 0; i < msg_count; i++) { in peak_canfd_handle_msgs_list()
/openbmc/linux/drivers/net/ethernet/amd/
H A Damd8111e.h661 __le16 msg_count; /* Received message len */ member
/openbmc/linux/drivers/input/touchscreen/
H A Dads7846.c115 int msg_count; member
1082 ts->msg_count = 1; in ads7846_setup_spi_msg()

12