Home
last modified time | relevance | path

Searched refs:num_msgs (Results 1 – 20 of 20) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/octeontx2/af/
Dmbox.c32 tx_hdr->num_msgs = 0; in __otx2_mbox_reset()
34 rx_hdr->num_msgs = 0; in __otx2_mbox_reset()
153 if (mdev->num_msgs == mdev->msgs_acked) in otx2_mbox_wait_for_rsp()
168 if (mdev->num_msgs == mdev->msgs_acked) in otx2_mbox_busy_poll_for_rsp()
209 tx_hdr->num_msgs = mdev->num_msgs; in otx2_mbox_msg_send()
210 rx_hdr->num_msgs = 0; in otx2_mbox_msg_send()
212 trace_otx2_msg_send(mbox->pdev, tx_hdr->num_msgs, tx_hdr->msg_size); in otx2_mbox_msg_send()
240 mdev->num_msgs = 0; in otx2_mbox_alloc_msg_rsp()
241 mdev->num_msgs++; in otx2_mbox_alloc_msg_rsp()
269 if (mdev->num_msgs != mdev->msgs_acked) in otx2_mbox_get_rsp()
[all …]
Drvu_trace.h33 TP_PROTO(const struct pci_dev *pdev, u16 num_msgs, u64 msg_size),
34 TP_ARGS(pdev, num_msgs, msg_size),
36 __field(u16, num_msgs)
40 __entry->num_msgs = num_msgs;
44 __entry->num_msgs, __entry->msg_size)
Drvu.c1604 if (mw->mbox_wrk[devid].num_msgs == 0) in __rvu_mbox_handler()
1609 for (id = 0; id < mw->mbox_wrk[devid].num_msgs; id++) { in __rvu_mbox_handler()
1642 mw->mbox_wrk[devid].num_msgs = 0; in __rvu_mbox_handler()
1872 if (hdr->num_msgs) { in rvu_queue_work()
1873 mw->mbox_wrk[i].num_msgs = hdr->num_msgs; in rvu_queue_work()
1874 hdr->num_msgs = 0; in rvu_queue_work()
1880 if (hdr->num_msgs) { in rvu_queue_work()
1881 mw->mbox_wrk_up[i].up_num_msgs = hdr->num_msgs; in rvu_queue_work()
1882 hdr->num_msgs = 0; in rvu_queue_work()
Dmbox.h58 u16 num_msgs; /* No of msgs sent or waiting for response */ member
79 u16 num_msgs; /* No of msgs embedded */ member
Drvu.h66 int num_msgs; member
/kernel/linux/linux-5.10/tools/testing/selftests/net/
Dudpgso_bench_tx.c560 static void print_audit_report(unsigned long num_msgs, unsigned long num_sends) in print_audit_report() argument
573 ((num_msgs * cfg_payload_len) >> 10) / tdelta, in print_audit_report()
575 num_msgs, num_msgs * 1000 / tdelta); in print_audit_report()
601 static void print_report(unsigned long num_msgs, unsigned long num_sends) in print_report() argument
606 (num_msgs * cfg_payload_len) >> 20, in print_report()
607 num_sends, num_msgs); in print_report()
610 total_num_msgs += num_msgs; in print_report()
617 unsigned long num_msgs, num_sends; in main() local
661 num_msgs = num_sends = 0; in main()
678 num_msgs++; in main()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_vf.c94 if (af_mbox->num_msgs == 0) in otx2vf_vfaf_mbox_handler()
98 for (id = 0; id < af_mbox->num_msgs; id++) { in otx2vf_vfaf_mbox_handler()
102 if (mdev->msgs_acked == (af_mbox->num_msgs - 1)) in otx2vf_vfaf_mbox_handler()
193 if (hdr->num_msgs) { in otx2vf_vfaf_mbox_intr_handler()
194 vf->mbox.num_msgs = hdr->num_msgs; in otx2vf_vfaf_mbox_intr_handler()
195 hdr->num_msgs = 0; in otx2vf_vfaf_mbox_intr_handler()
206 if (hdr->num_msgs) { in otx2vf_vfaf_mbox_intr_handler()
207 vf->mbox.up_num_msgs = hdr->num_msgs; in otx2vf_vfaf_mbox_intr_handler()
208 hdr->num_msgs = 0; in otx2vf_vfaf_mbox_intr_handler()
Dotx2_pf.c310 if (hdr->num_msgs) { in otx2_queue_work()
311 mw[i].num_msgs = hdr->num_msgs; in otx2_queue_work()
312 hdr->num_msgs = 0; in otx2_queue_work()
326 if (hdr->num_msgs) { in otx2_queue_work()
327 mw[i].up_num_msgs = hdr->num_msgs; in otx2_queue_work()
328 hdr->num_msgs = 0; in otx2_queue_work()
358 int dir, int vf, int num_msgs) in otx2_forward_vf_mbox_msgs() argument
387 dst_mdev->num_msgs = num_msgs; in otx2_forward_vf_mbox_msgs()
408 req_hdr->num_msgs = num_msgs; in otx2_forward_vf_mbox_msgs()
418 req_hdr->num_msgs = num_msgs; in otx2_forward_vf_mbox_msgs()
[all …]
Dotx2_common.h151 int num_msgs; /* mbox number of messages */ member
/kernel/linux/linux-5.10/drivers/i2c/busses/
Di2c-bcm2835.c62 int num_msgs; member
235 bool last_msg = (i2c_dev->num_msgs == 1); in bcm2835_i2c_start_transfer()
237 if (!i2c_dev->num_msgs) in bcm2835_i2c_start_transfer()
240 i2c_dev->num_msgs--; in bcm2835_i2c_start_transfer()
260 i2c_dev->num_msgs = 0; in bcm2835_i2c_finish_transfer()
311 if (i2c_dev->num_msgs && !i2c_dev->msg_buf_remaining) { in bcm2835_i2c_isr()
355 i2c_dev->num_msgs = num; in bcm2835_i2c_xfer()
Di2c-mv64xxx.c120 int num_msgs; member
351 BUG_ON(drv_data->num_msgs == 0); in mv64xxx_i2c_do_action()
354 drv_data->num_msgs--; in mv64xxx_i2c_do_action()
365 drv_data->send_stop = drv_data->num_msgs == 1; in mv64xxx_i2c_do_action()
467 if (drv_data->num_msgs == 1 && drv_data->msgs[0].flags & I2C_M_RD) { in mv64xxx_i2c_intr_offload()
470 drv_data->num_msgs--; in mv64xxx_i2c_intr_offload()
476 else if (drv_data->num_msgs == 2 && in mv64xxx_i2c_intr_offload()
481 drv_data->num_msgs -= 2; in mv64xxx_i2c_intr_offload()
604 int num = drv_data->num_msgs; in mv64xxx_i2c_offload_xfer()
669 int num = drv_data->num_msgs; in mv64xxx_i2c_can_offload()
[all …]
Di2c-efm32.c123 size_t num_msgs; member
156 if (ddata->current_msg >= ddata->num_msgs) { in efm32_i2c_send_next_byte()
181 if (ddata->current_msg >= ddata->num_msgs) { in efm32_i2c_recv_next_byte()
264 ddata->num_msgs = num; in efm32_i2c_master_xfer()
279 if (ddata->current_msg >= ddata->num_msgs) in efm32_i2c_master_xfer()
280 ret = ddata->num_msgs; in efm32_i2c_master_xfer()
Di2c-cros-ec-tunnel.c85 params->num_msgs = num; in ec_i2c_construct_message()
158 if (resp->num_msgs > *num) in ec_i2c_parse_response()
160 *num = resp->num_msgs; in ec_i2c_parse_response()
Di2c-nomadik.c662 struct i2c_msg msgs[], int num_msgs) in nmk_i2c_xfer() argument
676 for (i = 0; i < num_msgs; i++) { in nmk_i2c_xfer()
680 dev->stop = (i < (num_msgs - 1)) ? 0 : 1; in nmk_i2c_xfer()
697 return num_msgs; in nmk_i2c_xfer()
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
Dqsfp.c220 int num_msgs; in i2c_bus_write() local
226 num_msgs = 1; in i2c_bus_write()
236 num_msgs = 2; in i2c_bus_write()
254 ret = i2c_transfer(&i2c->adapter, msgs, num_msgs); in i2c_bus_write()
255 if (ret != num_msgs) { in i2c_bus_write()
268 int num_msgs; in i2c_bus_read() local
274 num_msgs = 1; in i2c_bus_read()
284 num_msgs = 2; in i2c_bus_read()
302 ret = i2c_transfer(&bus->adapter, msgs, num_msgs); in i2c_bus_read()
303 if (ret != num_msgs) { in i2c_bus_read()
/kernel/linux/linux-5.10/drivers/net/ethernet/apm/xgene/
Dxgene_enet_ring2.c174 u32 ring_state, num_msgs; in xgene_enet_ring_len() local
177 num_msgs = GET_VAL(X2_NUMMSGSINQ, ring_state); in xgene_enet_ring_len()
179 return num_msgs; in xgene_enet_ring_len()
Dxgene_enet_hw.c187 u32 ring_state, num_msgs; in xgene_enet_ring_len() local
190 num_msgs = GET_VAL(NUMMSGSINQ, ring_state); in xgene_enet_ring_len()
192 return num_msgs; in xgene_enet_ring_len()
/kernel/linux/linux-5.10/drivers/crypto/qat/qat_common/
Dadf_transport.c188 u32 bank_num, u32 num_msgs, in adf_create_ring() argument
208 if (ADF_MAX_INFLIGHTS(adf_verify_ring_size(msg_size, num_msgs), in adf_create_ring()
239 ring->ring_size = adf_verify_ring_size(msg_size, num_msgs); in adf_create_ring()
/kernel/linux/linux-5.10/include/linux/platform_data/
Dcros_ec_commands.h3917 uint8_t num_msgs; /* Number of messages */ member
3924 uint8_t num_msgs; /* Number of messages processed */ member
/kernel/linux/linux-5.10/drivers/media/dvb-frontends/drx39xyj/
Ddrxj.c1316 unsigned int num_msgs; in drxbsp_i2c_write_read() local
1325 num_msgs = 1; in drxbsp_i2c_write_read()
1333 num_msgs = 1; in drxbsp_i2c_write_read()
1345 num_msgs = 2; in drxbsp_i2c_write_read()
1352 if (i2c_transfer(state->i2c, msg, num_msgs) != num_msgs) { in drxbsp_i2c_write_read()
1374 num_msgs = 2; in drxbsp_i2c_write_read()