Home
last modified time | relevance | path

Searched refs:tab (Results 1 – 25 of 102) sorted by relevance

12345

/linux-6.6.21/lib/
Dcrc32.c58 crc32_body(u32 crc, unsigned char const *buf, size_t len, const u32 (*tab)[256])
78 const u32 *t0=tab[0], *t1=tab[1], *t2=tab[2], *t3=tab[3];
80 const u32 *t4 = tab[4], *t5 = tab[5], *t6 = tab[6], *t7 = tab[7];
147 size_t len, const u32 (*tab)[256],
160 crc = (crc >> 2) ^ tab[0][crc & 3];
161 crc = (crc >> 2) ^ tab[0][crc & 3];
162 crc = (crc >> 2) ^ tab[0][crc & 3];
163 crc = (crc >> 2) ^ tab[0][crc & 3];
168 crc = (crc >> 4) ^ tab[0][crc & 15];
169 crc = (crc >> 4) ^ tab[0][crc & 15];
[all …]
Dgen_crc32table.c38 uint32_t (*tab)[256]) in crc32init_le_generic()
43 tab[0][0] = 0; in crc32init_le_generic()
48 tab[0][i + j] = crc ^ tab[0][j]; in crc32init_le_generic()
51 crc = tab[0][i]; in crc32init_le_generic()
53 crc = tab[0][crc & 0xff] ^ (crc >> 8); in crc32init_le_generic()
54 tab[j][i] = crc; in crc32init_le_generic()
/linux-6.6.21/drivers/net/ethernet/freescale/
Dgianfar_ethtool.c835 static void gfar_set_mask(u32 mask, struct filer_table *tab) in gfar_set_mask() argument
837 tab->fe[tab->index].ctrl = RQFCR_AND | RQFCR_PID_MASK | RQFCR_CMP_EXACT; in gfar_set_mask()
838 tab->fe[tab->index].prop = mask; in gfar_set_mask()
839 tab->index++; in gfar_set_mask()
843 static void gfar_set_parse_bits(u32 value, u32 mask, struct filer_table *tab) in gfar_set_parse_bits() argument
845 gfar_set_mask(mask, tab); in gfar_set_parse_bits()
846 tab->fe[tab->index].ctrl = RQFCR_CMP_EXACT | RQFCR_PID_PARSE | in gfar_set_parse_bits()
848 tab->fe[tab->index].prop = value; in gfar_set_parse_bits()
849 tab->index++; in gfar_set_parse_bits()
853 struct filer_table *tab) in gfar_set_general_attribute() argument
[all …]
/linux-6.6.21/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/
Dphy_lcn.c925 struct phytbl_info tab; in wlc_lcnphy_common_read_table() local
926 tab.tbl_id = tbl_id; in wlc_lcnphy_common_read_table()
927 tab.tbl_ptr = tbl_ptr; in wlc_lcnphy_common_read_table()
928 tab.tbl_len = tbl_len; in wlc_lcnphy_common_read_table()
929 tab.tbl_width = tbl_width; in wlc_lcnphy_common_read_table()
930 tab.tbl_offset = tbl_offset; in wlc_lcnphy_common_read_table()
931 wlc_lcnphy_read_table(pi, &tab); in wlc_lcnphy_common_read_table()
940 struct phytbl_info tab; in wlc_lcnphy_common_write_table() local
941 tab.tbl_id = tbl_id; in wlc_lcnphy_common_write_table()
942 tab.tbl_ptr = tbl_ptr; in wlc_lcnphy_common_write_table()
[all …]
/linux-6.6.21/net/sched/
Dsch_gred.c53 struct gred_sched_data *tab[MAX_DPs]; member
99 struct gred_sched_data *q = table->tab[i]; in gred_wred_mode_check()
106 if (table->tab[n] && table->tab[n]->prio == q->prio) in gred_wred_mode_check()
160 if (table->tab[i] && table->tab[i]->red_flags) in gred_per_vq_red_flags_used()
173 if (dp >= t->DPs || (q = t->tab[dp]) == NULL) { in gred_enqueue()
176 q = t->tab[dp]; in gred_enqueue()
199 if (t->tab[i] && t->tab[i]->prio < q->prio && in gred_enqueue()
200 !red_is_idling(&t->tab[i]->vars)) in gred_enqueue()
201 qavg += t->tab[i]->vars.qavg; in gred_enqueue()
272 if (dp >= t->DPs || (q = t->tab[dp]) == NULL) { in gred_dequeue()
[all …]
Dsch_choke.c71 struct sk_buff **tab; member
99 } while (q->tab[q->head] == NULL); in choke_zap_head_holes()
109 } while (q->tab[q->tail] == NULL); in choke_zap_tail_holes()
117 struct sk_buff *skb = q->tab[idx]; in choke_drop_by_idx()
119 q->tab[idx] = NULL; in choke_drop_by_idx()
187 skb = q->tab[*pidx]; in choke_peek_random()
192 return q->tab[*pidx = q->head]; in choke_peek_random()
268 q->tab[q->tail] = skb; in choke_enqueue()
294 skb = q->tab[q->head]; in choke_dequeue()
295 q->tab[q->head] = NULL; in choke_dequeue()
[all …]
/linux-6.6.21/scripts/genksyms/
DMakefile5 genksyms-objs := genksyms.o parse.tab.o lex.lex.o
20 $(obj)/pars%.tab.c $(obj)/pars%.tab.h: $(src)/pars%.y FORCE
26 HOSTCFLAGS_parse.tab.o := -I $(srctree)/$(src)
30 $(obj)/lex.lex.o: $(obj)/parse.tab.h
/linux-6.6.21/arch/arm/kernel/
Dunwind.c575 struct unwind_table *tab = kmalloc(sizeof(*tab), GFP_KERNEL); in unwind_table_add() local
580 if (!tab) in unwind_table_add()
581 return tab; in unwind_table_add()
583 tab->start = (const struct unwind_idx *)start; in unwind_table_add()
584 tab->stop = (const struct unwind_idx *)(start + size); in unwind_table_add()
585 tab->origin = unwind_find_origin(tab->start, tab->stop); in unwind_table_add()
586 tab->begin_addr = text_addr; in unwind_table_add()
587 tab->end_addr = text_addr + text_size; in unwind_table_add()
590 list_add_tail(&tab->list, &unwind_tables); in unwind_table_add()
593 return tab; in unwind_table_add()
[all …]
/linux-6.6.21/arch/arm/mach-s3c/
Dinit.c32 struct cpu_table *tab, in s3c_lookup_cpu() argument
35 for (; count != 0; count--, tab++) { in s3c_lookup_cpu()
36 if ((idcode & tab->idmask) == (tab->idcode & tab->idmask)) in s3c_lookup_cpu()
37 return tab; in s3c_lookup_cpu()
/linux-6.6.21/drivers/net/ethernet/chelsio/cxgb4/
Dsched.c50 e = &s->tab[p->u.params.class]; in t4_sched_class_fw_cmd()
129 end = &s->tab[s->sched_size]; in t4_sched_entry_lookup()
130 for (e = &s->tab[0]; e != end; ++e) { in t4_sched_entry_lookup()
182 return qe ? &pi->sched_tbl->tab[qe->param.class] : NULL; in cxgb4_sched_queue_lookup()
206 e = &pi->sched_tbl->tab[qe->param.class]; in t4_sched_queue_unbind()
244 e = &s->tab[qe->param.class]; in t4_sched_queue_bind()
277 e = &pi->sched_tbl->tab[fe->param.class]; in t4_sched_flowc_unbind()
309 e = &s->tab[fe->param.class]; in t4_sched_flowc_bind()
488 end = &s->tab[s->sched_size]; in t4_sched_class_lookup()
489 for (e = &s->tab[0]; e != end; ++e) { in t4_sched_class_lookup()
[all …]
/linux-6.6.21/tools/perf/jvmti/
Dlibjvmti.c36 jvmti_line_info_t *tab) in do_get_line_number() argument
57 tab->pc = (unsigned long)pc; in do_get_line_number()
58 tab->line_number = loc_tab[src_line].line_number; in do_get_line_number()
59 tab->discrim = 0; /* not yet used */ in do_get_line_number()
60 tab->methodID = m; in do_get_line_number()
73 get_line_numbers(jvmtiEnv *jvmti, const void *compile_info, jvmti_line_info_t **tab, int *nr_lines) in get_line_numbers() argument
82 if (!(tab && nr_lines)) in get_line_numbers()
101 *tab = malloc(nr_total * sizeof(**tab)); in get_line_numbers()
102 if (!*tab) in get_line_numbers()
118 *tab + lines_total); in get_line_numbers()
[all …]
/linux-6.6.21/drivers/hid/
Dhid-debug.c555 static void tab(int n, struct seq_file *f) { in tab() function
563 tab(n, f); in hid_dump_field()
568 tab(n, f); in hid_dump_field()
573 tab(n, f); in hid_dump_field()
577 tab(n, f); seq_printf(f, "Usage(%d)\n", field->maxusage); in hid_dump_field()
579 tab(n+2, f); hid_resolv_usage(field->usage[j].hid, f); seq_printf(f, "\n"); in hid_dump_field()
582 tab(n, f); seq_printf(f, "Logical Minimum(%d)\n", field->logical_minimum); in hid_dump_field()
583 tab(n, f); seq_printf(f, "Logical Maximum(%d)\n", field->logical_maximum); in hid_dump_field()
586 tab(n, f); seq_printf(f, "Physical Minimum(%d)\n", field->physical_minimum); in hid_dump_field()
587 tab(n, f); seq_printf(f, "Physical Maximum(%d)\n", field->physical_maximum); in hid_dump_field()
[all …]
/linux-6.6.21/scripts/dtc/
DMakefile10 dtc-objs += dtc-lexer.lex.o dtc-parser.tab.o
24 HOSTCFLAGS_dtc-parser.tab.o := -I $(srctree)/$(src)
27 $(obj)/dtc-lexer.lex.o: $(obj)/dtc-parser.tab.h
/linux-6.6.21/drivers/media/dvb-frontends/
Dcxd2820r_c.c20 struct reg_val_mask tab[] = { in cxd2820r_set_frontend_c() local
48 ret = cxd2820r_wr_reg_val_mask_tab(priv, tab, ARRAY_SIZE(tab)); in cxd2820r_set_frontend_c()
301 static const struct reg_val_mask tab[] = { in cxd2820r_sleep_c() local
313 ret = cxd2820r_wr_reg_val_mask_tab(priv, tab, ARRAY_SIZE(tab)); in cxd2820r_sleep_c()
Dcxd2820r_t.c30 struct reg_val_mask tab[] = { in cxd2820r_set_frontend_t() local
73 ret = cxd2820r_wr_reg_val_mask_tab(priv, tab, ARRAY_SIZE(tab)); in cxd2820r_set_frontend_t()
395 static struct reg_val_mask tab[] = { in cxd2820r_sleep_t() local
407 ret = cxd2820r_wr_reg_val_mask_tab(priv, tab, ARRAY_SIZE(tab)); in cxd2820r_sleep_t()
Dcxd2820r_t2.c26 struct reg_val_mask tab[] = { in cxd2820r_set_frontend_t2() local
91 ret = cxd2820r_wr_reg_val_mask_tab(priv, tab, ARRAY_SIZE(tab)); in cxd2820r_set_frontend_t2()
389 static const struct reg_val_mask tab[] = { in cxd2820r_sleep_t2() local
400 ret = cxd2820r_wr_reg_val_mask_tab(priv, tab, ARRAY_SIZE(tab)); in cxd2820r_sleep_t2()
Daf9013.c836 const struct af9013_reg_mask_val *tab; in af9013_init() local
894 tab = demod_init_tab; in af9013_init()
896 ret = regmap_update_bits(state->regmap, tab[i].reg, tab[i].mask, in af9013_init()
897 tab[i].val); in af9013_init()
907 tab = tuner_init_tab_mxl5003d; in af9013_init()
913 tab = tuner_init_tab_mxl5005; in af9013_init()
917 tab = tuner_init_tab_env77h11d5; in af9013_init()
921 tab = tuner_init_tab_mt2060; in af9013_init()
925 tab = tuner_init_tab_mc44s803; in af9013_init()
930 tab = tuner_init_tab_qt1010; in af9013_init()
[all …]
Dm88rs2000.c373 struct inittab *tab) in m88rs2000_tab_set() argument
377 if (tab == NULL) in m88rs2000_tab_set()
381 switch (tab[i].cmd) { in m88rs2000_tab_set()
383 ret = m88rs2000_writereg(state, tab[i].reg, in m88rs2000_tab_set()
384 tab[i].val); in m88rs2000_tab_set()
387 if (tab[i].reg > 0) in m88rs2000_tab_set()
388 mdelay(tab[i].reg); in m88rs2000_tab_set()
391 if (tab[i].reg == 0xaa && tab[i].val == 0xff) in m88rs2000_tab_set()
/linux-6.6.21/drivers/media/platform/verisilicon/
Dhantro_jpeg.c291 const unsigned char *tab, int scale) in jpeg_scale_quant_table() argument
299 file_q_tab[i] = jpeg_scale_qp(tab[zigzag[i]], scale); in jpeg_scale_quant_table()
300 reordered_q_tab[i] = jpeg_scale_qp(tab[hw_reorder[i]], scale); in jpeg_scale_quant_table()
/linux-6.6.21/drivers/gpu/drm/amd/pm/swsmu/inc/
Damdgpu_smu.h1421 #define TAB_MAP(tab) \ argument
1422 [SMU_TABLE_##tab] = {1, TABLE_##tab}
1424 #define TAB_MAP_VALID(tab) \ argument
1425 [SMU_TABLE_##tab] = {1, TABLE_##tab}
1427 #define TAB_MAP_INVALID(tab) \ argument
1428 [SMU_TABLE_##tab] = {0, TABLE_##tab}
1430 #define PWR_MAP(tab) \ argument
1431 [SMU_POWER_SOURCE_##tab] = {1, POWER_SOURCE_##tab}
/linux-6.6.21/tools/testing/selftests/intel_pstate/
Drun.sh110 echo "Target Actual Difference MSR(0x199) max_perf_pct" | tr " " "\n" > /tmp/result.tab
116 cat >> /tmp/result.tab << EOF
126 pr -aTt -5 < /tmp/result.tab
/linux-6.6.21/drivers/video/fbdev/core/
Dsysimgblt.c194 const u32 *tab; in fast_imageblit() local
201 tab = fb_be_math(p) ? cfb_tab8_be : cfb_tab8_le; in fast_imageblit()
205 tab = fb_be_math(p) ? cfb_tab16_be : cfb_tab16_le; in fast_imageblit()
209 tab = cfb_tab32; in fast_imageblit()
228 colortab[i] = (tab[i] & eorx) ^ bgx; in fast_imageblit()
Dcfbimgblt.c224 const u32 *tab = NULL; in fast_imageblit() local
231 tab = fb_be_math(p) ? cfb_tab8_be : cfb_tab8_le; in fast_imageblit()
235 tab = fb_be_math(p) ? cfb_tab16_be : cfb_tab16_le; in fast_imageblit()
239 tab = cfb_tab32; in fast_imageblit()
258 colortab[i] = (tab[i] & eorx) ^ bgx; in fast_imageblit()
/linux-6.6.21/arch/x86/platform/uv/
Dbios_uv.c26 struct uv_systab *tab = uv_systab; in __uv_bios_call() local
29 if (!tab || !tab->function) in __uv_bios_call()
35 ret = efi_call_virt_pointer(tab, function, (u64)which, a1, a2, a3, a4, a5); in __uv_bios_call()
/linux-6.6.21/kernel/debug/kdb/
Dkdb_io.c219 int tab = 0; in kdb_read() local
242 tab = 0; in kdb_read()
327 if (tab < 2) in kdb_read()
328 ++tab; in kdb_read()
344 if (tab == 2 && count > 0) { in kdb_read()
369 } else if (tab != 2 && count > 0) { in kdb_read()

12345