Home
last modified time | relevance | path

Searched refs:cap (Results 1 – 25 of 922) sorted by relevance

12345678910>>...37

/linux/drivers/staging/greybus/
H A Dauthentication.c50 struct gb_cap *cap = container_of(kref, struct gb_cap, kref); in cap_kref_release() local
52 kfree(cap); in cap_kref_release()
60 static void put_cap(struct gb_cap *cap) in put_cap() argument
62 kref_put(&cap->kref, cap_kref_release); in put_cap()
68 struct gb_cap *cap; in get_cap() local
72 list_for_each_entry(cap, &cap_list, node) { in get_cap()
73 if (&cap->cdev == cdev) { in get_cap()
74 kref_get(&cap->kref); in get_cap()
79 cap = NULL; in get_cap()
84 return cap; in get_cap()
[all …]
/linux/drivers/net/ethernet/samsung/sxgbe/
H A Dsxgbe_reg.h409 #define SXGBE_HW_FEAT_GMII(cap) ((cap & 0x00000002) >> 1) argument
410 #define SXGBE_HW_FEAT_VLAN_HASH_FILTER(cap) ((cap & 0x00000010) >> 4) argument
411 #define SXGBE_HW_FEAT_SMA(cap) ((cap & 0x00000020) >> 5) argument
412 #define SXGBE_HW_FEAT_PMT_TEMOTE_WOP(cap) ((cap & 0x00000040) >> 6) argument
413 #define SXGBE_HW_FEAT_PMT_MAGIC_PKT(cap) ((cap & 0x00000080) >> 7) argument
414 #define SXGBE_HW_FEAT_RMON(cap) ((cap & 0x00000100) >> 8) argument
415 #define SXGBE_HW_FEAT_ARP_OFFLOAD(cap) ((cap & 0x00000200) >> 9) argument
416 #define SXGBE_HW_FEAT_IEEE1500_2008(cap) ((cap & 0x00001000) >> 12) argument
417 #define SXGBE_HW_FEAT_EEE(cap) ((cap & 0x00002000) >> 13) argument
418 #define SXGBE_HW_FEAT_TX_CSUM_OFFLOAD(cap) ((cap & 0x00004000) >> 14) argument
[all …]
/linux/drivers/vfio/pci/
H A Dvfio_pci_zdev.c25 struct vfio_device_info_cap_zpci_base cap = { in zpci_base_cap() local
38 return vfio_info_add_capability(caps, &cap.header, sizeof(cap)); in zpci_base_cap()
46 struct vfio_device_info_cap_zpci_group cap = { in zpci_group_cap() local
60 return vfio_info_add_capability(caps, &cap.header, sizeof(cap)); in zpci_group_cap()
68 struct vfio_device_info_cap_zpci_util *cap; in zpci_util_cap() local
69 int cap_size = sizeof(*cap) + CLP_UTIL_STR_LEN; in zpci_util_cap()
72 cap = kmalloc(cap_size, GFP_KERNEL); in zpci_util_cap()
73 if (!cap) in zpci_util_cap()
76 cap->header.id = VFIO_DEVICE_INFO_CAP_ZPCI_UTIL; in zpci_util_cap()
77 cap->header.version = 1; in zpci_util_cap()
[all …]
/linux/drivers/staging/media/starfive/camss/
H A Dstf-capture.c78 struct stf_capture *cap = to_stf_capture(video); in stf_init_addrs() local
79 struct stf_v_buf *output = &cap->buffers; in stf_init_addrs()
90 if (cap->type == STF_CAPTURE_RAW) in stf_init_addrs()
92 else if (cap->type == STF_CAPTURE_YUV) in stf_init_addrs()
112 struct stf_capture *cap = to_stf_capture(video); in stf_cap_s_cfg() local
113 struct stf_v_buf *output = &cap->buffers; in stf_cap_s_cfg()
137 struct stf_capture *cap = to_stf_capture(video); in stf_cap_s_cleanup() local
138 struct stf_v_buf *output = &cap->buffers; in stf_cap_s_cleanup()
152 struct stf_capture *cap = to_stf_capture(video); in stf_wr_data_en() local
153 struct stfcamss *stfcamss = cap->video.stfcamss; in stf_wr_data_en()
[all …]
/linux/drivers/media/platform/qcom/venus/
H A Dhfi_parser.c14 typedef void (*func)(struct hfi_plat_caps *cap, const void *data,
19 struct hfi_plat_caps *caps = core->caps, *cap; in init_codecs() local
26 cap = &caps[core->codecs_count++]; in init_codecs()
27 cap->codec = BIT(bit); in init_codecs()
28 cap->domain = VIDC_SESSION_TYPE_DEC; in init_codecs()
29 cap->valid = false; in init_codecs()
33 cap = &caps[core->codecs_count++]; in init_codecs()
34 cap->codec = BIT(bit); in init_codecs()
35 cap->domain = VIDC_SESSION_TYPE_ENC; in init_codecs()
36 cap->valid = false; in init_codecs()
[all …]
/linux/drivers/thunderbolt/
H A Dlc.c62 int cap, ret; in tb_lc_reset_port() local
68 cap = find_port_lc_cap(port); in tb_lc_reset_port()
69 if (cap < 0) in tb_lc_reset_port()
70 return cap; in tb_lc_reset_port()
72 ret = tb_sw_read(sw, &mode, TB_CFG_SWITCH, cap + TB_LC_PORT_MODE, 1); in tb_lc_reset_port()
78 ret = tb_sw_write(sw, &mode, TB_CFG_SWITCH, cap + TB_LC_PORT_MODE, 1); in tb_lc_reset_port()
84 ret = tb_sw_read(sw, &mode, TB_CFG_SWITCH, cap + TB_LC_PORT_MODE, 1); in tb_lc_reset_port()
90 return tb_sw_write(sw, &mode, TB_CFG_SWITCH, cap + TB_LC_PORT_MODE, 1); in tb_lc_reset_port()
98 int cap, ret; in tb_lc_set_port_configured() local
103 cap = find_port_lc_cap(port); in tb_lc_set_port_configured()
[all …]
H A Dcap.c87 static int __tb_port_find_cap(struct tb_port *port, enum tb_port_cap cap) in __tb_port_find_cap() argument
103 if (header.basic.cap == cap) in __tb_port_find_cap()
119 int tb_port_find_cap(struct tb_port *port, enum tb_port_cap cap) in tb_port_find_cap() argument
127 ret = __tb_port_find_cap(port, cap); in tb_port_find_cap()
157 switch (header.basic.cap) { in tb_switch_next_cap()
171 header.basic.cap, offset); in tb_switch_next_cap()
188 int tb_switch_find_cap(struct tb_switch *sw, enum tb_switch_cap cap) in tb_switch_find_cap() argument
204 if (header.basic.cap == cap) in tb_switch_find_cap()
237 if (header.extended_short.cap == TB_SWITCH_CAP_VSE && in tb_switch_find_vse_cap()
/linux/fs/ceph/
H A Dcaps.c138 struct ceph_cap *cap; in ceph_caps_finalize() local
142 cap = list_first_entry(&mdsc->caps_list, in ceph_caps_finalize()
144 list_del(&cap->caps_item); in ceph_caps_finalize()
145 kmem_cache_free(ceph_cap_cachep, cap); in ceph_caps_finalize()
171 struct ceph_cap *cap; in __ceph_unreserve_caps() local
181 cap = list_first_entry(&mdsc->caps_list, in __ceph_unreserve_caps()
183 list_del(&cap->caps_item); in __ceph_unreserve_caps()
184 kmem_cache_free(ceph_cap_cachep, cap); in __ceph_unreserve_caps()
208 struct ceph_cap *cap; in ceph_reserve_caps() local
233 cap = kmem_cache_alloc(ceph_cap_cachep, GFP_NOFS); in ceph_reserve_caps()
[all …]
/linux/drivers/net/wireless/ath/wcn36xx/
H A Dfirmware.c82 enum wcn36xx_firmware_feat_caps cap) in wcn36xx_firmware_set_feat_caps() argument
86 if (cap < 0 || cap > 127) { in wcn36xx_firmware_set_feat_caps()
87 wcn36xx_warn("error cap idx %d\n", cap); in wcn36xx_firmware_set_feat_caps()
91 arr_idx = cap / 32; in wcn36xx_firmware_set_feat_caps()
92 bit_idx = cap % 32; in wcn36xx_firmware_set_feat_caps()
97 enum wcn36xx_firmware_feat_caps cap) in wcn36xx_firmware_get_feat_caps() argument
101 if (cap < 0 || cap > 127) { in wcn36xx_firmware_get_feat_caps()
102 wcn36xx_warn("error cap idx %d\n", cap); in wcn36xx_firmware_get_feat_caps()
106 arr_idx = cap / 32; in wcn36xx_firmware_get_feat_caps()
107 bit_idx = cap % 32; in wcn36xx_firmware_get_feat_caps()
[all …]
/linux/kernel/
H A Dcapability.c269 * @cap: The capability to be tested for
277 struct user_namespace *ns, int cap)
282 ret = security_capable(__task_cred(t), ns, cap, CAP_OPT_NONE); in has_ns_capability()
291 * @cap: The capability to be tested for
298 bool has_capability(struct task_struct *t, int cap)
300 return has_ns_capability(t, &init_user_ns, cap);
309 * @cap: The capability to be tested for
318 struct user_namespace *ns, int cap)
323 ret = security_capable(__task_cred(t), ns, cap, CAP_OPT_NOAUDIT); in has_ns_capability_noaudit()
333 * @cap
281 has_ns_capability(struct task_struct * t,struct user_namespace * ns,int cap) has_ns_capability() argument
302 has_capability(struct task_struct * t,int cap) has_capability() argument
322 has_ns_capability_noaudit(struct task_struct * t,struct user_namespace * ns,int cap) has_ns_capability_noaudit() argument
345 has_capability_noaudit(struct task_struct * t,int cap) has_capability_noaudit() argument
352 ns_capable_common(struct user_namespace * ns,int cap,unsigned int opts) ns_capable_common() argument
381 ns_capable(struct user_namespace * ns,int cap) ns_capable() argument
399 ns_capable_noaudit(struct user_namespace * ns,int cap) ns_capable_noaudit() argument
418 ns_capable_setid(struct user_namespace * ns,int cap) ns_capable_setid() argument
434 capable(int cap) capable() argument
454 file_ns_capable(const struct file * file,struct user_namespace * ns,int cap) file_ns_capable() argument
494 capable_wrt_inode_uidgid(struct mnt_idmap * idmap,const struct inode * inode,int cap) capable_wrt_inode_uidgid() argument
[all...]
/linux/drivers/infiniband/core/
H A Duverbs_std_types_qp.c65 struct ib_uverbs_qp_cap *cap, bool req) in set_caps() argument
68 attr->cap.max_send_wr = cap->max_send_wr; in set_caps()
69 attr->cap.max_recv_wr = cap->max_recv_wr; in set_caps()
70 attr->cap.max_send_sge = cap->max_send_sge; in set_caps()
71 attr->cap.max_recv_sge = cap->max_recv_sge; in set_caps()
72 attr->cap.max_inline_data = cap->max_inline_data; in set_caps()
74 cap->max_send_wr = attr->cap.max_send_wr; in set_caps()
75 cap->max_recv_wr = attr->cap.max_recv_wr; in set_caps()
76 cap->max_send_sge = attr->cap.max_send_sge; in set_caps()
77 cap->max_recv_sge = attr->cap.max_recv_sge; in set_caps()
[all …]
/linux/include/linux/
H A Dcapability.h142 extern bool has_capability(struct task_struct *t, int cap);
144 struct user_namespace *ns, int cap);
145 extern bool has_capability_noaudit(struct task_struct *t, int cap);
147 struct user_namespace *ns, int cap);
148 extern bool capable(int cap);
149 extern bool ns_capable(struct user_namespace *ns, int cap);
150 extern bool ns_capable_noaudit(struct user_namespace *ns, int cap);
151 extern bool ns_capable_setid(struct user_namespace *ns, int cap);
153 static inline bool has_capability(struct task_struct *t, int cap) in has_capability() argument
158 struct user_namespace *ns, int cap) in has_ns_capability() argument
[all …]
/linux/drivers/gpu/drm/hisilicon/hibmc/dp/
H A Ddp_link.c19 dp->link.cap.lanes == 0x2 ? 0x3 : 0x1); in hibmc_dp_link_training_configure()
21 dp->link.cap.lanes == 0x2 ? 0x1 : 0); in hibmc_dp_link_training_configure()
27 buf[0] = dp->link.cap.link_rate; in hibmc_dp_link_training_configure()
28 buf[1] = DP_LANE_COUNT_ENHANCED_FRAME_EN | dp->link.cap.lanes; in hibmc_dp_link_training_configure()
110 for (i = 0; i < dp->link.cap.lanes; i++) in hibmc_dp_link_training_cr_pre()
113 ret = drm_dp_dpcd_write(&dp->aux, DP_TRAINING_LANE0_SET, train_set, dp->link.cap.lanes); in hibmc_dp_link_training_cr_pre()
114 if (ret != dp->link.cap.lanes) { in hibmc_dp_link_training_cr_pre()
128 for (lane = 0; lane < dp->link.cap.lanes; lane++) in hibmc_dp_link_get_adjust_train()
142 switch (dp->link.cap.link_rate) { in hibmc_dp_link_reduce_rate()
144 dp->link.cap.link_rate = DP_LINK_BW_1_62; in hibmc_dp_link_reduce_rate()
[all …]
/linux/drivers/char/tpm/
H A Dtpm-sysfs.c85 cap_t cap; in pcrs_show() local
94 if (tpm1_getcap(chip, TPM_CAP_PROP_PCR, &cap, in pcrs_show()
96 sizeof(cap.num_pcrs))) { in pcrs_show()
101 num_pcrs = be32_to_cpu(cap.num_pcrs); in pcrs_show()
122 cap_t cap; in enabled_show() local
127 if (tpm1_getcap(chip, TPM_CAP_FLAG_PERM, &cap, in enabled_show()
129 sizeof(cap.perm_flags))) in enabled_show()
132 rc = sprintf(buf, "%d\n", !cap.perm_flags.disable); in enabled_show()
144 cap_t cap; in active_show() local
149 if (tpm1_getcap(chip, TPM_CAP_FLAG_PERM, &cap, in active_show()
[all …]
/linux/tools/testing/selftests/landlock/
H A Dcommon.h84 const cap_flag_t flag, const cap_value_t cap, in _change_cap() argument
91 EXPECT_NE(-1, cap_set_flag(cap_p, flag, 1, &cap, value)); in _change_cap()
94 TH_LOG("Failed to set capability %d: %s", cap, strerror(errno)); in _change_cap()
100 const cap_value_t cap) in set_cap() argument
102 _change_cap(_metadata, CAP_EFFECTIVE, cap, CAP_SET); in set_cap()
106 const cap_value_t cap) in clear_cap() argument
108 _change_cap(_metadata, CAP_EFFECTIVE, cap, CAP_CLEAR); in clear_cap()
112 set_ambient_cap(struct __test_metadata *const _metadata, const cap_value_t cap) in set_ambient_cap() argument
114 _change_cap(_metadata, CAP_INHERITABLE, cap, CAP_SET); in set_ambient_cap()
116 EXPECT_NE(-1, cap_set_ambient(cap, CAP_SET)) in set_ambient_cap()
[all …]
/linux/drivers/infiniband/hw/hfi1/
H A Dcommon.h45 #define HFI1_CAP_KSET(cap) ({ hfi1_cap_mask |= HFI1_CAP_##cap; hfi1_cap_mask; }) argument
46 #define HFI1_CAP_KCLEAR(cap) \ argument
48 hfi1_cap_mask &= ~HFI1_CAP_##cap; \
51 #define HFI1_CAP_USET(cap) \ argument
53 hfi1_cap_mask |= (HFI1_CAP_##cap << HFI1_CAP_USER_SHIFT); \
56 #define HFI1_CAP_UCLEAR(cap) \ argument
58 hfi1_cap_mask &= ~(HFI1_CAP_##cap << HFI1_CAP_USER_SHIFT); \
61 #define HFI1_CAP_SET(cap) \ argument
63 hfi1_cap_mask |= (HFI1_CAP_##cap | (HFI1_CAP_##cap << \
67 #define HFI1_CAP_CLEAR(cap) \ argument
[all …]
/linux/drivers/platform/surface/aggregator/
H A Dssh_parser.h27 size_t cap; member
39 static inline void sshp_buf_init(struct sshp_buf *buf, u8 *ptr, size_t cap) in sshp_buf_init() argument
43 buf->cap = cap; in sshp_buf_init()
57 static inline int sshp_buf_alloc(struct sshp_buf *buf, size_t cap, gfp_t flags) in sshp_buf_alloc() argument
61 ptr = kzalloc(cap, flags); in sshp_buf_alloc()
65 sshp_buf_init(buf, ptr, cap); in sshp_buf_alloc()
82 buf->cap = 0; in sshp_buf_free()
116 n = kfifo_out(fifo, buf->ptr + buf->len, buf->cap - buf->len); in sshp_buf_read_from_fifo()
/linux/drivers/pci/pcie/
H A Dptm.c43 u32 cap; in pci_ptm_init() local
56 pci_read_config_dword(dev, ptm + PCI_PTM_CAP, &cap); in pci_ptm_init()
57 dev->ptm_granularity = FIELD_GET(PCI_PTM_GRANULARITY_MASK, cap); in pci_ptm_init()
71 } else if (cap & PCI_PTM_CAP_ROOT) { in pci_ptm_init()
92 u32 *cap; in pci_save_ptm_state() local
101 cap = (u32 *)&save_state->cap.data[0]; in pci_save_ptm_state()
102 pci_read_config_dword(dev, ptm + PCI_PTM_CTRL, cap); in pci_save_ptm_state()
109 u32 *cap; in pci_restore_ptm_state() local
118 cap = (u32 *)&save_state->cap.data[0]; in pci_restore_ptm_state()
119 pci_write_config_dword(dev, ptm + PCI_PTM_CTRL, *cap); in pci_restore_ptm_state()
/linux/drivers/net/ethernet/netronome/nfp/bpf/
H A Dmain.c29 return nn->cap & NFP_NET_CFG_CTRL_BPF && in nfp_net_ebpf_capable()
209 struct nfp_bpf_cap_tlv_adjust_head __iomem *cap = value; in nfp_bpf_parse_cap_adjust_head() local
212 if (length < sizeof(*cap)) { in nfp_bpf_parse_cap_adjust_head()
217 bpf->adjust_head.flags = readl(&cap->flags); in nfp_bpf_parse_cap_adjust_head()
218 bpf->adjust_head.off_min = readl(&cap->off_min); in nfp_bpf_parse_cap_adjust_head()
219 bpf->adjust_head.off_max = readl(&cap->off_max); in nfp_bpf_parse_cap_adjust_head()
220 bpf->adjust_head.guaranteed_sub = readl(&cap->guaranteed_sub); in nfp_bpf_parse_cap_adjust_head()
221 bpf->adjust_head.guaranteed_add = readl(&cap->guaranteed_add); in nfp_bpf_parse_cap_adjust_head()
240 struct nfp_bpf_cap_tlv_func __iomem *cap = value; in nfp_bpf_parse_cap_func() local
242 if (length < sizeof(*cap)) { in nfp_bpf_parse_cap_func()
[all …]
/linux/arch/arm64/include/asm/
H A Dalternative-macros.h102 .macro alternative_insn insn1, insn2, cap, enable = 1
106 altinstruction_entry 661b, 663f, \cap, 662b-661b, 664f-663f
138 .macro alternative_if_not cap
141 altinstruction_entry 661f, 663f, \cap, 662f-661f, 664f-663f
146 .macro alternative_if cap
149 altinstruction_entry 663f, 661f, \cap, 664f-663f, 662f-661f
156 .macro alternative_cb cap, cb
159 altinstruction_entry 661f, \cb, (1 << ARM64_CB_SHIFT) | \cap, 662f-661f, 0
207 #define _ALTERNATIVE_CFG(insn1, insn2, cap, cfg, ...) \ argument
208 alternative_insn insn1, insn2, cap, IS_ENABLED(cfg)
/linux/drivers/net/wireless/intel/iwlwifi/
H A Diwl-nvm-utils.c65 ht_info->cap = IEEE80211_HT_CAP_DSSSCCK40; in iwl_init_ht_hw_capab()
68 ht_info->cap |= (1 << IEEE80211_HT_CAP_RX_STBC_SHIFT); in iwl_init_ht_hw_capab()
71 ht_info->cap |= IEEE80211_HT_CAP_TX_STBC; in iwl_init_ht_hw_capab()
75 ht_info->cap |= IEEE80211_HT_CAP_LDPC_CODING; in iwl_init_ht_hw_capab()
79 ht_info->cap |= IEEE80211_HT_CAP_MAX_AMSDU; in iwl_init_ht_hw_capab()
94 ht_info->cap |= IEEE80211_HT_CAP_GRN_FLD; in iwl_init_ht_hw_capab()
95 ht_info->cap |= IEEE80211_HT_CAP_SGI_20; in iwl_init_ht_hw_capab()
100 ht_info->cap |= IEEE80211_HT_CAP_SUP_WIDTH_20_40; in iwl_init_ht_hw_capab()
101 ht_info->cap |= IEEE80211_HT_CAP_SGI_40; in iwl_init_ht_hw_capab()
/linux/tools/power/acpi/tools/pfrut/
H A Dpfrut.c167 void print_cap(struct pfru_update_cap_info *cap) in print_cap() argument
177 printf("update capability:%d\n", cap->update_cap); in print_cap()
179 uuid_unparse(cap->code_type, uuid); in print_cap()
181 printf("fw_version:%d\n", cap->fw_version); in print_cap()
182 printf("code_rt_version:%d\n", cap->code_rt_version); in print_cap()
184 uuid_unparse(cap->drv_type, uuid); in print_cap()
186 printf("drv_rt_version:%d\n", cap->drv_rt_version); in print_cap()
187 printf("drv_svn:%d\n", cap->drv_svn); in print_cap()
189 uuid_unparse(cap->platform_id, uuid); in print_cap()
191 uuid_unparse(cap->oem_id, uuid); in print_cap()
[all …]
/linux/drivers/usb/typec/
H A Dpd.c395 static int add_pdo(struct usb_power_delivery_capabilities *cap, u32 pdo, int position) in add_pdo() argument
412 dev_warn(&cap->dev, "Unknown APDO type. PDO 0x%08x\n", pdo); in add_pdo()
417 if (is_source(cap->role)) in add_pdo()
424 if (is_source(cap->role)) in add_pdo()
432 p->dev.parent = &cap->dev; in add_pdo()
483 struct usb_power_delivery_capabilities *cap; in usb_power_delivery_register_capabilities() local
487 cap = kzalloc(sizeof(*cap), GFP_KERNEL); in usb_power_delivery_register_capabilities()
488 if (!cap) in usb_power_delivery_register_capabilities()
491 cap->pd = pd; in usb_power_delivery_register_capabilities()
492 cap->role = desc->role; in usb_power_delivery_register_capabilities()
[all …]
/linux/drivers/vdpa/octeon_ep/
H A Doctep_vdpa_hw.c372 static void __iomem *octep_get_cap_addr(struct octep_hw *oct_hw, struct virtio_pci_cap *cap) in octep_get_cap_addr()
375 u32 length = le32_to_cpu(cap->length); in octep_get_cap_addr()
376 u32 offset = le32_to_cpu(cap->offset); in octep_get_cap_addr()
377 u8 bar = cap->bar; in octep_get_cap_addr()
391 dev_err(dev, "invalid cap: overflows bar space: %u > %u\n",
448 struct virtio_pci_cap cap; in octep_hw_caps_read()
463 octep_pci_caps_read(oct_hw, &cap, 2, pos); in octep_hw_caps_read()
465 if (cap.cap_vndr != PCI_CAP_ID_VNDR) { in octep_hw_caps_read()
466 dev_err(dev, "Found invalid capability vndr id: %d\n", cap.cap_vndr); in octep_hw_caps_read()
470 octep_pci_caps_read(oct_hw, &cap, sizeo in octep_hw_caps_read()
364 octep_get_cap_addr(struct octep_hw * oct_hw,struct virtio_pci_cap * cap) octep_get_cap_addr() argument
423 struct virtio_pci_cap cap; octep_hw_caps_read() local
[all...]
/linux/drivers/net/arcnet/
H A Dcapmode.c77 memcpy(pktbuf, pkthdrbuf, ARC_HDR_SIZE + sizeof(pkt->soft.cap.proto)); in rx()
78 memcpy(pktbuf + ARC_HDR_SIZE + sizeof(pkt->soft.cap.proto) + sizeof(int), in rx()
79 pkthdrbuf + ARC_HDR_SIZE + sizeof(pkt->soft.cap.proto), in rx()
80 sizeof(struct archdr) - ARC_HDR_SIZE - sizeof(pkt->soft.cap.proto)); in rx()
107 *((int *)&pkt->soft.cap.cookie[0])); in build_header()
148 *((int *)&pkt->soft.cap.cookie[0])); in prepare_tx()
171 lp->hw.copy_to_card(dev, bufnum, ofs, &pkt->soft.cap.proto, in prepare_tx()
172 sizeof(pkt->soft.cap.proto)); in prepare_tx()
178 ((unsigned char *)&pkt->soft.cap.mes), length - 1); in prepare_tx()
212 ackpkt->soft.cap.proto = 0; /* using protocol 0 for acknowledge */ in ack_tx()
[all …]

12345678910>>...37