tlv               131 drivers/bluetooth/btqca.c 	struct tlv_type_hdr *tlv;
tlv               135 drivers/bluetooth/btqca.c 	tlv = (struct tlv_type_hdr *)fw->data;
tlv               137 drivers/bluetooth/btqca.c 	type_len = le32_to_cpu(tlv->type_len);
tlv               148 drivers/bluetooth/btqca.c 		tlv_patch = (struct tlv_type_patch *)tlv->data;
tlv               185 drivers/bluetooth/btqca.c 		data = tlv->data;
tlv               183 drivers/infiniband/hw/usnic/usnic_fwd.c static void fill_tlv(struct filter_tlv *tlv, struct filter *filter,
tlv               186 drivers/infiniband/hw/usnic/usnic_fwd.c 	tlv->type = CLSF_TLV_FILTER;
tlv               187 drivers/infiniband/hw/usnic/usnic_fwd.c 	tlv->length = sizeof(struct filter);
tlv               188 drivers/infiniband/hw/usnic/usnic_fwd.c 	*((struct filter *)&tlv->val) = *filter;
tlv               190 drivers/infiniband/hw/usnic/usnic_fwd.c 	tlv = (struct filter_tlv *)((char *)tlv + sizeof(struct filter_tlv) +
tlv               192 drivers/infiniband/hw/usnic/usnic_fwd.c 	tlv->type = CLSF_TLV_ACTION;
tlv               193 drivers/infiniband/hw/usnic/usnic_fwd.c 	tlv->length = sizeof(struct filter_action);
tlv               194 drivers/infiniband/hw/usnic/usnic_fwd.c 	*((struct filter_action *)&tlv->val) = *action;
tlv               201 drivers/infiniband/hw/usnic/usnic_fwd.c 	struct filter_tlv *tlv;
tlv               217 drivers/infiniband/hw/usnic/usnic_fwd.c 	tlv = pci_alloc_consistent(pdev, tlv_size, &tlv_pa);
tlv               218 drivers/infiniband/hw/usnic/usnic_fwd.c 	if (!tlv) {
tlv               224 drivers/infiniband/hw/usnic/usnic_fwd.c 	fill_tlv(tlv, filter, &uaction->action);
tlv               261 drivers/infiniband/hw/usnic/usnic_fwd.c 	pci_free_consistent(pdev, tlv_size, tlv, tlv_pa);
tlv               714 drivers/media/pci/cx88/cx88-alsa.c 	.tlv.p = snd_cx88_db_scale,
tlv               695 drivers/media/usb/em28xx/em28xx-audio.c 	tmp.tlv.p = em28xx_db_scale,
tlv              2257 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c 			struct vfpf_tpa_tlv *tlv,
tlv              2260 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c 	aligned_u64 *sge_addr = tlv->tpa_client_info.sge_addr;
tlv              2312 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c 			      enum channel_tlvs tlv)
tlv              2315 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c 	if (!bnx2x_tlv_supported(tlv)) {
tlv              2324 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c 	vf->op_current = tlv;
tlv              2328 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c 	   vf->abs_vfid, tlv);
tlv               248 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.h 			      enum channel_tlvs tlv);
tlv               474 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.h 			struct vfpf_tpa_tlv *tlv,
tlv                72 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c 	struct channel_tlv *tlv = (struct channel_tlv *)tlvs_list;
tlv                75 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c 		if (tlv->type == req_tlv)
tlv                76 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c 			return tlv;
tlv                78 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c 		if (!tlv->length) {
tlv                83 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c 		tlvs_list += tlv->length;
tlv                84 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c 		tlv = (struct channel_tlv *)tlvs_list;
tlv                85 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c 	} while (tlv->type != CHANNEL_TLV_LIST_END);
tlv                96 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c 	struct channel_tlv *tlv = (struct channel_tlv *)tlvs_list;
tlv                98 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c 	while (tlv->type != CHANNEL_TLV_LIST_END) {
tlv               101 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c 		   tlv->type, tlv->length);
tlv               104 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c 		tlvs_list += tlv->length;
tlv               107 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c 		tlv = (struct channel_tlv *)tlvs_list;
tlv               120 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c 	   tlv->type, tlv->length);
tlv              1648 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c 				     struct vfpf_set_q_filters_tlv *tlv,
tlv              1655 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c 	fl = kzalloc(struct_size(fl, filters, tlv->n_mac_vlan_filters),
tlv              1660 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c 	for (i = 0, j = 0; i < tlv->n_mac_vlan_filters; i++) {
tlv              1661 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c 		struct vfpf_q_mac_vlan_filter *msg_filter = &tlv->filters[i];
tlv              1212 drivers/net/ethernet/cisco/enic/vnic_dev.c 	struct filter_tlv *tlv, *tlv_va;
tlv              1223 drivers/net/ethernet/cisco/enic/vnic_dev.c 		tlv = tlv_va;
tlv              1226 drivers/net/ethernet/cisco/enic/vnic_dev.c 		memset(tlv, 0, tlv_size);
tlv              1227 drivers/net/ethernet/cisco/enic/vnic_dev.c 		tlv->type = CLSF_TLV_FILTER;
tlv              1228 drivers/net/ethernet/cisco/enic/vnic_dev.c 		tlv->length = sizeof(struct filter);
tlv              1229 drivers/net/ethernet/cisco/enic/vnic_dev.c 		*(struct filter *)&tlv->val = *data;
tlv              1231 drivers/net/ethernet/cisco/enic/vnic_dev.c 		tlv = (struct filter_tlv *)((char *)tlv +
tlv              1235 drivers/net/ethernet/cisco/enic/vnic_dev.c 		tlv->type = CLSF_TLV_ACTION;
tlv              1236 drivers/net/ethernet/cisco/enic/vnic_dev.c 		tlv->length = sizeof(struct filter_action);
tlv              1237 drivers/net/ethernet/cisco/enic/vnic_dev.c 		action = (struct filter_action *)&tlv->val;
tlv                53 drivers/net/ethernet/cisco/enic/vnic_vic.c 	struct vic_provinfo_tlv *tlv;
tlv                62 drivers/net/ethernet/cisco/enic/vnic_vic.c 	tlv = (struct vic_provinfo_tlv *)((u8 *)vp->tlv +
tlv                65 drivers/net/ethernet/cisco/enic/vnic_vic.c 	tlv->type = htons(type);
tlv                66 drivers/net/ethernet/cisco/enic/vnic_vic.c 	tlv->length = htons(length);
tlv                67 drivers/net/ethernet/cisco/enic/vnic_vic.c 	memcpy(tlv->value, value, length);
tlv                62 drivers/net/ethernet/cisco/enic/vnic_vic.h 	} tlv[0];
tlv                41 drivers/net/ethernet/intel/fm10k/fm10k_tlv.h #define FM10K_TLV_LEN_ALIGN(tlv) \
tlv                42 drivers/net/ethernet/intel/fm10k/fm10k_tlv.h 	(((tlv) + FM10K_TLV_LEN_ALIGN_MASK) & ~FM10K_TLV_LEN_ALIGN_MASK)
tlv                43 drivers/net/ethernet/intel/fm10k/fm10k_tlv.h #define FM10K_TLV_DWORD_LEN(tlv) \
tlv                44 drivers/net/ethernet/intel/fm10k/fm10k_tlv.h 	((u16)((FM10K_TLV_LEN_ALIGN(tlv)) >> (FM10K_TLV_LEN_SHIFT + 2)) + 1)
tlv                36 drivers/net/ethernet/intel/i40e/i40e_dcb.c static void i40e_parse_ieee_etscfg_tlv(struct i40e_lldp_org_tlv *tlv,
tlv                40 drivers/net/ethernet/intel/i40e/i40e_dcb.c 	u8 *buf = tlv->tlvinfo;
tlv               107 drivers/net/ethernet/intel/i40e/i40e_dcb.c static void i40e_parse_ieee_etsrec_tlv(struct i40e_lldp_org_tlv *tlv,
tlv               110 drivers/net/ethernet/intel/i40e/i40e_dcb.c 	u8 *buf = tlv->tlvinfo;
tlv               162 drivers/net/ethernet/intel/i40e/i40e_dcb.c static void i40e_parse_ieee_pfccfg_tlv(struct i40e_lldp_org_tlv *tlv,
tlv               165 drivers/net/ethernet/intel/i40e/i40e_dcb.c 	u8 *buf = tlv->tlvinfo;
tlv               189 drivers/net/ethernet/intel/i40e/i40e_dcb.c static void i40e_parse_ieee_app_tlv(struct i40e_lldp_org_tlv *tlv,
tlv               198 drivers/net/ethernet/intel/i40e/i40e_dcb.c 	typelength = ntohs(tlv->typelength);
tlv               201 drivers/net/ethernet/intel/i40e/i40e_dcb.c 	buf = tlv->tlvinfo;
tlv               204 drivers/net/ethernet/intel/i40e/i40e_dcb.c 	length -= (sizeof(tlv->ouisubtype) + 1);
tlv               244 drivers/net/ethernet/intel/i40e/i40e_dcb.c static void i40e_parse_ieee_tlv(struct i40e_lldp_org_tlv *tlv,
tlv               250 drivers/net/ethernet/intel/i40e/i40e_dcb.c 	ouisubtype = ntohl(tlv->ouisubtype);
tlv               255 drivers/net/ethernet/intel/i40e/i40e_dcb.c 		i40e_parse_ieee_etscfg_tlv(tlv, dcbcfg);
tlv               258 drivers/net/ethernet/intel/i40e/i40e_dcb.c 		i40e_parse_ieee_etsrec_tlv(tlv, dcbcfg);
tlv               261 drivers/net/ethernet/intel/i40e/i40e_dcb.c 		i40e_parse_ieee_pfccfg_tlv(tlv, dcbcfg);
tlv               264 drivers/net/ethernet/intel/i40e/i40e_dcb.c 		i40e_parse_ieee_app_tlv(tlv, dcbcfg);
tlv               278 drivers/net/ethernet/intel/i40e/i40e_dcb.c static void i40e_parse_cee_pgcfg_tlv(struct i40e_cee_feat_tlv *tlv,
tlv               282 drivers/net/ethernet/intel/i40e/i40e_dcb.c 	u8 *buf = tlv->tlvinfo;
tlv               289 drivers/net/ethernet/intel/i40e/i40e_dcb.c 	if (tlv->en_will_err & I40E_CEE_FEAT_TLV_WILLING_MASK)
tlv               331 drivers/net/ethernet/intel/i40e/i40e_dcb.c static void i40e_parse_cee_pfccfg_tlv(struct i40e_cee_feat_tlv *tlv,
tlv               334 drivers/net/ethernet/intel/i40e/i40e_dcb.c 	u8 *buf = tlv->tlvinfo;
tlv               336 drivers/net/ethernet/intel/i40e/i40e_dcb.c 	if (tlv->en_will_err & I40E_CEE_FEAT_TLV_WILLING_MASK)
tlv               355 drivers/net/ethernet/intel/i40e/i40e_dcb.c static void i40e_parse_cee_app_tlv(struct i40e_cee_feat_tlv *tlv,
tlv               362 drivers/net/ethernet/intel/i40e/i40e_dcb.c 	typelength = ntohs(tlv->hdr.typelen);
tlv               376 drivers/net/ethernet/intel/i40e/i40e_dcb.c 		app = (struct i40e_cee_app_prio *)(tlv->tlvinfo + offset);
tlv               411 drivers/net/ethernet/intel/i40e/i40e_dcb.c static void i40e_parse_cee_tlv(struct i40e_lldp_org_tlv *tlv,
tlv               419 drivers/net/ethernet/intel/i40e/i40e_dcb.c 	ouisubtype = ntohl(tlv->ouisubtype);
tlv               426 drivers/net/ethernet/intel/i40e/i40e_dcb.c 	typelength = ntohs(tlv->typelength);
tlv               429 drivers/net/ethernet/intel/i40e/i40e_dcb.c 	len = sizeof(tlv->typelength) + sizeof(ouisubtype) +
tlv               435 drivers/net/ethernet/intel/i40e/i40e_dcb.c 	sub_tlv = (struct i40e_cee_feat_tlv *)((char *)tlv + len);
tlv               472 drivers/net/ethernet/intel/i40e/i40e_dcb.c static void i40e_parse_org_tlv(struct i40e_lldp_org_tlv *tlv,
tlv               478 drivers/net/ethernet/intel/i40e/i40e_dcb.c 	ouisubtype = ntohl(tlv->ouisubtype);
tlv               483 drivers/net/ethernet/intel/i40e/i40e_dcb.c 		i40e_parse_ieee_tlv(tlv, dcbcfg);
tlv               486 drivers/net/ethernet/intel/i40e/i40e_dcb.c 		i40e_parse_cee_tlv(tlv, dcbcfg);
tlv               504 drivers/net/ethernet/intel/i40e/i40e_dcb.c 	struct i40e_lldp_org_tlv *tlv;
tlv               515 drivers/net/ethernet/intel/i40e/i40e_dcb.c 	tlv = (struct i40e_lldp_org_tlv *)lldpmib;
tlv               517 drivers/net/ethernet/intel/i40e/i40e_dcb.c 		typelength = ntohs(tlv->typelength);
tlv               530 drivers/net/ethernet/intel/i40e/i40e_dcb.c 			i40e_parse_org_tlv(tlv, dcbcfg);
tlv               537 drivers/net/ethernet/intel/i40e/i40e_dcb.c 		tlv = (struct i40e_lldp_org_tlv *)((char *)tlv +
tlv               538 drivers/net/ethernet/intel/i40e/i40e_dcb.c 						    sizeof(tlv->typelength) +
tlv               242 drivers/net/ethernet/intel/ice/ice_dcb.c ice_parse_ieee_etscfg_tlv(struct ice_lldp_org_tlv *tlv,
tlv               246 drivers/net/ethernet/intel/ice/ice_dcb.c 	u8 *buf = tlv->tlvinfo;
tlv               274 drivers/net/ethernet/intel/ice/ice_dcb.c ice_parse_ieee_etsrec_tlv(struct ice_lldp_org_tlv *tlv,
tlv               277 drivers/net/ethernet/intel/ice/ice_dcb.c 	u8 *buf = tlv->tlvinfo;
tlv               291 drivers/net/ethernet/intel/ice/ice_dcb.c ice_parse_ieee_pfccfg_tlv(struct ice_lldp_org_tlv *tlv,
tlv               294 drivers/net/ethernet/intel/ice/ice_dcb.c 	u8 *buf = tlv->tlvinfo;
tlv               318 drivers/net/ethernet/intel/ice/ice_dcb.c ice_parse_ieee_app_tlv(struct ice_lldp_org_tlv *tlv,
tlv               327 drivers/net/ethernet/intel/ice/ice_dcb.c 	typelen = ntohs(tlv->typelen);
tlv               329 drivers/net/ethernet/intel/ice/ice_dcb.c 	buf = tlv->tlvinfo;
tlv               334 drivers/net/ethernet/intel/ice/ice_dcb.c 	len -= (sizeof(tlv->ouisubtype) + 1);
tlv               375 drivers/net/ethernet/intel/ice/ice_dcb.c ice_parse_ieee_tlv(struct ice_lldp_org_tlv *tlv, struct ice_dcbx_cfg *dcbcfg)
tlv               380 drivers/net/ethernet/intel/ice/ice_dcb.c 	ouisubtype = ntohl(tlv->ouisubtype);
tlv               385 drivers/net/ethernet/intel/ice/ice_dcb.c 		ice_parse_ieee_etscfg_tlv(tlv, dcbcfg);
tlv               388 drivers/net/ethernet/intel/ice/ice_dcb.c 		ice_parse_ieee_etsrec_tlv(tlv, dcbcfg);
tlv               391 drivers/net/ethernet/intel/ice/ice_dcb.c 		ice_parse_ieee_pfccfg_tlv(tlv, dcbcfg);
tlv               394 drivers/net/ethernet/intel/ice/ice_dcb.c 		ice_parse_ieee_app_tlv(tlv, dcbcfg);
tlv               409 drivers/net/ethernet/intel/ice/ice_dcb.c ice_parse_cee_pgcfg_tlv(struct ice_cee_feat_tlv *tlv,
tlv               413 drivers/net/ethernet/intel/ice/ice_dcb.c 	u8 *buf = tlv->tlvinfo;
tlv               419 drivers/net/ethernet/intel/ice/ice_dcb.c 	if (tlv->en_will_err & ICE_CEE_FEAT_TLV_WILLING_M)
tlv               468 drivers/net/ethernet/intel/ice/ice_dcb.c ice_parse_cee_pfccfg_tlv(struct ice_cee_feat_tlv *tlv,
tlv               471 drivers/net/ethernet/intel/ice/ice_dcb.c 	u8 *buf = tlv->tlvinfo;
tlv               473 drivers/net/ethernet/intel/ice/ice_dcb.c 	if (tlv->en_will_err & ICE_CEE_FEAT_TLV_WILLING_M)
tlv               493 drivers/net/ethernet/intel/ice/ice_dcb.c ice_parse_cee_app_tlv(struct ice_cee_feat_tlv *tlv, struct ice_dcbx_cfg *dcbcfg)
tlv               499 drivers/net/ethernet/intel/ice/ice_dcb.c 	typelen = ntohs(tlv->hdr.typelen);
tlv               511 drivers/net/ethernet/intel/ice/ice_dcb.c 		app = (struct ice_cee_app_prio *)(tlv->tlvinfo + offset);
tlv               547 drivers/net/ethernet/intel/ice/ice_dcb.c ice_parse_cee_tlv(struct ice_lldp_org_tlv *tlv, struct ice_dcbx_cfg *dcbcfg)
tlv               554 drivers/net/ethernet/intel/ice/ice_dcb.c 	ouisubtype = ntohl(tlv->ouisubtype);
tlv               561 drivers/net/ethernet/intel/ice/ice_dcb.c 	typelen = ntohs(tlv->typelen);
tlv               563 drivers/net/ethernet/intel/ice/ice_dcb.c 	len = sizeof(tlv->typelen) + sizeof(ouisubtype) +
tlv               569 drivers/net/ethernet/intel/ice/ice_dcb.c 	sub_tlv = (struct ice_cee_feat_tlv *)((char *)tlv + len);
tlv               607 drivers/net/ethernet/intel/ice/ice_dcb.c ice_parse_org_tlv(struct ice_lldp_org_tlv *tlv, struct ice_dcbx_cfg *dcbcfg)
tlv               612 drivers/net/ethernet/intel/ice/ice_dcb.c 	ouisubtype = ntohl(tlv->ouisubtype);
tlv               616 drivers/net/ethernet/intel/ice/ice_dcb.c 		ice_parse_ieee_tlv(tlv, dcbcfg);
tlv               619 drivers/net/ethernet/intel/ice/ice_dcb.c 		ice_parse_cee_tlv(tlv, dcbcfg);
tlv               636 drivers/net/ethernet/intel/ice/ice_dcb.c 	struct ice_lldp_org_tlv *tlv;
tlv               648 drivers/net/ethernet/intel/ice/ice_dcb.c 	tlv = (struct ice_lldp_org_tlv *)lldpmib;
tlv               650 drivers/net/ethernet/intel/ice/ice_dcb.c 		typelen = ntohs(tlv->typelen);
tlv               661 drivers/net/ethernet/intel/ice/ice_dcb.c 			ice_parse_org_tlv(tlv, dcbcfg);
tlv               668 drivers/net/ethernet/intel/ice/ice_dcb.c 		tlv = (struct ice_lldp_org_tlv *)
tlv               669 drivers/net/ethernet/intel/ice/ice_dcb.c 		      ((char *)tlv + sizeof(tlv->typelen) + len);
tlv              1069 drivers/net/ethernet/intel/ice/ice_dcb.c ice_add_ieee_ets_tlv(struct ice_lldp_org_tlv *tlv, struct ice_dcbx_cfg *dcbcfg)
tlv              1072 drivers/net/ethernet/intel/ice/ice_dcb.c 	u8 *buf = tlv->tlvinfo;
tlv              1079 drivers/net/ethernet/intel/ice/ice_dcb.c 	tlv->typelen = htons(typelen);
tlv              1083 drivers/net/ethernet/intel/ice/ice_dcb.c 	tlv->ouisubtype = htonl(ouisubtype);
tlv              1110 drivers/net/ethernet/intel/ice/ice_dcb.c ice_add_ieee_etsrec_tlv(struct ice_lldp_org_tlv *tlv,
tlv              1114 drivers/net/ethernet/intel/ice/ice_dcb.c 	u8 *buf = tlv->tlvinfo;
tlv              1120 drivers/net/ethernet/intel/ice/ice_dcb.c 	tlv->typelen = htons(typelen);
tlv              1124 drivers/net/ethernet/intel/ice/ice_dcb.c 	tlv->ouisubtype = htonl(ouisubtype);
tlv              1141 drivers/net/ethernet/intel/ice/ice_dcb.c ice_add_ieee_pfc_tlv(struct ice_lldp_org_tlv *tlv, struct ice_dcbx_cfg *dcbcfg)
tlv              1143 drivers/net/ethernet/intel/ice/ice_dcb.c 	u8 *buf = tlv->tlvinfo;
tlv              1149 drivers/net/ethernet/intel/ice/ice_dcb.c 	tlv->typelen = htons(typelen);
tlv              1153 drivers/net/ethernet/intel/ice/ice_dcb.c 	tlv->ouisubtype = htonl(ouisubtype);
tlv              1179 drivers/net/ethernet/intel/ice/ice_dcb.c ice_add_ieee_app_pri_tlv(struct ice_lldp_org_tlv *tlv,
tlv              1184 drivers/net/ethernet/intel/ice/ice_dcb.c 	u8 *buf = tlv->tlvinfo;
tlv              1192 drivers/net/ethernet/intel/ice/ice_dcb.c 	tlv->ouisubtype = htonl(ouisubtype);
tlv              1217 drivers/net/ethernet/intel/ice/ice_dcb.c 	len = sizeof(tlv->ouisubtype) + 1 + (i * 3);
tlv              1219 drivers/net/ethernet/intel/ice/ice_dcb.c 	tlv->typelen = htons(typelen);
tlv              1231 drivers/net/ethernet/intel/ice/ice_dcb.c ice_add_dcb_tlv(struct ice_lldp_org_tlv *tlv, struct ice_dcbx_cfg *dcbcfg,
tlv              1236 drivers/net/ethernet/intel/ice/ice_dcb.c 		ice_add_ieee_ets_tlv(tlv, dcbcfg);
tlv              1239 drivers/net/ethernet/intel/ice/ice_dcb.c 		ice_add_ieee_etsrec_tlv(tlv, dcbcfg);
tlv              1242 drivers/net/ethernet/intel/ice/ice_dcb.c 		ice_add_ieee_pfc_tlv(tlv, dcbcfg);
tlv              1245 drivers/net/ethernet/intel/ice/ice_dcb.c 		ice_add_ieee_app_pri_tlv(tlv, dcbcfg);
tlv              1264 drivers/net/ethernet/intel/ice/ice_dcb.c 	struct ice_lldp_org_tlv *tlv;
tlv              1267 drivers/net/ethernet/intel/ice/ice_dcb.c 	tlv = (struct ice_lldp_org_tlv *)lldpmib;
tlv              1269 drivers/net/ethernet/intel/ice/ice_dcb.c 		ice_add_dcb_tlv(tlv, dcbcfg, tlvid++);
tlv              1270 drivers/net/ethernet/intel/ice/ice_dcb.c 		typelen = ntohs(tlv->typelen);
tlv              1280 drivers/net/ethernet/intel/ice/ice_dcb.c 			tlv = (struct ice_lldp_org_tlv *)
tlv              1281 drivers/net/ethernet/intel/ice/ice_dcb.c 				((char *)tlv + sizeof(tlv->typelen) + len);
tlv                98 drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2.c 	const struct mlxfw_mfa2_tlv *tlv;
tlv               102 drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2.c 	mlxfw_mfa2_tlv_multi_foreach(mfa2_file, tlv, idx, multi) {
tlv               103 drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2.c 		if (!tlv) {
tlv               119 drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2.c 	const struct mlxfw_mfa2_tlv *tlv;
tlv               136 drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2.c 	tlv = mlxfw_mfa2_tlv_multi_child_find(mfa2_file, multi,
tlv               138 drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2.c 	if (!tlv) {
tlv               143 drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2.c 	psid = mlxfw_mfa2_tlv_psid_get(mfa2_file, tlv);
tlv               150 drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2.c 			     psid->psid, be16_to_cpu(tlv->len), true);
tlv               165 drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2.c 		tlv = mlxfw_mfa2_tlv_multi_child_find(mfa2_file, multi,
tlv               168 drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2.c 		if (!tlv)
tlv               171 drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2.c 		cptr = mlxfw_mfa2_tlv_component_ptr_get(mfa2_file, tlv);
tlv               191 drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2.c 	const struct mlxfw_mfa2_tlv *tlv;
tlv               205 drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2.c 	tlv = mlxfw_mfa2_tlv_multi_child(mfa2_file, multi);
tlv               206 drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2.c 	if (!tlv) {
tlv               211 drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2.c 	cdesc = mlxfw_mfa2_tlv_component_descriptor_get(mfa2_file, tlv);
tlv               227 drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2.c 	const struct mlxfw_mfa2_tlv *tlv;
tlv               233 drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2.c 	mlxfw_mfa2_tlv_foreach(mfa2_file, tlv, idx, mfa2_file->first_dev,
tlv               235 drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2.c 		if (!tlv) {
tlv               241 drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2.c 		if (!mlxfw_mfa2_file_dev_validate(mfa2_file, tlv, idx))
tlv               246 drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2.c 	mlxfw_mfa2_tlv_foreach(mfa2_file, tlv, idx, mfa2_file->first_component,
tlv               248 drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2.c 		if (!tlv) {
tlv               254 drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2.c 		if (!mlxfw_mfa2_file_comp_validate(mfa2_file, tlv, idx))
tlv               336 drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2.c 	const struct mlxfw_mfa2_tlv *tlv;
tlv               350 drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2.c 		tlv = mlxfw_mfa2_tlv_multi_child_find(mfa2_file, dev_multi,
tlv               352 drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2.c 		if (!tlv)
tlv               354 drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2.c 		if (be16_to_cpu(tlv->len) != psid_size)
tlv               357 drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2.c 		tlv_psid = mlxfw_mfa2_tlv_psid_get(mfa2_file, tlv);
tlv                28 drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2_tlv.h 			   const struct mlxfw_mfa2_tlv *tlv, u8 payload_type,
tlv                33 drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2_tlv.h 	tlv_top = (void *) tlv + be16_to_cpu(tlv->len) - 1;
tlv                34 drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2_tlv.h 	if (!mlxfw_mfa2_valid_ptr(mfa2_file, tlv) ||
tlv                37 drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2_tlv.h 	if (tlv->type != payload_type)
tlv                39 drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2_tlv.h 	if (varsize && (be16_to_cpu(tlv->len) < payload_size))
tlv                41 drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2_tlv.h 	if (!varsize && (be16_to_cpu(tlv->len) != payload_size))
tlv                44 drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2_tlv.h 	return tlv->data;
tlv                50 drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2_tlv.h 				const struct mlxfw_mfa2_tlv *tlv)	       \
tlv                52 drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2_tlv.h 	return mlxfw_mfa2_tlv_payload_get(mfa2_file, tlv,		       \
tlv                60 drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2_tlv.h 				const struct mlxfw_mfa2_tlv *tlv)	       \
tlv                62 drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2_tlv.h 	return mlxfw_mfa2_tlv_payload_get(mfa2_file, tlv,		       \
tlv                 9 drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2_tlv_multi.c #define MLXFW_MFA2_TLV_TOTAL_SIZE(tlv) \
tlv                10 drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2_tlv_multi.c 	NLA_ALIGN(sizeof(*(tlv)) + be16_to_cpu((tlv)->len))
tlv                24 drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2_tlv_multi.c 		    const struct mlxfw_mfa2_tlv *tlv)
tlv                30 drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2_tlv_multi.c 	tlv_len = MLXFW_MFA2_TLV_TOTAL_SIZE(tlv);
tlv                32 drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2_tlv_multi.c 	if (tlv->type == MLXFW_MFA2_TLV_MULTI_PART) {
tlv                33 drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2_tlv_multi.c 		multi = mlxfw_mfa2_tlv_multi_get(mfa2_file, tlv);
tlv                37 drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2_tlv_multi.c 	next = (void *) tlv + tlv_len;
tlv                45 drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2_tlv_multi.c 	const struct mlxfw_mfa2_tlv *tlv;
tlv                48 drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2_tlv_multi.c 	mlxfw_mfa2_tlv_foreach(mfa2_file, tlv, idx, from_tlv, count)
tlv                49 drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2_tlv_multi.c 		if (!tlv)
tlv                51 drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2_tlv_multi.c 	return tlv;
tlv                59 drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2_tlv_multi.c 	const struct mlxfw_mfa2_tlv *tlv;
tlv                63 drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2_tlv_multi.c 	mlxfw_mfa2_tlv_multi_foreach(mfa2_file, tlv, idx, multi) {
tlv                64 drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2_tlv_multi.c 		if (!tlv) {
tlv                68 drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2_tlv_multi.c 		if (tlv->type == type)
tlv                70 drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2_tlv_multi.c 				return tlv;
tlv                80 drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2_tlv_multi.c 	const struct mlxfw_mfa2_tlv *tlv;
tlv                84 drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2_tlv_multi.c 	mlxfw_mfa2_tlv_multi_foreach(mfa2_file, tlv, idx, multi) {
tlv                85 drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2_tlv_multi.c 		if (!tlv) {
tlv                90 drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2_tlv_multi.c 		if (tlv->type == type)
tlv                17 drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2_tlv_multi.h 		    const struct mlxfw_mfa2_tlv *tlv);
tlv                33 drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2_tlv_multi.h #define mlxfw_mfa2_tlv_foreach(mfa2_file, tlv, idx, from_tlv, count) \
tlv                34 drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2_tlv_multi.h 	for (idx = 0, tlv = from_tlv; idx < (count); \
tlv                35 drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2_tlv_multi.h 	     idx++, tlv = mlxfw_mfa2_tlv_next(mfa2_file, tlv))
tlv                37 drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2_tlv_multi.h #define mlxfw_mfa2_tlv_multi_foreach(mfa2_file, tlv, idx, multi) \
tlv                38 drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2_tlv_multi.h 	mlxfw_mfa2_tlv_foreach(mfa2_file, tlv, idx, \
tlv              2740 drivers/net/ethernet/qlogic/qed/qed_main.c qed_fill_generic_tlv_data(struct qed_dev *cdev, struct qed_mfw_tlv_generic *tlv)
tlv              2752 drivers/net/ethernet/qlogic/qed/qed_main.c 		tlv->flags.ipv4_csum_offload = true;
tlv              2754 drivers/net/ethernet/qlogic/qed/qed_main.c 		tlv->flags.lso_supported = true;
tlv              2755 drivers/net/ethernet/qlogic/qed/qed_main.c 	tlv->flags.b_set = true;
tlv              2759 drivers/net/ethernet/qlogic/qed/qed_main.c 			ether_addr_copy(tlv->mac[i], gen_tlvs.mac[i]);
tlv              2760 drivers/net/ethernet/qlogic/qed/qed_main.c 			tlv->mac_set[i] = true;
tlv              2766 drivers/net/ethernet/qlogic/qed/qed_main.c 	tlv->rx_frames = p_common->rx_ucast_pkts + p_common->rx_mcast_pkts +
tlv              2768 drivers/net/ethernet/qlogic/qed/qed_main.c 	tlv->rx_frames_set = true;
tlv              2769 drivers/net/ethernet/qlogic/qed/qed_main.c 	tlv->rx_bytes = p_common->rx_ucast_bytes + p_common->rx_mcast_bytes +
tlv              2771 drivers/net/ethernet/qlogic/qed/qed_main.c 	tlv->rx_bytes_set = true;
tlv              2772 drivers/net/ethernet/qlogic/qed/qed_main.c 	tlv->tx_frames = p_common->tx_ucast_pkts + p_common->tx_mcast_pkts +
tlv              2774 drivers/net/ethernet/qlogic/qed/qed_main.c 	tlv->tx_frames_set = true;
tlv              2775 drivers/net/ethernet/qlogic/qed/qed_main.c 	tlv->tx_bytes = p_common->tx_ucast_bytes + p_common->tx_mcast_bytes +
tlv              2777 drivers/net/ethernet/qlogic/qed/qed_main.c 	tlv->rx_bytes_set = true;
tlv              1182 drivers/net/ethernet/qlogic/qed/qed_mng_tlv.c 	struct qed_drv_tlv_hdr tlv;
tlv              1196 drivers/net/ethernet/qlogic/qed/qed_mng_tlv.c 	memset(&tlv, 0, sizeof(tlv));
tlv              1198 drivers/net/ethernet/qlogic/qed/qed_mng_tlv.c 	     offset += sizeof(tlv) + sizeof(u32) * tlv.tlv_length) {
tlv              1200 drivers/net/ethernet/qlogic/qed/qed_mng_tlv.c 		tlv.tlv_type = TLV_TYPE(p_tlv);
tlv              1201 drivers/net/ethernet/qlogic/qed/qed_mng_tlv.c 		tlv.tlv_length = TLV_LENGTH(p_tlv);
tlv              1202 drivers/net/ethernet/qlogic/qed/qed_mng_tlv.c 		tlv.tlv_flags = TLV_FLAGS(p_tlv);
tlv              1205 drivers/net/ethernet/qlogic/qed/qed_mng_tlv.c 			   "Type %d length = %d flags = 0x%x\n", tlv.tlv_type,
tlv              1206 drivers/net/ethernet/qlogic/qed/qed_mng_tlv.c 			   tlv.tlv_length, tlv.tlv_flags);
tlv              1209 drivers/net/ethernet/qlogic/qed/qed_mng_tlv.c 			len = qed_mfw_get_gen_tlv_value(&tlv,
tlv              1213 drivers/net/ethernet/qlogic/qed/qed_mng_tlv.c 			len = qed_mfw_get_eth_tlv_value(&tlv,
tlv              1217 drivers/net/ethernet/qlogic/qed/qed_mng_tlv.c 			len = qed_mfw_get_fcoe_tlv_value(&tlv,
tlv              1221 drivers/net/ethernet/qlogic/qed/qed_mng_tlv.c 			len = qed_mfw_get_iscsi_tlv_value(&tlv,
tlv              1226 drivers/net/ethernet/qlogic/qed/qed_mng_tlv.c 			WARN(len > 4 * tlv.tlv_length,
tlv              1228 drivers/net/ethernet/qlogic/qed/qed_mng_tlv.c 			     len, 4 * tlv.tlv_length);
tlv              1229 drivers/net/ethernet/qlogic/qed/qed_mng_tlv.c 			len = min_t(int, len, 4 * tlv.tlv_length);
tlv              1230 drivers/net/ethernet/qlogic/qed/qed_mng_tlv.c 			tlv.tlv_flags |= QED_DRV_TLV_FLAGS_CHANGED;
tlv              1231 drivers/net/ethernet/qlogic/qed/qed_mng_tlv.c 			TLV_FLAGS(p_tlv) = tlv.tlv_flags;
tlv              1232 drivers/net/ethernet/qlogic/qed/qed_mng_tlv.c 			memcpy(p_mfw_buf + offset + sizeof(tlv),
tlv              1246 drivers/net/ethernet/qlogic/qed/qed_mng_tlv.c 	struct qed_drv_tlv_hdr tlv;
tlv              1283 drivers/net/ethernet/qlogic/qed/qed_mng_tlv.c 	     offset += sizeof(tlv) + sizeof(u32) * tlv.tlv_length) {
tlv              1285 drivers/net/ethernet/qlogic/qed/qed_mng_tlv.c 		tlv.tlv_type = TLV_TYPE(p_temp);
tlv              1286 drivers/net/ethernet/qlogic/qed/qed_mng_tlv.c 		tlv.tlv_length = TLV_LENGTH(p_temp);
tlv              1287 drivers/net/ethernet/qlogic/qed/qed_mng_tlv.c 		if (qed_mfw_get_tlv_group(tlv.tlv_type, &tlv_group))
tlv              1289 drivers/net/ethernet/qlogic/qed/qed_mng_tlv.c 				   "Un recognized TLV %d\n", tlv.tlv_type);
tlv              1183 drivers/net/ethernet/qlogic/qed/qed_sriov.c 	struct channel_tlv *tlv;
tlv              1186 drivers/net/ethernet/qlogic/qed/qed_sriov.c 		tlv = (struct channel_tlv *)((u8 *)tlvs_list + total_length);
tlv              1191 drivers/net/ethernet/qlogic/qed/qed_sriov.c 			   i, tlv->type, tlv->length);
tlv              1193 drivers/net/ethernet/qlogic/qed/qed_sriov.c 		if (tlv->type == CHANNEL_TLV_LIST_END)
tlv              1197 drivers/net/ethernet/qlogic/qed/qed_sriov.c 		if (!tlv->length) {
tlv              1202 drivers/net/ethernet/qlogic/qed/qed_sriov.c 		total_length += tlv->length;
tlv              2765 drivers/net/ethernet/qlogic/qed/qed_sriov.c 	u16 tlv = CHANNEL_TLV_VPORT_UPDATE_ACTIVATE;
tlv              2768 drivers/net/ethernet/qlogic/qed/qed_sriov.c 		    qed_iov_search_list_tlvs(p_hwfn, p_mbx->req_virt, tlv);
tlv              2786 drivers/net/ethernet/qlogic/qed/qed_sriov.c 	u16 tlv = CHANNEL_TLV_VPORT_UPDATE_VLAN_STRIP;
tlv              2789 drivers/net/ethernet/qlogic/qed/qed_sriov.c 		     qed_iov_search_list_tlvs(p_hwfn, p_mbx->req_virt, tlv);
tlv              2810 drivers/net/ethernet/qlogic/qed/qed_sriov.c 	u16 tlv = CHANNEL_TLV_VPORT_UPDATE_TX_SWITCH;
tlv              2814 drivers/net/ethernet/qlogic/qed/qed_sriov.c 						   tlv);
tlv              2829 drivers/net/ethernet/qlogic/qed/qed_sriov.c 	u16 tlv = CHANNEL_TLV_VPORT_UPDATE_MCAST;
tlv              2832 drivers/net/ethernet/qlogic/qed/qed_sriov.c 	    qed_iov_search_list_tlvs(p_hwfn, p_mbx->req_virt, tlv);
tlv              2849 drivers/net/ethernet/qlogic/qed/qed_sriov.c 	u16 tlv = CHANNEL_TLV_VPORT_UPDATE_ACCEPT_PARAM;
tlv              2852 drivers/net/ethernet/qlogic/qed/qed_sriov.c 	    qed_iov_search_list_tlvs(p_hwfn, p_mbx->req_virt, tlv);
tlv              2869 drivers/net/ethernet/qlogic/qed/qed_sriov.c 	u16 tlv = CHANNEL_TLV_VPORT_UPDATE_ACCEPT_ANY_VLAN;
tlv              2873 drivers/net/ethernet/qlogic/qed/qed_sriov.c 						     tlv);
tlv              2892 drivers/net/ethernet/qlogic/qed/qed_sriov.c 	u16 tlv = CHANNEL_TLV_VPORT_UPDATE_RSS;
tlv              2898 drivers/net/ethernet/qlogic/qed/qed_sriov.c 		    qed_iov_search_list_tlvs(p_hwfn, p_mbx->req_virt, tlv);
tlv              2957 drivers/net/ethernet/qlogic/qed/qed_sriov.c 	u16 tlv = CHANNEL_TLV_VPORT_UPDATE_SGE_TPA;
tlv              2960 drivers/net/ethernet/qlogic/qed/qed_sriov.c 	    qed_iov_search_list_tlvs(p_hwfn, p_mbx->req_virt, tlv);
tlv              1023 drivers/net/ethernet/qlogic/qed/qed_vf.c 				  u16 tlv)
tlv              1025 drivers/net/ethernet/qlogic/qed/qed_vf.c 	switch (tlv) {
tlv              1046 drivers/net/ethernet/qlogic/qed/qed_vf.c 			tlv);
tlv              1057 drivers/net/ethernet/qlogic/qed/qed_vf.c 	u16 tlv;
tlv              1059 drivers/net/ethernet/qlogic/qed/qed_vf.c 	for (tlv = CHANNEL_TLV_VPORT_UPDATE_ACTIVATE;
tlv              1060 drivers/net/ethernet/qlogic/qed/qed_vf.c 	     tlv < CHANNEL_TLV_VPORT_UPDATE_MAX; tlv++) {
tlv              1061 drivers/net/ethernet/qlogic/qed/qed_vf.c 		if (!qed_vf_handle_vp_update_is_needed(p_hwfn, p_data, tlv))
tlv              1066 drivers/net/ethernet/qlogic/qed/qed_vf.c 						  tlv);
tlv              1070 drivers/net/ethernet/qlogic/qed/qed_vf.c 				   tlv,
tlv              1084 drivers/net/ethernet/qlogic/qed/qed_vf.c 	u16 size, tlv;
tlv              1121 drivers/net/ethernet/qlogic/qed/qed_vf.c 		tlv = CHANNEL_TLV_VPORT_UPDATE_TX_SWITCH;
tlv              1123 drivers/net/ethernet/qlogic/qed/qed_vf.c 					      tlv, size);
tlv              1147 drivers/net/ethernet/qlogic/qed/qed_vf.c 		tlv = CHANNEL_TLV_VPORT_UPDATE_ACCEPT_PARAM;
tlv              1149 drivers/net/ethernet/qlogic/qed/qed_vf.c 		p_accept_tlv = qed_add_tlv(p_hwfn, &p_iov->offset, tlv, size);
tlv              1208 drivers/net/ethernet/qlogic/qed/qed_vf.c 		tlv = CHANNEL_TLV_VPORT_UPDATE_ACCEPT_ANY_VLAN;
tlv              1209 drivers/net/ethernet/qlogic/qed/qed_vf.c 		p_any_vlan_tlv = qed_add_tlv(p_hwfn, &p_iov->offset, tlv, size);
tlv                18 drivers/net/ethernet/rocker/rocker_tlv.c 	const struct rocker_tlv *tlv;
tlv                24 drivers/net/ethernet/rocker/rocker_tlv.c 	rocker_tlv_for_each(tlv, head, buf_len, rem) {
tlv                25 drivers/net/ethernet/rocker/rocker_tlv.c 		u32 type = rocker_tlv_type(tlv);
tlv                28 drivers/net/ethernet/rocker/rocker_tlv.c 			tb[type] = tlv;
tlv                37 drivers/net/ethernet/rocker/rocker_tlv.c 	struct rocker_tlv *tlv;
tlv                42 drivers/net/ethernet/rocker/rocker_tlv.c 	tlv = rocker_tlv_start(desc_info);
tlv                44 drivers/net/ethernet/rocker/rocker_tlv.c 	tlv->type = attrtype;
tlv                45 drivers/net/ethernet/rocker/rocker_tlv.c 	tlv->len = rocker_tlv_attr_size(attrlen);
tlv                46 drivers/net/ethernet/rocker/rocker_tlv.c 	memcpy(rocker_tlv_data(tlv), data, attrlen);
tlv                47 drivers/net/ethernet/rocker/rocker_tlv.c 	memset((char *) tlv + tlv->len, 0, rocker_tlv_padlen(attrlen));
tlv                29 drivers/net/ethernet/rocker/rocker_tlv.h static inline struct rocker_tlv *rocker_tlv_next(const struct rocker_tlv *tlv,
tlv                32 drivers/net/ethernet/rocker/rocker_tlv.h 	int totlen = ROCKER_TLV_ALIGN(tlv->len);
tlv                35 drivers/net/ethernet/rocker/rocker_tlv.h 	return (struct rocker_tlv *) ((char *) tlv + totlen);
tlv                38 drivers/net/ethernet/rocker/rocker_tlv.h static inline int rocker_tlv_ok(const struct rocker_tlv *tlv, int remaining)
tlv                41 drivers/net/ethernet/rocker/rocker_tlv.h 	       tlv->len >= ROCKER_TLV_HDRLEN &&
tlv                42 drivers/net/ethernet/rocker/rocker_tlv.h 	       tlv->len <= remaining;
tlv                50 drivers/net/ethernet/rocker/rocker_tlv.h #define rocker_tlv_for_each_nested(pos, tlv, rem)	\
tlv                51 drivers/net/ethernet/rocker/rocker_tlv.h 	rocker_tlv_for_each(pos, rocker_tlv_data(tlv),	\
tlv                52 drivers/net/ethernet/rocker/rocker_tlv.h 			    rocker_tlv_len(tlv), rem)
tlv                69 drivers/net/ethernet/rocker/rocker_tlv.h static inline int rocker_tlv_type(const struct rocker_tlv *tlv)
tlv                71 drivers/net/ethernet/rocker/rocker_tlv.h 	return tlv->type;
tlv                74 drivers/net/ethernet/rocker/rocker_tlv.h static inline void *rocker_tlv_data(const struct rocker_tlv *tlv)
tlv                76 drivers/net/ethernet/rocker/rocker_tlv.h 	return (char *) tlv + ROCKER_TLV_HDRLEN;
tlv                79 drivers/net/ethernet/rocker/rocker_tlv.h static inline int rocker_tlv_len(const struct rocker_tlv *tlv)
tlv                81 drivers/net/ethernet/rocker/rocker_tlv.h 	return tlv->len - ROCKER_TLV_HDRLEN;
tlv                84 drivers/net/ethernet/rocker/rocker_tlv.h static inline u8 rocker_tlv_get_u8(const struct rocker_tlv *tlv)
tlv                86 drivers/net/ethernet/rocker/rocker_tlv.h 	return *(u8 *) rocker_tlv_data(tlv);
tlv                89 drivers/net/ethernet/rocker/rocker_tlv.h static inline u16 rocker_tlv_get_u16(const struct rocker_tlv *tlv)
tlv                91 drivers/net/ethernet/rocker/rocker_tlv.h 	return *(u16 *) rocker_tlv_data(tlv);
tlv                94 drivers/net/ethernet/rocker/rocker_tlv.h static inline __be16 rocker_tlv_get_be16(const struct rocker_tlv *tlv)
tlv                96 drivers/net/ethernet/rocker/rocker_tlv.h 	return *(__be16 *) rocker_tlv_data(tlv);
tlv                99 drivers/net/ethernet/rocker/rocker_tlv.h static inline u32 rocker_tlv_get_u32(const struct rocker_tlv *tlv)
tlv               101 drivers/net/ethernet/rocker/rocker_tlv.h 	return *(u32 *) rocker_tlv_data(tlv);
tlv               104 drivers/net/ethernet/rocker/rocker_tlv.h static inline u64 rocker_tlv_get_u64(const struct rocker_tlv *tlv)
tlv               106 drivers/net/ethernet/rocker/rocker_tlv.h 	return *(u64 *) rocker_tlv_data(tlv);
tlv               114 drivers/net/ethernet/rocker/rocker_tlv.h 					   const struct rocker_tlv *tlv)
tlv               116 drivers/net/ethernet/rocker/rocker_tlv.h 	rocker_tlv_parse(tb, maxtype, rocker_tlv_data(tlv),
tlv               117 drivers/net/ethernet/rocker/rocker_tlv.h 			 rocker_tlv_len(tlv));
tlv               124 drivers/net/wimax/i2400m/control.c ssize_t i2400m_tlv_match(const struct i2400m_tlv_hdr *tlv,
tlv               127 drivers/net/wimax/i2400m/control.c 	if (le16_to_cpu(tlv->type) != tlv_type)	/* Not our type? skip */
tlv               130 drivers/net/wimax/i2400m/control.c 	    && le16_to_cpu(tlv->length) + sizeof(*tlv) != tlv_size) {
tlv               131 drivers/net/wimax/i2400m/control.c 		size_t size = le16_to_cpu(tlv->length) + sizeof(*tlv);
tlv               231 drivers/net/wimax/i2400m/control.c 	const struct i2400m_tlv_hdr *tlv = NULL;
tlv               232 drivers/net/wimax/i2400m/control.c 	while ((tlv = i2400m_tlv_buffer_walk(i2400m, tlv_hdr, size, tlv))) {
tlv               233 drivers/net/wimax/i2400m/control.c 		match = i2400m_tlv_match(tlv, tlv_type, tlv_size);
tlv               241 drivers/net/wimax/i2400m/control.c 	return tlv;
tlv               434 drivers/net/wimax/i2400m/control.c 				   const struct i2400m_tlv_hdr *tlv,
tlv               442 drivers/net/wimax/i2400m/control.c 	if (0 == i2400m_tlv_match(tlv, I2400M_TLV_SYSTEM_STATE, sizeof(*ss))) {
tlv               443 drivers/net/wimax/i2400m/control.c 		ss = container_of(tlv, typeof(*ss), hdr);
tlv               450 drivers/net/wimax/i2400m/control.c 	if (0 == i2400m_tlv_match(tlv, I2400M_TLV_RF_STATUS, sizeof(*rfss))) {
tlv               451 drivers/net/wimax/i2400m/control.c 		rfss = container_of(tlv, typeof(*rfss), hdr);
tlv               459 drivers/net/wimax/i2400m/control.c 	if (0 == i2400m_tlv_match(tlv, I2400M_TLV_MEDIA_STATUS, sizeof(*ms))) {
tlv               460 drivers/net/wimax/i2400m/control.c 		ms = container_of(tlv, typeof(*ms), hdr);
tlv               486 drivers/net/wimax/i2400m/control.c 	const struct i2400m_tlv_hdr *tlv;
tlv               491 drivers/net/wimax/i2400m/control.c 	tlv = NULL;
tlv               493 drivers/net/wimax/i2400m/control.c 	while ((tlv = i2400m_tlv_buffer_walk(i2400m, &l3l4_hdr->pl,
tlv               494 drivers/net/wimax/i2400m/control.c 					     tlv_size, tlv)))
tlv               495 drivers/net/wimax/i2400m/control.c 		i2400m_report_state_parse_tlv(i2400m, tlv, tag);
tlv               852 drivers/net/wimax/i2400m/control.c 	struct i2400m_tlv_hdr tlv;
tlv               878 drivers/net/wimax/i2400m/control.c 	cmd->tlv.type = cpu_to_le16(I2400M_TLV_TYPE_WAKEUP_MODE);
tlv               879 drivers/net/wimax/i2400m/control.c 	cmd->tlv.length = cpu_to_le16(sizeof(cmd->val));
tlv               935 drivers/net/wimax/i2400m/control.c 	const struct i2400m_tlv_hdr *tlv;
tlv               961 drivers/net/wimax/i2400m/control.c 	tlv = i2400m_tlv_find(i2400m, ack->pl, ack_len - sizeof(*ack),
tlv               963 drivers/net/wimax/i2400m/control.c 	if (tlv == NULL) {
tlv               970 drivers/net/wimax/i2400m/control.c 	skb_pull(ack_skb, (void *) tlv - (void *) ack_skb->data);
tlv              1017 drivers/net/wimax/i2400m/control.c 	const struct i2400m_tlv_hdr *tlv;
tlv              1045 drivers/net/wimax/i2400m/control.c 	tlv = i2400m_tlv_find(i2400m, ack->pl, ack_len - sizeof(*ack),
tlv              1047 drivers/net/wimax/i2400m/control.c 	if (tlv == NULL) {
tlv              1053 drivers/net/wimax/i2400m/control.c 	l4mv = container_of(tlv, typeof(*l4mv), hdr);
tlv                86 drivers/net/wireless/ath/ath10k/spectral.c 	fft_sample->tlv.type = ATH_FFT_SAMPLE_ATH10K;
tlv                87 drivers/net/wireless/ath/ath10k/spectral.c 	fft_sample->tlv.length = __cpu_to_be16(length);
tlv               156 drivers/net/wireless/ath/ath10k/spectral.c 	send_fft_sample(ar, &fft_sample->tlv);
tlv                35 drivers/net/wireless/ath/ath10k/swap.c 		payload_len = __le32_to_cpu(swap_item->tlv.length);
tlv                55 drivers/net/wireless/ath/ath10k/swap.c 		memcpy(virt_addr, swap_item->tlv.data, payload_len);
tlv                29 drivers/net/wireless/ath/ath10k/swap.h 	struct ath10k_swap_code_seg_tlv tlv;
tlv                76 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	const struct wmi_tlv *tlv;
tlv                81 drivers/net/wireless/ath/ath10k/wmi-tlv.c 		if (len < sizeof(*tlv)) {
tlv                84 drivers/net/wireless/ath/ath10k/wmi-tlv.c 				   ptr - begin, len, sizeof(*tlv));
tlv                88 drivers/net/wireless/ath/ath10k/wmi-tlv.c 		tlv = ptr;
tlv                89 drivers/net/wireless/ath/ath10k/wmi-tlv.c 		tlv_tag = __le16_to_cpu(tlv->tag);
tlv                90 drivers/net/wireless/ath/ath10k/wmi-tlv.c 		tlv_len = __le16_to_cpu(tlv->len);
tlv                91 drivers/net/wireless/ath/ath10k/wmi-tlv.c 		ptr += sizeof(*tlv);
tlv                92 drivers/net/wireless/ath/ath10k/wmi-tlv.c 		len -= sizeof(*tlv);
tlv              1554 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	struct wmi_tlv *tlv;
tlv              1557 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	skb = ath10k_wmi_alloc_skb(ar, sizeof(*tlv) + sizeof(*cmd));
tlv              1561 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv = (void *)skb->data;
tlv              1562 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->tag = __cpu_to_le16(WMI_TLV_TAG_STRUCT_PDEV_SUSPEND_CMD);
tlv              1563 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->len = __cpu_to_le16(sizeof(*cmd));
tlv              1564 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	cmd = (void *)tlv->value;
tlv              1575 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	struct wmi_tlv *tlv;
tlv              1578 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	skb = ath10k_wmi_alloc_skb(ar, sizeof(*tlv) + sizeof(*cmd));
tlv              1582 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv = (void *)skb->data;
tlv              1583 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->tag = __cpu_to_le16(WMI_TLV_TAG_STRUCT_PDEV_RESUME_CMD);
tlv              1584 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->len = __cpu_to_le16(sizeof(*cmd));
tlv              1585 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	cmd = (void *)tlv->value;
tlv              1599 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	struct wmi_tlv *tlv;
tlv              1602 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	skb = ath10k_wmi_alloc_skb(ar, sizeof(*tlv) + sizeof(*cmd));
tlv              1606 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv = (void *)skb->data;
tlv              1607 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->tag = __cpu_to_le16(WMI_TLV_TAG_STRUCT_PDEV_SET_REGDOMAIN_CMD);
tlv              1608 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->len = __cpu_to_le16(sizeof(*cmd));
tlv              1609 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	cmd = (void *)tlv->value;
tlv              1630 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	struct wmi_tlv *tlv;
tlv              1633 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	skb = ath10k_wmi_alloc_skb(ar, sizeof(*tlv) + sizeof(*cmd));
tlv              1637 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv = (void *)skb->data;
tlv              1638 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->tag = __cpu_to_le16(WMI_TLV_TAG_STRUCT_PDEV_SET_PARAM_CMD);
tlv              1639 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->len = __cpu_to_le16(sizeof(*cmd));
tlv              1640 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	cmd = (void *)tlv->value;
tlv              1653 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	struct wmi_tlv *tlv;
tlv              1660 drivers/net/wireless/ath/ath10k/wmi-tlv.c 		tlv = host_mem_chunks;
tlv              1661 drivers/net/wireless/ath/ath10k/wmi-tlv.c 		tlv->tag = tlv_tag;
tlv              1662 drivers/net/wireless/ath/ath10k/wmi-tlv.c 		tlv->len = tlv_len;
tlv              1663 drivers/net/wireless/ath/ath10k/wmi-tlv.c 		chunk = (void *)tlv->value;
tlv              1676 drivers/net/wireless/ath/ath10k/wmi-tlv.c 		host_mem_chunks += sizeof(*tlv);
tlv              1684 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	struct wmi_tlv *tlv;
tlv              1692 drivers/net/wireless/ath/ath10k/wmi-tlv.c 		     (sizeof(struct host_memory_chunk) + sizeof(*tlv));
tlv              1693 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	len = (sizeof(*tlv) + sizeof(*cmd)) +
tlv              1694 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	      (sizeof(*tlv) + sizeof(*cfg)) +
tlv              1695 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	      (sizeof(*tlv) + chunks_len);
tlv              1703 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv = ptr;
tlv              1704 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->tag = __cpu_to_le16(WMI_TLV_TAG_STRUCT_INIT_CMD);
tlv              1705 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->len = __cpu_to_le16(sizeof(*cmd));
tlv              1706 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	cmd = (void *)tlv->value;
tlv              1707 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	ptr += sizeof(*tlv);
tlv              1710 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv = ptr;
tlv              1711 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->tag = __cpu_to_le16(WMI_TLV_TAG_STRUCT_RESOURCE_CONFIG);
tlv              1712 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->len = __cpu_to_le16(sizeof(*cfg));
tlv              1713 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	cfg = (void *)tlv->value;
tlv              1714 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	ptr += sizeof(*tlv);
tlv              1717 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv = ptr;
tlv              1718 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->tag = __cpu_to_le16(WMI_TLV_TAG_ARRAY_STRUCT);
tlv              1719 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->len = __cpu_to_le16(chunks_len);
tlv              1720 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	chunks = (void *)tlv->value;
tlv              1722 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	ptr += sizeof(*tlv);
tlv              1806 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	struct wmi_tlv *tlv;
tlv              1823 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	len = (sizeof(*tlv) + sizeof(*cmd)) +
tlv              1824 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	      sizeof(*tlv) + chan_len +
tlv              1825 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	      sizeof(*tlv) + ssid_len +
tlv              1826 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	      sizeof(*tlv) + bssid_len +
tlv              1827 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	      sizeof(*tlv) + ie_len;
tlv              1834 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv = ptr;
tlv              1835 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->tag = __cpu_to_le16(WMI_TLV_TAG_STRUCT_START_SCAN_CMD);
tlv              1836 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->len = __cpu_to_le16(sizeof(*cmd));
tlv              1837 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	cmd = (void *)tlv->value;
tlv              1854 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	ptr += sizeof(*tlv);
tlv              1857 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv = ptr;
tlv              1858 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->tag = __cpu_to_le16(WMI_TLV_TAG_ARRAY_UINT32);
tlv              1859 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->len = __cpu_to_le16(chan_len);
tlv              1860 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	chans = (void *)tlv->value;
tlv              1864 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	ptr += sizeof(*tlv);
tlv              1867 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv = ptr;
tlv              1868 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->tag = __cpu_to_le16(WMI_TLV_TAG_ARRAY_FIXED_STRUCT);
tlv              1869 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->len = __cpu_to_le16(ssid_len);
tlv              1870 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	ssids = (void *)tlv->value;
tlv              1876 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	ptr += sizeof(*tlv);
tlv              1879 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv = ptr;
tlv              1880 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->tag = __cpu_to_le16(WMI_TLV_TAG_ARRAY_FIXED_STRUCT);
tlv              1881 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->len = __cpu_to_le16(bssid_len);
tlv              1882 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	addrs = (void *)tlv->value;
tlv              1886 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	ptr += sizeof(*tlv);
tlv              1889 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv = ptr;
tlv              1890 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->tag = __cpu_to_le16(WMI_TLV_TAG_ARRAY_BYTE);
tlv              1891 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->len = __cpu_to_le16(ie_len);
tlv              1892 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	memcpy(tlv->value, arg->ie, arg->ie_len);
tlv              1894 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	ptr += sizeof(*tlv);
tlv              1906 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	struct wmi_tlv *tlv;
tlv              1916 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	skb = ath10k_wmi_alloc_skb(ar, sizeof(*tlv) + sizeof(*cmd));
tlv              1926 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv = (void *)skb->data;
tlv              1927 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->tag = __cpu_to_le16(WMI_TLV_TAG_STRUCT_STOP_SCAN_CMD);
tlv              1928 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->len = __cpu_to_le16(sizeof(*cmd));
tlv              1929 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	cmd = (void *)tlv->value;
tlv              1969 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	struct wmi_tlv *tlv;
tlv              1972 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	skb = ath10k_wmi_alloc_skb(ar, sizeof(*tlv) + sizeof(*cmd));
tlv              1976 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv = (void *)skb->data;
tlv              1977 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->tag = __cpu_to_le16(WMI_TLV_TAG_STRUCT_VDEV_CREATE_CMD);
tlv              1978 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->len = __cpu_to_le16(sizeof(*cmd));
tlv              1979 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	cmd = (void *)tlv->value;
tlv              1993 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	struct wmi_tlv *tlv;
tlv              1996 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	skb = ath10k_wmi_alloc_skb(ar, sizeof(*tlv) + sizeof(*cmd));
tlv              2000 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv = (void *)skb->data;
tlv              2001 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->tag = __cpu_to_le16(WMI_TLV_TAG_STRUCT_VDEV_DELETE_CMD);
tlv              2002 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->len = __cpu_to_le16(sizeof(*cmd));
tlv              2003 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	cmd = (void *)tlv->value;
tlv              2017 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	struct wmi_tlv *tlv;
tlv              2028 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	len = (sizeof(*tlv) + sizeof(*cmd)) +
tlv              2029 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	      (sizeof(*tlv) + sizeof(*ch)) +
tlv              2030 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	      (sizeof(*tlv) + 0);
tlv              2042 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv = ptr;
tlv              2043 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->tag = __cpu_to_le16(WMI_TLV_TAG_STRUCT_VDEV_START_REQUEST_CMD);
tlv              2044 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->len = __cpu_to_le16(sizeof(*cmd));
tlv              2045 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	cmd = (void *)tlv->value;
tlv              2059 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	ptr += sizeof(*tlv);
tlv              2062 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv = ptr;
tlv              2063 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->tag = __cpu_to_le16(WMI_TLV_TAG_STRUCT_CHANNEL);
tlv              2064 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->len = __cpu_to_le16(sizeof(*ch));
tlv              2065 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	ch = (void *)tlv->value;
tlv              2068 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	ptr += sizeof(*tlv);
tlv              2071 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv = ptr;
tlv              2072 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->tag = __cpu_to_le16(WMI_TLV_TAG_ARRAY_STRUCT);
tlv              2073 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->len = 0;
tlv              2079 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	ptr += sizeof(*tlv);
tlv              2090 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	struct wmi_tlv *tlv;
tlv              2093 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	skb = ath10k_wmi_alloc_skb(ar, sizeof(*tlv) + sizeof(*cmd));
tlv              2097 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv = (void *)skb->data;
tlv              2098 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->tag = __cpu_to_le16(WMI_TLV_TAG_STRUCT_VDEV_STOP_CMD);
tlv              2099 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->len = __cpu_to_le16(sizeof(*cmd));
tlv              2100 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	cmd = (void *)tlv->value;
tlv              2113 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	struct wmi_tlv *tlv;
tlv              2116 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	skb = ath10k_wmi_alloc_skb(ar, sizeof(*tlv) + sizeof(*cmd));
tlv              2120 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv = (void *)skb->data;
tlv              2121 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->tag = __cpu_to_le16(WMI_TLV_TAG_STRUCT_VDEV_UP_CMD);
tlv              2122 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->len = __cpu_to_le16(sizeof(*cmd));
tlv              2123 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	cmd = (void *)tlv->value;
tlv              2136 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	struct wmi_tlv *tlv;
tlv              2139 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	skb = ath10k_wmi_alloc_skb(ar, sizeof(*tlv) + sizeof(*cmd));
tlv              2143 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv = (void *)skb->data;
tlv              2144 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->tag = __cpu_to_le16(WMI_TLV_TAG_STRUCT_VDEV_DOWN_CMD);
tlv              2145 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->len = __cpu_to_le16(sizeof(*cmd));
tlv              2146 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	cmd = (void *)tlv->value;
tlv              2158 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	struct wmi_tlv *tlv;
tlv              2161 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	skb = ath10k_wmi_alloc_skb(ar, sizeof(*tlv) + sizeof(*cmd));
tlv              2165 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv = (void *)skb->data;
tlv              2166 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->tag = __cpu_to_le16(WMI_TLV_TAG_STRUCT_VDEV_SET_PARAM_CMD);
tlv              2167 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->len = __cpu_to_le16(sizeof(*cmd));
tlv              2168 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	cmd = (void *)tlv->value;
tlv              2183 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	struct wmi_tlv *tlv;
tlv              2195 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	len = sizeof(*tlv) + sizeof(*cmd) +
tlv              2196 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	      sizeof(*tlv) + roundup(arg->key_len, sizeof(__le32));
tlv              2202 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv = ptr;
tlv              2203 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->tag = __cpu_to_le16(WMI_TLV_TAG_STRUCT_VDEV_INSTALL_KEY_CMD);
tlv              2204 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->len = __cpu_to_le16(sizeof(*cmd));
tlv              2205 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	cmd = (void *)tlv->value;
tlv              2217 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	ptr += sizeof(*tlv);
tlv              2220 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv = ptr;
tlv              2221 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->tag = __cpu_to_le16(WMI_TLV_TAG_ARRAY_BYTE);
tlv              2222 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->len = __cpu_to_le16(roundup(arg->key_len, sizeof(__le32)));
tlv              2224 drivers/net/wireless/ath/ath10k/wmi-tlv.c 		memcpy(tlv->value, arg->key_data, arg->key_len);
tlv              2226 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	ptr += sizeof(*tlv);
tlv              2237 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	struct wmi_tlv *tlv;
tlv              2239 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv = ptr;
tlv              2240 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->tag = __cpu_to_le16(WMI_TLV_TAG_STRUCT_STA_UAPSD_AUTO_TRIG_PARAM);
tlv              2241 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->len = __cpu_to_le16(sizeof(*ac));
tlv              2242 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	ac = (void *)tlv->value;
tlv              2255 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	return ptr + sizeof(*tlv) + sizeof(*ac);
tlv              2266 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	struct wmi_tlv *tlv;
tlv              2273 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	ac_tlv_len = num_ac * (sizeof(*tlv) + sizeof(*ac));
tlv              2274 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	len = sizeof(*tlv) + sizeof(*cmd) +
tlv              2275 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	      sizeof(*tlv) + ac_tlv_len;
tlv              2281 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv = ptr;
tlv              2282 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->tag = __cpu_to_le16(WMI_TLV_TAG_STRUCT_STA_UAPSD_AUTO_TRIG_CMD);
tlv              2283 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->len = __cpu_to_le16(sizeof(*cmd));
tlv              2284 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	cmd = (void *)tlv->value;
tlv              2289 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	ptr += sizeof(*tlv);
tlv              2292 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv = ptr;
tlv              2293 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->tag = __cpu_to_le16(WMI_TLV_TAG_ARRAY_STRUCT);
tlv              2294 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->len = __cpu_to_le16(ac_tlv_len);
tlv              2295 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	ac = (void *)tlv->value;
tlv              2297 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	ptr += sizeof(*tlv);
tlv              2309 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	struct wmi_tlv *tlv;
tlv              2311 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv = ptr;
tlv              2312 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->tag = __cpu_to_le16(WMI_TLV_TAG_STRUCT_WMM_PARAMS);
tlv              2313 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->len = __cpu_to_le16(sizeof(*wmm));
tlv              2314 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	wmm = (void *)tlv->value;
tlv              2317 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	return ptr + sizeof(*tlv) + sizeof(*wmm);
tlv              2325 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	struct wmi_tlv *tlv;
tlv              2330 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	len = sizeof(*tlv) + sizeof(*cmd);
tlv              2336 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv = ptr;
tlv              2337 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->tag = __cpu_to_le16(WMI_TLV_TAG_STRUCT_VDEV_SET_WMM_PARAMS_CMD);
tlv              2338 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->len = __cpu_to_le16(sizeof(*cmd));
tlv              2339 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	cmd = (void *)tlv->value;
tlv              2358 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	struct wmi_tlv *tlv;
tlv              2362 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	len = sizeof(*tlv) + sizeof(*cmd) +
tlv              2363 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	      sizeof(*tlv) + sizeof(*arp);
tlv              2369 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv = ptr;
tlv              2370 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->tag = __cpu_to_le16(WMI_TLV_TAG_STRUCT_STA_KEEPALIVE_CMD);
tlv              2371 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->len = __cpu_to_le16(sizeof(*cmd));
tlv              2372 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	cmd = (void *)tlv->value;
tlv              2378 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	ptr += sizeof(*tlv);
tlv              2381 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv = ptr;
tlv              2382 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->tag = __cpu_to_le16(WMI_TLV_TAG_STRUCT_STA_KEEPALVE_ARP_RESPONSE);
tlv              2383 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->len = __cpu_to_le16(sizeof(*arp));
tlv              2384 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	arp = (void *)tlv->value;
tlv              2401 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	struct wmi_tlv *tlv;
tlv              2404 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	skb = ath10k_wmi_alloc_skb(ar, sizeof(*tlv) + sizeof(*cmd));
tlv              2408 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv = (void *)skb->data;
tlv              2409 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->tag = __cpu_to_le16(WMI_TLV_TAG_STRUCT_PEER_CREATE_CMD);
tlv              2410 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->len = __cpu_to_le16(sizeof(*cmd));
tlv              2411 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	cmd = (void *)tlv->value;
tlv              2425 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	struct wmi_tlv *tlv;
tlv              2428 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	skb = ath10k_wmi_alloc_skb(ar, sizeof(*tlv) + sizeof(*cmd));
tlv              2432 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv = (void *)skb->data;
tlv              2433 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->tag = __cpu_to_le16(WMI_TLV_TAG_STRUCT_PEER_DELETE_CMD);
tlv              2434 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->len = __cpu_to_le16(sizeof(*cmd));
tlv              2435 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	cmd = (void *)tlv->value;
tlv              2448 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	struct wmi_tlv *tlv;
tlv              2451 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	skb = ath10k_wmi_alloc_skb(ar, sizeof(*tlv) + sizeof(*cmd));
tlv              2455 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv = (void *)skb->data;
tlv              2456 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->tag = __cpu_to_le16(WMI_TLV_TAG_STRUCT_PEER_FLUSH_TIDS_CMD);
tlv              2457 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->len = __cpu_to_le16(sizeof(*cmd));
tlv              2458 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	cmd = (void *)tlv->value;
tlv              2474 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	struct wmi_tlv *tlv;
tlv              2477 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	skb = ath10k_wmi_alloc_skb(ar, sizeof(*tlv) + sizeof(*cmd));
tlv              2481 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv = (void *)skb->data;
tlv              2482 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->tag = __cpu_to_le16(WMI_TLV_TAG_STRUCT_PEER_SET_PARAM_CMD);
tlv              2483 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->len = __cpu_to_le16(sizeof(*cmd));
tlv              2484 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	cmd = (void *)tlv->value;
tlv              2502 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	struct wmi_tlv *tlv;
tlv              2517 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	len = (sizeof(*tlv) + sizeof(*cmd)) +
tlv              2518 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	      (sizeof(*tlv) + legacy_rate_len) +
tlv              2519 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	      (sizeof(*tlv) + ht_rate_len) +
tlv              2520 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	      (sizeof(*tlv) + sizeof(*vht_rate));
tlv              2526 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv = ptr;
tlv              2527 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->tag = __cpu_to_le16(WMI_TLV_TAG_STRUCT_PEER_ASSOC_COMPLETE_CMD);
tlv              2528 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->len = __cpu_to_le16(sizeof(*cmd));
tlv              2529 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	cmd = (void *)tlv->value;
tlv              2548 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	ptr += sizeof(*tlv);
tlv              2551 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv = ptr;
tlv              2552 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->tag = __cpu_to_le16(WMI_TLV_TAG_ARRAY_BYTE);
tlv              2553 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->len = __cpu_to_le16(legacy_rate_len);
tlv              2554 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	memcpy(tlv->value, arg->peer_legacy_rates.rates,
tlv              2557 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	ptr += sizeof(*tlv);
tlv              2560 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv = ptr;
tlv              2561 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->tag = __cpu_to_le16(WMI_TLV_TAG_ARRAY_BYTE);
tlv              2562 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->len = __cpu_to_le16(ht_rate_len);
tlv              2563 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	memcpy(tlv->value, arg->peer_ht_rates.rates,
tlv              2566 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	ptr += sizeof(*tlv);
tlv              2569 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv = ptr;
tlv              2570 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->tag = __cpu_to_le16(WMI_TLV_TAG_STRUCT_VHT_RATE_SET);
tlv              2571 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->len = __cpu_to_le16(sizeof(*vht_rate));
tlv              2572 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	vht_rate = (void *)tlv->value;
tlv              2579 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	ptr += sizeof(*tlv);
tlv              2591 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	struct wmi_tlv *tlv;
tlv              2594 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	skb = ath10k_wmi_alloc_skb(ar, sizeof(*tlv) + sizeof(*cmd));
tlv              2598 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv = (void *)skb->data;
tlv              2599 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->tag = __cpu_to_le16(WMI_TLV_TAG_STRUCT_STA_POWERSAVE_MODE_CMD);
tlv              2600 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->len = __cpu_to_le16(sizeof(*cmd));
tlv              2601 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	cmd = (void *)tlv->value;
tlv              2615 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	struct wmi_tlv *tlv;
tlv              2618 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	skb = ath10k_wmi_alloc_skb(ar, sizeof(*tlv) + sizeof(*cmd));
tlv              2622 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv = (void *)skb->data;
tlv              2623 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->tag = __cpu_to_le16(WMI_TLV_TAG_STRUCT_STA_POWERSAVE_PARAM_CMD);
tlv              2624 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->len = __cpu_to_le16(sizeof(*cmd));
tlv              2625 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	cmd = (void *)tlv->value;
tlv              2639 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	struct wmi_tlv *tlv;
tlv              2645 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	skb = ath10k_wmi_alloc_skb(ar, sizeof(*tlv) + sizeof(*cmd));
tlv              2649 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv = (void *)skb->data;
tlv              2650 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->tag = __cpu_to_le16(WMI_TLV_TAG_STRUCT_AP_PS_PEER_CMD);
tlv              2651 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->len = __cpu_to_le16(sizeof(*cmd));
tlv              2652 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	cmd = (void *)tlv->value;
tlv              2669 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	struct wmi_tlv *tlv;
tlv              2675 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	chans_len = arg->n_channels * (sizeof(*tlv) + sizeof(*ci));
tlv              2676 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	len = (sizeof(*tlv) + sizeof(*cmd)) +
tlv              2677 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	      (sizeof(*tlv) + chans_len);
tlv              2684 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv = ptr;
tlv              2685 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->tag = __cpu_to_le16(WMI_TLV_TAG_STRUCT_SCAN_CHAN_LIST_CMD);
tlv              2686 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->len = __cpu_to_le16(sizeof(*cmd));
tlv              2687 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	cmd = (void *)tlv->value;
tlv              2690 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	ptr += sizeof(*tlv);
tlv              2693 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv = ptr;
tlv              2694 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->tag = __cpu_to_le16(WMI_TLV_TAG_ARRAY_STRUCT);
tlv              2695 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->len = __cpu_to_le16(chans_len);
tlv              2696 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	chans = (void *)tlv->value;
tlv              2701 drivers/net/wireless/ath/ath10k/wmi-tlv.c 		tlv = chans;
tlv              2702 drivers/net/wireless/ath/ath10k/wmi-tlv.c 		tlv->tag = __cpu_to_le16(WMI_TLV_TAG_STRUCT_CHANNEL);
tlv              2703 drivers/net/wireless/ath/ath10k/wmi-tlv.c 		tlv->len = __cpu_to_le16(sizeof(*ci));
tlv              2704 drivers/net/wireless/ath/ath10k/wmi-tlv.c 		ci = (void *)tlv->value;
tlv              2708 drivers/net/wireless/ath/ath10k/wmi-tlv.c 		chans += sizeof(*tlv);
tlv              2712 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	ptr += sizeof(*tlv);
tlv              2723 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	struct wmi_tlv *tlv;
tlv              2726 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	skb = ath10k_wmi_alloc_skb(ar, sizeof(*tlv) + sizeof(*cmd));
tlv              2730 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv = (void *)skb->data;
tlv              2731 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->tag = __cpu_to_le16(WMI_TLV_TAG_STRUCT_SCAN_PROB_REQ_OUI_CMD);
tlv              2732 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->len = __cpu_to_le16(sizeof(*cmd));
tlv              2733 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	cmd = (void *)tlv->value;
tlv              2748 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	struct wmi_tlv *tlv;
tlv              2753 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	skb = ath10k_wmi_alloc_skb(ar, sizeof(*tlv) + sizeof(*cmd));
tlv              2760 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv = (void *)skb->data;
tlv              2761 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->tag = __cpu_to_le16(WMI_TLV_TAG_STRUCT_BCN_SEND_FROM_HOST_CMD);
tlv              2762 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->len = __cpu_to_le16(sizeof(*cmd));
tlv              2763 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	cmd = (void *)tlv->value;
tlv              2787 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	struct wmi_tlv *tlv;
tlv              2792 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	len = (sizeof(*tlv) + sizeof(*cmd)) +
tlv              2793 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	      (4 * (sizeof(*tlv) + sizeof(*wmm)));
tlv              2800 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv = ptr;
tlv              2801 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->tag = __cpu_to_le16(WMI_TLV_TAG_STRUCT_PDEV_SET_WMM_PARAMS_CMD);
tlv              2802 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->len = __cpu_to_le16(sizeof(*cmd));
tlv              2803 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	cmd = (void *)tlv->value;
tlv              2807 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	ptr += sizeof(*tlv);
tlv              2823 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	struct wmi_tlv *tlv;
tlv              2826 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	skb = ath10k_wmi_alloc_skb(ar, sizeof(*tlv) + sizeof(*cmd));
tlv              2830 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv = (void *)skb->data;
tlv              2831 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->tag = __cpu_to_le16(WMI_TLV_TAG_STRUCT_REQUEST_STATS_CMD);
tlv              2832 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->len = __cpu_to_le16(sizeof(*cmd));
tlv              2833 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	cmd = (void *)tlv->value;
tlv              2873 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	struct wmi_tlv *tlv;
tlv              2891 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	len = sizeof(*cmd) + 2 * sizeof(*tlv);
tlv              2915 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv = ptr;
tlv              2916 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->tag = __cpu_to_le16(WMI_TLV_TAG_STRUCT_MGMT_TX_CMD);
tlv              2917 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->len = __cpu_to_le16(sizeof(*cmd));
tlv              2918 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	cmd = (void *)tlv->value;
tlv              2926 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	ptr += sizeof(*tlv);
tlv              2929 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv = ptr;
tlv              2930 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->tag = __cpu_to_le16(WMI_TLV_TAG_ARRAY_BYTE);
tlv              2931 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->len = __cpu_to_le16(buf_len);
tlv              2933 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	ptr += sizeof(*tlv);
tlv              2949 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	struct wmi_tlv *tlv;
tlv              2952 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	skb = ath10k_wmi_alloc_skb(ar, sizeof(*tlv) + sizeof(*cmd));
tlv              2956 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv = (void *)skb->data;
tlv              2957 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->tag = __cpu_to_le16(WMI_TLV_TAG_STRUCT_FORCE_FW_HANG_CMD);
tlv              2958 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->len = __cpu_to_le16(sizeof(*cmd));
tlv              2959 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	cmd = (void *)tlv->value;
tlv              2972 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	struct wmi_tlv *tlv;
tlv              2989 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	len = sizeof(*tlv) + sizeof(*cmd) + sizeof(*tlv) + bmap_len;
tlv              2996 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv = ptr;
tlv              2997 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->tag = __cpu_to_le16(WMI_TLV_TAG_STRUCT_DEBUG_LOG_CONFIG_CMD);
tlv              2998 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->len = __cpu_to_le16(sizeof(*cmd));
tlv              2999 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	cmd = (void *)tlv->value;
tlv              3003 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	ptr += sizeof(*tlv);
tlv              3006 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv = ptr;
tlv              3007 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->tag = __cpu_to_le16(WMI_TLV_TAG_ARRAY_UINT32);
tlv              3008 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->len = __cpu_to_le16(bmap_len);
tlv              3012 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	ptr += sizeof(*tlv);
tlv              3023 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	struct wmi_tlv *tlv;
tlv              3028 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	len = sizeof(*tlv) + sizeof(*cmd);
tlv              3034 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv = ptr;
tlv              3035 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->tag = __cpu_to_le16(WMI_TLV_TAG_STRUCT_PDEV_PKTLOG_ENABLE_CMD);
tlv              3036 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->len = __cpu_to_le16(sizeof(*cmd));
tlv              3037 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	cmd = (void *)tlv->value;
tlv              3040 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	ptr += sizeof(*tlv);
tlv              3052 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	struct wmi_tlv *tlv;
tlv              3055 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	skb = ath10k_wmi_alloc_skb(ar, sizeof(*tlv) + sizeof(*cmd));
tlv              3059 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv = (void *)skb->data;
tlv              3060 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->tag = __cpu_to_le16(WMI_TLV_TAG_STRUCT_PDEV_GET_TEMPERATURE_CMD);
tlv              3061 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->len = __cpu_to_le16(sizeof(*cmd));
tlv              3062 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	cmd = (void *)tlv->value;
tlv              3071 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	struct wmi_tlv *tlv;
tlv              3076 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	len = sizeof(*tlv) + sizeof(*cmd);
tlv              3082 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv = ptr;
tlv              3083 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->tag = __cpu_to_le16(WMI_TLV_TAG_STRUCT_PDEV_PKTLOG_DISABLE_CMD);
tlv              3084 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->len = __cpu_to_le16(sizeof(*cmd));
tlv              3085 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	cmd = (void *)tlv->value;
tlv              3087 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	ptr += sizeof(*tlv);
tlv              3102 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	struct wmi_tlv *tlv;
tlv              3110 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	len = sizeof(*tlv) + sizeof(*cmd) +
tlv              3111 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	      sizeof(*tlv) + sizeof(*info) + prb_ies_len +
tlv              3112 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	      sizeof(*tlv) + roundup(bcn->len, 4);
tlv              3118 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv = ptr;
tlv              3119 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->tag = __cpu_to_le16(WMI_TLV_TAG_STRUCT_BCN_TMPL_CMD);
tlv              3120 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->len = __cpu_to_le16(sizeof(*cmd));
tlv              3121 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	cmd = (void *)tlv->value;
tlv              3126 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	ptr += sizeof(*tlv);
tlv              3134 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv = ptr;
tlv              3135 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->tag = __cpu_to_le16(WMI_TLV_TAG_STRUCT_BCN_PRB_INFO);
tlv              3136 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->len = __cpu_to_le16(sizeof(*info) + prb_ies_len);
tlv              3137 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	info = (void *)tlv->value;
tlv              3142 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	ptr += sizeof(*tlv);
tlv              3146 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv = ptr;
tlv              3147 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->tag = __cpu_to_le16(WMI_TLV_TAG_ARRAY_BYTE);
tlv              3148 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->len = __cpu_to_le16(roundup(bcn->len, 4));
tlv              3149 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	memcpy(tlv->value, bcn->data, bcn->len);
tlv              3164 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	struct wmi_tlv *tlv;
tlv              3169 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	len = sizeof(*tlv) + sizeof(*cmd) +
tlv              3170 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	      sizeof(*tlv) + sizeof(*info) +
tlv              3171 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	      sizeof(*tlv) + roundup(prb->len, 4);
tlv              3177 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv = ptr;
tlv              3178 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->tag = __cpu_to_le16(WMI_TLV_TAG_STRUCT_PRB_TMPL_CMD);
tlv              3179 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->len = __cpu_to_le16(sizeof(*cmd));
tlv              3180 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	cmd = (void *)tlv->value;
tlv              3184 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	ptr += sizeof(*tlv);
tlv              3187 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv = ptr;
tlv              3188 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->tag = __cpu_to_le16(WMI_TLV_TAG_STRUCT_BCN_PRB_INFO);
tlv              3189 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->len = __cpu_to_le16(sizeof(*info));
tlv              3190 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	info = (void *)tlv->value;
tlv              3194 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	ptr += sizeof(*tlv);
tlv              3197 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv = ptr;
tlv              3198 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->tag = __cpu_to_le16(WMI_TLV_TAG_ARRAY_BYTE);
tlv              3199 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->len = __cpu_to_le16(roundup(prb->len, 4));
tlv              3200 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	memcpy(tlv->value, prb->data, prb->len);
tlv              3212 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	struct wmi_tlv *tlv;
tlv              3217 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	len = sizeof(*tlv) + sizeof(*cmd) +
tlv              3218 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	      sizeof(*tlv) + roundup(p2p_ie[1] + 2, 4);
tlv              3224 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv = ptr;
tlv              3225 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->tag = __cpu_to_le16(WMI_TLV_TAG_STRUCT_P2P_GO_SET_BEACON_IE);
tlv              3226 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->len = __cpu_to_le16(sizeof(*cmd));
tlv              3227 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	cmd = (void *)tlv->value;
tlv              3231 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	ptr += sizeof(*tlv);
tlv              3234 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv = ptr;
tlv              3235 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->tag = __cpu_to_le16(WMI_TLV_TAG_ARRAY_BYTE);
tlv              3236 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->len = __cpu_to_le16(roundup(p2p_ie[1] + 2, 4));
tlv              3237 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	memcpy(tlv->value, p2p_ie, p2p_ie[1] + 2);
tlv              3239 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	ptr += sizeof(*tlv);
tlv              3252 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	struct wmi_tlv *tlv;
tlv              3270 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	len = sizeof(*tlv) + sizeof(*cmd);
tlv              3276 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv = ptr;
tlv              3277 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->tag = __cpu_to_le16(WMI_TLV_TAG_STRUCT_TDLS_SET_STATE_CMD);
tlv              3278 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->len = __cpu_to_le16(sizeof(*cmd));
tlv              3280 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	cmd = (void *)tlv->value;
tlv              3295 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	ptr += sizeof(*tlv);
tlv              3330 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	struct wmi_tlv *tlv;
tlv              3337 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	len = sizeof(*tlv) + sizeof(*cmd) +
tlv              3338 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	      sizeof(*tlv) + sizeof(*peer_cap) +
tlv              3339 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	      sizeof(*tlv) + cap->peer_chan_len * sizeof(*chan);
tlv              3346 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv = ptr;
tlv              3347 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->tag = __cpu_to_le16(WMI_TLV_TAG_STRUCT_TDLS_PEER_UPDATE_CMD);
tlv              3348 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->len = __cpu_to_le16(sizeof(*cmd));
tlv              3350 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	cmd = (void *)tlv->value;
tlv              3355 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	ptr += sizeof(*tlv);
tlv              3358 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv = ptr;
tlv              3359 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->tag = __cpu_to_le16(WMI_TLV_TAG_STRUCT_TDLS_PEER_CAPABILITIES);
tlv              3360 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->len = __cpu_to_le16(sizeof(*peer_cap));
tlv              3361 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	peer_cap = (void *)tlv->value;
tlv              3379 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	ptr += sizeof(*tlv);
tlv              3382 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv = ptr;
tlv              3383 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->tag = __cpu_to_le16(WMI_TLV_TAG_ARRAY_STRUCT);
tlv              3384 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->len = __cpu_to_le16(cap->peer_chan_len * sizeof(*chan));
tlv              3386 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	ptr += sizeof(*tlv);
tlv              3389 drivers/net/wireless/ath/ath10k/wmi-tlv.c 		tlv = ptr;
tlv              3390 drivers/net/wireless/ath/ath10k/wmi-tlv.c 		tlv->tag = __cpu_to_le16(WMI_TLV_TAG_STRUCT_CHANNEL);
tlv              3391 drivers/net/wireless/ath/ath10k/wmi-tlv.c 		tlv->len = __cpu_to_le16(sizeof(*chan));
tlv              3392 drivers/net/wireless/ath/ath10k/wmi-tlv.c 		chan = (void *)tlv->value;
tlv              3395 drivers/net/wireless/ath/ath10k/wmi-tlv.c 		ptr += sizeof(*tlv);
tlv              3411 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	struct wmi_tlv *tlv;
tlv              3414 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	skb = ath10k_wmi_alloc_skb(ar, sizeof(*tlv) + sizeof(*cmd));
tlv              3418 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv = (void *)skb->data;
tlv              3419 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->tag = __cpu_to_le16(WMI_TLV_TAG_STRUCT_PDEV_SET_QUIET_CMD);
tlv              3420 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->len = __cpu_to_le16(sizeof(*cmd));
tlv              3421 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	cmd = (void *)tlv->value;
tlv              3440 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	struct wmi_tlv *tlv;
tlv              3444 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	len = sizeof(*tlv) + sizeof(*cmd);
tlv              3449 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv = (struct wmi_tlv *)skb->data;
tlv              3450 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->tag = __cpu_to_le16(WMI_TLV_TAG_STRUCT_WOW_ENABLE_CMD);
tlv              3451 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->len = __cpu_to_le16(sizeof(*cmd));
tlv              3452 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	cmd = (void *)tlv->value;
tlv              3469 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	struct wmi_tlv *tlv;
tlv              3473 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	len = sizeof(*tlv) + sizeof(*cmd);
tlv              3478 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv = (struct wmi_tlv *)skb->data;
tlv              3479 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->tag = __cpu_to_le16(WMI_TLV_TAG_STRUCT_WOW_ADD_DEL_EVT_CMD);
tlv              3480 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->len = __cpu_to_le16(sizeof(*cmd));
tlv              3481 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	cmd = (void *)tlv->value;
tlv              3496 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	struct wmi_tlv *tlv;
tlv              3500 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	len = sizeof(*tlv) + sizeof(*cmd);
tlv              3505 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv = (struct wmi_tlv *)skb->data;
tlv              3506 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->tag = __cpu_to_le16(WMI_TLV_TAG_STRUCT_WOW_HOSTWAKEUP_FROM_SLEEP_CMD);
tlv              3507 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->len = __cpu_to_le16(sizeof(*cmd));
tlv              3508 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	cmd = (void *)tlv->value;
tlv              3522 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	struct wmi_tlv *tlv;
tlv              3527 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	len = sizeof(*tlv) + sizeof(*cmd) +
tlv              3528 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	      sizeof(*tlv) +			/* array struct */
tlv              3529 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	      sizeof(*tlv) + sizeof(*bitmap) +  /* bitmap */
tlv              3530 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	      sizeof(*tlv) +			/* empty ipv4 sync */
tlv              3531 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	      sizeof(*tlv) +			/* empty ipv6 sync */
tlv              3532 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	      sizeof(*tlv) +			/* empty magic */
tlv              3533 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	      sizeof(*tlv) +			/* empty info timeout */
tlv              3534 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	      sizeof(*tlv) + sizeof(u32);	/* ratelimit interval */
tlv              3542 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv = ptr;
tlv              3543 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->tag = __cpu_to_le16(WMI_TLV_TAG_STRUCT_WOW_ADD_PATTERN_CMD);
tlv              3544 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->len = __cpu_to_le16(sizeof(*cmd));
tlv              3545 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	cmd = (void *)tlv->value;
tlv              3551 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	ptr += sizeof(*tlv);
tlv              3555 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv = ptr;
tlv              3556 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->tag = __cpu_to_le16(WMI_TLV_TAG_ARRAY_STRUCT);
tlv              3557 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->len = __cpu_to_le16(sizeof(*tlv) + sizeof(*bitmap));
tlv              3559 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	ptr += sizeof(*tlv);
tlv              3561 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv = ptr;
tlv              3562 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->tag = __cpu_to_le16(WMI_TLV_TAG_STRUCT_WOW_BITMAP_PATTERN_T);
tlv              3563 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->len = __cpu_to_le16(sizeof(*bitmap));
tlv              3564 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	bitmap = (void *)tlv->value;
tlv              3573 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	ptr += sizeof(*tlv);
tlv              3577 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv = ptr;
tlv              3578 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->tag = __cpu_to_le16(WMI_TLV_TAG_ARRAY_STRUCT);
tlv              3579 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->len = __cpu_to_le16(0);
tlv              3581 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	ptr += sizeof(*tlv);
tlv              3584 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv = ptr;
tlv              3585 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->tag = __cpu_to_le16(WMI_TLV_TAG_ARRAY_STRUCT);
tlv              3586 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->len = __cpu_to_le16(0);
tlv              3588 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	ptr += sizeof(*tlv);
tlv              3591 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv = ptr;
tlv              3592 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->tag = __cpu_to_le16(WMI_TLV_TAG_ARRAY_STRUCT);
tlv              3593 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->len = __cpu_to_le16(0);
tlv              3595 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	ptr += sizeof(*tlv);
tlv              3598 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv = ptr;
tlv              3599 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->tag = __cpu_to_le16(WMI_TLV_TAG_ARRAY_UINT32);
tlv              3600 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->len = __cpu_to_le16(0);
tlv              3602 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	ptr += sizeof(*tlv);
tlv              3605 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv = ptr;
tlv              3606 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->tag = __cpu_to_le16(WMI_TLV_TAG_ARRAY_UINT32);
tlv              3607 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->len = __cpu_to_le16(sizeof(u32));
tlv              3619 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	struct wmi_tlv *tlv;
tlv              3623 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	len = sizeof(*tlv) + sizeof(*cmd);
tlv              3628 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv = (struct wmi_tlv *)skb->data;
tlv              3629 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->tag = __cpu_to_le16(WMI_TLV_TAG_STRUCT_WOW_DEL_PATTERN_CMD);
tlv              3630 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->len = __cpu_to_le16(sizeof(*cmd));
tlv              3631 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	cmd = (void *)tlv->value;
tlv              3650 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	struct wmi_tlv *tlv;
tlv              3658 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	len = sizeof(*tlv) + sizeof(*cmd) +
tlv              3659 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	      sizeof(*tlv) +
tlv              3663 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	      sizeof(*tlv);
tlv              3676 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv = ptr;
tlv              3677 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->tag = __cpu_to_le16(WMI_TLV_TAG_STRUCT_NLO_CONFIG_CMD);
tlv              3678 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->len = __cpu_to_le16(sizeof(*cmd));
tlv              3679 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	cmd = (void *)tlv->value;
tlv              3705 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	ptr += sizeof(*tlv);
tlv              3714 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv = ptr;
tlv              3715 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->tag = __cpu_to_le16(WMI_TLV_TAG_ARRAY_STRUCT);
tlv              3716 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->len = __cpu_to_le16(tlv_len);
tlv              3718 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	ptr += sizeof(*tlv);
tlv              3721 drivers/net/wireless/ath/ath10k/wmi-tlv.c 		tlv = (struct wmi_tlv *)(&nlo_list[i].tlv_header);
tlv              3722 drivers/net/wireless/ath/ath10k/wmi-tlv.c 		tlv->tag = __cpu_to_le16(WMI_TLV_TAG_ARRAY_BYTE);
tlv              3723 drivers/net/wireless/ath/ath10k/wmi-tlv.c 		tlv->len = __cpu_to_le16(sizeof(struct nlo_configured_parameters) -
tlv              3724 drivers/net/wireless/ath/ath10k/wmi-tlv.c 					 sizeof(*tlv));
tlv              3753 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv = ptr;
tlv              3754 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->tag = __cpu_to_le16(WMI_TLV_TAG_ARRAY_UINT32);
tlv              3755 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->len = __cpu_to_le16(__le32_to_cpu(cmd->num_of_channels) *
tlv              3757 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	ptr += sizeof(*tlv);
tlv              3774 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	struct wmi_tlv *tlv;
tlv              3779 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	len = sizeof(*tlv) + sizeof(*cmd) +
tlv              3780 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	      sizeof(*tlv) +
tlv              3784 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	      sizeof(*tlv);
tlv              3791 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv = ptr;
tlv              3792 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->tag = __cpu_to_le16(WMI_TLV_TAG_STRUCT_NLO_CONFIG_CMD);
tlv              3793 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->len = __cpu_to_le16(sizeof(*cmd));
tlv              3794 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	cmd = (void *)tlv->value;
tlv              3799 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	ptr += sizeof(*tlv);
tlv              3803 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv = ptr;
tlv              3804 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->tag = __cpu_to_le16(WMI_TLV_TAG_ARRAY_STRUCT);
tlv              3805 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->len = __cpu_to_le16(0);
tlv              3807 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	ptr += sizeof(*tlv);
tlv              3810 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv = ptr;
tlv              3811 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->tag = __cpu_to_le16(WMI_TLV_TAG_ARRAY_UINT32);
tlv              3812 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->len = __cpu_to_le16(0);
tlv              3832 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	struct wmi_tlv *tlv;
tlv              3837 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	len = sizeof(*tlv) + sizeof(*cmd);
tlv              3843 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv = ptr;
tlv              3844 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->tag = __cpu_to_le16(WMI_TLV_TAG_STRUCT_RESMGR_ADAPTIVE_OCS_CMD);
tlv              3845 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->len = __cpu_to_le16(sizeof(*cmd));
tlv              3846 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	cmd = (void *)tlv->value;
tlv              3849 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	ptr += sizeof(*tlv);
tlv              3860 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	struct wmi_tlv *tlv;
tlv              3865 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	len = sizeof(*tlv) + sizeof(*cmd);
tlv              3871 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv = ptr;
tlv              3872 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->tag = __cpu_to_le16(WMI_TLV_TAG_STRUCT_ECHO_CMD);
tlv              3873 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->len = __cpu_to_le16(sizeof(*cmd));
tlv              3874 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	cmd = (void *)tlv->value;
tlv              3877 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	ptr += sizeof(*tlv);
tlv              3890 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	struct wmi_tlv *tlv;
tlv              3894 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	len = sizeof(*tlv) + sizeof(*cmd);
tlv              3900 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv = ptr;
tlv              3901 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->tag = __cpu_to_le16(WMI_TLV_TAG_STRUCT_VDEV_SPECTRAL_CONFIGURE_CMD);
tlv              3902 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->len = __cpu_to_le16(sizeof(*cmd));
tlv              3903 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	cmd = (void *)tlv->value;
tlv              3933 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	struct wmi_tlv *tlv;
tlv              3937 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	len = sizeof(*tlv) + sizeof(*cmd);
tlv              3943 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv = ptr;
tlv              3944 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->tag = __cpu_to_le16(WMI_TLV_TAG_STRUCT_VDEV_SPECTRAL_ENABLE_CMD);
tlv              3945 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->len = __cpu_to_le16(sizeof(*cmd));
tlv              3946 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	cmd = (void *)tlv->value;
tlv              4111 drivers/net/wireless/ath/ath10k/wmi.c 	const struct phyerr_tlv *tlv;
tlv              4129 drivers/net/wireless/ath/ath10k/wmi.c 		if (i + sizeof(*tlv) > buf_len) {
tlv              4135 drivers/net/wireless/ath/ath10k/wmi.c 		tlv = (struct phyerr_tlv *)&phyerr->buf[i];
tlv              4136 drivers/net/wireless/ath/ath10k/wmi.c 		tlv_len = __le16_to_cpu(tlv->len);
tlv              4137 drivers/net/wireless/ath/ath10k/wmi.c 		tlv_buf = &phyerr->buf[i + sizeof(*tlv)];
tlv              4140 drivers/net/wireless/ath/ath10k/wmi.c 			   tlv_len, tlv->tag, tlv->sig);
tlv              4142 drivers/net/wireless/ath/ath10k/wmi.c 		switch (tlv->tag) {
tlv              4144 drivers/net/wireless/ath/ath10k/wmi.c 			if (i + sizeof(*tlv) + sizeof(*rr) > buf_len) {
tlv              4154 drivers/net/wireless/ath/ath10k/wmi.c 			if (i + sizeof(*tlv) + sizeof(*fftr) > buf_len) {
tlv              4167 drivers/net/wireless/ath/ath10k/wmi.c 		i += sizeof(*tlv) + tlv_len;
tlv              4176 drivers/net/wireless/ath/ath10k/wmi.c 	struct phyerr_tlv *tlv;
tlv              4184 drivers/net/wireless/ath/ath10k/wmi.c 		if (i + sizeof(*tlv) > buf_len) {
tlv              4190 drivers/net/wireless/ath/ath10k/wmi.c 		tlv = (struct phyerr_tlv *)&phyerr->buf[i];
tlv              4191 drivers/net/wireless/ath/ath10k/wmi.c 		tlv_len = __le16_to_cpu(tlv->len);
tlv              4192 drivers/net/wireless/ath/ath10k/wmi.c 		tlv_buf = &phyerr->buf[i + sizeof(*tlv)];
tlv              4194 drivers/net/wireless/ath/ath10k/wmi.c 		if (i + sizeof(*tlv) + tlv_len > buf_len) {
tlv              4200 drivers/net/wireless/ath/ath10k/wmi.c 		switch (tlv->tag) {
tlv              4221 drivers/net/wireless/ath/ath10k/wmi.c 		i += sizeof(*tlv) + tlv_len;
tlv               140 drivers/net/wireless/ath/ath9k/common-spectral.c 	struct fft_sample_tlv *tlv;
tlv               148 drivers/net/wireless/ath/ath9k/common-spectral.c 	fft_sample_20.tlv.type = ATH_FFT_SAMPLE_HT20;
tlv               149 drivers/net/wireless/ath/ath9k/common-spectral.c 	fft_sample_20.tlv.length = __cpu_to_be16(length);
tlv               227 drivers/net/wireless/ath/ath9k/common-spectral.c 	tlv = (struct fft_sample_tlv *)&fft_sample_20;
tlv               229 drivers/net/wireless/ath/ath9k/common-spectral.c 	ath_debug_send_fft_sample(spec_priv, tlv);
tlv               245 drivers/net/wireless/ath/ath9k/common-spectral.c 	struct fft_sample_tlv *tlv;
tlv               262 drivers/net/wireless/ath/ath9k/common-spectral.c 	fft_sample_40.tlv.type = ATH_FFT_SAMPLE_HT20_40;
tlv               263 drivers/net/wireless/ath/ath9k/common-spectral.c 	fft_sample_40.tlv.length = __cpu_to_be16(length);
tlv               404 drivers/net/wireless/ath/ath9k/common-spectral.c 	tlv = (struct fft_sample_tlv *)&fft_sample_40;
tlv               406 drivers/net/wireless/ath/ath9k/common-spectral.c 	ath_debug_send_fft_sample(spec_priv, tlv);
tlv                49 drivers/net/wireless/ath/spectral_common.h 	struct fft_sample_tlv tlv;
tlv                67 drivers/net/wireless/ath/spectral_common.h 	struct fft_sample_tlv tlv;
tlv                95 drivers/net/wireless/ath/spectral_common.h 	struct fft_sample_tlv tlv;
tlv              2344 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c 	u32 tlv = BRCMF_FWS_FLAGS_RSSI_SIGNALS;
tlv              2377 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c 		tlv |= BRCMF_FWS_FLAGS_XONXOFF_SIGNALS |
tlv              2402 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c 	if (brcmf_fil_iovar_int_set(ifp, "tlv", tlv)) {
tlv              2431 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c 		  fws->fw_signals ? "enabled" : "disabled", tlv);
tlv              1653 drivers/net/wireless/intel/iwlwifi/fw/dbg.c 	struct iwl_fw_error_dump_data *tlv;
tlv              1666 drivers/net/wireless/intel/iwlwifi/fw/dbg.c 	entry = kmalloc(sizeof(*entry) + sizeof(*tlv) + size, GFP_KERNEL);
tlv              1670 drivers/net/wireless/intel/iwlwifi/fw/dbg.c 	entry->size = sizeof(*tlv) + size;
tlv              1672 drivers/net/wireless/intel/iwlwifi/fw/dbg.c 	tlv = (void *)entry->data;
tlv              1673 drivers/net/wireless/intel/iwlwifi/fw/dbg.c 	tlv->type = cpu_to_le32(type);
tlv              1674 drivers/net/wireless/intel/iwlwifi/fw/dbg.c 	tlv->len = cpu_to_le32(size);
tlv              1681 drivers/net/wireless/intel/iwlwifi/fw/dbg.c 	header = (void *)tlv->data;
tlv              1723 drivers/net/wireless/intel/iwlwifi/fw/dbg.c 	struct iwl_fw_error_dump_data *tlv;
tlv              1726 drivers/net/wireless/intel/iwlwifi/fw/dbg.c 	u32 size = sizeof(*tlv) + sizeof(*dump) + reg_ids_size;
tlv              1734 drivers/net/wireless/intel/iwlwifi/fw/dbg.c 	tlv = (void *)entry->data;
tlv              1735 drivers/net/wireless/intel/iwlwifi/fw/dbg.c 	tlv->type = cpu_to_le32(IWL_INI_DUMP_INFO_TYPE);
tlv              1736 drivers/net/wireless/intel/iwlwifi/fw/dbg.c 	tlv->len = cpu_to_le32(sizeof(*dump) + reg_ids_size);
tlv              1738 drivers/net/wireless/intel/iwlwifi/fw/dbg.c 	dump = (void *)tlv->data;
tlv               979 drivers/net/wireless/intel/iwlwifi/fw/file.h static inline size_t _iwl_tlv_array_len(const struct iwl_ucode_tlv *tlv,
tlv               982 drivers/net/wireless/intel/iwlwifi/fw/file.h 	size_t var_len = le32_to_cpu(tlv->length) - fixed_size;
tlv               107 drivers/net/wireless/intel/iwlwifi/iwl-dbg-tlv.c static bool iwl_dbg_tlv_ver_support(struct iwl_ucode_tlv *tlv)
tlv               109 drivers/net/wireless/intel/iwlwifi/iwl-dbg-tlv.c 	struct iwl_fw_ini_header *hdr = (void *)&tlv->data[0];
tlv               110 drivers/net/wireless/intel/iwlwifi/iwl-dbg-tlv.c 	u32 type = le32_to_cpu(tlv->type);
tlv               121 drivers/net/wireless/intel/iwlwifi/iwl-dbg-tlv.c void iwl_dbg_tlv_alloc(struct iwl_trans *trans, struct iwl_ucode_tlv *tlv,
tlv               124 drivers/net/wireless/intel/iwlwifi/iwl-dbg-tlv.c 	struct iwl_fw_ini_header *hdr = (void *)&tlv->data[0];
tlv               125 drivers/net/wireless/intel/iwlwifi/iwl-dbg-tlv.c 	u32 type = le32_to_cpu(tlv->type);
tlv               139 drivers/net/wireless/intel/iwlwifi/iwl-dbg-tlv.c 	if (!iwl_dbg_tlv_ver_support(tlv)) {
tlv               168 drivers/net/wireless/intel/iwlwifi/iwl-dbg-tlv.c 	struct iwl_ucode_tlv *tlv;
tlv               171 drivers/net/wireless/intel/iwlwifi/iwl-dbg-tlv.c 	while (len >= sizeof(*tlv)) {
tlv               172 drivers/net/wireless/intel/iwlwifi/iwl-dbg-tlv.c 		len -= sizeof(*tlv);
tlv               173 drivers/net/wireless/intel/iwlwifi/iwl-dbg-tlv.c 		tlv = (void *)data;
tlv               175 drivers/net/wireless/intel/iwlwifi/iwl-dbg-tlv.c 		tlv_len = le32_to_cpu(tlv->length);
tlv               183 drivers/net/wireless/intel/iwlwifi/iwl-dbg-tlv.c 		data += sizeof(*tlv) + ALIGN(tlv_len, 4);
tlv               185 drivers/net/wireless/intel/iwlwifi/iwl-dbg-tlv.c 		iwl_dbg_tlv_alloc(trans, tlv, true);
tlv                74 drivers/net/wireless/intel/iwlwifi/iwl-dbg-tlv.h 	struct iwl_ucode_tlv tlv;
tlv                90 drivers/net/wireless/intel/iwlwifi/iwl-dbg-tlv.h void iwl_dbg_tlv_alloc(struct iwl_trans *trans, struct iwl_ucode_tlv *tlv,
tlv               604 drivers/net/wireless/intel/iwlwifi/iwl-drv.c 	struct iwl_ucode_tlv *tlv;
tlv               650 drivers/net/wireless/intel/iwlwifi/iwl-drv.c 	while (len >= sizeof(*tlv)) {
tlv               651 drivers/net/wireless/intel/iwlwifi/iwl-drv.c 		len -= sizeof(*tlv);
tlv               652 drivers/net/wireless/intel/iwlwifi/iwl-drv.c 		tlv = (void *)data;
tlv               654 drivers/net/wireless/intel/iwlwifi/iwl-drv.c 		tlv_len = le32_to_cpu(tlv->length);
tlv               655 drivers/net/wireless/intel/iwlwifi/iwl-drv.c 		tlv_type = le32_to_cpu(tlv->type);
tlv               656 drivers/net/wireless/intel/iwlwifi/iwl-drv.c 		tlv_data = tlv->data;
tlv               664 drivers/net/wireless/intel/iwlwifi/iwl-drv.c 		data += sizeof(*tlv) + ALIGN(tlv_len, 4);
tlv              1155 drivers/net/wireless/intel/iwlwifi/iwl-drv.c 				iwl_dbg_tlv_alloc(drv->trans, tlv, false);
tlv               165 drivers/net/wireless/marvell/libertas/cfg.c static int lbs_add_ssid_tlv(u8 *tlv, const u8 *ssid, int ssid_len)
tlv               167 drivers/net/wireless/marvell/libertas/cfg.c 	struct mrvl_ie_ssid_param_set *ssid_tlv = (void *)tlv;
tlv               190 drivers/net/wireless/marvell/libertas/cfg.c static int lbs_add_channel_list_tlv(struct lbs_private *priv, u8 *tlv,
tlv               196 drivers/net/wireless/marvell/libertas/cfg.c 	struct mrvl_ie_header *header = (void *) tlv;
tlv               213 drivers/net/wireless/marvell/libertas/cfg.c 	tlv += sizeof(struct mrvl_ie_header);
tlv               217 drivers/net/wireless/marvell/libertas/cfg.c 	memset(tlv, 0, chanscanparamsize);
tlv               220 drivers/net/wireless/marvell/libertas/cfg.c 		struct chanscanparamset *param = (void *) tlv;
tlv               231 drivers/net/wireless/marvell/libertas/cfg.c 		tlv += sizeof(struct chanscanparamset);
tlv               251 drivers/net/wireless/marvell/libertas/cfg.c static int lbs_add_supported_rates_tlv(u8 *tlv)
tlv               254 drivers/net/wireless/marvell/libertas/cfg.c 	struct mrvl_ie_rates_param_set *rate_tlv = (void *)tlv;
tlv               262 drivers/net/wireless/marvell/libertas/cfg.c 	tlv += sizeof(rate_tlv->header);
tlv               263 drivers/net/wireless/marvell/libertas/cfg.c 	i = lbs_add_rates(tlv);
tlv               264 drivers/net/wireless/marvell/libertas/cfg.c 	tlv += i;
tlv               271 drivers/net/wireless/marvell/libertas/cfg.c add_ie_rates(u8 *tlv, const u8 *ie, int *nrates)
tlv               278 drivers/net/wireless/marvell/libertas/cfg.c 		return tlv;
tlv               289 drivers/net/wireless/marvell/libertas/cfg.c 				*tlv++ = ie[ap];
tlv               294 drivers/net/wireless/marvell/libertas/cfg.c 	return tlv;
tlv               300 drivers/net/wireless/marvell/libertas/cfg.c static int lbs_add_common_rates_tlv(u8 *tlv, struct cfg80211_bss *bss)
tlv               302 drivers/net/wireless/marvell/libertas/cfg.c 	struct mrvl_ie_rates_param_set *rate_tlv = (void *)tlv;
tlv               316 drivers/net/wireless/marvell/libertas/cfg.c 	tlv += sizeof(rate_tlv->header);
tlv               320 drivers/net/wireless/marvell/libertas/cfg.c 		tlv = add_ie_rates(tlv, rates_eid, &n);
tlv               324 drivers/net/wireless/marvell/libertas/cfg.c 			tlv = add_ie_rates(tlv, ext_rates_eid, &n);
tlv               328 drivers/net/wireless/marvell/libertas/cfg.c 		*tlv++ = 0x82;
tlv               329 drivers/net/wireless/marvell/libertas/cfg.c 		*tlv++ = 0x84;
tlv               330 drivers/net/wireless/marvell/libertas/cfg.c 		*tlv++ = 0x8b;
tlv               331 drivers/net/wireless/marvell/libertas/cfg.c 		*tlv++ = 0x96;
tlv               349 drivers/net/wireless/marvell/libertas/cfg.c static int lbs_add_auth_type_tlv(u8 *tlv, enum nl80211_auth_type auth_type)
tlv               351 drivers/net/wireless/marvell/libertas/cfg.c 	struct mrvl_ie_auth_type *auth = (void *) tlv;
tlv               371 drivers/net/wireless/marvell/libertas/cfg.c static int lbs_add_channel_tlv(u8 *tlv, u8 channel)
tlv               373 drivers/net/wireless/marvell/libertas/cfg.c 	struct mrvl_ie_ds_param_set *ds = (void *) tlv;
tlv               393 drivers/net/wireless/marvell/libertas/cfg.c static int lbs_add_cf_param_tlv(u8 *tlv)
tlv               395 drivers/net/wireless/marvell/libertas/cfg.c 	struct mrvl_ie_cf_param_set *cf = (void *)tlv;
tlv               417 drivers/net/wireless/marvell/libertas/cfg.c static int lbs_add_wpa_tlv(u8 *tlv, const u8 *ie, u8 ie_len)
tlv               431 drivers/net/wireless/marvell/libertas/cfg.c 	*tlv++ = *ie++;
tlv               432 drivers/net/wireless/marvell/libertas/cfg.c 	*tlv++ = 0;
tlv               433 drivers/net/wireless/marvell/libertas/cfg.c 	tlv_len = *tlv++ = *ie++;
tlv               434 drivers/net/wireless/marvell/libertas/cfg.c 	*tlv++ = 0;
tlv               436 drivers/net/wireless/marvell/libertas/cfg.c 		*tlv++ = *ie++;
tlv               685 drivers/net/wireless/marvell/libertas/cfg.c 	u8 *tlv; /* pointer into our current, growing TLV storage area */
tlv               705 drivers/net/wireless/marvell/libertas/cfg.c 	tlv = scan_cmd->tlvbuffer;
tlv               709 drivers/net/wireless/marvell/libertas/cfg.c 		tlv += lbs_add_ssid_tlv(tlv,
tlv               717 drivers/net/wireless/marvell/libertas/cfg.c 	tlv += lbs_add_channel_list_tlv(priv, tlv, last_channel,
tlv               721 drivers/net/wireless/marvell/libertas/cfg.c 	tlv += lbs_add_supported_rates_tlv(tlv);
tlv               731 drivers/net/wireless/marvell/libertas/cfg.c 	scan_cmd->hdr.size = cpu_to_le16(tlv - (u8 *)scan_cmd);
tlv               735 drivers/net/wireless/marvell/libertas/cfg.c 		    tlv - scan_cmd->tlvbuffer);
tlv               197 drivers/net/wireless/marvell/libertas/debugfs.c static void *lbs_tlv_find(uint16_t tlv_type, const uint8_t *tlv, uint16_t size)
tlv               204 drivers/net/wireless/marvell/libertas/debugfs.c 		tlv_h = (struct mrvl_ie_header *) tlv;
tlv               211 drivers/net/wireless/marvell/libertas/debugfs.c 		tlv += length;
tlv               248 drivers/net/wireless/marvell/libertas/debugfs.c 	got = lbs_tlv_find(tlv_type, subscribed->tlv, sizeof(subscribed->tlv));
tlv               275 drivers/net/wireless/marvell/libertas/debugfs.c 	struct mrvl_ie_thresholds *tlv;
tlv               313 drivers/net/wireless/marvell/libertas/debugfs.c 	tlv = (void *)events->tlv;
tlv               317 drivers/net/wireless/marvell/libertas/debugfs.c 	tlv->header.type = cpu_to_le16(tlv_type);
tlv               318 drivers/net/wireless/marvell/libertas/debugfs.c 	tlv->header.len = cpu_to_le16(sizeof(*tlv) - sizeof(tlv->header));
tlv               319 drivers/net/wireless/marvell/libertas/debugfs.c 	tlv->value = value;
tlv               321 drivers/net/wireless/marvell/libertas/debugfs.c 		tlv->freq = freq;
tlv               324 drivers/net/wireless/marvell/libertas/debugfs.c 	events->hdr.size = cpu_to_le16(sizeof(events->hdr) + 4 + sizeof(*tlv));
tlv               452 drivers/net/wireless/marvell/libertas/host.h 	uint8_t tlv[128];
tlv              1310 drivers/net/wireless/marvell/mwifiex/cmdevt.c 	u8 *tlv;
tlv              1329 drivers/net/wireless/marvell/mwifiex/cmdevt.c 		tlv = (u8 *) cmd + cmd_size;
tlv              1333 drivers/net/wireless/marvell/mwifiex/cmdevt.c 				(struct mwifiex_ie_types_ps_param *) tlv;
tlv              1339 drivers/net/wireless/marvell/mwifiex/cmdevt.c 			tlv += sizeof(*ps_tlv);
tlv              1359 drivers/net/wireless/marvell/mwifiex/cmdevt.c 				(struct mwifiex_ie_types_auto_ds_param *) tlv;
tlv              1368 drivers/net/wireless/marvell/mwifiex/cmdevt.c 			tlv += sizeof(*auto_ds_tlv);
tlv              1496 drivers/net/wireless/marvell/mwifiex/cmdevt.c 	struct mwifiex_ie_types_header *tlv;
tlv              1564 drivers/net/wireless/marvell/mwifiex/cmdevt.c 			tlv = (void *)&hw_spec->tlvs + parsed_len;
tlv              1565 drivers/net/wireless/marvell/mwifiex/cmdevt.c 			switch (le16_to_cpu(tlv->type)) {
tlv              1567 drivers/net/wireless/marvell/mwifiex/cmdevt.c 				api_rev = (struct hw_spec_api_rev *)tlv;
tlv              1597 drivers/net/wireless/marvell/mwifiex/cmdevt.c 					    le16_to_cpu(tlv->type));
tlv              1600 drivers/net/wireless/marvell/mwifiex/cmdevt.c 			parsed_len += le16_to_cpu(tlv->len) +
tlv              1602 drivers/net/wireless/marvell/mwifiex/cmdevt.c 			left_len -= le16_to_cpu(tlv->len) +
tlv              1628 drivers/net/wireless/marvell/mwifiex/fw.h 	u8 tlv[0];
tlv              1723 drivers/net/wireless/marvell/mwifiex/fw.h 	u8 tlv[0];
tlv              1926 drivers/net/wireless/marvell/mwifiex/fw.h 	u8 tlv[0];
tlv              1142 drivers/net/wireless/marvell/mwifiex/scan.c 				     struct mwifiex_ie_types_data *tlv,
tlv              1151 drivers/net/wireless/marvell/mwifiex/scan.c 	current_tlv = tlv;
tlv              1164 drivers/net/wireless/marvell/mwifiex/scan.c 		if (sizeof(tlv->header) + tlv_len > tlv_buf_left) {
tlv              1199 drivers/net/wireless/marvell/mwifiex/scan.c 		tlv_buf_left -= (sizeof(tlv->header) + tlv_len);
tlv              2292 drivers/net/wireless/marvell/mwifiex/scan.c 	u8 *tlv_pos = bgscan_config->tlv;
tlv              2470 drivers/net/wireless/marvell/mwifiex/scan.c 	le16_unaligned_add_cpu(&cmd->size, tlv_pos - bgscan_config->tlv);
tlv              2553 drivers/net/wireless/marvell/mwifiex/scan.c 	struct mwifiex_ie_types_header *tlv;
tlv              2565 drivers/net/wireless/marvell/mwifiex/scan.c 	tlv = (void *)ext_scan_resp->tlv_buffer;
tlv              2570 drivers/net/wireless/marvell/mwifiex/scan.c 		type = le16_to_cpu(tlv->type);
tlv              2571 drivers/net/wireless/marvell/mwifiex/scan.c 		len = le16_to_cpu(tlv->len);
tlv              2581 drivers/net/wireless/marvell/mwifiex/scan.c 			tlv_stat = (void *)tlv;
tlv              2589 drivers/net/wireless/marvell/mwifiex/scan.c 		tlv = (void *)((u8 *)tlv + len +
tlv              2628 drivers/net/wireless/marvell/mwifiex/scan.c 	struct mwifiex_ie_types_data *tlv;
tlv              2655 drivers/net/wireless/marvell/mwifiex/scan.c 	tlv = (struct mwifiex_ie_types_data *)scan_resp;
tlv              2658 drivers/net/wireless/marvell/mwifiex/scan.c 		type = le16_to_cpu(tlv->header.type);
tlv              2659 drivers/net/wireless/marvell/mwifiex/scan.c 		len = le16_to_cpu(tlv->header.len);
tlv              2675 drivers/net/wireless/marvell/mwifiex/scan.c 		bss_info = (u8 *)tlv;
tlv              2676 drivers/net/wireless/marvell/mwifiex/scan.c 		scan_rsp_tlv = (struct mwifiex_ie_types_bss_scan_rsp *)tlv;
tlv              2677 drivers/net/wireless/marvell/mwifiex/scan.c 		tlv = (struct mwifiex_ie_types_data *)(tlv->data + len);
tlv              2683 drivers/net/wireless/marvell/mwifiex/scan.c 		       le16_to_cpu(tlv->header.type) != TLV_TYPE_BSS_SCAN_RSP) {
tlv              2684 drivers/net/wireless/marvell/mwifiex/scan.c 			type = le16_to_cpu(tlv->header.type);
tlv              2685 drivers/net/wireless/marvell/mwifiex/scan.c 			len = le16_to_cpu(tlv->header.len);
tlv              2698 drivers/net/wireless/marvell/mwifiex/scan.c 				  (struct mwifiex_ie_types_bss_scan_info *)tlv;
tlv              2709 drivers/net/wireless/marvell/mwifiex/scan.c 			tlv = (struct mwifiex_ie_types_data *)(tlv->data + len);
tlv               367 drivers/net/wireless/marvell/mwifiex/sta_cmd.c 	u8 *tlv = (u8 *)hs_cfg + sizeof(struct host_cmd_ds_802_11_hs_cfg_enh);
tlv               390 drivers/net/wireless/marvell/mwifiex/sta_cmd.c 		tlv = (u8 *)hs_cfg
tlv               406 drivers/net/wireless/marvell/mwifiex/sta_cmd.c 		psparam_tlv = (struct mwifiex_ps_param_in_hs *)tlv;
tlv               273 drivers/net/wireless/marvell/mwifiex/sta_cmdresp.c 	u16 tlv, tlv_buf_len, tlv_buf_left;
tlv               282 drivers/net/wireless/marvell/mwifiex/sta_cmdresp.c 		tlv = le16_to_cpu(head->type);
tlv               288 drivers/net/wireless/marvell/mwifiex/sta_cmdresp.c 		switch (tlv) {
tlv               955 drivers/net/wireless/marvell/mwifiex/sta_cmdresp.c 	struct mwifiex_ie_types_sta_info *sta_info = (void *)&sta_list->tlv;
tlv              1110 drivers/net/wireless/marvell/mwifiex/sta_cmdresp.c 	u16 tlv, tlv_buf_len, tlv_buf_left;
tlv              1123 drivers/net/wireless/marvell/mwifiex/sta_cmdresp.c 		tlv = le16_to_cpu(head->type);
tlv              1129 drivers/net/wireless/marvell/mwifiex/sta_cmdresp.c 		switch (tlv) {
tlv               344 drivers/net/wireless/marvell/mwifiex/sta_event.c 					 struct mwifiex_ie_types_header *tlv)
tlv               349 drivers/net/wireless/marvell/mwifiex/sta_event.c 	tp = (void *)tlv;
tlv               375 drivers/net/wireless/marvell/mwifiex/sta_event.c 					 struct mwifiex_ie_types_header *tlv)
tlv               381 drivers/net/wireless/marvell/mwifiex/sta_event.c 	tp = (void *)tlv;
tlv               417 drivers/net/wireless/marvell/mwifiex/sta_event.c 	struct mwifiex_ie_types_header *tlv;
tlv               437 drivers/net/wireless/marvell/mwifiex/sta_event.c 	tlv = (struct mwifiex_ie_types_header *)chan_info->tlv_buffer;
tlv               440 drivers/net/wireless/marvell/mwifiex/sta_event.c 		tlv_type = le16_to_cpu(tlv->type);
tlv               441 drivers/net/wireless/marvell/mwifiex/sta_event.c 		tlv_len  = le16_to_cpu(tlv->len);
tlv               454 drivers/net/wireless/marvell/mwifiex/sta_event.c 		grp_info = (struct mwifiex_ie_types_mc_group_info *)tlv;
tlv               479 drivers/net/wireless/marvell/mwifiex/sta_event.c 		tlv = (void *)((u8 *)tlv + tlv_len +
tlv               493 drivers/net/wireless/marvell/mwifiex/sta_event.c 	struct mwifiex_ie_types_header *tlv;
tlv               505 drivers/net/wireless/marvell/mwifiex/sta_event.c 	tlv = (void *)event_skb->data + sizeof(u32);
tlv               508 drivers/net/wireless/marvell/mwifiex/sta_event.c 		tlv_type = le16_to_cpu(tlv->type);
tlv               509 drivers/net/wireless/marvell/mwifiex/sta_event.c 		tlv_len  = le16_to_cpu(tlv->len);
tlv               519 drivers/net/wireless/marvell/mwifiex/sta_event.c 				mwifiex_process_sta_tx_pause(priv, tlv);
tlv               521 drivers/net/wireless/marvell/mwifiex/sta_event.c 				mwifiex_process_uap_tx_pause(priv, tlv);
tlv               526 drivers/net/wireless/marvell/mwifiex/sta_event.c 		tlv = (void *)((u8 *)tlv + tlv_len +
tlv               539 drivers/net/wireless/marvell/mwifiex/sta_event.c 	struct mwifiex_ie_types_header *tlv;
tlv               547 drivers/net/wireless/marvell/mwifiex/sta_event.c 		tlv = (struct mwifiex_ie_types_header *)cur_ptr;
tlv               548 drivers/net/wireless/marvell/mwifiex/sta_event.c 		tlv_len = le16_to_cpu(tlv->len);
tlv               549 drivers/net/wireless/marvell/mwifiex/sta_event.c 		tlv_type = le16_to_cpu(tlv->type);
tlv               556 drivers/net/wireless/marvell/mwifiex/sta_event.c 			    (struct mwifiex_ie_types_btcoex_aggr_win_size *)tlv;
tlv               568 drivers/net/wireless/marvell/mwifiex/sta_event.c 			    (struct mwifiex_ie_types_btcoex_scan_time *)tlv;
tlv               316 drivers/net/wireless/marvell/mwifiex/uap_cmd.c 	u8 *tlv = *tlv_buf;
tlv               318 drivers/net/wireless/marvell/mwifiex/uap_cmd.c 	tlv_akmp = (struct host_cmd_tlv_akmp *)tlv;
tlv               325 drivers/net/wireless/marvell/mwifiex/uap_cmd.c 	tlv += sizeof(struct host_cmd_tlv_akmp);
tlv               328 drivers/net/wireless/marvell/mwifiex/uap_cmd.c 		pwk_cipher = (struct host_cmd_tlv_pwk_cipher *)tlv;
tlv               336 drivers/net/wireless/marvell/mwifiex/uap_cmd.c 		tlv += sizeof(struct host_cmd_tlv_pwk_cipher);
tlv               340 drivers/net/wireless/marvell/mwifiex/uap_cmd.c 		pwk_cipher = (struct host_cmd_tlv_pwk_cipher *)tlv;
tlv               348 drivers/net/wireless/marvell/mwifiex/uap_cmd.c 		tlv += sizeof(struct host_cmd_tlv_pwk_cipher);
tlv               352 drivers/net/wireless/marvell/mwifiex/uap_cmd.c 		gwk_cipher = (struct host_cmd_tlv_gwk_cipher *)tlv;
tlv               359 drivers/net/wireless/marvell/mwifiex/uap_cmd.c 		tlv += sizeof(struct host_cmd_tlv_gwk_cipher);
tlv               363 drivers/net/wireless/marvell/mwifiex/uap_cmd.c 		passphrase = (struct host_cmd_tlv_passphrase *)tlv;
tlv               371 drivers/net/wireless/marvell/mwifiex/uap_cmd.c 		tlv += sizeof(struct mwifiex_ie_types_header) +
tlv               376 drivers/net/wireless/marvell/mwifiex/uap_cmd.c 	*tlv_buf = tlv;
tlv               425 drivers/net/wireless/marvell/mwifiex/uap_cmd.c 	u8 *tlv = *tlv_buf;
tlv               432 drivers/net/wireless/marvell/mwifiex/uap_cmd.c 			wep_key = (struct host_cmd_tlv_wep_key *)tlv;
tlv               443 drivers/net/wireless/marvell/mwifiex/uap_cmd.c 			tlv += sizeof(struct mwifiex_ie_types_header) + 2 +
tlv               449 drivers/net/wireless/marvell/mwifiex/uap_cmd.c 	*tlv_buf = tlv;
tlv               480 drivers/net/wireless/marvell/mwifiex/uap_cmd.c mwifiex_uap_bss_param_prepare(u8 *tlv, void *cmd_buf, u16 *param_size)
tlv               502 drivers/net/wireless/marvell/mwifiex/uap_cmd.c 		ssid = (struct host_cmd_tlv_ssid *)tlv;
tlv               508 drivers/net/wireless/marvell/mwifiex/uap_cmd.c 		tlv += sizeof(struct mwifiex_ie_types_header) +
tlv               511 drivers/net/wireless/marvell/mwifiex/uap_cmd.c 		bcast_ssid = (struct host_cmd_tlv_bcast_ssid *)tlv;
tlv               517 drivers/net/wireless/marvell/mwifiex/uap_cmd.c 		tlv += sizeof(struct host_cmd_tlv_bcast_ssid);
tlv               520 drivers/net/wireless/marvell/mwifiex/uap_cmd.c 		tlv_rates = (struct host_cmd_tlv_rates *)tlv;
tlv               529 drivers/net/wireless/marvell/mwifiex/uap_cmd.c 		tlv += sizeof(struct host_cmd_tlv_rates) + i;
tlv               536 drivers/net/wireless/marvell/mwifiex/uap_cmd.c 		chan_band = (struct host_cmd_tlv_channel_band *)tlv;
tlv               544 drivers/net/wireless/marvell/mwifiex/uap_cmd.c 		tlv += sizeof(struct host_cmd_tlv_channel_band);
tlv               548 drivers/net/wireless/marvell/mwifiex/uap_cmd.c 		beacon_period = (struct host_cmd_tlv_beacon_period *)tlv;
tlv               556 drivers/net/wireless/marvell/mwifiex/uap_cmd.c 		tlv += sizeof(struct host_cmd_tlv_beacon_period);
tlv               560 drivers/net/wireless/marvell/mwifiex/uap_cmd.c 		dtim_period = (struct host_cmd_tlv_dtim_period *)tlv;
tlv               568 drivers/net/wireless/marvell/mwifiex/uap_cmd.c 		tlv += sizeof(struct host_cmd_tlv_dtim_period);
tlv               571 drivers/net/wireless/marvell/mwifiex/uap_cmd.c 		rts_threshold = (struct host_cmd_tlv_rts_threshold *)tlv;
tlv               579 drivers/net/wireless/marvell/mwifiex/uap_cmd.c 		tlv += sizeof(struct host_cmd_tlv_frag_threshold);
tlv               583 drivers/net/wireless/marvell/mwifiex/uap_cmd.c 		frag_threshold = (struct host_cmd_tlv_frag_threshold *)tlv;
tlv               591 drivers/net/wireless/marvell/mwifiex/uap_cmd.c 		tlv += sizeof(struct host_cmd_tlv_frag_threshold);
tlv               594 drivers/net/wireless/marvell/mwifiex/uap_cmd.c 		retry_limit = (struct host_cmd_tlv_retry_limit *)tlv;
tlv               602 drivers/net/wireless/marvell/mwifiex/uap_cmd.c 		tlv += sizeof(struct host_cmd_tlv_retry_limit);
tlv               607 drivers/net/wireless/marvell/mwifiex/uap_cmd.c 		mwifiex_uap_bss_wpa(&tlv, cmd_buf, &cmd_size);
tlv               609 drivers/net/wireless/marvell/mwifiex/uap_cmd.c 		mwifiex_uap_bss_wep(&tlv, cmd_buf, &cmd_size);
tlv               613 drivers/net/wireless/marvell/mwifiex/uap_cmd.c 		auth_type = (struct host_cmd_tlv_auth_type *)tlv;
tlv               620 drivers/net/wireless/marvell/mwifiex/uap_cmd.c 		tlv += sizeof(struct host_cmd_tlv_auth_type);
tlv               623 drivers/net/wireless/marvell/mwifiex/uap_cmd.c 		encrypt_protocol = (struct host_cmd_tlv_encrypt_protocol *)tlv;
tlv               631 drivers/net/wireless/marvell/mwifiex/uap_cmd.c 		tlv += sizeof(struct host_cmd_tlv_encrypt_protocol);
tlv               635 drivers/net/wireless/marvell/mwifiex/uap_cmd.c 		htcap = (struct mwifiex_ie_types_htcap *)tlv;
tlv               650 drivers/net/wireless/marvell/mwifiex/uap_cmd.c 		tlv += sizeof(struct mwifiex_ie_types_htcap);
tlv               654 drivers/net/wireless/marvell/mwifiex/uap_cmd.c 		wmm_cap = (struct mwifiex_ie_types_wmmcap *)tlv;
tlv               660 drivers/net/wireless/marvell/mwifiex/uap_cmd.c 		tlv += sizeof(struct mwifiex_ie_types_wmmcap);
tlv               664 drivers/net/wireless/marvell/mwifiex/uap_cmd.c 		ao_timer = (struct host_cmd_tlv_ageout_timer *)tlv;
tlv               670 drivers/net/wireless/marvell/mwifiex/uap_cmd.c 		tlv += sizeof(*ao_timer);
tlv               674 drivers/net/wireless/marvell/mwifiex/uap_cmd.c 		pwr_ct = (void *)tlv;
tlv               679 drivers/net/wireless/marvell/mwifiex/uap_cmd.c 		tlv += sizeof(*pwr_ct);
tlv               683 drivers/net/wireless/marvell/mwifiex/uap_cmd.c 		ps_ao_timer = (struct host_cmd_tlv_ageout_timer *)tlv;
tlv               691 drivers/net/wireless/marvell/mwifiex/uap_cmd.c 		tlv += sizeof(*ps_ao_timer);
tlv               700 drivers/net/wireless/marvell/mwifiex/uap_cmd.c static int mwifiex_uap_custom_ie_prepare(u8 *tlv, void *cmd_buf, u16 *ie_size)
tlv               703 drivers/net/wireless/marvell/mwifiex/uap_cmd.c 	struct mwifiex_ie_types_header *tlv_ie = (void *)tlv;
tlv               713 drivers/net/wireless/marvell/mwifiex/uap_cmd.c 	tlv += sizeof(struct mwifiex_ie_types_header);
tlv               715 drivers/net/wireless/marvell/mwifiex/uap_cmd.c 	memcpy(tlv, ap_ie->ie_list, le16_to_cpu(ap_ie->len));
tlv               727 drivers/net/wireless/marvell/mwifiex/uap_cmd.c 	u8 *tlv;
tlv               735 drivers/net/wireless/marvell/mwifiex/uap_cmd.c 	tlv = sys_cfg->tlv;
tlv               740 drivers/net/wireless/marvell/mwifiex/uap_cmd.c 		if (mwifiex_uap_bss_param_prepare(tlv, cmd_buf, &param_size))
tlv               746 drivers/net/wireless/marvell/mwifiex/uap_cmd.c 		if (mwifiex_uap_custom_ie_prepare(tlv, cmd_buf, &ie_size))
tlv               723 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c 		} __packed tlv;
tlv               731 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c 		.tlv = {
tlv               739 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c 	memcpy(data.tlv.omac_addr, vif->addr, ETH_ALEN);
tlv               176 drivers/net/wireless/quantenna/qtnfmac/commands.c 	struct qlink_tlv_ie_set *tlv;
tlv               178 drivers/net/wireless/quantenna/qtnfmac/commands.c 	tlv = (struct qlink_tlv_ie_set *)skb_put(cmd_skb, sizeof(*tlv) + len);
tlv               179 drivers/net/wireless/quantenna/qtnfmac/commands.c 	tlv->hdr.type = cpu_to_le16(QTN_TLV_ID_IE_SET);
tlv               180 drivers/net/wireless/quantenna/qtnfmac/commands.c 	tlv->hdr.len = cpu_to_le16(len + sizeof(*tlv) - sizeof(tlv->hdr));
tlv               181 drivers/net/wireless/quantenna/qtnfmac/commands.c 	tlv->type = frame_type;
tlv               182 drivers/net/wireless/quantenna/qtnfmac/commands.c 	tlv->flags = 0;
tlv               185 drivers/net/wireless/quantenna/qtnfmac/commands.c 		memcpy(tlv->ie_data, buf, len);
tlv               295 drivers/net/wireless/quantenna/qtnfmac/commands.c 		struct qlink_tlv_hdr *tlv = (struct qlink_tlv_hdr *)
tlv               296 drivers/net/wireless/quantenna/qtnfmac/commands.c 			skb_put(cmd_skb, sizeof(*tlv) + sizeof(*s->ht_cap));
tlv               298 drivers/net/wireless/quantenna/qtnfmac/commands.c 		tlv->type = cpu_to_le16(WLAN_EID_HT_CAPABILITY);
tlv               299 drivers/net/wireless/quantenna/qtnfmac/commands.c 		tlv->len = cpu_to_le16(sizeof(*s->ht_cap));
tlv               300 drivers/net/wireless/quantenna/qtnfmac/commands.c 		memcpy(tlv->val, s->ht_cap, sizeof(*s->ht_cap));
tlv               304 drivers/net/wireless/quantenna/qtnfmac/commands.c 		struct qlink_tlv_hdr *tlv = (struct qlink_tlv_hdr *)
tlv               305 drivers/net/wireless/quantenna/qtnfmac/commands.c 			skb_put(cmd_skb, sizeof(*tlv) + sizeof(*s->vht_cap));
tlv               307 drivers/net/wireless/quantenna/qtnfmac/commands.c 		tlv->type = cpu_to_le16(WLAN_EID_VHT_CAPABILITY);
tlv               308 drivers/net/wireless/quantenna/qtnfmac/commands.c 		tlv->len = cpu_to_le16(sizeof(*s->vht_cap));
tlv               309 drivers/net/wireless/quantenna/qtnfmac/commands.c 		memcpy(tlv->val, s->vht_cap, sizeof(*s->vht_cap));
tlv               315 drivers/net/wireless/quantenna/qtnfmac/commands.c 		struct qlink_tlv_hdr *tlv =
tlv               316 drivers/net/wireless/quantenna/qtnfmac/commands.c 			skb_put(cmd_skb, sizeof(*tlv) + acl_size);
tlv               318 drivers/net/wireless/quantenna/qtnfmac/commands.c 		tlv->type = cpu_to_le16(QTN_TLV_ID_ACL_DATA);
tlv               319 drivers/net/wireless/quantenna/qtnfmac/commands.c 		tlv->len = cpu_to_le16(acl_size);
tlv               320 drivers/net/wireless/quantenna/qtnfmac/commands.c 		qlink_acl_data_cfg2q(s->acl, (struct qlink_acl_data *)tlv->val);
tlv               557 drivers/net/wireless/quantenna/qtnfmac/commands.c 			const struct qlink_tlv_hdr *tlv,
tlv               570 drivers/net/wireless/quantenna/qtnfmac/commands.c 	while (resp_size >= sizeof(*tlv)) {
tlv               571 drivers/net/wireless/quantenna/qtnfmac/commands.c 		tlv_len = le16_to_cpu(tlv->len);
tlv               573 drivers/net/wireless/quantenna/qtnfmac/commands.c 		switch (le16_to_cpu(tlv->type)) {
tlv               576 drivers/net/wireless/quantenna/qtnfmac/commands.c 			map = tlv->val;
tlv               580 drivers/net/wireless/quantenna/qtnfmac/commands.c 			stats = (const struct qlink_sta_stats *)tlv->val;
tlv               586 drivers/net/wireless/quantenna/qtnfmac/commands.c 		resp_size -= tlv_len + sizeof(*tlv);
tlv               587 drivers/net/wireless/quantenna/qtnfmac/commands.c 		tlv = (const struct qlink_tlv_hdr *)(tlv->val + tlv_len);
tlv               858 drivers/net/wireless/quantenna/qtnfmac/commands.c 	const struct qlink_tlv_hdr *tlv;
tlv               884 drivers/net/wireless/quantenna/qtnfmac/commands.c 	tlv = (const struct qlink_tlv_hdr *)resp->info;
tlv               886 drivers/net/wireless/quantenna/qtnfmac/commands.c 	while (info_len >= sizeof(*tlv)) {
tlv               887 drivers/net/wireless/quantenna/qtnfmac/commands.c 		tlv_type = le16_to_cpu(tlv->type);
tlv               888 drivers/net/wireless/quantenna/qtnfmac/commands.c 		tlv_value_len = le16_to_cpu(tlv->len);
tlv               890 drivers/net/wireless/quantenna/qtnfmac/commands.c 		if (tlv_value_len + sizeof(*tlv) > info_len) {
tlv               898 drivers/net/wireless/quantenna/qtnfmac/commands.c 			bld_name = (const void *)tlv->val;
tlv               901 drivers/net/wireless/quantenna/qtnfmac/commands.c 			bld_rev = (const void *)tlv->val;
tlv               904 drivers/net/wireless/quantenna/qtnfmac/commands.c 			bld_type = (const void *)tlv->val;
tlv               907 drivers/net/wireless/quantenna/qtnfmac/commands.c 			bld_label = (const void *)tlv->val;
tlv               910 drivers/net/wireless/quantenna/qtnfmac/commands.c 			hw_id = (const void *)tlv->val;
tlv               913 drivers/net/wireless/quantenna/qtnfmac/commands.c 			calibration_ver = (const void *)tlv->val;
tlv               916 drivers/net/wireless/quantenna/qtnfmac/commands.c 			uboot_ver = (const void *)tlv->val;
tlv               919 drivers/net/wireless/quantenna/qtnfmac/commands.c 			hwinfo->max_scan_ssids = *tlv->val;
tlv               925 drivers/net/wireless/quantenna/qtnfmac/commands.c 		info_len -= tlv_value_len + sizeof(*tlv);
tlv               926 drivers/net/wireless/quantenna/qtnfmac/commands.c 		tlv = (struct qlink_tlv_hdr *)(tlv->val + tlv_value_len);
tlv              1003 drivers/net/wireless/quantenna/qtnfmac/commands.c 	const struct qlink_tlv_hdr *tlv;
tlv              1041 drivers/net/wireless/quantenna/qtnfmac/commands.c 	tlv = (const struct qlink_tlv_hdr *)tlv_buf;
tlv              1043 drivers/net/wireless/quantenna/qtnfmac/commands.c 		tlv_type = le16_to_cpu(tlv->type);
tlv              1044 drivers/net/wireless/quantenna/qtnfmac/commands.c 		tlv_value_len = le16_to_cpu(tlv->len);
tlv              1057 drivers/net/wireless/quantenna/qtnfmac/commands.c 			comb_num = (void *)tlv->val;
tlv              1093 drivers/net/wireless/quantenna/qtnfmac/commands.c 			rec = (void *)tlv->val;
tlv              1129 drivers/net/wireless/quantenna/qtnfmac/commands.c 			ext_capa = (u8 *)tlv->val;
tlv              1135 drivers/net/wireless/quantenna/qtnfmac/commands.c 			ext_capa_mask = (u8 *)tlv->val;
tlv              1142 drivers/net/wireless/quantenna/qtnfmac/commands.c 			wowlan = (void *)tlv->val;
tlv              1167 drivers/net/wireless/quantenna/qtnfmac/commands.c 			if (tlv_value_len != sizeof(*tlv_rule) - sizeof(*tlv)) {
tlv              1173 drivers/net/wireless/quantenna/qtnfmac/commands.c 			tlv_rule = (const struct qlink_tlv_reg_rule *)tlv;
tlv              1184 drivers/net/wireless/quantenna/qtnfmac/commands.c 		tlv = (struct qlink_tlv_hdr *)(tlv->val + tlv_value_len);
tlv              1306 drivers/net/wireless/quantenna/qtnfmac/commands.c 	const struct qlink_tlv_hdr *tlv;
tlv              1338 drivers/net/wireless/quantenna/qtnfmac/commands.c 	tlv = (struct qlink_tlv_hdr *)resp->info;
tlv              1340 drivers/net/wireless/quantenna/qtnfmac/commands.c 	while (payload_len >= sizeof(*tlv)) {
tlv              1341 drivers/net/wireless/quantenna/qtnfmac/commands.c 		tlv_type = le16_to_cpu(tlv->type);
tlv              1342 drivers/net/wireless/quantenna/qtnfmac/commands.c 		tlv_dlen = le16_to_cpu(tlv->len);
tlv              1343 drivers/net/wireless/quantenna/qtnfmac/commands.c 		tlv_len = tlv_dlen + sizeof(*tlv);
tlv              1364 drivers/net/wireless/quantenna/qtnfmac/commands.c 			qchan = (const struct qlink_channel *)tlv->val;
tlv              1436 drivers/net/wireless/quantenna/qtnfmac/commands.c 			qtnf_cmd_resp_band_fill_htcap(tlv->val, &band->ht_cap);
tlv              1445 drivers/net/wireless/quantenna/qtnfmac/commands.c 			qtnf_cmd_resp_band_fill_vhtcap(tlv->val,
tlv              1454 drivers/net/wireless/quantenna/qtnfmac/commands.c 		tlv = (struct qlink_tlv_hdr *)(tlv->val + tlv_dlen);
tlv              1488 drivers/net/wireless/quantenna/qtnfmac/commands.c 	const struct qlink_tlv_hdr *tlv;
tlv              1492 drivers/net/wireless/quantenna/qtnfmac/commands.c 	tlv = (struct qlink_tlv_hdr *)payload;
tlv              1494 drivers/net/wireless/quantenna/qtnfmac/commands.c 		tlv_type = le16_to_cpu(tlv->type);
tlv              1495 drivers/net/wireless/quantenna/qtnfmac/commands.c 		tlv_value_len = le16_to_cpu(tlv->len);
tlv              1506 drivers/net/wireless/quantenna/qtnfmac/commands.c 			phy_thr = (void *)tlv;
tlv              1510 drivers/net/wireless/quantenna/qtnfmac/commands.c 			phy_thr = (void *)tlv;
tlv              1514 drivers/net/wireless/quantenna/qtnfmac/commands.c 			limit = (void *)tlv;
tlv              1518 drivers/net/wireless/quantenna/qtnfmac/commands.c 			limit = (void *)tlv;
tlv              1522 drivers/net/wireless/quantenna/qtnfmac/commands.c 			class = (void *)tlv;
tlv              1527 drivers/net/wireless/quantenna/qtnfmac/commands.c 			       le16_to_cpu(tlv->type));
tlv              1532 drivers/net/wireless/quantenna/qtnfmac/commands.c 		tlv = (struct qlink_tlv_hdr *)(tlv->val + tlv_value_len);
tlv              1549 drivers/net/wireless/quantenna/qtnfmac/commands.c 	const struct qlink_tlv_hdr *tlv;
tlv              1554 drivers/net/wireless/quantenna/qtnfmac/commands.c 	tlv = (struct qlink_tlv_hdr *)payload;
tlv              1556 drivers/net/wireless/quantenna/qtnfmac/commands.c 		tlv_type = le16_to_cpu(tlv->type);
tlv              1557 drivers/net/wireless/quantenna/qtnfmac/commands.c 		tlv_value_len = le16_to_cpu(tlv->len);
tlv              1571 drivers/net/wireless/quantenna/qtnfmac/commands.c 			qlink_stats = (void *)tlv->val;
tlv              1586 drivers/net/wireless/quantenna/qtnfmac/commands.c 				le16_to_cpu(tlv->type));
tlv              1589 drivers/net/wireless/quantenna/qtnfmac/commands.c 		tlv = (struct qlink_tlv_hdr *)(tlv->val + tlv_value_len);
tlv              2051 drivers/net/wireless/quantenna/qtnfmac/commands.c 	struct qlink_tlv_channel *tlv;
tlv              2054 drivers/net/wireless/quantenna/qtnfmac/commands.c 	tlv = skb_put_zero(cmd_skb, sizeof(*tlv));
tlv              2055 drivers/net/wireless/quantenna/qtnfmac/commands.c 	qch = &tlv->chan;
tlv              2056 drivers/net/wireless/quantenna/qtnfmac/commands.c 	tlv->hdr.type = cpu_to_le16(QTN_TLV_ID_CHANNEL);
tlv              2057 drivers/net/wireless/quantenna/qtnfmac/commands.c 	tlv->hdr.len = cpu_to_le16(sizeof(*qch));
tlv              2592 drivers/net/wireless/quantenna/qtnfmac/commands.c 	struct qlink_tlv_hdr *tlv;
tlv              2602 drivers/net/wireless/quantenna/qtnfmac/commands.c 	tlv = skb_put(cmd_skb, sizeof(*tlv) + acl_size);
tlv              2603 drivers/net/wireless/quantenna/qtnfmac/commands.c 	tlv->type = cpu_to_le16(QTN_TLV_ID_ACL_DATA);
tlv              2604 drivers/net/wireless/quantenna/qtnfmac/commands.c 	tlv->len = cpu_to_le16(acl_size);
tlv              2605 drivers/net/wireless/quantenna/qtnfmac/commands.c 	qlink_acl_data_cfg2q(params, (struct qlink_acl_data *)tlv->val);
tlv                29 drivers/net/wireless/quantenna/qtnfmac/event.c 	const struct qlink_tlv_hdr *tlv;
tlv                61 drivers/net/wireless/quantenna/qtnfmac/event.c 	tlv = (const struct qlink_tlv_hdr *)sta_assoc->ies;
tlv                63 drivers/net/wireless/quantenna/qtnfmac/event.c 	while (payload_len >= sizeof(*tlv)) {
tlv                64 drivers/net/wireless/quantenna/qtnfmac/event.c 		tlv_type = le16_to_cpu(tlv->type);
tlv                65 drivers/net/wireless/quantenna/qtnfmac/event.c 		tlv_value_len = le16_to_cpu(tlv->len);
tlv                82 drivers/net/wireless/quantenna/qtnfmac/event.c 			ie_set = (const struct qlink_tlv_ie_set *)tlv;
tlv                93 drivers/net/wireless/quantenna/qtnfmac/event.c 		tlv = (struct qlink_tlv_hdr *)(tlv->val + tlv_value_len);
tlv               157 drivers/net/wireless/quantenna/qtnfmac/event.c 	const struct qlink_tlv_hdr *tlv;
tlv               238 drivers/net/wireless/quantenna/qtnfmac/event.c 	tlv = (struct qlink_tlv_hdr *)join_info->ies;
tlv               241 drivers/net/wireless/quantenna/qtnfmac/event.c 		tlv_type = le16_to_cpu(tlv->type);
tlv               242 drivers/net/wireless/quantenna/qtnfmac/event.c 		tlv_value_len = le16_to_cpu(tlv->len);
tlv               261 drivers/net/wireless/quantenna/qtnfmac/event.c 			ie_set = (const struct qlink_tlv_ie_set *)tlv;
tlv               280 drivers/net/wireless/quantenna/qtnfmac/event.c 		tlv = (struct qlink_tlv_hdr *)(tlv->val + tlv_value_len);
tlv               372 drivers/net/wireless/quantenna/qtnfmac/event.c 	const struct qlink_tlv_hdr *tlv;
tlv               390 drivers/net/wireless/quantenna/qtnfmac/event.c 	tlv = (struct qlink_tlv_hdr *)sr->payload;
tlv               393 drivers/net/wireless/quantenna/qtnfmac/event.c 		tlv_type = le16_to_cpu(tlv->type);
tlv               394 drivers/net/wireless/quantenna/qtnfmac/event.c 		tlv_value_len = le16_to_cpu(tlv->len);
tlv               407 drivers/net/wireless/quantenna/qtnfmac/event.c 			ie_set = (const struct qlink_tlv_ie_set *)tlv;
tlv               429 drivers/net/wireless/quantenna/qtnfmac/event.c 		tlv = (struct qlink_tlv_hdr *)(tlv->val + tlv_value_len);
tlv               291 drivers/net/wireless/quantenna/qtnfmac/qlink_util.c 			      const struct qlink_tlv_reg_rule *tlv)
tlv               293 drivers/net/wireless/quantenna/qtnfmac/qlink_util.c 	rule->freq_range.start_freq_khz = le32_to_cpu(tlv->start_freq_khz);
tlv               294 drivers/net/wireless/quantenna/qtnfmac/qlink_util.c 	rule->freq_range.end_freq_khz = le32_to_cpu(tlv->end_freq_khz);
tlv               296 drivers/net/wireless/quantenna/qtnfmac/qlink_util.c 		le32_to_cpu(tlv->max_bandwidth_khz);
tlv               297 drivers/net/wireless/quantenna/qtnfmac/qlink_util.c 	rule->power_rule.max_antenna_gain = le32_to_cpu(tlv->max_antenna_gain);
tlv               298 drivers/net/wireless/quantenna/qtnfmac/qlink_util.c 	rule->power_rule.max_eirp = le32_to_cpu(tlv->max_eirp);
tlv               299 drivers/net/wireless/quantenna/qtnfmac/qlink_util.c 	rule->dfs_cac_ms = le32_to_cpu(tlv->dfs_cac_ms);
tlv               300 drivers/net/wireless/quantenna/qtnfmac/qlink_util.c 	rule->flags = qtnf_reg_rule_flags_parse(le32_to_cpu(tlv->flags));
tlv               359 drivers/staging/gdm724x/gdm_usb.c 	struct tlv *tlv = (struct tlv *)data;
tlv               362 drivers/staging/gdm724x/gdm_usb.c 	if (tlv->type == MAC_ADDRESS && udev->request_mac_addr) {
tlv               363 drivers/staging/gdm724x/gdm_usb.c 		memcpy(mac_address, tlv->data, tlv->len);
tlv               109 drivers/staging/vc04_services/bcm2835-audio/bcm2835-ctl.c 		.tlv = {.p = snd_bcm2835_db_scale}
tlv               247 drivers/staging/vc04_services/bcm2835-audio/bcm2835-ctl.c 		.tlv = {.p = snd_bcm2835_db_scale}
tlv               281 drivers/staging/vc04_services/bcm2835-audio/bcm2835-ctl.c 		.tlv = {.p = snd_bcm2835_db_scale}
tlv               457 include/net/pkt_cls.h #define tcf_em_tree_dump(skb, t, tlv) (0)
tlv                23 include/sound/control.h 				    unsigned int __user *tlv);
tlv                45 include/sound/control.h 	} tlv;
tlv                64 include/sound/control.h 	} tlv;
tlv               180 include/sound/control.h 						 const unsigned int *tlv);
tlv               305 include/sound/soc-dapm.h 	.tlv.p = (tlv_array), \
tlv               312 include/sound/soc-dapm.h 	.tlv.p = (tlv_array), \
tlv                76 include/sound/soc.h 	.tlv.p = (tlv_array), \
tlv                84 include/sound/soc.h 	.tlv.p  = (tlv_array),\
tlv                96 include/sound/soc.h 	.tlv.p = (tlv_array), \
tlv               134 include/sound/soc.h 	.tlv.p = (tlv_array), \
tlv               143 include/sound/soc.h 	.tlv.p = (tlv_array), \
tlv               153 include/sound/soc.h 	.tlv.p = (tlv_array), \
tlv               162 include/sound/soc.h 	.tlv.p  = (tlv_array), \
tlv               174 include/sound/soc.h 	.tlv.p = (tlv_array), \
tlv               183 include/sound/soc.h 	.tlv.p  = (tlv_array), \
tlv               194 include/sound/soc.h 	.tlv.p  = (tlv_array), \
tlv               247 include/sound/soc.h 	.tlv.p = (tlv_array), \
tlv               256 include/sound/soc.h 	.tlv.p = (tlv_array), \
tlv               268 include/sound/soc.h 	.tlv.p = (tlv_array), \
tlv               278 include/sound/soc.h 	.tlv.p = (tlv_array), \
tlv               324 include/sound/soc.h 	.tlv.c = (snd_soc_bytes_tlv_callback), \
tlv               613 include/sound/soc.h 	unsigned int size, unsigned int __user *tlv);
tlv               197 include/sound/wss.h   .tlv = { .p = (xtlv) } }
tlv               210 include/sound/wss.h   .tlv = { .p = (xtlv) } }
tlv               258 include/uapi/linux/tipc_config.h #define TLV_DATA(tlv) ((void *)((char *)(tlv) + TLV_LENGTH(0)))
tlv               260 include/uapi/linux/tipc_config.h static inline int TLV_OK(const void *tlv, __u16 space)
tlv               272 include/uapi/linux/tipc_config.h 		(ntohs(((struct tlv_desc *)tlv)->tlv_len) <= space);
tlv               275 include/uapi/linux/tipc_config.h static inline int TLV_CHECK(const void *tlv, __u16 space, __u16 exp_type)
tlv               277 include/uapi/linux/tipc_config.h 	return TLV_OK(tlv, space) &&
tlv               278 include/uapi/linux/tipc_config.h 		(ntohs(((struct tlv_desc *)tlv)->tlv_type) == exp_type);
tlv               281 include/uapi/linux/tipc_config.h static inline int TLV_GET_LEN(struct tlv_desc *tlv)
tlv               283 include/uapi/linux/tipc_config.h 	return ntohs(tlv->tlv_len);
tlv               286 include/uapi/linux/tipc_config.h static inline void TLV_SET_LEN(struct tlv_desc *tlv, __u16 len)
tlv               288 include/uapi/linux/tipc_config.h 	tlv->tlv_len = htons(len);
tlv               291 include/uapi/linux/tipc_config.h static inline int TLV_CHECK_TYPE(struct tlv_desc *tlv,  __u16 type)
tlv               293 include/uapi/linux/tipc_config.h 	return (ntohs(tlv->tlv_type) == type);
tlv               296 include/uapi/linux/tipc_config.h static inline void TLV_SET_TYPE(struct tlv_desc *tlv, __u16 type)
tlv               298 include/uapi/linux/tipc_config.h 	tlv->tlv_type = htons(type);
tlv               301 include/uapi/linux/tipc_config.h static inline int TLV_SET(void *tlv, __u16 type, void *data, __u16 len)
tlv               307 include/uapi/linux/tipc_config.h 	tlv_ptr = (struct tlv_desc *)tlv;
tlv               290 include/uapi/sound/asoc.h 	struct snd_soc_tplg_ctl_tlv tlv;
tlv               965 include/uapi/sound/asound.h 	unsigned int tlv[0];	/* first TLV */
tlv               294 include/uapi/sound/emu10k1.h 	const unsigned int *tlv;
tlv              1340 net/atm/mpc.c  	uint8_t tlv[4 + 1 + 1 + 1 + ATM_ESA_LEN];
tlv              1342 net/atm/mpc.c  	tlv[0] = 00; tlv[1] = 0xa0; tlv[2] = 0x3e; tlv[3] = 0x2a; /* type  */
tlv              1343 net/atm/mpc.c  	tlv[4] = 1 + 1 + ATM_ESA_LEN;  /* length                           */
tlv              1344 net/atm/mpc.c  	tlv[5] = 0x02;                 /* MPOA client                      */
tlv              1345 net/atm/mpc.c  	tlv[6] = 0x00;                 /* number of MPS MAC addresses      */
tlv              1347 net/atm/mpc.c  	memcpy(&tlv[7], mesg->MPS_ctrl, ATM_ESA_LEN); /* MPC ctrl ATM addr */
tlv              1352 net/atm/mpc.c  	for (i = 7; i < sizeof(tlv); i++)
tlv              1353 net/atm/mpc.c  		dprintk_cont(" %02x", tlv[i]);
tlv              1360 net/atm/mpc.c  							tlv, sizeof(tlv));
tlv               101 net/ife/ife.c  	const struct meta_tlvhdr *tlv;
tlv               104 net/ife/ife.c  	if (unlikely(skbdata + sizeof(*tlv) > ifehdr_end))
tlv               107 net/ife/ife.c  	tlv = (const struct meta_tlvhdr *)skbdata;
tlv               108 net/ife/ife.c  	tlvlen = ntohs(tlv->len);
tlv               129 net/ife/ife.c  	struct meta_tlvhdr *tlv;
tlv               134 net/ife/ife.c  	tlv = (struct meta_tlvhdr *)skbdata;
tlv               135 net/ife/ife.c  	*dlen = ntohs(tlv->len) - NLA_HDRLEN;
tlv               136 net/ife/ife.c  	*attrtype = ntohs(tlv->type);
tlv               147 net/ife/ife.c  	struct meta_tlvhdr *tlv = (struct meta_tlvhdr *) skbdata;
tlv               148 net/ife/ife.c  	u16 tlvlen = ntohs(tlv->len);
tlv               160 net/ife/ife.c  	__be32 *tlv = (__be32 *) (skbdata);
tlv               162 net/ife/ife.c  	char *dptr = (char *) tlv + NLA_HDRLEN;
tlv               165 net/ife/ife.c  	*tlv = htonl(htlv);
tlv               814 net/ipv6/calipso.c 	unsigned char *tlv = (unsigned char *)opt;
tlv               819 net/ipv6/calipso.c 	if (tlv[offset] == IPV6_TLV_PAD1)
tlv               823 net/ipv6/calipso.c 	tlv_len = tlv[offset + 1] + 2;
tlv                49 net/ipv6/seg6.c 		struct sr6_tlv *tlv;
tlv                52 net/ipv6/seg6.c 		if (trailing < sizeof(*tlv))
tlv                55 net/ipv6/seg6.c 		tlv = (struct sr6_tlv *)((unsigned char *)srh + tlv_offset);
tlv                56 net/ipv6/seg6.c 		tlv_len = sizeof(*tlv) + tlv->len;
tlv                88 net/ipv6/seg6_hmac.c 	struct sr6_tlv_hmac *tlv;
tlv                96 net/ipv6/seg6_hmac.c 	tlv = (struct sr6_tlv_hmac *)
tlv                99 net/ipv6/seg6_hmac.c 	if (tlv->tlvhdr.type != SR6_TLV_HMAC || tlv->tlvhdr.len != 38)
tlv               102 net/ipv6/seg6_hmac.c 	return tlv;
tlv               243 net/ipv6/seg6_hmac.c 	struct sr6_tlv_hmac *tlv;
tlv               251 net/ipv6/seg6_hmac.c 	tlv = seg6_get_tlv_hmac(srh);
tlv               254 net/ipv6/seg6_hmac.c 	if (idev->cnf.seg6_require_hmac > 0 && !tlv)
tlv               262 net/ipv6/seg6_hmac.c 	if (idev->cnf.seg6_require_hmac == 0 && !tlv)
tlv               267 net/ipv6/seg6_hmac.c 	hinfo = seg6_hmac_info_lookup(net, be32_to_cpu(tlv->hmackeyid));
tlv               274 net/ipv6/seg6_hmac.c 	if (memcmp(hmac_output, tlv->hmac, SEG6_HMAC_FIELD_LEN) != 0)
tlv               331 net/ipv6/seg6_hmac.c 	struct sr6_tlv_hmac *tlv;
tlv               334 net/ipv6/seg6_hmac.c 	tlv = seg6_get_tlv_hmac(srh);
tlv               335 net/ipv6/seg6_hmac.c 	if (!tlv)
tlv               340 net/ipv6/seg6_hmac.c 	hinfo = seg6_hmac_info_lookup(net, be32_to_cpu(tlv->hmackeyid));
tlv               344 net/ipv6/seg6_hmac.c 	memset(tlv->hmac, 0, SEG6_HMAC_FIELD_LEN);
tlv               345 net/ipv6/seg6_hmac.c 	err = seg6_hmac_compute(hinfo, srh, saddr, tlv->hmac);
tlv                39 net/nfc/llcp.h 	u8 *tlv;
tlv                32 net/nfc/llcp_commands.c static u8 llcp_tlv8(u8 *tlv, u8 type)
tlv                34 net/nfc/llcp_commands.c 	if (tlv[0] != type || tlv[1] != llcp_tlv_length[tlv[0]])
tlv                37 net/nfc/llcp_commands.c 	return tlv[2];
tlv                40 net/nfc/llcp_commands.c static u16 llcp_tlv16(u8 *tlv, u8 type)
tlv                42 net/nfc/llcp_commands.c 	if (tlv[0] != type || tlv[1] != llcp_tlv_length[tlv[0]])
tlv                45 net/nfc/llcp_commands.c 	return be16_to_cpu(*((__be16 *)(tlv + 2)));
tlv                49 net/nfc/llcp_commands.c static u8 llcp_tlv_version(u8 *tlv)
tlv                51 net/nfc/llcp_commands.c 	return llcp_tlv8(tlv, LLCP_TLV_VERSION);
tlv                54 net/nfc/llcp_commands.c static u16 llcp_tlv_miux(u8 *tlv)
tlv                56 net/nfc/llcp_commands.c 	return llcp_tlv16(tlv, LLCP_TLV_MIUX) & 0x7ff;
tlv                59 net/nfc/llcp_commands.c static u16 llcp_tlv_wks(u8 *tlv)
tlv                61 net/nfc/llcp_commands.c 	return llcp_tlv16(tlv, LLCP_TLV_WKS);
tlv                64 net/nfc/llcp_commands.c static u16 llcp_tlv_lto(u8 *tlv)
tlv                66 net/nfc/llcp_commands.c 	return llcp_tlv8(tlv, LLCP_TLV_LTO);
tlv                69 net/nfc/llcp_commands.c static u8 llcp_tlv_opt(u8 *tlv)
tlv                71 net/nfc/llcp_commands.c 	return llcp_tlv8(tlv, LLCP_TLV_OPT);
tlv                74 net/nfc/llcp_commands.c static u8 llcp_tlv_rw(u8 *tlv)
tlv                76 net/nfc/llcp_commands.c 	return llcp_tlv8(tlv, LLCP_TLV_RW) & 0xf;
tlv                81 net/nfc/llcp_commands.c 	u8 *tlv, length;
tlv                95 net/nfc/llcp_commands.c 	tlv = kzalloc(2 + length, GFP_KERNEL);
tlv                96 net/nfc/llcp_commands.c 	if (tlv == NULL)
tlv                97 net/nfc/llcp_commands.c 		return tlv;
tlv                99 net/nfc/llcp_commands.c 	tlv[0] = type;
tlv               100 net/nfc/llcp_commands.c 	tlv[1] = length;
tlv               101 net/nfc/llcp_commands.c 	memcpy(tlv + 2, value, length);
tlv               103 net/nfc/llcp_commands.c 	return tlv;
tlv               118 net/nfc/llcp_commands.c 	sdres->tlv = nfc_llcp_build_tlv(LLCP_TLV_SDRES, value, 2,
tlv               120 net/nfc/llcp_commands.c 	if (sdres->tlv == NULL) {
tlv               153 net/nfc/llcp_commands.c 	sdreq->tlv = kzalloc(sdreq->tlv_len + 1, GFP_KERNEL);
tlv               154 net/nfc/llcp_commands.c 	if (sdreq->tlv == NULL) {
tlv               159 net/nfc/llcp_commands.c 	sdreq->tlv[0] = LLCP_TLV_SDREQ;
tlv               160 net/nfc/llcp_commands.c 	sdreq->tlv[1] = sdreq->tlv_len - 2;
tlv               161 net/nfc/llcp_commands.c 	sdreq->tlv[2] = tid;
tlv               164 net/nfc/llcp_commands.c 	sdreq->uri = sdreq->tlv + 3;
tlv               176 net/nfc/llcp_commands.c 	kfree(sdp->tlv);
tlv               195 net/nfc/llcp_commands.c 	u8 *tlv = tlv_array, type, length, offset = 0;
tlv               203 net/nfc/llcp_commands.c 		type = tlv[0];
tlv               204 net/nfc/llcp_commands.c 		length = tlv[1];
tlv               210 net/nfc/llcp_commands.c 			local->remote_version = llcp_tlv_version(tlv);
tlv               213 net/nfc/llcp_commands.c 			local->remote_miu = llcp_tlv_miux(tlv) + 128;
tlv               216 net/nfc/llcp_commands.c 			local->remote_wks = llcp_tlv_wks(tlv);
tlv               219 net/nfc/llcp_commands.c 			local->remote_lto = llcp_tlv_lto(tlv) * 10;
tlv               222 net/nfc/llcp_commands.c 			local->remote_opt = llcp_tlv_opt(tlv);
tlv               230 net/nfc/llcp_commands.c 		tlv += length + 2;
tlv               244 net/nfc/llcp_commands.c 	u8 *tlv = tlv_array, type, length, offset = 0;
tlv               252 net/nfc/llcp_commands.c 		type = tlv[0];
tlv               253 net/nfc/llcp_commands.c 		length = tlv[1];
tlv               259 net/nfc/llcp_commands.c 			sock->remote_miu = llcp_tlv_miux(tlv) + 128;
tlv               262 net/nfc/llcp_commands.c 			sock->remote_rw = llcp_tlv_rw(tlv);
tlv               272 net/nfc/llcp_commands.c 		tlv += length + 2;
tlv               298 net/nfc/llcp_commands.c static struct sk_buff *llcp_add_tlv(struct sk_buff *pdu, u8 *tlv,
tlv               303 net/nfc/llcp_commands.c 	if (tlv == NULL)
tlv               306 net/nfc/llcp_commands.c 	skb_put_data(pdu, tlv, tlv_length);
tlv               564 net/nfc/llcp_commands.c 		skb_put_data(skb, sdp->tlv, sdp->tlv_len);
tlv               596 net/nfc/llcp_commands.c 		skb_put_data(skb, sdreq->tlv, sdreq->tlv_len);
tlv               820 net/nfc/llcp_core.c 	u8 *tlv = &skb->data[2], type, length;
tlv               824 net/nfc/llcp_core.c 		type = tlv[0];
tlv               825 net/nfc/llcp_core.c 		length = tlv[1];
tlv               831 net/nfc/llcp_core.c 			return &tlv[2];
tlv               835 net/nfc/llcp_core.c 		tlv += length + 2;
tlv              1232 net/nfc/llcp_core.c 	u8 dsap, ssap, *tlv, type, length, tid, sap;
tlv              1251 net/nfc/llcp_core.c 	tlv = &skb->data[LLCP_HEADER_SIZE];
tlv              1257 net/nfc/llcp_core.c 		type = tlv[0];
tlv              1258 net/nfc/llcp_core.c 		length = tlv[1];
tlv              1262 net/nfc/llcp_core.c 			tid = tlv[2];
tlv              1263 net/nfc/llcp_core.c 			service_name = (char *) &tlv[3];
tlv              1325 net/nfc/llcp_core.c 			pr_debug("LLCP_TLV_SDRES: searching tid %d\n", tlv[2]);
tlv              1328 net/nfc/llcp_core.c 				if (sdp->tid != tlv[2])
tlv              1331 net/nfc/llcp_core.c 				sdp->sap = tlv[3];
tlv              1352 net/nfc/llcp_core.c 		tlv += length + 2;
tlv               717 net/sched/em_meta.c static int meta_var_dump(struct sk_buff *skb, struct meta_value *v, int tlv)
tlv               720 net/sched/em_meta.c 	    nla_put(skb, tlv, v->len, (void *) v->val))
tlv               769 net/sched/em_meta.c static int meta_int_dump(struct sk_buff *skb, struct meta_value *v, int tlv)
tlv               772 net/sched/em_meta.c 		if (nla_put(skb, tlv, sizeof(unsigned long), &v->val))
tlv               775 net/sched/em_meta.c 		if (nla_put_u32(skb, tlv, v->val))
tlv               436 net/sched/ematch.c int tcf_em_tree_dump(struct sk_buff *skb, struct tcf_ematch_tree *tree, int tlv)
tlv               443 net/sched/ematch.c 	top_start = nla_nest_start_noflag(skb, tlv);
tlv                91 net/tipc/netlink_compat.c static inline int TLV_GET_DATA_LEN(struct tlv_desc *tlv)
tlv                93 net/tipc/netlink_compat.c 	return TLV_GET_LEN(tlv) - TLV_SPACE(0);
tlv                98 net/tipc/netlink_compat.c 	struct tlv_desc *tlv = (struct tlv_desc *)skb_tail_pointer(skb);
tlv               104 net/tipc/netlink_compat.c 	tlv->tlv_type = htons(type);
tlv               105 net/tipc/netlink_compat.c 	tlv->tlv_len = htons(TLV_LENGTH(len));
tlv               107 net/tipc/netlink_compat.c 		memcpy(TLV_DATA(tlv), data, len);
tlv               114 net/tipc/netlink_compat.c 	struct tlv_desc *tlv = (struct tlv_desc *)skb->data;
tlv               116 net/tipc/netlink_compat.c 	TLV_SET_LEN(tlv, 0);
tlv               117 net/tipc/netlink_compat.c 	TLV_SET_TYPE(tlv, type);
tlv               127 net/tipc/netlink_compat.c 	struct tlv_desc *tlv;
tlv               132 net/tipc/netlink_compat.c 	tlv = (struct tlv_desc *)skb->data;
tlv               133 net/tipc/netlink_compat.c 	len = TLV_GET_LEN(tlv);
tlv               134 net/tipc/netlink_compat.c 	buf = TLV_DATA(tlv) + len;
tlv               140 net/tipc/netlink_compat.c 	TLV_SET_LEN(tlv, n + len);
tlv               272 sound/core/control.c 	kctl->tlv.p = ncontrol->tlv.p;
tlv              1330 sound/core/control.c 		kctl->tlv.c = snd_ctl_elem_user_tlv;
tlv              1430 sound/core/control.c 	if (kctl->tlv.c == NULL)
tlv              1438 sound/core/control.c 	return kctl->tlv.c(kctl, op_flag, size, buf);
tlv              1450 sound/core/control.c 	if (kctl->tlv.p == NULL)
tlv              1453 sound/core/control.c 	len = sizeof(unsigned int) * 2 + kctl->tlv.p[1];
tlv              1457 sound/core/control.c 	if (copy_to_user(buf, kctl->tlv.p, len))
tlv              1485 sound/core/control.c 	container = buf->tlv;
tlv              2355 sound/core/pcm_lib.c 			     unsigned int size, unsigned int __user *tlv)
tlv              2366 sound/core/pcm_lib.c 	if (put_user(SNDRV_CTL_TLVT_CONTAINER, tlv))
tlv              2369 sound/core/pcm_lib.c 	dst = tlv + 2;
tlv              2392 sound/core/pcm_lib.c 	if (put_user(count, tlv + 1))
tlv              2430 sound/core/pcm_lib.c 		.tlv.c = pcm_chmap_ctl_tlv,
tlv                35 sound/core/vmaster.c 	unsigned int tlv[4];
tlv               223 sound/core/vmaster.c 			 unsigned int __user *tlv)
tlv               227 sound/core/vmaster.c 	return slave->slave.tlv.c(&slave->slave, op_flag, size, tlv);
tlv               273 sound/core/vmaster.c 		slave->tlv.c = slave_tlv_cmd;
tlv               392 sound/core/vmaster.c 						 const unsigned int *tlv)
tlv               420 sound/core/vmaster.c 	if (tlv) {
tlv               421 sound/core/vmaster.c 		unsigned int type = tlv[SNDRV_CTL_TLVO_TYPE];
tlv               426 sound/core/vmaster.c 			memcpy(master->tlv, tlv, sizeof(master->tlv));
tlv               427 sound/core/vmaster.c 			kctl->tlv.p = master->tlv;
tlv               722 sound/drivers/dummy.c   .tlv = { .p = db_scale_dummy } }
tlv               715 sound/drivers/vx/vx_mixer.c 	.tlv = { .p = db_scale_audio_gain },
tlv               732 sound/drivers/vx/vx_mixer.c 	.tlv = { .p = db_scale_audio_gain },
tlv               912 sound/drivers/vx/vx_mixer.c 		temp.tlv.p = chip->hw->output_level_db_scale;
tlv               588 sound/firewire/isight.c 		ctl->tlv.p = isight->gain_tlv;
tlv               665 sound/hda/hdmi_chmap.c 			      unsigned int size, unsigned int __user *tlv)
tlv               678 sound/hda/hdmi_chmap.c 	if (put_user(SNDRV_CTL_TLVT_CONTAINER, tlv))
tlv               681 sound/hda/hdmi_chmap.c 	dst = tlv + 2;
tlv               732 sound/hda/hdmi_chmap.c 	if (put_user(count, tlv + 1))
tlv               846 sound/hda/hdmi_chmap.c 	kctl->tlv.c = hdmi_chmap_ctl_tlv;
tlv               658 sound/i2c/other/ak4xxx-adda.c 			knew.tlv.p = db_scale_vol_datt;
tlv               665 sound/i2c/other/ak4xxx-adda.c 			knew.tlv.p = db_scale_vol_datt;
tlv               672 sound/i2c/other/ak4xxx-adda.c 			knew.tlv.p = db_scale_8bit;
tlv               678 sound/i2c/other/ak4xxx-adda.c 			knew.tlv.p = db_scale_8bit;
tlv               685 sound/i2c/other/ak4xxx-adda.c 			knew.tlv.p = db_scale_7bit;
tlv               692 sound/i2c/other/ak4xxx-adda.c 			knew.tlv.p = db_scale_linear;
tlv               698 sound/i2c/other/ak4xxx-adda.c 			knew.tlv.p = db_scale_linear;
tlv               753 sound/i2c/other/ak4xxx-adda.c 		knew.tlv.p = db_scale_vol_datt;
tlv               191 sound/i2c/other/pt2258.c 		knew.tlv.p = pt2258_db_scale;
tlv               764 sound/isa/ad1816a/ad1816a_lib.c   .tlv = { .p = (xtlv) } }
tlv               828 sound/isa/ad1816a/ad1816a_lib.c   .tlv = { .p = (xtlv) } }
tlv               392 sound/isa/cs423x/cs4236_lib.c   .tlv = { .p = (xtlv) } }
tlv               505 sound/isa/cs423x/cs4236_lib.c   .tlv = { .p = (xtlv) } }
tlv               592 sound/isa/cs423x/cs4236_lib.c   .tlv = { .p = (xtlv) } }
tlv               653 sound/isa/cs423x/cs4236_lib.c   .tlv = { .p = (xtlv) } }
tlv               697 sound/isa/cs423x/cs4236_lib.c   .tlv = { .p = (xtlv) } }
tlv               338 sound/isa/opl3sa2.c   .tlv = { .p = (xtlv) } }
tlv               393 sound/isa/opl3sa2.c   .tlv = { .p = (xtlv) } }
tlv              1227 sound/pci/ac97/ac97_codec.c static void set_tlv_db_scale(struct snd_kcontrol *kctl, const unsigned int *tlv)
tlv              1229 sound/pci/ac97/ac97_codec.c 	kctl->tlv.p = tlv;
tlv              1230 sound/pci/ac97/ac97_codec.c 	if (tlv)
tlv                21 sound/pci/ac97/ac97_patch.c 				const unsigned int *tlv,
tlv                40 sound/pci/ac97/ac97_patch.c 		      const unsigned int *tlv)
tlv                48 sound/pci/ac97/ac97_patch.c 	if (kctl && kctl->tlv.p)
tlv                49 sound/pci/ac97/ac97_patch.c 		kctl->tlv.p = tlv;
tlv              3405 sound/pci/ac97/ac97_patch.c 				const unsigned int *tlv,
tlv              3412 sound/pci/ac97/ac97_patch.c 	kctl = snd_ctl_make_virtual_master(name, tlv);
tlv              3454 sound/pci/ac97/ac97_patch.c 				   kctl->tlv.p, slave_vols_vt1616);
tlv                58 sound/pci/ak4531_codec.c   .tlv = { .p = (xtlv) } }
tlv               125 sound/pci/ak4531_codec.c   .tlv = { .p = (xtlv) } }
tlv              1578 sound/pci/asihpi/asihpi.c 	snd_control.tlv.p = db_scale_100;
tlv              1673 sound/pci/asihpi/asihpi.c 	snd_control.tlv.p = db_scale_level;
tlv               601 sound/pci/au88x0/au88x0_pcm.c 	.tlv = { .p = vortex_pcm_vol_db_scale },
tlv               549 sound/pci/ca0106/ca0106_mixer.c 	.tlv = { .p = snd_ca0106_db_scale1 },			\
tlv               630 sound/pci/ca0106/ca0106_mixer.c 	.tlv = { .p = snd_ca0106_db_scale2 },			\
tlv              1050 sound/pci/cs4281.c 	.tlv = { .p = db_scale_dsp },
tlv              1061 sound/pci/cs4281.c 	.tlv = { .p = db_scale_dsp },
tlv               407 sound/pci/ctxfi/ctmixer.c 	.tlv		= { .p =  ct_vol_db_scale },
tlv              1037 sound/pci/echoaudio/echoaudio.c 	.tlv = {.p = db_scale_output_gain},
tlv              1047 sound/pci/echoaudio/echoaudio.c 	.tlv = {.p = db_scale_output_gain},
tlv              1117 sound/pci/echoaudio/echoaudio.c 	.tlv = {.p = db_scale_input_gain},
tlv              1317 sound/pci/echoaudio/echoaudio.c 	.tlv = {.p = db_scale_output_gain},
tlv              1385 sound/pci/echoaudio/echoaudio.c 	.tlv = {.p = db_scale_output_gain},
tlv              1749 sound/pci/echoaudio/echoaudio.c 	.tlv = {.p = db_scale_output_gain},
tlv               651 sound/pci/emu10k1/emufx.c 	unsigned int *tlv;
tlv               661 sound/pci/emu10k1/emufx.c 	tlv = kmalloc(data[1] + sizeof(data), GFP_KERNEL);
tlv               662 sound/pci/emu10k1/emufx.c 	if (!tlv)
tlv               664 sound/pci/emu10k1/emufx.c 	memcpy(tlv, data, sizeof(data));
tlv               666 sound/pci/emu10k1/emufx.c 		memcpy(tlv + 2, (__force void *)(_tlv + 2),  data[1]);
tlv               667 sound/pci/emu10k1/emufx.c 	} else if (copy_from_user(tlv + 2, _tlv + 2, data[1])) {
tlv               668 sound/pci/emu10k1/emufx.c 		kfree(tlv);
tlv               671 sound/pci/emu10k1/emufx.c 	return tlv;
tlv               694 sound/pci/emu10k1/emufx.c 	gctl->tlv = NULL;
tlv               777 sound/pci/emu10k1/emufx.c 	kfree(kctl->tlv.p);
tlv               823 sound/pci/emu10k1/emufx.c 		knew.tlv.p = copy_tlv((__force const unsigned int __user *)gctl->tlv, in_kernel);
tlv               824 sound/pci/emu10k1/emufx.c 		if (knew.tlv.p)
tlv               844 sound/pci/emu10k1/emufx.c 				kfree(knew.tlv.p);
tlv               851 sound/pci/emu10k1/emufx.c 				kfree(knew.tlv.p);
tlv              1103 sound/pci/emu10k1/emufx.c 		ctl->tlv = snd_emu10k1_db_linear;
tlv              1108 sound/pci/emu10k1/emufx.c 		ctl->tlv = snd_emu10k1_db_scale1;
tlv              1125 sound/pci/emu10k1/emufx.c 		ctl->tlv = snd_emu10k1_db_linear;
tlv              1130 sound/pci/emu10k1/emufx.c 		ctl->tlv = snd_emu10k1_db_scale1;
tlv              2196 sound/pci/emu10k1/emufx.c 	ctl->tlv = snd_emu10k1_bass_treble_db_scale;
tlv              2206 sound/pci/emu10k1/emufx.c 	ctl->tlv = snd_emu10k1_bass_treble_db_scale;
tlv              1049 sound/pci/emu10k1/emumixer.c 	.tlv = { .p = snd_audigy_db_scale2 },			\
tlv               811 sound/pci/emu10k1/p16v.c 	.tlv = { .p = snd_p16v_db_scale1 },	\
tlv              1166 sound/pci/es1938.c   .tlv = { .p = xtlv } }
tlv              1227 sound/pci/es1938.c   .tlv = { .p = xtlv } }
tlv              1353 sound/pci/es1938.c 	.tlv = { .p = db_scale_master },
tlv               894 sound/pci/fm801.c   .tlv = { .p = (xtlv) } }
tlv              1511 sound/pci/hda/hda_codec.c static void get_ctl_amp_tlv(struct snd_kcontrol *kcontrol, unsigned int *tlv)
tlv              1528 sound/pci/hda/hda_codec.c 	tlv[SNDRV_CTL_TLVO_TYPE] = SNDRV_CTL_TLVT_DB_SCALE;
tlv              1529 sound/pci/hda/hda_codec.c 	tlv[SNDRV_CTL_TLVO_LEN] = 2 * sizeof(unsigned int);
tlv              1530 sound/pci/hda/hda_codec.c 	tlv[SNDRV_CTL_TLVO_DB_SCALE_MIN] = val1;
tlv              1531 sound/pci/hda/hda_codec.c 	tlv[SNDRV_CTL_TLVO_DB_SCALE_MUTE_AND_STEP] = val2;
tlv              1547 sound/pci/hda/hda_codec.c 	unsigned int tlv[4];
tlv              1551 sound/pci/hda/hda_codec.c 	get_ctl_amp_tlv(kcontrol, tlv);
tlv              1552 sound/pci/hda/hda_codec.c 	if (copy_to_user(_tlv, tlv, sizeof(tlv)))
tlv              1570 sound/pci/hda/hda_codec.c 			     unsigned int *tlv)
tlv              1579 sound/pci/hda/hda_codec.c 	tlv[SNDRV_CTL_TLVO_TYPE] = SNDRV_CTL_TLVT_DB_SCALE;
tlv              1580 sound/pci/hda/hda_codec.c 	tlv[SNDRV_CTL_TLVO_LEN] = 2 * sizeof(unsigned int);
tlv              1581 sound/pci/hda/hda_codec.c 	tlv[SNDRV_CTL_TLVO_DB_SCALE_MIN] = -nums * step;
tlv              1582 sound/pci/hda/hda_codec.c 	tlv[SNDRV_CTL_TLVO_DB_SCALE_MUTE_AND_STEP] = step;
tlv              1864 sound/pci/hda/hda_codec.c 	const int *tlv = NULL;
tlv              1869 sound/pci/hda/hda_codec.c 		if (kctl->tlv.c != snd_hda_mixer_amp_tlv) {
tlv              1876 sound/pci/hda/hda_codec.c 		tlv = _tlv;
tlv              1878 sound/pci/hda/hda_codec.c 		tlv = kctl->tlv.p;
tlv              1880 sound/pci/hda/hda_codec.c 	if (!tlv || tlv[SNDRV_CTL_TLVO_TYPE] != SNDRV_CTL_TLVT_DB_SCALE)
tlv              1883 sound/pci/hda/hda_codec.c 	step = tlv[SNDRV_CTL_TLVO_DB_SCALE_MUTE_AND_STEP];
tlv              1895 sound/pci/hda/hda_codec.c 	val = -tlv[SNDRV_CTL_TLVO_DB_SCALE_MIN] / step;
tlv              1938 sound/pci/hda/hda_codec.c 			unsigned int *tlv, const char * const *slaves,
tlv              1953 sound/pci/hda/hda_codec.c 	kctl = snd_ctl_make_virtual_master(name, tlv);
tlv              1972 sound/pci/hda/hda_codec.c 					     tlv ? init_slave_0dB : init_slave_unmute,
tlv              3493 sound/pci/hda/hda_generic.c 	.tlv = { .c = cap_vol_tlv },
tlv                41 sound/pci/hda/hda_local.h 	  .tlv = { .c = snd_hda_mixer_amp_tlv },		\
tlv               103 sound/pci/hda/hda_local.h 			  unsigned int size, unsigned int __user *tlv);
tlv               128 sound/pci/hda/hda_local.h 			     unsigned int *tlv);
tlv               132 sound/pci/hda/hda_local.h 			  unsigned int *tlv, const char * const *slaves,
tlv               135 sound/pci/hda/hda_local.h #define snd_hda_add_vmaster(codec, name, tlv, slaves, suffix) \
tlv               136 sound/pci/hda/hda_local.h 	__snd_hda_add_vmaster(codec, name, tlv, slaves, suffix, true, NULL)
tlv              1017 sound/pci/hda/patch_ca0132.c 	unsigned int tlv[4];
tlv              3654 sound/pci/hda/patch_ca0132.c 	  .tlv = { .c = ca0132_volume_tlv }, \
tlv              3672 sound/pci/hda/patch_ca0132.c 	  .tlv = { .c = snd_hda_mixer_amp_tlv }, \
tlv              3984 sound/pci/hda/patch_ca0132.c 	knew.tlv.c = 0;
tlv              3985 sound/pci/hda/patch_ca0132.c 	knew.tlv.p = 0;
tlv              3991 sound/pci/hda/patch_ca0132.c 		knew.tlv.p = voice_focus_db_scale;
tlv              4002 sound/pci/hda/patch_ca0132.c 		knew.tlv.p = eq_db_scale;
tlv              6018 sound/pci/hda/patch_ca0132.c 			     unsigned int size, unsigned int __user *tlv)
tlv              6035 sound/pci/hda/patch_ca0132.c 		err = snd_hda_mixer_amp_tlv(kcontrol, op_flag, size, tlv);
tlv              6045 sound/pci/hda/patch_ca0132.c 		err = snd_hda_mixer_amp_tlv(kcontrol, op_flag, size, tlv);
tlv              6050 sound/pci/hda/patch_ca0132.c 		err = snd_hda_mixer_amp_tlv(kcontrol, op_flag, size, tlv);
tlv              6066 sound/pci/hda/patch_ca0132.c 	knew.tlv.c = NULL;
tlv              6381 sound/pci/hda/patch_ca0132.c 					spec->tlv);
tlv              6383 sound/pci/hda/patch_ca0132.c 					spec->tlv, ca0132_alt_slave_pfxs,
tlv               983 sound/pci/hda/patch_cirrus.c 	.tlv = { .p = cs421x_speaker_boost_db_scale },
tlv              1408 sound/pci/ice1712/aureon.c 		.tlv = { .p = db_scale_wm_dac }
tlv              1427 sound/pci/ice1712/aureon.c 		.tlv = { .p = db_scale_wm_dac }
tlv              1446 sound/pci/ice1712/aureon.c 		.tlv = { .p = db_scale_wm_dac }
tlv              1465 sound/pci/ice1712/aureon.c 		.tlv = { .p = db_scale_wm_dac }
tlv              1484 sound/pci/ice1712/aureon.c 		.tlv = { .p = db_scale_wm_dac }
tlv              1503 sound/pci/ice1712/aureon.c 		.tlv = { .p = db_scale_wm_dac }
tlv              1523 sound/pci/ice1712/aureon.c 		.tlv = { .p = db_scale_wm_pcm }
tlv              1540 sound/pci/ice1712/aureon.c 		.tlv = { .p = db_scale_wm_adc }
tlv              1591 sound/pci/ice1712/aureon.c 		.tlv = { .p = db_scale_ac97_master }
tlv              1610 sound/pci/ice1712/aureon.c 		.tlv = { .p = db_scale_ac97_gain }
tlv              1629 sound/pci/ice1712/aureon.c 		.tlv = { .p = db_scale_ac97_gain }
tlv              1648 sound/pci/ice1712/aureon.c 		.tlv = { .p = db_scale_ac97_gain }
tlv              1667 sound/pci/ice1712/aureon.c 		.tlv = { .p = db_scale_ac97_gain }
tlv              1696 sound/pci/ice1712/aureon.c 		.tlv = { .p = db_scale_ac97_master }
tlv              1715 sound/pci/ice1712/aureon.c 		.tlv = { .p = db_scale_ac97_gain }
tlv              1734 sound/pci/ice1712/aureon.c 		.tlv = { .p = db_scale_ac97_gain }
tlv              1753 sound/pci/ice1712/aureon.c 		.tlv = { .p = db_scale_ac97_gain }
tlv              1772 sound/pci/ice1712/aureon.c 		.tlv = { .p = db_scale_ac97_gain }
tlv              1798 sound/pci/ice1712/aureon.c 		.tlv = { .p = db_scale_ac97_gain }
tlv              1386 sound/pci/ice1712/ice1712.c 		.tlv = { .p = db_scale_playback }
tlv              1418 sound/pci/ice1712/ice1712.c 	.tlv = { .p = db_scale_playback }
tlv               436 sound/pci/ice1712/maya44.c 		.tlv = { .p = db_scale_hp },
tlv               448 sound/pci/ice1712/maya44.c 		.tlv = { .p = db_scale_dac },
tlv               460 sound/pci/ice1712/maya44.c 		.tlv = { .p = db_scale_adc },
tlv               764 sound/pci/ice1712/phase.c 		.tlv = { .p = db_scale_wm_dac }
tlv               783 sound/pci/ice1712/phase.c 		.tlv = { .p = db_scale_wm_dac }
tlv               802 sound/pci/ice1712/phase.c 		.tlv = { .p = db_scale_wm_dac }
tlv               821 sound/pci/ice1712/phase.c 		.tlv = { .p = db_scale_wm_dac }
tlv               840 sound/pci/ice1712/phase.c 		.tlv = { .p = db_scale_wm_dac }
tlv               859 sound/pci/ice1712/phase.c 		.tlv = { .p = db_scale_wm_dac }
tlv               879 sound/pci/ice1712/phase.c 		.tlv = { .p = db_scale_wm_pcm }
tlv               541 sound/pci/ice1712/pontis.c 		.tlv = { .p = db_scale_volume },
tlv               551 sound/pci/ice1712/pontis.c 		.tlv = { .p = db_scale_volume },
tlv               357 sound/pci/ice1712/prodigy192.c 		.tlv = { .p = db_scale_dac }
tlv               368 sound/pci/ice1712/prodigy192.c 		.tlv = { .p = db_scale_dac }
tlv               387 sound/pci/ice1712/prodigy192.c 		.tlv = { .p = db_scale_dac }
tlv               407 sound/pci/ice1712/prodigy192.c 		.tlv = { .p = db_scale_adc }
tlv               296 sound/pci/ice1712/prodigy_hifi.c 	.tlv = { .p = ak4396_db_scale },
tlv               753 sound/pci/ice1712/prodigy_hifi.c 		.tlv = { .p = db_scale_wm_dac }
tlv               763 sound/pci/ice1712/prodigy_hifi.c 		.tlv = { .p = db_scale_wm_dac },
tlv               774 sound/pci/ice1712/prodigy_hifi.c 		.tlv = { .p = db_scale_wm_dac },
tlv               785 sound/pci/ice1712/prodigy_hifi.c 		.tlv = { .p = db_scale_wm_dac }
tlv               796 sound/pci/ice1712/prodigy_hifi.c 		.tlv = { .p = db_scale_wm_dac }
tlv               807 sound/pci/ice1712/prodigy_hifi.c 		.tlv = { .p = db_scale_wm_dac },
tlv               817 sound/pci/ice1712/prodigy_hifi.c 		.tlv = { .p = db_scale_wm_dac },
tlv               593 sound/pci/ice1712/se.c 		cont.tlv.p = NULL;
tlv               602 sound/pci/ice1712/se.c 				cont.tlv.p = db_scale_gain1;
tlv               604 sound/pci/ice1712/se.c 				cont.tlv.p = db_scale_gain2;
tlv                33 sound/pci/ice1712/wm8766.c 		.tlv = wm8766_tlv,
tlv                44 sound/pci/ice1712/wm8766.c 		.tlv = wm8766_tlv,
tlv                55 sound/pci/ice1712/wm8766.c 		.tlv = wm8766_tlv,
tlv               289 sound/pci/ice1712/wm8766.c 	cont.tlv.p = NULL;
tlv               297 sound/pci/ice1712/wm8766.c 		cont.tlv.p = wm->ctl[num].tlv;
tlv               123 sound/pci/ice1712/wm8766.h 	const unsigned int *tlv;
tlv               136 sound/pci/ice1712/wm8776.c 		.tlv = wm8776_dac_tlv,
tlv               162 sound/pci/ice1712/wm8776.c 		.tlv = wm8776_hp_tlv,
tlv               223 sound/pci/ice1712/wm8776.c 		.tlv = wm8776_adc_tlv,
tlv               282 sound/pci/ice1712/wm8776.c 		.tlv = wm8776_lct_tlv,
tlv               322 sound/pci/ice1712/wm8776.c 		.tlv = wm8776_maxatten_lim_tlv,
tlv               332 sound/pci/ice1712/wm8776.c 		.tlv = wm8776_lct_tlv,
tlv               363 sound/pci/ice1712/wm8776.c 		.tlv = wm8776_maxgain_tlv,
tlv               373 sound/pci/ice1712/wm8776.c 		.tlv = wm8776_maxatten_alc_tlv,
tlv               402 sound/pci/ice1712/wm8776.c 		.tlv = wm8776_ngth_tlv,
tlv               563 sound/pci/ice1712/wm8776.c 	cont.tlv.p = NULL;
tlv               571 sound/pci/ice1712/wm8776.c 		cont.tlv.p = wm->ctl[num].tlv;
tlv               179 sound/pci/ice1712/wm8776.h 	const unsigned int *tlv;
tlv               490 sound/pci/ice1712/wtm.c 		.tlv = { .p = db_scale_dac }
tlv               527 sound/pci/ice1712/wtm.c 		.tlv = { .p = db_scale_dac }
tlv               547 sound/pci/ice1712/wtm.c 		.tlv = { .p = db_scale_adc }
tlv               543 sound/pci/lola/lola_mixer.c 			       unsigned int size, unsigned int __user *tlv)
tlv               559 sound/pci/lola/lola_mixer.c 	if (put_user(SNDRV_CTL_TLVT_DB_SCALE, tlv))
tlv               561 sound/pci/lola/lola_mixer.c 	if (put_user(2 * sizeof(unsigned int), tlv + 1))
tlv               563 sound/pci/lola/lola_mixer.c 	if (put_user(val1, tlv + 2))
tlv               565 sound/pci/lola/lola_mixer.c 	if (put_user(val2, tlv + 3))
tlv               578 sound/pci/lola/lola_mixer.c 	.tlv.c = lola_analog_vol_tlv,
tlv               724 sound/pci/lola/lola_mixer.c 	.tlv.p = lola_src_gain_tlv,
tlv               811 sound/pci/lola/lola_mixer.c 	.tlv.p = lola_dest_gain_tlv,
tlv               402 sound/pci/mixart/mixart_mixer.c 	.tlv = { .p = db_scale_analog },
tlv               897 sound/pci/mixart/mixart_mixer.c 	.tlv = { .p = db_scale_digital },
tlv              1022 sound/pci/mixart/mixart_mixer.c 	.tlv = { .p = db_scale_digital },
tlv               746 sound/pci/oxygen/oxygen_mixer.c 		.tlv = { .p = ac97_db_scale, }, \
tlv               875 sound/pci/oxygen/oxygen_mixer.c 				.tlv = { .p = monitor_db_scale, },
tlv               900 sound/pci/oxygen/oxygen_mixer.c 				.tlv = { .p = monitor_db_scale, },
tlv               927 sound/pci/oxygen/oxygen_mixer.c 				.tlv = { .p = monitor_db_scale, },
tlv               954 sound/pci/oxygen/oxygen_mixer.c 				.tlv = { .p = monitor_db_scale, },
tlv               979 sound/pci/oxygen/oxygen_mixer.c 				.tlv = { .p = monitor_db_scale, },
tlv              1014 sound/pci/oxygen/oxygen_mixer.c 		.tlv = { .p = ac97_rec_db_scale, },
tlv              1068 sound/pci/oxygen/oxygen_mixer.c 			template.tlv.p = chip->model.dac_tlv;
tlv               365 sound/pci/oxygen/xonar_dg_mixer.c 	.tlv = { .p = pga_db_scale }, \
tlv               386 sound/pci/oxygen/xonar_dg_mixer.c 		.tlv = { .p = hp_db_scale, },
tlv               998 sound/pci/oxygen/xonar_wm87x6.c 	.tlv = { .p = tlv_p }, \
tlv              1017 sound/pci/oxygen/xonar_wm87x6.c 		.tlv = { .p = wm8776_hp_db_scale },
tlv              1027 sound/pci/oxygen/xonar_wm87x6.c 		.tlv = { .p = wm8776_adc_db_scale },
tlv              1080 sound/pci/oxygen/xonar_wm87x6.c 		.tlv = { .p = wm8776_hp_db_scale },
tlv              1090 sound/pci/oxygen/xonar_wm87x6.c 		.tlv = { .p = wm8776_adc_db_scale },
tlv               742 sound/pci/pcxhr/pcxhr_mix22.c 	.tlv = { .p = db_scale_mic_hr222 },
tlv               792 sound/pci/pcxhr/pcxhr_mix22.c 	.tlv = { .p = db_scale_micboost_hr222 },
tlv               409 sound/pci/pcxhr/pcxhr_mixer.c 	.tlv = { .p = db_scale_digital },
tlv               507 sound/pci/pcxhr/pcxhr_mixer.c 	.tlv = { .p = db_scale_digital },
tlv              1120 sound/pci/pcxhr/pcxhr_mixer.c 				temp.tlv.p = db_scale_a_hr222_playback;
tlv              1122 sound/pci/pcxhr/pcxhr_mixer.c 				temp.tlv.p = db_scale_analog_playback;
tlv              1168 sound/pci/pcxhr/pcxhr_mixer.c 				temp.tlv.p = db_scale_a_hr222_capture;
tlv              1170 sound/pci/pcxhr/pcxhr_mixer.c 				temp.tlv.p = db_scale_analog_capture;
tlv              2619 sound/pci/trident/trident_main.c 	.tlv = { .p = db_scale_gvol },
tlv              2630 sound/pci/trident/trident_main.c 	.tlv = { .p = db_scale_gvol },
tlv              2819 sound/pci/trident/trident_main.c 	.tlv = { .p = db_scale_crvol },
tlv              2875 sound/pci/trident/trident_main.c 	.tlv = { .p = db_scale_crvol },
tlv              1771 sound/pci/via82xx.c 	.tlv = { .p = db_scale_dxs }
tlv              1785 sound/pci/via82xx.c 	.tlv = { .p = db_scale_dxs }
tlv               943 sound/pci/vx222/vx222_ops.c 	.tlv = { .p = db_scale_mic },
tlv               954 sound/pci/vx222/vx222_ops.c 	.tlv = { .p = db_scale_mic },
tlv              1501 sound/pci/ymfpci/ymfpci_main.c   .tlv = { .p = db_scale_native } }
tlv              1617 sound/pci/ymfpci/ymfpci_main.c 	.tlv = { .p = db_scale_native },
tlv                67 sound/pcmcia/vx/vxp_mixer.c 	.tlv = { .p = db_scale_mic },
tlv               273 sound/soc/codecs/tda7419.c 	.tlv.p = (xtlv_array), \
tlv               287 sound/soc/codecs/tda7419.c 	.tlv.p = (xtlv_array), \
tlv              1289 sound/soc/codecs/wm_adsp.c 	kcontrol->tlv.c = snd_soc_bytes_tlv_callback;
tlv               718 sound/soc/intel/atom/sst-atom-controls.h 	.tlv.p = (tlv_array), \
tlv               768 sound/soc/soc-ops.c 				unsigned int size, unsigned int __user *tlv)
tlv               777 sound/soc/soc-ops.c 			ret = params->get(kcontrol, tlv, count);
tlv               781 sound/soc/soc-ops.c 			ret = params->put(kcontrol, tlv, count);
tlv               383 sound/soc/soc-topology.c 	if (dobj->control.kcontrol->tlv.p)
tlv               384 sound/soc/soc-topology.c 		p = dobj->control.kcontrol->tlv.p;
tlv               493 sound/soc/soc-topology.c 				kfree(kcontrol->tlv.p);
tlv               602 sound/soc/soc-topology.c 		k->tlv.c = snd_soc_bytes_tlv_callback;
tlv               710 sound/soc/soc-topology.c 	kc->tlv.p = (void *)p;
tlv               724 sound/soc/soc-topology.c 		tplg_tlv = &tc->tlv;
tlv               744 sound/soc/soc-topology.c 	kfree(kc->tlv.p);
tlv               289 sound/soc/sof/control.c 	if (copy_from_user(cdata->data, tlvd->tlv, header.length))
tlv               364 sound/soc/sof/control.c 	if (copy_to_user(tlvd->tlv, cdata->data, data_size))
tlv               195 sound/soc/sof/topology.c static inline int get_tlv_data(const int *p, int tlv[TLV_ITEMS])
tlv               202 sound/soc/sof/topology.c 	tlv[TLV_MIN] = (int)p[SNDRV_CTL_TLVO_DB_SCALE_MIN] / 100;
tlv               205 sound/soc/sof/topology.c 	tlv[TLV_STEP] = (int)(p[SNDRV_CTL_TLVO_DB_SCALE_MUTE_AND_STEP] &
tlv               211 sound/soc/sof/topology.c 		tlv[TLV_MUTE] = 0;
tlv               213 sound/soc/sof/topology.c 		tlv[TLV_MUTE] = 1;
tlv               285 sound/soc/sof/topology.c static u32 vol_compute_gain(u32 value, int *tlv)
tlv               292 sound/soc/sof/topology.c 	if (value == 0 && tlv[TLV_MUTE])
tlv               299 sound/soc/sof/topology.c 	dB_gain = tlv[TLV_MIN] + (value * tlv[TLV_STEP]) / 100;
tlv               308 sound/soc/sof/topology.c 	f_step = tlv[TLV_STEP] - (tlv[TLV_STEP] / 100);
tlv               324 sound/soc/sof/topology.c 			       int tlv[TLV_ITEMS], int size)
tlv               335 sound/soc/sof/topology.c 		scontrol->volume_table[j] = vol_compute_gain(j, tlv);
tlv               448 sound/soc/sof/topology.c 	int tlv[TLV_ITEMS];
tlv               477 sound/soc/sof/topology.c 	if (get_tlv_data(kc->tlv.p, tlv) < 0) {
tlv               483 sound/soc/sof/topology.c 	ret = set_up_volume_table(scontrol, tlv, le32_to_cpu(mc->max) + 1);
tlv               411 sound/usb/6fire/control.c 		.tlv = { .p = tlv_output }
tlv               423 sound/usb/6fire/control.c 		.tlv = { .p = tlv_output }
tlv               435 sound/usb/6fire/control.c 		.tlv = { .p = tlv_output }
tlv               511 sound/usb/6fire/control.c 		.tlv = { .p = tlv_input }
tlv              1688 sound/usb/mixer.c 			kctl->tlv.c = snd_usb_mixer_vol_tlv;
tlv                97 sound/usb/mixer_quirks.c 		kctl->tlv.c = tlv_callback;
tlv              2349 sound/usb/mixer_quirks.c 		kctl->tlv.p = scale;
tlv               487 sound/usb/mixer_scarlett.c 	.tlv = { .p = db_scale_scarlett_gain }
tlv               499 sound/usb/mixer_scarlett.c 	.tlv = { .p = db_scale_scarlett_gain }
tlv              1099 sound/usb/mixer_scarlett_gen2.c 	.tlv = { .p = db_scale_scarlett2_gain }
tlv              1111 sound/usb/mixer_scarlett_gen2.c 	.tlv = { .p = db_scale_scarlett2_gain }
tlv              1534 sound/usb/mixer_scarlett_gen2.c 	.tlv = { .p = db_scale_scarlett2_mixer }
tlv               147 sound/usb/stream.c 			     unsigned int size, unsigned int __user *tlv)
tlv               157 sound/usb/stream.c 	if (put_user(SNDRV_CTL_TLVT_CONTAINER, tlv))
tlv               160 sound/usb/stream.c 	dst = tlv + 2;
tlv               184 sound/usb/stream.c 	if (put_user(count, tlv + 1))
tlv               233 sound/usb/stream.c 	kctl->tlv.c = usb_chmap_ctl_tlv;
tlv               965 tools/include/uapi/sound/asound.h 	unsigned int tlv[0];	/* first TLV */
tlv               136 tools/testing/selftests/bpf/progs/test_lwt_seg6local.c 		struct sr6_tlv_t tlv;
tlv               144 tools/testing/selftests/bpf/progs/test_lwt_seg6local.c 		err = bpf_skb_load_bytes(skb, cur_off, &tlv, sizeof(tlv));
tlv               148 tools/testing/selftests/bpf/progs/test_lwt_seg6local.c 		if (tlv.type == SR6_TLV_PADDING) {
tlv               149 tools/testing/selftests/bpf/progs/test_lwt_seg6local.c 			*pad_size = tlv.len + sizeof(tlv);
tlv               158 tools/testing/selftests/bpf/progs/test_lwt_seg6local.c 		} else if (tlv.type == SR6_TLV_HMAC) {
tlv               162 tools/testing/selftests/bpf/progs/test_lwt_seg6local.c 		cur_off += sizeof(tlv) + tlv.len;
tlv               229 tools/testing/selftests/bpf/progs/test_lwt_seg6local.c 	struct sr6_tlv_t tlv;
tlv               238 tools/testing/selftests/bpf/progs/test_lwt_seg6local.c 	err = bpf_skb_load_bytes(skb, tlv_off, &tlv, sizeof(tlv));
tlv               242 tools/testing/selftests/bpf/progs/test_lwt_seg6local.c 	err = bpf_lwt_seg6_adjust_srh(skb, tlv_off, -(sizeof(tlv) + tlv.len));
tlv               246 tools/testing/selftests/bpf/progs/test_lwt_seg6local.c 	pad_off -= sizeof(tlv) + tlv.len;
tlv               263 tools/testing/selftests/bpf/progs/test_lwt_seg6local.c 	struct sr6_tlv_t tlv;
tlv               265 tools/testing/selftests/bpf/progs/test_lwt_seg6local.c 	if (bpf_skb_load_bytes(skb, tlv_offset, &tlv, sizeof(struct sr6_tlv_t)))
tlv               268 tools/testing/selftests/bpf/progs/test_lwt_seg6local.c 	if (tlv.type == SR6_TLV_EGRESS && tlv.len == 18) {
tlv               334 tools/testing/selftests/bpf/progs/test_lwt_seg6local.c 	uint8_t tlv[20] = {2, 18, 0, 0, 0xfd, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
tlv               338 tools/testing/selftests/bpf/progs/test_lwt_seg6local.c 		      (struct sr6_tlv_t *)&tlv, 20);
tlv               139 tools/testing/selftests/bpf/progs/test_seg6_loop.c 		struct sr6_tlv_t tlv;
tlv               147 tools/testing/selftests/bpf/progs/test_seg6_loop.c 		err = bpf_skb_load_bytes(skb, cur_off, &tlv, sizeof(tlv));
tlv               151 tools/testing/selftests/bpf/progs/test_seg6_loop.c 		if (tlv.type == SR6_TLV_PADDING) {
tlv               152 tools/testing/selftests/bpf/progs/test_seg6_loop.c 			*pad_size = tlv.len + sizeof(tlv);
tlv               161 tools/testing/selftests/bpf/progs/test_seg6_loop.c 		} else if (tlv.type == SR6_TLV_HMAC) {
tlv               165 tools/testing/selftests/bpf/progs/test_seg6_loop.c 		cur_off += sizeof(tlv) + tlv.len;
tlv               238 tools/testing/selftests/bpf/progs/test_seg6_loop.c 	uint8_t tlv[20] = {2, 18, 0, 0, 0xfd, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
tlv               242 tools/testing/selftests/bpf/progs/test_seg6_loop.c 		      (struct sr6_tlv_t *)&tlv, 20);