Home
last modified time | relevance | path

Searched refs:tx_sz (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/mei/
Dmain.c300 size_t tx_sz = sizeof(*hdr) + le16_to_cpu(hdr->len); in iwl_mei_write_cyclic_buf() local
311 if (room_in_buf < tx_sz) { in iwl_mei_write_cyclic_buf()
317 if (wr + tx_sz <= q_sz) { in iwl_mei_write_cyclic_buf()
318 memcpy(q_head + wr, hdr, tx_sz); in iwl_mei_write_cyclic_buf()
321 memcpy(q_head, (const u8 *)hdr + q_sz - wr, tx_sz - (q_sz - wr)); in iwl_mei_write_cyclic_buf()
324 WRITE_ONCE(notif_q->wr_ptr, cpu_to_le32((wr + tx_sz) % q_sz)); in iwl_mei_write_cyclic_buf()
436 size_t tx_sz; in iwl_mei_add_data_to_ring() local
476 tx_sz = skb->len + hdr_sz; in iwl_mei_add_data_to_ring()
487 if (room_in_buf < tx_sz) { in iwl_mei_add_data_to_ring()
518 if (wr + tx_sz <= q_sz) { in iwl_mei_add_data_to_ring()
[all …]
/linux-6.1.9/drivers/firmware/
Darm_scpi.c42 #define PACK_SCPI_CMD(cmd_id, tx_sz) \ argument
44 FIELD_PREP(CMD_DATA_SIZE_MASK, tx_sz))
45 #define PACK_LEGACY_SCPI_CMD(cmd_id, tx_sz) \ argument
47 FIELD_PREP(CMD_LEGACY_DATA_SIZE_MASK, tx_sz))
/linux-6.1.9/drivers/infiniband/ulp/rtrs/
Drtrs-srv.c794 size_t tx_sz; in process_info_req() local
819 tx_sz = sizeof(*rsp); in process_info_req()
820 tx_sz += sizeof(rsp->desc[0]) * srv_path->mrs_num; in process_info_req()
821 tx_iu = rtrs_iu_alloc(1, tx_sz, GFP_KERNEL, srv_path->s.dev->ib_dev, in process_info_req()
875 err = rtrs_iu_post_send(&con->c, tx_iu, tx_sz, reg_wr); in process_info_req()