Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/staging/wilc1000/
Dlinux_mon.c37 struct wilc_wfi_radiotap_cb_hdr *cb_hdr; in wilc_wfi_monitor_rx() local
57 skb = dev_alloc_skb(size + sizeof(*cb_hdr)); in wilc_wfi_monitor_rx()
63 cb_hdr = skb_push(skb, sizeof(*cb_hdr)); in wilc_wfi_monitor_rx()
64 memset(cb_hdr, 0, sizeof(*cb_hdr)); in wilc_wfi_monitor_rx()
66 cb_hdr->hdr.it_version = 0; /* PKTHDR_RADIOTAP_VERSION; */ in wilc_wfi_monitor_rx()
68 cb_hdr->hdr.it_len = cpu_to_le16(sizeof(*cb_hdr)); in wilc_wfi_monitor_rx()
70 cb_hdr->hdr.it_present = cpu_to_le32(TX_RADIOTAP_PRESENT); in wilc_wfi_monitor_rx()
72 cb_hdr->rate = 5; in wilc_wfi_monitor_rx()
76 cb_hdr->tx_flags = IEEE80211_RADIOTAP_F_TX_RTS; in wilc_wfi_monitor_rx()
78 cb_hdr->tx_flags = IEEE80211_RADIOTAP_F_TX_FAIL; in wilc_wfi_monitor_rx()
[all …]
/Linux-v4.19/drivers/gpu/drm/vmwgfx/
Dvmwgfx_cmdbuf.c529 SVGACBHeader *cb_hdr = entry->cb_header; in vmw_cmdbuf_work_func() local
531 (entry->cmd + cb_hdr->errorOffset); in vmw_cmdbuf_work_func()
542 (unsigned long) cb_hdr->errorOffset); in vmw_cmdbuf_work_func()
550 (unsigned long) cb_hdr->errorOffset); in vmw_cmdbuf_work_func()
554 new_start_offset = cb_hdr->errorOffset + error_cmd_size; in vmw_cmdbuf_work_func()
556 if (new_start_offset >= cb_hdr->length) { in vmw_cmdbuf_work_func()
563 cb_hdr->ptr.mob.mobOffset += new_start_offset; in vmw_cmdbuf_work_func()
565 cb_hdr->ptr.pa += (u64) new_start_offset; in vmw_cmdbuf_work_func()
568 cb_hdr->length -= new_start_offset; in vmw_cmdbuf_work_func()
569 cb_hdr->errorOffset = 0; in vmw_cmdbuf_work_func()
[all …]