| /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[ in gred_enqueue() [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() 272 q->tab[q->tail] = skb; in choke_enqueue() 298 skb = q->tab[q->head]; in choke_dequeue() 299 q->tab[ in choke_dequeue() [all...] |
| H A D | sch_api.c | 421 struct nlattr *tab, in qdisc_get_rtab() argument 426 if (tab == NULL || r->rate == 0 || in qdisc_get_rtab() 428 nla_len(tab) != TC_RTAB_SIZE) { in qdisc_get_rtab() 438 !memcmp(&rtab->data, nla_data(tab), TC_RTAB_SIZE)) { in qdisc_get_rtab() 450 memcpy(rtab->data, nla_data(tab), TC_RTAB_SIZE); in qdisc_get_rtab() 463 void qdisc_put_rtab(struct qdisc_rate_table *tab) in qdisc_put_rtab() argument 467 if (!tab) in qdisc_put_rtab() 471 if (--tab->refcnt) { in qdisc_put_rtab() 479 if (rtab == tab) { in qdisc_put_rtab() 485 kfree(tab); in qdisc_put_rtab() [all …]
|
| /linux/arch/arm/kernel/ |
| H A D | unwind.c | 577 struct unwind_table *tab = kmalloc_obj(*tab); 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/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 = calloc(nr_total, sizeof(**tab)); in get_line_numbers() 102 if (!*tab) in get_line_numbers() [all...] |
| /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/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/drivers/hid/ |
| H A D | hid-debug.c | 2950 static void tab(int n, struct seq_file *f) { in tab() function 2958 tab(n, f); in hid_dump_field() 2963 tab(n, f); in hid_dump_field() 2968 tab(n, f); in hid_dump_field() 2972 tab(n, f); seq_printf(f, "Usage(%d)\n", field->maxusage); in hid_dump_field() 2974 tab(n+2, f); hid_resolv_usage(field->usage[j].hid, f); seq_printf(f, "\n"); in hid_dump_field() 2977 tab(n, f); seq_printf(f, "Logical Minimum(%d)\n", field->logical_minimum); in hid_dump_field() 2978 tab(n, f); seq_printf(f, "Logical Maximum(%d)\n", field->logical_maximum); in hid_dump_field() 2981 tab(n, f); seq_printf(f, "Physical Minimum(%d)\n", field->physical_minimum); in hid_dump_field() 2982 tab(n, f); seq_printf(f, "Physical Maximum(%d)\n", field->physical_maximum); in hid_dump_field() [all …]
|
| /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/scripts/ |
| H A D | Makefile.host | 16 $(obj)/%.tab.c $(obj)/%.tab.h: $(src)/%.y FORCE 165 $(call intermediate_targets, .tab.o, .tab.c .tab.h)
|
| /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 | 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()
|
| H A D | stb0899_drv.c | 922 static int stb0899_table_lookup(const struct stb0899_tab *tab, int max, int val) in stb0899_table_lookup() argument 927 if (val < tab[min].read) in stb0899_table_lookup() 928 res = tab[min].real; in stb0899_table_lookup() 929 else if (val >= tab[max].read) in stb0899_table_lookup() 930 res = tab[max].real; in stb0899_table_lookup() 934 if (val >= tab[min].read && val < tab[med].read) in stb0899_table_lookup() 939 res = ((val - tab[min].read) * in stb0899_table_lookup() 940 (tab[max].real - tab[min].real) / in stb0899_table_lookup() 941 (tab[max].read - tab[min].read)) + in stb0899_table_lookup() 942 tab[min].real; in stb0899_table_lookup()
|
| /linux/drivers/media/platform/verisilicon/ |
| H A D | hantro_jpeg.c | 189 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/ |
| 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
|
| /linux/kernel/bpf/ |
| H A D | btf.c | 1811 struct btf_kfunc_set_tab *tab = btf->kfunc_set_tab; in btf_free_kfunc_set_tab() local 1814 if (!tab) in btf_free_kfunc_set_tab() 1816 for (hook = 0; hook < ARRAY_SIZE(tab->sets); hook++) in btf_free_kfunc_set_tab() 1817 kfree(tab->sets[hook]); in btf_free_kfunc_set_tab() 1818 kfree(tab); in btf_free_kfunc_set_tab() 1824 struct btf_id_dtor_kfunc_tab *tab = btf->dtor_kfunc_tab; in btf_free_dtor_kfunc_tab() local 1826 if (!tab) in btf_free_dtor_kfunc_tab() 1828 kfree(tab); in btf_free_dtor_kfunc_tab() 1832 static void btf_struct_metas_free(struct btf_struct_metas *tab) in btf_struct_metas_free() argument 1836 if (!tab) in btf_struct_metas_free() [all …]
|
| /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/drivers/net/wireless/mediatek/mt76/mt76x0/ |
| H A D | init.c | 83 #define RANDOM_WRITE(dev, tab) \ argument 85 tab, ARRAY_SIZE(tab))
|
| /linux/drivers/gpu/drm/amd/pm/swsmu/inc/ |
| H A D | amdgpu_smu.h | 1755 #define TAB_MAP(tab) \ argument 1756 [SMU_TABLE_##tab] = {1, TABLE_##tab} 1758 #define TAB_MAP_VALID(tab) \ argument 1759 [SMU_TABLE_##tab] = {1, TABLE_##tab} 1761 #define TAB_MAP_INVALID(tab) \ argument 1762 [SMU_TABLE_##tab] = {0, TABLE_##tab} 1764 #define PWR_MAP(tab) \ argument 1765 [SMU_POWER_SOURCE_##tab] = {1, POWER_SOURCE_##tab}
|
| /linux/drivers/video/fbdev/aty/ |
| H A D | mach64_gx.c | 90 } tab[3] = { in aty_set_dac_514() local 113 aty_st_514(0x04, tab[i].pixel_dly, par); /* Horizontal Sync Control */ in aty_set_dac_514() 116 aty_st_514(0x71, tab[i].misc2_cntl, par); /* Misc Control 2 */ in aty_set_dac_514() 117 aty_st_514(0x0a, tab[i].pixel_rep, par); /* Pixel Format */ in aty_set_dac_514() 118 aty_st_514(tab[i].pixel_cntl_index, tab[i].pixel_cntl_v1, par); in aty_set_dac_514()
|