Home
last modified time | relevance | path

Searched refs:rec_cnt (Results 1 – 4 of 4) sorted by relevance

/linux-6.6.21/drivers/edac/
Daspeed_edac.c92 static void count_rec(struct mem_ctl_info *mci, u8 rec_cnt, u32 rec_addr) in count_rec() argument
97 if (!rec_cnt) in count_rec()
102 if (rec_cnt > 1) { in count_rec()
107 edac_mc_handle_error(HW_EVENT_ERR_CORRECTED, mci, rec_cnt-1, in count_rec()
162 u8 rec_cnt, un_rec_cnt; in mcr_isr() local
169 rec_cnt = (reg50 & ASPEED_MCR_INTR_CTRL_CNT_REC) >> 16; in mcr_isr()
173 rec_cnt, un_rec_cnt); in mcr_isr()
190 count_rec(mci, rec_cnt, rec_addr); in mcr_isr()
193 if (!rec_cnt && !un_rec_cnt) in mcr_isr()
/linux-6.6.21/drivers/net/can/usb/peak_usb/
Dpcan_usb_pro.c66 __le32 *rec_cnt; member
115 *pm->u.rec_cnt = 0; in pcan_msg_init_empty()
191 le32_add_cpu(pm->u.rec_cnt, 1); in pcan_msg_add_rec()
243 *pum->u.rec_cnt = 0; in pcan_usb_pro_wait_rsp()
247 u32 r, rec_cnt; in pcan_usb_pro_wait_rsp() local
274 rec_cnt = le32_to_cpu(*rsp.u.rec_cnt); in pcan_usb_pro_wait_rsp()
277 for (r = 0; r < rec_cnt; r++) { in pcan_usb_pro_wait_rsp()
704 u16 rec_cnt; in pcan_usb_pro_decode_buf() local
716 rec_cnt = le16_to_cpu(*usb_msg.u.rec_cnt_rd); in pcan_usb_pro_decode_buf()
717 for (; rec_cnt > 0; rec_cnt--) { in pcan_usb_pro_decode_buf()
Dpcan_usb.c145 u8 rec_cnt; member
727 .rec_cnt = ibuf[1], in pcan_usb_decode_msg()
735 for (err = 0; mc.rec_idx < mc.rec_cnt && !err; mc.rec_idx++) { in pcan_usb_decode_msg()
/linux-6.6.21/tools/lib/bpf/
Dlinker.c73 size_t rec_cnt; member
2419 tmp = libbpf_reallocarray(ext_data->recs, ext_data->rec_cnt + 1, ext_data->rec_sz); in add_btf_ext_rec()
2424 tmp += ext_data->rec_cnt * ext_data->rec_sz; in add_btf_ext_rec()
2427 ext_data->rec_cnt++; in add_btf_ext_rec()
2738 if (!sec_data->rec_cnt) in emit_btf_ext_data()
2747 sec_info->num_info = sec_data->rec_cnt; in emit_btf_ext_data()
2750 sz = sec_data->rec_cnt * sec_data->rec_sz; in emit_btf_ext_data()
2772 if (sec->func_info.rec_cnt) { in finalize_btf_ext()
2781 funcs_sz += sizeof(struct btf_ext_info_sec) + func_rec_sz * sec->func_info.rec_cnt; in finalize_btf_ext()
2783 if (sec->line_info.rec_cnt) { in finalize_btf_ext()
[all …]