Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/wireless/microchip/wilc1000/
Dmon.c29 struct wilc_wfi_radiotap_cb_hdr *cb_hdr; in wilc_wfi_monitor_rx() local
48 skb = dev_alloc_skb(size + sizeof(*cb_hdr)); in wilc_wfi_monitor_rx()
54 cb_hdr = skb_push(skb, sizeof(*cb_hdr)); in wilc_wfi_monitor_rx()
55 memset(cb_hdr, 0, sizeof(*cb_hdr)); in wilc_wfi_monitor_rx()
57 cb_hdr->hdr.it_version = 0; /* PKTHDR_RADIOTAP_VERSION; */ in wilc_wfi_monitor_rx()
59 cb_hdr->hdr.it_len = cpu_to_le16(sizeof(*cb_hdr)); in wilc_wfi_monitor_rx()
61 cb_hdr->hdr.it_present = cpu_to_le32(TX_RADIOTAP_PRESENT); in wilc_wfi_monitor_rx()
63 cb_hdr->rate = 5; in wilc_wfi_monitor_rx()
67 cb_hdr->tx_flags = IEEE80211_RADIOTAP_F_TX_RTS; in wilc_wfi_monitor_rx()
69 cb_hdr->tx_flags = IEEE80211_RADIOTAP_F_TX_FAIL; in wilc_wfi_monitor_rx()
[all …]
/linux-6.1.9/drivers/gpu/drm/vmwgfx/
Dvmwgfx_cmdbuf.c531 SVGACBHeader *cb_hdr = entry->cb_header; in vmw_cmdbuf_work_func() local
533 (entry->cmd + cb_hdr->errorOffset); in vmw_cmdbuf_work_func()
543 (unsigned long) cb_hdr->errorOffset); in vmw_cmdbuf_work_func()
552 (unsigned long) cb_hdr->errorOffset); in vmw_cmdbuf_work_func()
556 new_start_offset = cb_hdr->errorOffset + error_cmd_size; in vmw_cmdbuf_work_func()
558 if (new_start_offset >= cb_hdr->length) { in vmw_cmdbuf_work_func()
565 cb_hdr->ptr.mob.mobOffset += new_start_offset; in vmw_cmdbuf_work_func()
567 cb_hdr->ptr.pa += (u64) new_start_offset; in vmw_cmdbuf_work_func()
570 cb_hdr->length -= new_start_offset; in vmw_cmdbuf_work_func()
571 cb_hdr->errorOffset = 0; in vmw_cmdbuf_work_func()
[all …]
/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/mei/
Dmain.c500 struct iwl_sap_cb_data *cb_hdr = skb_push(skb, sizeof(*cb_hdr)); in iwl_mei_add_data_to_ring() local
502 memset(cb_hdr, 0, sizeof(*cb_hdr)); in iwl_mei_add_data_to_ring()
503 cb_hdr->hdr.type = cpu_to_le16(SAP_MSG_CB_DATA_PACKET); in iwl_mei_add_data_to_ring()
504 cb_hdr->hdr.len = cpu_to_le16(skb->len - sizeof(cb_hdr->hdr)); in iwl_mei_add_data_to_ring()
505 cb_hdr->hdr.seq_num = cpu_to_le32(atomic_inc_return(&mei->sap_seq_no)); in iwl_mei_add_data_to_ring()
506 cb_hdr->to_me_filt_status = cpu_to_le32(BIT(CB_TX_DHCP_FILT_IDX)); in iwl_mei_add_data_to_ring()
507 cb_hdr->data_len = cpu_to_le32(skb->len - sizeof(*cb_hdr)); in iwl_mei_add_data_to_ring()