Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/staging/greybus/
Di2c.c72 struct i2c_msg *msgs, u32 msg_count) in gb_i2c_operation_create() argument
86 if (msg_count > (u32)U16_MAX) { in gb_i2c_operation_create()
88 msg_count); in gb_i2c_operation_create()
91 op_count = (u16)msg_count; in gb_i2c_operation_create()
98 for (i = 0; i < msg_count; i++, msg++) in gb_i2c_operation_create()
105 request_size += msg_count * sizeof(*op); in gb_i2c_operation_create()
119 for (i = 0; i < msg_count; i++) in gb_i2c_operation_create()
128 for (i = 0; i < msg_count; i++) { in gb_i2c_operation_create()
139 static void gb_i2c_decode_response(struct i2c_msg *msgs, u32 msg_count, in gb_i2c_decode_response() argument
149 for (i = 0; i < msg_count; i++) { in gb_i2c_decode_response()
[all …]
/Linux-v4.19/drivers/mailbox/
Dti-msgmgr.c209 int msg_count, num_words; in ti_msgmgr_queue_rx_interrupt() local
233 msg_count = ti_msgmgr_queue_get_num_messages(desc, qinst); in ti_msgmgr_queue_rx_interrupt()
234 if (!msg_count) { in ti_msgmgr_queue_rx_interrupt()
291 int msg_count; in ti_msgmgr_queue_peek_data() local
301 msg_count = ti_msgmgr_queue_get_num_messages(desc, qinst); in ti_msgmgr_queue_peek_data()
303 return msg_count ? true : false; in ti_msgmgr_queue_peek_data()
318 int msg_count; in ti_msgmgr_last_tx_done() local
328 msg_count = ti_msgmgr_queue_get_num_messages(desc, qinst); in ti_msgmgr_last_tx_done()
332 return msg_count ? true : false; in ti_msgmgr_last_tx_done()
336 return msg_count ? false : true; in ti_msgmgr_last_tx_done()
[all …]
Dmailbox.c37 if (chan->msg_count == MBOX_TX_QUEUE_LEN) { in add_to_rbuf()
44 chan->msg_count++; in add_to_rbuf()
65 if (!chan->msg_count || chan->active_req) in msg_submit()
68 count = chan->msg_count; in msg_submit()
83 chan->msg_count--; in msg_submit()
348 chan->msg_count = 0; in mbox_request_channel()
Dpcc.c262 chan->msg_count = 0; in pcc_mbox_request_channel()
Domap-mailbox.c445 chan->msg_count = 0; in omap_mbox_request_channel()
/Linux-v4.19/include/linux/
Dntb.h320 int (*msg_count)(struct ntb_dev *ntb); member
383 !ops->msg_inbits == !ops->msg_count && in ntb_dev_ops_is_valid()
384 !ops->msg_outbits == !ops->msg_count && in ntb_dev_ops_is_valid()
385 !ops->msg_read_sts == !ops->msg_count && in ntb_dev_ops_is_valid()
386 !ops->msg_clear_sts == !ops->msg_count && in ntb_dev_ops_is_valid()
389 !ops->msg_read == !ops->msg_count && in ntb_dev_ops_is_valid()
390 !ops->peer_msg_write == !ops->msg_count && in ntb_dev_ops_is_valid()
1355 if (!ntb->ops->msg_count) in ntb_msg_count()
1358 return ntb->ops->msg_count(ntb); in ntb_msg_count()
Dmailbox_controller.h123 unsigned msg_count, msg_free; member
Dn_r3964.h97 int msg_count; member
/Linux-v4.19/drivers/infiniband/hw/i40iw/
Di40iw_virtchnl.c324 vf_dev->msg_count--; in pf_cqp_get_hmc_fcn_callback()
368 vf_dev->msg_count--; in pf_add_hmc_obj_callback()
401 vf_dev->msg_count--; in pf_del_hmc_obj_callback()
461 if (!vf_dev->msg_count) { in i40iw_vchnl_recv_pf()
462 vf_dev->msg_count++; in i40iw_vchnl_recv_pf()
480 vf_dev->msg_count = 1; in i40iw_vchnl_recv_pf()
512 vf_dev->msg_count--; in i40iw_vchnl_recv_pf()
541 vf_dev->msg_count--; in i40iw_vchnl_recv_pf()
Di40iw_type.h445 u32 msg_count; member
/Linux-v4.19/drivers/input/touchscreen/
Dads7846.c120 int msg_count; member
704 while (msg_idx < ts->msg_count) { in ads7846_read_state()
720 if (msg_idx < ts->msg_count - 1) { in ads7846_read_state()
731 msg_idx = ts->msg_count - 1; in ads7846_read_state()
994 ts->msg_count = 1; in ads7846_setup_spi_msg()
1038 ts->msg_count++; in ads7846_setup_spi_msg()
1083 ts->msg_count++; in ads7846_setup_spi_msg()
1114 ts->msg_count++; in ads7846_setup_spi_msg()
1147 ts->msg_count++; in ads7846_setup_spi_msg()
/Linux-v4.19/drivers/scsi/
Ddc395x.c258 u8 msg_count; member
993 srb->msg_count = 0; in build_srb()
1403 u8 *ptr = srb->msgout_buf + srb->msg_count; in build_sdtr()
1404 if (srb->msg_count > 1) { in build_sdtr()
1407 srb->msg_count, srb->msgout_buf[0], in build_sdtr()
1422 srb->msg_count += 5; in build_sdtr()
1433 u8 *ptr = srb->msgout_buf + srb->msg_count; in build_wdtr()
1434 if (srb->msg_count > 1) { in build_wdtr()
1437 srb->msg_count, srb->msgout_buf[0], in build_wdtr()
1445 srb->msg_count += 4; in build_wdtr()
[all …]
/Linux-v4.19/drivers/tty/
Dn_r3964.c764 while (pClient->msg_count) { in enable_signals()
800 pClient->msg_count = 0; in enable_signals()
843 if (pClient->msg_count < R3964_MAX_MSG_COUNT - 1) { in add_msg()
868 pClient->msg_count++; in add_msg()
909 pClient->msg_count--; in remove_msg()
1021 while (pClient->msg_count) { in r3964_close()
/Linux-v4.19/drivers/soundwire/
Dcadence_master.h148 unsigned int msg_count; member
Dcadence_master.c273 if (cdns->msg_count != count) { in _cdns_xfer_msg()
275 cdns->msg_count = count; in _cdns_xfer_msg()
318 if (cdns->msg_count != CDNS_SCP_RX_FIFOLEVEL) { in cdns_program_scp_addr()
320 cdns->msg_count = CDNS_SCP_RX_FIFOLEVEL; in cdns_program_scp_addr()
Dintel.c773 sdw->cdns.msg_count = 0; in intel_probe()
/Linux-v4.19/arch/powerpc/sysdev/
Dfsl_rio.h86 u32 msg_count; member
Dfsl_rmu.c425 pw->port_write_msg.msg_count++; in fsl_rio_port_write_handler()
/Linux-v4.19/drivers/net/can/usb/
Dems_usb.c444 u8 msg_count, start; in ems_usb_read_bulk_callback() local
446 msg_count = ibuf[0] & ~0x80; in ems_usb_read_bulk_callback()
450 while (msg_count) { in ems_usb_read_bulk_callback()
478 msg_count--; in ems_usb_read_bulk_callback()
/Linux-v4.19/drivers/spi/
Dspi-mpc52xx.c69 int msg_count; member
289 ms->msg_count++; in mpc52xx_spi_fsmstate_wait()
/Linux-v4.19/drivers/net/can/peak_canfd/
Dpeak_canfd.c477 struct pucan_rx_msg *msg_list, int msg_count) in peak_canfd_handle_msgs_list() argument
482 for (i = 0; i < msg_count; i++) { in peak_canfd_handle_msgs_list()
/Linux-v4.19/drivers/net/ethernet/amd/
Damd8111e.h672 __le16 msg_count; /* Received message len */ member
Damd8111e.c726 pkt_len = le16_to_cpu(lp->rx_ring[rx_index].msg_count) - 4; in amd8111e_rx_poll()
/Linux-v4.19/fs/
Dbuffer.c3307 static int msg_count; in SYSCALL_DEFINE2() local
3312 if (msg_count < 5) { in SYSCALL_DEFINE2()
3313 msg_count++; in SYSCALL_DEFINE2()
/Linux-v4.19/drivers/ntb/hw/idt/
Dntb_hw_idt.c2050 .msg_count = idt_ntb_msg_count,