Home
last modified time | relevance | path

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

1234

/Linux-v4.19/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-v4.19/drivers/net/ethernet/freescale/
Dgianfar_ethtool.c895 static void gfar_set_mask(u32 mask, struct filer_table *tab) in gfar_set_mask() argument
897 tab->fe[tab->index].ctrl = RQFCR_AND | RQFCR_PID_MASK | RQFCR_CMP_EXACT; in gfar_set_mask()
898 tab->fe[tab->index].prop = mask; in gfar_set_mask()
899 tab->index++; in gfar_set_mask()
903 static void gfar_set_parse_bits(u32 value, u32 mask, struct filer_table *tab) in gfar_set_parse_bits() argument
905 gfar_set_mask(mask, tab); in gfar_set_parse_bits()
906 tab->fe[tab->index].ctrl = RQFCR_CMP_EXACT | RQFCR_PID_PARSE | in gfar_set_parse_bits()
908 tab->fe[tab->index].prop = value; in gfar_set_parse_bits()
909 tab->index++; in gfar_set_parse_bits()
913 struct filer_table *tab) in gfar_set_general_attribute() argument
[all …]
/Linux-v4.19/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/
Dphy_lcn.c991 struct phytbl_info tab; in wlc_lcnphy_common_read_table() local
992 tab.tbl_id = tbl_id; in wlc_lcnphy_common_read_table()
993 tab.tbl_ptr = tbl_ptr; in wlc_lcnphy_common_read_table()
994 tab.tbl_len = tbl_len; in wlc_lcnphy_common_read_table()
995 tab.tbl_width = tbl_width; in wlc_lcnphy_common_read_table()
996 tab.tbl_offset = tbl_offset; in wlc_lcnphy_common_read_table()
997 wlc_lcnphy_read_table(pi, &tab); in wlc_lcnphy_common_read_table()
1006 struct phytbl_info tab; in wlc_lcnphy_common_write_table() local
1007 tab.tbl_id = tbl_id; in wlc_lcnphy_common_write_table()
1008 tab.tbl_ptr = tbl_ptr; in wlc_lcnphy_common_write_table()
[all …]
/Linux-v4.19/net/sched/
Dsch_gred.c54 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 (dp >= t->DPs || (q = t->tab[dp]) == NULL) { in gred_enqueue()
163 q = t->tab[dp]; in gred_enqueue()
186 if (t->tab[i] && t->tab[i]->prio < q->prio && in gred_enqueue()
187 !red_is_idling(&t->tab[i]->vars)) in gred_enqueue()
188 qavg += t->tab[i]->vars.qavg; in gred_enqueue()
259 if (dp >= t->DPs || (q = t->tab[dp]) == NULL) { in gred_dequeue()
288 struct gred_sched_data *q = t->tab[i]; in gred_reset()
[all …]
Dsch_choke.c76 struct sk_buff **tab; member
104 } while (q->tab[q->head] == NULL); in choke_zap_head_holes()
114 } while (q->tab[q->tail] == NULL); in choke_zap_tail_holes()
122 struct sk_buff *skb = q->tab[idx]; in choke_drop_by_idx()
124 q->tab[idx] = NULL; in choke_drop_by_idx()
198 skb = q->tab[*pidx]; in choke_peek_random()
203 return q->tab[*pidx = q->head]; in choke_peek_random()
279 q->tab[q->tail] = skb; in choke_enqueue()
305 skb = q->tab[q->head]; in choke_dequeue()
306 q->tab[q->head] = NULL; in choke_dequeue()
[all …]
/Linux-v4.19/arch/arm/kernel/
Dunwind.c518 struct unwind_table *tab = kmalloc(sizeof(*tab), GFP_KERNEL); in unwind_table_add() local
523 if (!tab) in unwind_table_add()
524 return tab; in unwind_table_add()
526 tab->start = (const struct unwind_idx *)start; in unwind_table_add()
527 tab->stop = (const struct unwind_idx *)(start + size); in unwind_table_add()
528 tab->origin = unwind_find_origin(tab->start, tab->stop); in unwind_table_add()
529 tab->begin_addr = text_addr; in unwind_table_add()
530 tab->end_addr = text_addr + text_size; in unwind_table_add()
533 list_add_tail(&tab->list, &unwind_tables); in unwind_table_add()
536 return tab; in unwind_table_add()
[all …]
/Linux-v4.19/scripts/genksyms/
DMakefile6 genksyms-objs := genksyms.o parse.tab.o lex.lex.o
21 $(obj)/parse.tab.c: $(src)/parse.y FORCE
28 $(obj)/parse.tab.h: $(src)/parse.y FORCE
34 HOSTCFLAGS_parse.tab.o := -I$(src)
38 $(obj)/lex.lex.o: $(obj)/parse.tab.h
/Linux-v4.19/arch/arm/plat-samsung/
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-v4.19/drivers/net/ethernet/chelsio/cxgb4/
Dsched.c51 e = &s->tab[p->u.params.class]; in t4_sched_class_fw_cmd()
120 end = &s->tab[s->sched_size]; in t4_sched_queue_lookup()
121 for (e = &s->tab[0]; e != end; ++e) { in t4_sched_queue_lookup()
223 e = &s->tab[qe->param.class]; in t4_sched_queue_bind()
388 end = &s->tab[s->sched_size]; in t4_sched_class_lookup()
389 for (e = &s->tab[0]; e != end; ++e) { in t4_sched_class_lookup()
404 end = &s->tab[s->sched_size]; in t4_sched_class_lookup()
405 for (e = &s->tab[0]; e != end; ++e) { in t4_sched_class_lookup()
523 memset(&s->tab[i], 0, sizeof(struct sched_class)); in t4_init_sched()
524 s->tab[i].idx = i; in t4_init_sched()
[all …]
/Linux-v4.19/tools/perf/jvmti/
Dlibjvmti.c32 jvmti_line_info_t *tab, jint *nr) in do_get_line_numbers() argument
47 tab[lines].pc = (unsigned long)pc; in do_get_line_numbers()
48 tab[lines].line_number = loc_tab[i].line_number; in do_get_line_numbers()
49 tab[lines].discrim = 0; /* not yet used */ in do_get_line_numbers()
50 tab[lines].methodID = m; in do_get_line_numbers()
62 get_line_numbers(jvmtiEnv *jvmti, const void *compile_info, jvmti_line_info_t **tab, int *nr_lines) in get_line_numbers() argument
72 if (!(tab && nr_lines)) in get_line_numbers()
105 *tab = malloc(nr_total * sizeof(**tab)); in get_line_numbers()
106 if (!*tab) in get_line_numbers()
118 *tab + lines_total, in get_line_numbers()
/Linux-v4.19/drivers/hid/
Dhid-debug.c529 static void tab(int n, struct seq_file *f) { in tab() function
537 tab(n, f); in hid_dump_field()
542 tab(n, f); in hid_dump_field()
547 tab(n, f); in hid_dump_field()
551 tab(n, f); seq_printf(f, "Usage(%d)\n", field->maxusage); in hid_dump_field()
553 tab(n+2, f); hid_resolv_usage(field->usage[j].hid, f); seq_printf(f, "\n"); in hid_dump_field()
556 tab(n, f); seq_printf(f, "Logical Minimum(%d)\n", field->logical_minimum); in hid_dump_field()
557 tab(n, f); seq_printf(f, "Logical Maximum(%d)\n", field->logical_maximum); in hid_dump_field()
560 tab(n, f); seq_printf(f, "Physical Minimum(%d)\n", field->physical_minimum); in hid_dump_field()
561 tab(n, f); seq_printf(f, "Physical Maximum(%d)\n", field->physical_maximum); in hid_dump_field()
[all …]
/Linux-v4.19/scripts/dtc/
DMakefile9 dtc-objs += dtc-lexer.lex.o dtc-parser.tab.o
16 HOSTCFLAGS_dtc-parser.tab.o := -I$(src)
19 $(obj)/dtc-lexer.lex.o: $(obj)/dtc-parser.tab.h
/Linux-v4.19/drivers/scsi/aic7xxx/aicasm/
DMakefile70 mv $(<:.y=).tab.c $(OUTDIR)/$(<:.y=.c)
71 mv $(<:.y=).tab.h $(OUTDIR)/$(<:.y=.h)
79 mv $(<:.y=).tab.c $(OUTDIR)/$(<:.y=.c)
80 mv $(<:.y=).tab.h $(OUTDIR)/$(<:.y=.h)
/Linux-v4.19/scripts/kconfig/
DMakefile163 conf-objs := conf.o zconf.tab.o
171 HOSTCFLAGS_zconf.tab.o := -I$(src)
175 nconf-objs := nconf.o zconf.tab.o nconf.gui.o
186 mconf-objs := mconf.o zconf.tab.o $(addprefix lxdialog/, $(lxdialog))
198 qconf-objs := zconf.tab.o
213 gconf-objs := gconf.o zconf.tab.o
220 $(obj)/zconf.tab.o: $(obj)/zconf.lex.c
/Linux-v4.19/arch/x86/platform/uv/
Dbios_uv.c34 struct uv_systab *tab = uv_systab; in uv_bios_call() local
37 if (!tab || !tab->function) in uv_bios_call()
48 ret = efi_call((void *)__va(tab->function), (u64)which, a1, a2, a3, a4, a5); in uv_bios_call()
50 ret = efi_call_virt_pointer(tab, function, (u64)which, a1, a2, a3, a4, a5); in uv_bios_call()
/Linux-v4.19/drivers/media/dvb-frontends/
Dcxd2820r_c.c33 struct reg_val_mask tab[] = { in cxd2820r_set_frontend_c() local
61 ret = cxd2820r_wr_reg_val_mask_tab(priv, tab, ARRAY_SIZE(tab)); in cxd2820r_set_frontend_c()
314 struct reg_val_mask tab[] = { in cxd2820r_sleep_c() local
326 ret = cxd2820r_wr_reg_val_mask_tab(priv, tab, ARRAY_SIZE(tab)); in cxd2820r_sleep_c()
Dcxd2820r_t.c43 struct reg_val_mask tab[] = { in cxd2820r_set_frontend_t() local
86 ret = cxd2820r_wr_reg_val_mask_tab(priv, tab, ARRAY_SIZE(tab)); in cxd2820r_set_frontend_t()
408 struct reg_val_mask tab[] = { in cxd2820r_sleep_t() local
420 ret = cxd2820r_wr_reg_val_mask_tab(priv, tab, ARRAY_SIZE(tab)); in cxd2820r_sleep_t()
Dcxd2820r_t2.c39 struct reg_val_mask tab[] = { in cxd2820r_set_frontend_t2() local
104 ret = cxd2820r_wr_reg_val_mask_tab(priv, tab, ARRAY_SIZE(tab)); in cxd2820r_set_frontend_t2()
402 struct reg_val_mask tab[] = { in cxd2820r_sleep_t2() local
413 ret = cxd2820r_wr_reg_val_mask_tab(priv, tab, ARRAY_SIZE(tab)); in cxd2820r_sleep_t2()
Daf9013.c846 const struct af9013_reg_mask_val *tab; in af9013_init() local
904 tab = demod_init_tab; in af9013_init()
906 ret = regmap_update_bits(state->regmap, tab[i].reg, tab[i].mask, in af9013_init()
907 tab[i].val); in af9013_init()
917 tab = tuner_init_tab_mxl5003d; in af9013_init()
923 tab = tuner_init_tab_mxl5005; in af9013_init()
927 tab = tuner_init_tab_env77h11d5; in af9013_init()
931 tab = tuner_init_tab_mt2060; in af9013_init()
935 tab = tuner_init_tab_mc44s803; in af9013_init()
940 tab = tuner_init_tab_qt1010; in af9013_init()
[all …]
Dm88rs2000.c385 struct inittab *tab) in m88rs2000_tab_set() argument
389 if (tab == NULL) in m88rs2000_tab_set()
393 switch (tab[i].cmd) { in m88rs2000_tab_set()
395 ret = m88rs2000_writereg(state, tab[i].reg, in m88rs2000_tab_set()
396 tab[i].val); in m88rs2000_tab_set()
399 if (tab[i].reg > 0) in m88rs2000_tab_set()
400 mdelay(tab[i].reg); in m88rs2000_tab_set()
403 if (tab[i].reg == 0xaa && tab[i].val == 0xff) in m88rs2000_tab_set()
/Linux-v4.19/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-v4.19/include/net/
Dpkt_sched.h106 struct nlattr *tab,
108 void qdisc_put_rtab(struct qdisc_rate_table *tab);
109 void qdisc_put_stab(struct qdisc_size_table *tab);
/Linux-v4.19/drivers/video/fbdev/core/
Dsysimgblt.c194 const u32 *tab = NULL; in fast_imageblit() local
199 tab = fb_be_math(p) ? cfb_tab8_be : cfb_tab8_le; in fast_imageblit()
202 tab = fb_be_math(p) ? cfb_tab16_be : cfb_tab16_le; in fast_imageblit()
206 tab = cfb_tab32; in fast_imageblit()
228 end_mask = tab[(*src >> shift) & bit_mask]; in fast_imageblit()
Dcfbimgblt.c224 const u32 *tab = NULL; in fast_imageblit() local
229 tab = fb_be_math(p) ? cfb_tab8_be : cfb_tab8_le; in fast_imageblit()
232 tab = fb_be_math(p) ? cfb_tab16_be : cfb_tab16_le; in fast_imageblit()
236 tab = cfb_tab32; in fast_imageblit()
256 end_mask = tab[(*src >> shift) & bit_mask]; in fast_imageblit()

1234