Searched refs:tx_sz (Results 1 – 3 of 3) sorted by relevance
/Linux-v6.6/drivers/net/wireless/intel/iwlwifi/mei/ |
D | main.c | 312 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 …]
|
/Linux-v6.6/drivers/firmware/ |
D | arm_scpi.c | 42 #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-v6.6/drivers/infiniband/ulp/rtrs/ |
D | rtrs-srv.c | 789 size_t tx_sz; in process_info_req() local 814 tx_sz = sizeof(*rsp); in process_info_req() 815 tx_sz += sizeof(rsp->desc[0]) * srv_path->mrs_num; in process_info_req() 816 tx_iu = rtrs_iu_alloc(1, tx_sz, GFP_KERNEL, srv_path->s.dev->ib_dev, in process_info_req() 870 err = rtrs_iu_post_send(&con->c, tx_iu, tx_sz, reg_wr); in process_info_req()
|