Home
last modified time | relevance | path

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

123

/linux-3.3/drivers/net/ethernet/freescale/
Dgianfar_ethtool.c861 static void gfar_set_mask(u32 mask, struct filer_table *tab) in gfar_set_mask() argument
863 tab->fe[tab->index].ctrl = RQFCR_AND | RQFCR_PID_MASK | RQFCR_CMP_EXACT; in gfar_set_mask()
864 tab->fe[tab->index].prop = mask; in gfar_set_mask()
865 tab->index++; in gfar_set_mask()
869 static void gfar_set_parse_bits(u32 value, u32 mask, struct filer_table *tab) in gfar_set_parse_bits() argument
871 gfar_set_mask(mask, tab); in gfar_set_parse_bits()
872 tab->fe[tab->index].ctrl = RQFCR_CMP_EXACT | RQFCR_PID_PARSE in gfar_set_parse_bits()
874 tab->fe[tab->index].prop = value; in gfar_set_parse_bits()
875 tab->index++; in gfar_set_parse_bits()
879 struct filer_table *tab) in gfar_set_general_attribute() argument
[all …]
/linux-3.3/drivers/net/wireless/brcm80211/brcmsmac/phy/
Dphy_lcn.c992 struct phytbl_info tab; in wlc_lcnphy_common_read_table() local
993 tab.tbl_id = tbl_id; in wlc_lcnphy_common_read_table()
994 tab.tbl_ptr = tbl_ptr; in wlc_lcnphy_common_read_table()
995 tab.tbl_len = tbl_len; in wlc_lcnphy_common_read_table()
996 tab.tbl_width = tbl_width; in wlc_lcnphy_common_read_table()
997 tab.tbl_offset = tbl_offset; in wlc_lcnphy_common_read_table()
998 wlc_lcnphy_read_table(pi, &tab); in wlc_lcnphy_common_read_table()
1007 struct phytbl_info tab; in wlc_lcnphy_common_write_table() local
1008 tab.tbl_id = tbl_id; in wlc_lcnphy_common_write_table()
1009 tab.tbl_ptr = tbl_ptr; in wlc_lcnphy_common_write_table()
[all …]
/linux-3.3/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] != q && in gred_wred_mode_check()
107 table->tab[n]->prio == q->prio) in gred_wred_mode_check()
159 if (dp >= t->DPs || (q = t->tab[dp]) == NULL) { in gred_enqueue()
162 q = t->tab[dp]; in gred_enqueue()
184 if (t->tab[i] && t->tab[i]->prio < q->prio && in gred_enqueue()
185 !red_is_idling(&t->tab[i]->vars)) in gred_enqueue()
186 qavg += t->tab[i]->vars.qavg; in gred_enqueue()
257 if (dp >= t->DPs || (q = t->tab[dp]) == NULL) { in gred_dequeue()
[all …]
Dsch_choke.c77 struct sk_buff **tab; member
111 } while (q->tab[q->head] == NULL); in choke_zap_head_holes()
121 } while (q->tab[q->tail] == NULL); in choke_zap_tail_holes()
128 struct sk_buff *skb = q->tab[idx]; in choke_drop_by_idx()
130 q->tab[idx] = NULL; in choke_drop_by_idx()
237 skb = q->tab[*pidx]; in choke_peek_random()
242 return q->tab[*pidx = q->head]; in choke_peek_random()
327 q->tab[q->tail] = skb; in choke_enqueue()
361 skb = q->tab[q->head]; in choke_dequeue()
362 q->tab[q->head] = NULL; in choke_dequeue()
[all …]
/linux-3.3/scripts/genksyms/
DMakefile5 genksyms-objs := genksyms.o parse.tab.o lex.lex.o
8 HOSTCFLAGS_parse.tab.o := -I$(src)
12 $(obj)/lex.lex.o: $(obj)/keywords.hash.c $(obj)/parse.tab.h
14 clean-files := keywords.hash.c lex.lex.c parse.tab.c parse.tab.h
D.gitignore3 *.tab.c
4 *.tab.h
/linux-3.3/arch/arm/kernel/
Dunwind.c458 struct unwind_table *tab = kmalloc(sizeof(*tab), GFP_KERNEL); in unwind_table_add() local
463 if (!tab) in unwind_table_add()
464 return tab; in unwind_table_add()
466 tab->start = (const struct unwind_idx *)start; in unwind_table_add()
467 tab->stop = (const struct unwind_idx *)(start + size); in unwind_table_add()
468 tab->origin = unwind_find_origin(tab->start, tab->stop); in unwind_table_add()
469 tab->begin_addr = text_addr; in unwind_table_add()
470 tab->end_addr = text_addr + text_size; in unwind_table_add()
473 list_add_tail(&tab->list, &unwind_tables); in unwind_table_add()
476 return tab; in unwind_table_add()
[all …]
/linux-3.3/arch/arm/plat-samsung/
Dinit.c35 struct cpu_table *tab, in s3c_lookup_cpu() argument
38 for (; count != 0; count--, tab++) { in s3c_lookup_cpu()
39 if ((idcode & tab->idmask) == (tab->idcode & tab->idmask)) in s3c_lookup_cpu()
40 return tab; in s3c_lookup_cpu()
/linux-3.3/arch/x86/platform/uv/
Dbios_uv.c33 struct uv_systab *tab = &uv_systab; in uv_bios_call() local
36 if (!tab->function) in uv_bios_call()
42 ret = efi_call6((void *)__va(tab->function), (u64)which, in uv_bios_call()
190 struct uv_systab *tab; in uv_bios_init() local
199 tab = (struct uv_systab *)ioremap(efi.uv_systab, in uv_bios_init()
201 if (strncmp(tab->signature, "UVST", 4) != 0) in uv_bios_init()
207 memcpy(&uv_systab, tab, sizeof(struct uv_systab)); in uv_bios_init()
208 iounmap(tab); in uv_bios_init()
/linux-3.3/drivers/media/dvb/frontends/
Dcxd2820r_c.c33 struct reg_val_mask tab[] = { in cxd2820r_set_frontend_c() local
62 for (i = 0; i < ARRAY_SIZE(tab); i++) { in cxd2820r_set_frontend_c()
63 ret = cxd2820r_wr_reg_mask(priv, tab[i].reg, in cxd2820r_set_frontend_c()
64 tab[i].val, tab[i].mask); in cxd2820r_set_frontend_c()
313 struct reg_val_mask tab[] = { in cxd2820r_sleep_c() local
325 for (i = 0; i < ARRAY_SIZE(tab); i++) { in cxd2820r_sleep_c()
326 ret = cxd2820r_wr_reg_mask(priv, tab[i].reg, tab[i].val, in cxd2820r_sleep_c()
327 tab[i].mask); in cxd2820r_sleep_c()
Dcxd2820r_t2.c38 struct reg_val_mask tab[] = { in cxd2820r_set_frontend_t2() local
104 for (i = 0; i < ARRAY_SIZE(tab); i++) { in cxd2820r_set_frontend_t2()
105 ret = cxd2820r_wr_reg_mask(priv, tab[i].reg, in cxd2820r_set_frontend_t2()
106 tab[i].val, tab[i].mask); in cxd2820r_set_frontend_t2()
392 struct reg_val_mask tab[] = { in cxd2820r_sleep_t2() local
403 for (i = 0; i < ARRAY_SIZE(tab); i++) { in cxd2820r_sleep_t2()
404 ret = cxd2820r_wr_reg_mask(priv, tab[i].reg, tab[i].val, in cxd2820r_sleep_t2()
405 tab[i].mask); in cxd2820r_sleep_t2()
Dcxd2820r_t.c42 struct reg_val_mask tab[] = { in cxd2820r_set_frontend_t() local
86 for (i = 0; i < ARRAY_SIZE(tab); i++) { in cxd2820r_set_frontend_t()
87 ret = cxd2820r_wr_reg_mask(priv, tab[i].reg, in cxd2820r_set_frontend_t()
88 tab[i].val, tab[i].mask); in cxd2820r_set_frontend_t()
420 struct reg_val_mask tab[] = { in cxd2820r_sleep_t() local
432 for (i = 0; i < ARRAY_SIZE(tab); i++) { in cxd2820r_sleep_t()
433 ret = cxd2820r_wr_reg_mask(priv, tab[i].reg, tab[i].val, in cxd2820r_sleep_t()
434 tab[i].mask); in cxd2820r_sleep_t()
/linux-3.3/lib/
Dcrc32.c51 crc32_body(u32 crc, unsigned char const *buf, size_t len, const u32 (*tab)[256]) in crc32_body()
68 const u32 *t0=tab[0], *t1=tab[1], *t2=tab[2], *t3=tab[3]; in crc32_body()
127 const u32 (*tab)[] = crc32table_le; in crc32_le() local
130 crc = crc32_body(crc, p, len, tab); in crc32_le()
184 const u32 (*tab)[] = crc32table_be; in crc32_be() local
187 crc = crc32_body(crc, p, len, tab); in crc32_be()
/linux-3.3/drivers/hid/
Dhid-debug.c445 static void tab(int n, struct seq_file *f) { in tab() function
453 tab(n, f); in hid_dump_field()
458 tab(n, f); in hid_dump_field()
463 tab(n, f); in hid_dump_field()
467 tab(n, f); seq_printf(f, "Usage(%d)\n", field->maxusage); in hid_dump_field()
469 tab(n+2, f); hid_resolv_usage(field->usage[j].hid, f); seq_printf(f, "\n"); in hid_dump_field()
472 tab(n, f); seq_printf(f, "Logical Minimum(%d)\n", field->logical_minimum); in hid_dump_field()
473 tab(n, f); seq_printf(f, "Logical Maximum(%d)\n", field->logical_maximum); in hid_dump_field()
476 tab(n, f); seq_printf(f, "Physical Minimum(%d)\n", field->physical_minimum); in hid_dump_field()
477 tab(n, f); seq_printf(f, "Physical Maximum(%d)\n", field->physical_maximum); in hid_dump_field()
[all …]
/linux-3.3/drivers/scsi/aic7xxx/aicasm/
DMakefile64 mv $(<:.y=).tab.c $(<:.y=.c)
65 mv $(<:.y=).tab.h $(<:.y=.h)
73 mv $(<:.y=).tab.c $(<:.y=.c)
74 mv $(<:.y=).tab.h $(<:.y=.h)
/linux-3.3/scripts/dtc/
DMakefile8 dtc-objs += dtc-lexer.lex.o dtc-parser.tab.o
25 HOSTCFLAGS_dtc-parser.tab.o := $(HOSTCFLAGS_DTC)
28 $(obj)/dtc-lexer.lex.o: $(obj)/dtc-parser.tab.h
D.gitignore3 dtc-parser.tab.c
4 dtc-parser.tab.h
/linux-3.3/scripts/kconfig/
DMakefile143 conf-objs := conf.o zconf.tab.o
144 mconf-objs := mconf.o zconf.tab.o $(lxdialog)
145 nconf-objs := nconf.o zconf.tab.o nconf.gui.o
146 kxgettext-objs := kxgettext.o zconf.tab.o
148 qconf-objs := zconf.tab.o
149 gconf-objs := gconf.o zconf.tab.o
182 clean-files += zconf.tab.c zconf.lex.c zconf.hash.c gconf.glade.h
199 HOSTCFLAGS_zconf.tab.o := -I$(src)
297 $(obj)/zconf.tab.o: $(obj)/zconf.lex.c $(obj)/zconf.hash.c
D.gitignore6 *.tab.c
7 *.tab.h
/linux-3.3/net/core/
Drtnetlink.c120 struct rtnl_link *tab; in rtnl_get_doit() local
123 tab = rtnl_msg_handlers[protocol]; in rtnl_get_doit()
125 tab = NULL; in rtnl_get_doit()
127 if (tab == NULL || tab[msgindex].doit == NULL) in rtnl_get_doit()
128 tab = rtnl_msg_handlers[PF_UNSPEC]; in rtnl_get_doit()
130 return tab ? tab[msgindex].doit : NULL; in rtnl_get_doit()
135 struct rtnl_link *tab; in rtnl_get_dumpit() local
138 tab = rtnl_msg_handlers[protocol]; in rtnl_get_dumpit()
140 tab = NULL; in rtnl_get_dumpit()
142 if (tab == NULL || tab[msgindex].dumpit == NULL) in rtnl_get_dumpit()
[all …]
/linux-3.3/include/net/
Dpkt_sched.h86 struct nlattr *tab);
87 extern void qdisc_put_rtab(struct qdisc_rate_table *tab);
88 extern void qdisc_put_stab(struct qdisc_size_table *tab);
/linux-3.3/drivers/video/
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()
/linux-3.3/security/selinux/
Dnlmsgtab.c124 static int nlmsg_perm(u16 nlmsg_type, u32 *perm, struct nlmsg_perm *tab, size_t tabsize) in nlmsg_perm() argument
129 if (nlmsg_type == tab[i].nlmsg_type) { in nlmsg_perm()
130 *perm = tab[i].perm; in nlmsg_perm()
/linux-3.3/drivers/media/video/tm6000/
Dtm6000-core.c568 struct reg_init *tab; in tm6000_init() local
591 tab = tm6010_init_tab; in tm6000_init()
594 tab = tm6000_init_tab; in tm6000_init()
600 rc = tm6000_set_reg(dev, tab[i].req, tab[i].reg, tab[i].val); in tm6000_init()
604 tab[i].req, tab[i].reg, tab[i].val); in tm6000_init()

123