Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/staging/wilc1000/
Dwilc_mon.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-v5.4/drivers/gpu/drm/vmwgfx/
Dvmwgfx_cmdbuf.c530 SVGACBHeader *cb_hdr = entry->cb_header; in vmw_cmdbuf_work_func() local
532 (entry->cmd + cb_hdr->errorOffset); in vmw_cmdbuf_work_func()
542 (unsigned long) cb_hdr->errorOffset); in vmw_cmdbuf_work_func()
551 (unsigned long) cb_hdr->errorOffset); in vmw_cmdbuf_work_func()
555 new_start_offset = cb_hdr->errorOffset + error_cmd_size; in vmw_cmdbuf_work_func()
557 if (new_start_offset >= cb_hdr->length) { in vmw_cmdbuf_work_func()
564 cb_hdr->ptr.mob.mobOffset += new_start_offset; in vmw_cmdbuf_work_func()
566 cb_hdr->ptr.pa += (u64) new_start_offset; in vmw_cmdbuf_work_func()
569 cb_hdr->length -= new_start_offset; in vmw_cmdbuf_work_func()
570 cb_hdr->errorOffset = 0; in vmw_cmdbuf_work_func()
[all …]