Home
last modified time | relevance | path

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

12

/linux-6.1.9/drivers/staging/greybus/
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 …]
/linux-6.1.9/drivers/mailbox/
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 …]
Dmailbox.c34 if (chan->msg_count == MBOX_TX_QUEUE_LEN) { in add_to_rbuf()
41 chan->msg_count++; in add_to_rbuf()
62 if (!chan->msg_count || chan->active_req) in msg_submit()
65 count = chan->msg_count; in msg_submit()
80 chan->msg_count--; in msg_submit()
383 chan->msg_count = 0; in mbox_request_channel()
Dpcc.c301 chan->msg_count = 0; in pcc_mbox_request_channel()
Domap-mailbox.c447 chan->msg_count = 0; in omap_mbox_request_channel()
/linux-6.1.9/sound/virtio/
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()
Dvirtio_pcm.h61 unsigned int msg_count; member
Dvirtio_pcm_ops.c301 vss->msg_count = 0; in virtsnd_pcm_prepare()
/linux-6.1.9/include/linux/
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()
Dmailbox_controller.h124 unsigned msg_count, msg_free; member
Dvirtio_vsock.h39 u32 msg_count; member
/linux-6.1.9/drivers/scsi/
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 …]
/linux-6.1.9/net/vmw_vsock/
Dvirtio_transport_common.c424 if (vvs->msg_count == 0) { in virtio_transport_seqpacket_do_dequeue()
466 vvs->msg_count--; in virtio_transport_seqpacket_do_dequeue()
553 u32 msg_count; in virtio_transport_seqpacket_has_data() local
556 msg_count = vvs->msg_count; in virtio_transport_seqpacket_has_data()
559 return msg_count; in virtio_transport_seqpacket_has_data()
1037 vvs->msg_count++; in virtio_transport_recv_enqueue()
/linux-6.1.9/drivers/soundwire/
Dcadence_master.h132 unsigned int msg_count; member
Dcadence_master.c566 if (cdns->msg_count != count) { in _cdns_xfer_msg()
568 cdns->msg_count = count; in _cdns_xfer_msg()
613 if (cdns->msg_count != CDNS_SCP_RX_FIFOLEVEL) { in cdns_program_scp_addr()
615 cdns->msg_count = CDNS_SCP_RX_FIFOLEVEL; in cdns_program_scp_addr()
1325 cdns->msg_count = cdns_readl(cdns, CDNS_MCP_FIFOLEVEL); in sdw_cdns_init()
Dintel.c1512 cdns->msg_count = 0; in intel_link_probe()
/linux-6.1.9/arch/powerpc/sysdev/
Dfsl_rio.h82 u32 msg_count; member
Dfsl_rmu.c421 pw->port_write_msg.msg_count++; in fsl_rio_port_write_handler()
/linux-6.1.9/drivers/net/can/usb/
Dems_usb.c433 u8 msg_count, start; in ems_usb_read_bulk_callback() local
435 msg_count = ibuf[0] & ~0x80; in ems_usb_read_bulk_callback()
439 while (msg_count) { in ems_usb_read_bulk_callback()
467 msg_count--; in ems_usb_read_bulk_callback()
/linux-6.1.9/drivers/spi/
Dspi-mpc52xx.c72 int msg_count; member
295 ms->msg_count++; in mpc52xx_spi_fsmstate_wait()
/linux-6.1.9/fs/ext4/
Dsysfs.c231 EXT4_RO_ATTR_SBI_ATOMIC(msg_count, s_msg_count);
280 ATTR_LIST(msg_count),
/linux-6.1.9/drivers/gpu/drm/bridge/
Dite-it6505.c1950 int down_stream_count, i, err, msg_count = 0; in it6505_setup_sha1_input() local
1979 sha1_input + msg_count, in it6505_setup_sha1_input()
1985 msg_count += 5; in it6505_setup_sha1_input()
1989 sha1_input[msg_count++] = binfo[0]; in it6505_setup_sha1_input()
1990 sha1_input[msg_count++] = binfo[1]; in it6505_setup_sha1_input()
1996 sha1_input + msg_count, 8); in it6505_setup_sha1_input()
2005 msg_count += 8; in it6505_setup_sha1_input()
2007 return msg_count; in it6505_setup_sha1_input()
/linux-6.1.9/drivers/net/can/peak_canfd/
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()
/linux-6.1.9/drivers/net/ethernet/amd/
Damd8111e.h661 __le16 msg_count; /* Received message len */ member
/linux-6.1.9/drivers/input/touchscreen/
Dads7846.c117 int msg_count; member
1099 ts->msg_count = 1; in ads7846_setup_spi_msg()

12