/linux/drivers/net/ethernet/freescale/ |
H A D | gianfar_ethtool.c | 849 static void gfar_set_mask(u32 mask, struct filer_table *tab) in gfar_set_mask() argument 851 tab->fe[tab->index].ctrl = RQFCR_AND | RQFCR_PID_MASK | RQFCR_CMP_EXACT; in gfar_set_mask() 852 tab->fe[tab->index].prop = mask; in gfar_set_mask() 853 tab->index++; in gfar_set_mask() 857 static void gfar_set_parse_bits(u32 value, u32 mask, struct filer_table *tab) in gfar_set_parse_bits() argument 859 gfar_set_mask(mask, tab); in gfar_set_parse_bits() 860 tab->fe[tab->index].ctrl = RQFCR_CMP_EXACT | RQFCR_PID_PARSE | in gfar_set_parse_bits() 862 tab->fe[tab->index].prop = value; in gfar_set_parse_bits() 863 tab->index++; in gfar_set_parse_bits() 867 struct filer_table *tab) in gfar_set_general_attribute() argument [all …]
|
/linux/net/sched/ |
H A D | sch_gred.c | 53 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 …]
|
H A D | sch_choke.c | 71 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/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/ |
H A D | phy_lcn.c | 925 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/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | sched.c | 50 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/tools/perf/jvmti/ |
H A D | libjvmti.c | 36 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/arch/arm/kernel/ |
H A D | unwind.c | 577 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() 585 tab->start = (const struct unwind_idx *)start; in unwind_table_add() 586 tab->stop = (const struct unwind_idx *)(start + size); 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() [all …]
|
/linux/arch/arm/mach-s3c/ |
H A D | init.c | 32 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/scripts/genksyms/ |
H A D | Makefile | 5 genksyms-objs := genksyms.o parse.tab.o lex.lex.o 8 HOSTCFLAGS_parse.tab.o := -I $(src) 12 $(obj)/lex.lex.o: $(obj)/parse.tab.h
|
/linux/lib/crc/ |
H A D | gen_crc32table.c | 18 static void crc32init_le_generic(const uint32_t polynomial, uint32_t tab[256]) in crc32init_le_generic() 23 tab[0] = 0; in crc32init_le_generic() 28 tab[i + j] = crc ^ tab[j]; in crc32init_le_generic()
|
/linux/scripts/ |
H A D | Makefile.host | 16 $(obj)/%.tab.c $(obj)/%.tab.h: $(src)/%.y FORCE 163 # %.tab.o <- %.tab.[ch] <- %.y 165 $(call intermediate_targets, .tab.o, .tab.c .tab.h)
|
H A D | cleanfile | 15 # Clean up space-tab sequences, either by removing spaces or 19 no bytes; # Tab alignment depends on characters 57 no bytes; # Tab alignment depends on characters
|
/linux/scripts/dtc/ |
H A D | Makefile | 10 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/drivers/media/pci/cx88/ |
H A D | cx88-reg.h | 110 #define MO_DMA21_PTR2 0x3000C0 // {24}RW* DMA Tab Ptr : Ch#21 111 #define MO_DMA22_PTR2 0x3000C4 // {24}RW* DMA Tab Ptr : Ch#22 112 #define MO_DMA23_PTR2 0x3000C8 // {24}RW* DMA Tab Ptr : Ch#23 113 #define MO_DMA24_PTR2 0x3000CC // {24}RW* DMA Tab Ptr : Ch#24 114 #define MO_DMA25_PTR2 0x3000D0 // {24}RW* DMA Tab Ptr : Ch#25 115 #define MO_DMA26_PTR2 0x3000D4 // {24}RW* DMA Tab Ptr : Ch#26 116 #define MO_DMA27_PTR2 0x3000D8 // {24}RW* DMA Tab Ptr : Ch#27 117 #define MO_DMA28_PTR2 0x3000DC // {24}RW* DMA Tab Ptr : Ch#28 118 #define MO_DMA29_PTR2 0x3000E0 // {24}RW* DMA Tab Ptr : Ch#29 119 #define MO_DMA30_PTR2 0x3000E4 // {24}RW* DMA Tab Ptr : Ch#30 [all …]
|
/linux/drivers/media/dvb-frontends/ |
H A D | cxd2820r_c.c | 20 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()
|
H A D | af9013.c | 836 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 …]
|
H A D | cxd2820r_t2.c | 26 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()
|
H A D | cxd2820r_t.c | 30 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()
|
H A D | m88rs2000.c | 373 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/kernel/bpf/ |
H A D | btf.c | 1685 struct btf_kfunc_set_tab *tab = btf->kfunc_set_tab; in btf_free_kfunc_set_tab() local 1688 if (!tab) in btf_free_kfunc_set_tab() 1690 for (hook = 0; hook < ARRAY_SIZE(tab->sets); hook++) in btf_free_kfunc_set_tab() 1691 kfree(tab->sets[hook]); in btf_free_kfunc_set_tab() 1692 kfree(tab); in btf_free_kfunc_set_tab() 1698 struct btf_id_dtor_kfunc_tab *tab = btf->dtor_kfunc_tab; in btf_free_dtor_kfunc_tab() local 1700 if (!tab) in btf_free_dtor_kfunc_tab() 1702 kfree(tab); in btf_free_dtor_kfunc_tab() 1706 static void btf_struct_metas_free(struct btf_struct_metas *tab) in btf_struct_metas_free() argument 1710 if (!tab) in btf_struct_metas_free() 1719 struct btf_struct_metas *tab = btf->struct_meta_tab; btf_free_struct_meta_tab() local 1727 struct btf_struct_ops_tab *tab = btf->struct_ops_tab; btf_free_struct_ops_tab() local 5582 struct btf_struct_metas *tab = NULL; btf_parse_struct_metas() local 5703 struct btf_struct_metas *tab; btf_find_struct_meta() local 8550 struct btf_kfunc_set_tab *tab; btf_populate_kfunc_set() local 8811 struct btf_id_dtor_kfunc_tab *tab = btf->dtor_kfunc_tab; btf_find_dtor_kfunc() local 8867 struct btf_id_dtor_kfunc_tab *tab; register_btf_id_dtor_kfuncs() local 9461 struct btf_struct_ops_tab *tab, *new_tab; btf_add_struct_ops() local [all...] |
/linux/arch/arm/boot/dts/samsung/ |
H A D | exynos4212-tab3-wifi8.dts | 3 * Samsung's Exynos4212 based Galaxy Tab 3 8.0 WiFi board device tree 14 model = "Samsung Galaxy Tab 3 8.0 WiFi (SM-T310) based on Exynos4212";
|
H A D | exynos4212-tab3-3g8.dts | 3 * Samsung's Exynos4212 based Galaxy Tab 3 8.0 3G board device tree 14 model = "Samsung Galaxy Tab 3 8.0 3G (SM-T311) based on Exynos4212";
|
H A D | exynos4212-tab3-lte8.dts | 3 * Samsung's Exynos4212 based Galaxy Tab 3 8.0 LTE board device tree 14 model = "Samsung Galaxy Tab 3 8.0 LTE (SM-T315) based on Exynos4212";
|
/linux/arch/x86/platform/uv/ |
H A D | bios_uv.c | 26 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/tools/testing/selftests/intel_pstate/ |
H A D | run.sh | 115 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
|