Home
last modified time | relevance | path

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

12345

/linux/lib/
A Dcrc32.c78 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];
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];
175 crc = (crc >> 8) ^ tab[0][crc & 255];
179 crc = crc32_body(crc, p, len, tab);
[all …]
A 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/drivers/net/ethernet/freescale/
A Dgianfar_ethtool.c838 tab->fe[tab->index].prop = mask; in gfar_set_mask()
848 tab->fe[tab->index].prop = value; in gfar_set_parse_bits()
857 tab->fe[tab->index].prop = value; in gfar_set_general_attribute()
1124 tab); in gfar_convert_to_filer()
1131 tab); in gfar_convert_to_filer()
1152 tab->fe[tab->index].ctrl = 0x20; in gfar_convert_to_filer()
1153 tab->fe[tab->index].prop = 0x0; in gfar_convert_to_filer()
1158 tab->fe[tab->index - 1].ctrl &= (~RQFCR_AND); in gfar_convert_to_filer()
1162 tab->fe[tab->index - 1].ctrl |= RQFCR_RJE; in gfar_convert_to_filer()
1169 tab->fe[tab->index - 1].ctrl |= RQFCR_CLE; in gfar_convert_to_filer()
[all …]
/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/
A Dphy_lcn.c1897 tab.tbl_len = 1; in wlc_lcnphy_get_bbmult()
1912 tab.tbl_len = 1; in wlc_lcnphy_set_bbmult()
2081 tab.tbl_len = 1; in wlc_lcnphy_tssi_setup()
2170 tab.tbl_len = 1; in wlc_lcnphy_tssi_setup()
2284 tab.tbl_len = 4; in wlc_lcnphy_set_tx_pwr_soft_ctrl()
2289 tab.tbl_len = 1; in wlc_lcnphy_set_tx_pwr_soft_ctrl()
2951 tab.tbl_len = 1; in wlc_lcnphy_vbat_temp_sense_setup()
3113 tab.tbl_len = 2; in wlc_lcnphy_set_tx_iqcc()
3125 tab.tbl_len = 1; in wlc_lcnphy_set_tx_locc()
3791 tab.tbl_id = 0; in wlc_lcnphy_get_tx_iqcc()
[all …]
/linux/net/sched/
A Dsch_gred.c106 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()
176 q = t->tab[dp]; in gred_enqueue()
199 if (t->tab[i] && t->tab[i]->prio < q->prio && in gred_enqueue()
372 if (table->tab[i]) in gred_offload_dump_stats()
382 if (!table->tab[i]) in gred_offload_dump_stats()
464 if (table->tab[i]) in gred_change_table_def()
465 table->tab[i]->red_flags = in gred_change_table_def()
469 if (table->tab[i]) { in gred_change_table_def()
473 table->tab[i] = NULL; in gred_change_table_def()
[all …]
A Dsch_choke.c71 struct sk_buff **tab; member
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()
317 if (q->tab) in choke_reset()
378 old = q->tab; in choke_change()
404 q->tab = ntab; in choke_change()
[all …]
/linux/scripts/genksyms/
A 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 $(src)
30 $(obj)/lex.lex.o: $(obj)/parse.tab.h
/linux/arch/arm/kernel/
A Dunwind.c577 struct unwind_table *tab = kmalloc(sizeof(*tab), GFP_KERNEL); in unwind_table_add() local
582 if (!tab) in unwind_table_add()
583 return tab; in unwind_table_add()
587 tab->origin = unwind_find_origin(tab->start, tab->stop); in unwind_table_add()
588 tab->begin_addr = text_addr; in unwind_table_add()
589 tab->end_addr = text_addr + text_size; in unwind_table_add()
592 list_add_tail(&tab->list, &unwind_tables); in unwind_table_add()
595 return tab; in unwind_table_add()
602 if (!tab) in unwind_table_del()
606 list_del(&tab->list); in unwind_table_del()
[all …]
/linux/arch/arm/mach-s3c/
A 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/drivers/net/ethernet/chelsio/cxgb4/
A 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()
244 e = &s->tab[qe->param.class]; in t4_sched_queue_bind()
309 e = &s->tab[fe->param.class]; in t4_sched_flowc_bind()
488 end = &s->tab[s->sched_size]; in t4_sched_class_lookup()
504 end = &s->tab[s->sched_size]; in t4_sched_class_lookup()
614 e = &s->tab[classid]; in cxgb4_sched_class_free()
664 s->tab[i].idx = i; in t4_init_sched()
667 atomic_set(&s->tab[i].refcnt, 0); in t4_init_sched()
[all …]
/linux/tools/perf/jvmti/
A 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/drivers/hid/
A Dhid-debug.c2947 static void tab(int n, struct seq_file *f) { in tab() function
2955 tab(n, f); in hid_dump_field()
2960 tab(n, f); in hid_dump_field()
2965 tab(n, f); in hid_dump_field()
2969 tab(n, f); seq_printf(f, "Usage(%d)\n", field->maxusage); in hid_dump_field()
3003 tab(n, f); seq_printf(f, "Unit(Invalid)\n"); in hid_dump_field()
3008 tab(n, f); seq_printf(f, "Unit(%s : ", systems[sys]); in hid_dump_field()
3030 tab(n, f); seq_printf(f, "Report Size(%u)\n", field->report_size); in hid_dump_field()
3034 tab(n, f); seq_printf(f, "Flags( "); in hid_dump_field()
3062 tab(2, f); in hid_dump_device()
[all …]
/linux/scripts/dtc/
A DMakefile10 dtc-objs += dtc-lexer.lex.o dtc-parser.tab.o
24 HOSTCFLAGS_dtc-parser.tab.o := -I $(src)
27 $(obj)/dtc-lexer.lex.o: $(obj)/dtc-parser.tab.h
/linux/scripts/
A DMakefile.host16 $(obj)/%.tab.c $(obj)/%.tab.h: $(src)/%.y FORCE
167 $(call intermediate_targets, .tab.o, .tab.c .tab.h)
/linux/drivers/media/dvb-frontends/
A 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()
A 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()
A 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()
A Daf9013.c894 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()
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()
944 tab = tuner_init_tab_unknown; in af9013_init()
949 ret = regmap_update_bits(state->regmap, tab[i].reg, tab[i].mask, in af9013_init()
[all …]
A 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/drivers/media/platform/verisilicon/
A Dhantro_jpeg.c189 const unsigned char *tab, int scale) in jpeg_scale_quant_table() argument
197 file_q_tab[i] = jpeg_scale_qp(tab[v4l2_jpeg_zigzag_scan_index[i]], scale); in jpeg_scale_quant_table()
198 reordered_q_tab[i] = jpeg_scale_qp(tab[hw_reorder[i]], scale); in jpeg_scale_quant_table()
/linux/tools/testing/selftests/intel_pstate/
A Drun.sh115 echo "Target Actual Difference MSR(0x199) max_perf_pct" | tr " " "\n" > /tmp/result.tab
121 cat >> /tmp/result.tab << EOF
131 pr -aTt -5 < /tmp/result.tab
/linux/drivers/gpu/drm/amd/pm/swsmu/inc/
A Damdgpu_smu.h1530 #define TAB_MAP(tab) \ argument
1531 [SMU_TABLE_##tab] = {1, TABLE_##tab}
1533 #define TAB_MAP_VALID(tab) \ argument
1534 [SMU_TABLE_##tab] = {1, TABLE_##tab}
1536 #define TAB_MAP_INVALID(tab) \ argument
1537 [SMU_TABLE_##tab] = {0, TABLE_##tab}
1539 #define PWR_MAP(tab) \ argument
1540 [SMU_POWER_SOURCE_##tab] = {1, POWER_SOURCE_##tab}
/linux/kernel/bpf/
A Dbtf.c1674 if (!tab) in btf_free_kfunc_set_tab()
1686 if (!tab) in btf_free_dtor_kfunc_tab()
1696 if (!tab) in btf_struct_metas_free()
1716 if (!tab) in btf_free_struct_ops_tab()
5609 tab_cnt = tab ? tab->cnt : 0; in btf_parse_struct_metas()
5620 type = &tab->types[tab->cnt]; in btf_parse_struct_metas()
5650 return bsearch(&btf_id, tab->types, tab->cnt, sizeof(tab->types[0]), btf_id_cmp_func); in btf_find_struct_meta()
8569 tab_cnt = tab ? tab->cnt : 0; in register_btf_id_dtor_kfuncs()
8592 memcpy(tab->dtors + tab->cnt, dtors, add_cnt * sizeof(tab->dtors[0])); in register_btf_id_dtor_kfuncs()
8602 sort(tab->dtors, tab->cnt, sizeof(tab->dtors[0]), btf_id_cmp_func, NULL); in register_btf_id_dtor_kfuncs()
[all …]
/linux/
A D.editorconfig9 indent_style = tab
21 indent_style = tab
/linux/arch/x86/platform/uv/
A 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()

Completed in 89 milliseconds

12345