Home
last modified time | relevance | path

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

/drivers/net/wireless/intel/iwlwifi/mei/
Dmain.c312 size_t tx_sz = sizeof(*hdr) + le16_to_cpu(hdr->len); in iwl_mei_write_cyclic_buf() local
323 if (room_in_buf < tx_sz) { in iwl_mei_write_cyclic_buf()
329 if (wr + tx_sz <= q_sz) { in iwl_mei_write_cyclic_buf()
330 memcpy(q_head + wr, hdr, tx_sz); in iwl_mei_write_cyclic_buf()
333 memcpy(q_head, (const u8 *)hdr + q_sz - wr, tx_sz - (q_sz - wr)); in iwl_mei_write_cyclic_buf()
336 WRITE_ONCE(notif_q->wr_ptr, cpu_to_le32((wr + tx_sz) % q_sz)); in iwl_mei_write_cyclic_buf()
448 size_t tx_sz; in iwl_mei_add_data_to_ring() local
488 tx_sz = skb->len + hdr_sz; in iwl_mei_add_data_to_ring()
499 if (room_in_buf < tx_sz) { in iwl_mei_add_data_to_ring()
530 if (wr + tx_sz <= q_sz) { in iwl_mei_add_data_to_ring()
[all …]
/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))
/drivers/infiniband/ulp/rtrs/
Drtrs-srv.c796 size_t tx_sz; in process_info_req() local
821 tx_sz = sizeof(*rsp); in process_info_req()
822 tx_sz += sizeof(rsp->desc[0]) * srv_path->mrs_num; in process_info_req()
823 tx_iu = rtrs_iu_alloc(1, tx_sz, GFP_KERNEL, srv_path->s.dev->ib_dev, in process_info_req()
886 err = rtrs_iu_post_send(&con->c, tx_iu, tx_sz, reg_wr); in process_info_req()