Home
last modified time | relevance | path

Searched refs:bdesc (Results 1 – 5 of 5) sorted by relevance

/linux-6.6.21/drivers/hwtracing/intel_th/ !
Dmsu.h80 static inline unsigned long msc_data_sz(struct msc_block_desc *bdesc) in msc_data_sz() argument
82 if (!bdesc->valid_dw) in msc_data_sz()
85 return bdesc->valid_dw * 4 - MSC_BDESC; in msc_data_sz()
88 static inline unsigned long msc_total_sz(struct msc_block_desc *bdesc) in msc_total_sz() argument
90 return bdesc->valid_dw * 4; in msc_total_sz()
93 static inline unsigned long msc_block_sz(struct msc_block_desc *bdesc) in msc_block_sz() argument
95 return bdesc->block_sz * 64 - MSC_BDESC; in msc_block_sz()
98 static inline bool msc_block_wrapped(struct msc_block_desc *bdesc) in msc_block_wrapped() argument
100 if (bdesc->hw_tag & (MSC_HW_TAG_BLOCKWRAP | MSC_HW_TAG_WINWRAP)) in msc_block_wrapped()
106 static inline bool msc_block_last_written(struct msc_block_desc *bdesc) in msc_block_last_written() argument
[all …]
Dmsu.c265 static inline bool msc_block_is_empty(struct msc_block_desc *bdesc) in msc_block_is_empty() argument
268 if (!bdesc->valid_dw) in msc_block_is_empty()
272 if (!msc_data_sz(bdesc)) in msc_block_is_empty()
331 struct msc_block_desc *bdesc = sg_virt(sg); in msc_win_total_sz() local
333 if (msc_block_wrapped(bdesc)) in msc_win_total_sz()
336 size += msc_total_sz(bdesc); in msc_win_total_sz()
337 if (msc_block_last_written(bdesc)) in msc_win_total_sz()
415 struct msc_block_desc *bdesc = msc_win_base(win); in msc_win_oldest_sg() local
418 if (!msc_block_wrapped(bdesc)) in msc_win_oldest_sg()
426 struct msc_block_desc *bdesc = sg_virt(sg); in msc_win_oldest_sg() local
[all …]
/linux-6.6.21/tools/arch/x86/kcpuid/ !
Dkcpuid.c313 struct bits_desc *bdesc; in parse_line() local
373 bdesc = &reg->descs[reg->nr++]; in parse_line()
379 bdesc->end = strtoul(end, NULL, 0); in parse_line()
380 bdesc->start = bdesc->end; in parse_line()
385 bdesc->start = strtoul(start, NULL, 0); in parse_line()
387 strcpy(bdesc->simp, tokens[4]); in parse_line()
388 strcpy(bdesc->detail, tokens[5]); in parse_line()
437 struct bits_desc *bdesc; in decode_bits() local
448 bdesc = &rdesc->descs[i]; in decode_bits()
450 start = bdesc->start; in decode_bits()
[all …]
/linux-6.6.21/drivers/crypto/bcm/ !
Dspu.c276 struct BDESC_HEADER *bdesc = (struct BDESC_HEADER *)ptr; in spum_dump_msg_hdr() local
280 be16_to_cpu(bdesc->offset_mac), in spum_dump_msg_hdr()
281 be16_to_cpu(bdesc->length_mac)); in spum_dump_msg_hdr()
286 be16_to_cpu(bdesc->offset_crypto), in spum_dump_msg_hdr()
287 be16_to_cpu(bdesc->length_crypto)); in spum_dump_msg_hdr()
292 be16_to_cpu(bdesc->offset_icv), in spum_dump_msg_hdr()
293 be16_to_cpu(bdesc->offset_iv)); in spum_dump_msg_hdr()
594 struct BDESC_HEADER *bdesc; in spum_create_request() local
784 bdesc = (struct BDESC_HEADER *)ptr; in spum_create_request()
786 bdesc->offset_mac = cpu_to_be16(auth_offset); in spum_create_request()
[all …]
/linux-6.6.21/drivers/media/i2c/ccs/ !
Dccs-data.c676 struct ccs_pdaf_pix_loc_block_desc *bdesc; in ccs_data_parse_pdaf() local
687 bdesc = &(*pdaf)->block_desc_groups[i].block_descs[j]; in ccs_data_parse_pdaf()
689 bdesc->repeat_x = ((u16)__bdesc->repeat_x[0] << 8) in ccs_data_parse_pdaf()
695 bdesc->block_type_id = __bdesc->block_type_id; in ccs_data_parse_pdaf()