Searched refs:tab (Results 1 - 25 of 37) sorted by relevance

12

/drivers/net/ethernet/freescale/
H A Dgianfar_ethtool.c923 static void gfar_set_mask(u32 mask, struct filer_table *tab) argument
925 tab->fe[tab->index].ctrl = RQFCR_AND | RQFCR_PID_MASK | RQFCR_CMP_EXACT;
926 tab->fe[tab->index].prop = mask;
927 tab->index++;
931 static void gfar_set_parse_bits(u32 value, u32 mask, struct filer_table *tab) argument
933 gfar_set_mask(mask, tab);
934 tab->fe[tab
940 gfar_set_general_attribute(u32 value, u32 mask, u32 flag, struct filer_table *tab) argument
963 gfar_set_attribute(u32 value, u32 mask, u32 flag, struct filer_table *tab) argument
1021 gfar_set_basic_ip(struct ethtool_tcpip4_spec *value, struct ethtool_tcpip4_spec *mask, struct filer_table *tab) argument
1041 gfar_set_user_ip(struct ethtool_usrip4_spec *value, struct ethtool_usrip4_spec *mask, struct filer_table *tab) argument
1060 gfar_set_ether(struct ethhdr *value, struct ethhdr *mask, struct filer_table *tab) argument
1160 gfar_convert_to_filer(struct ethtool_rx_flow_spec *rule, struct filer_table *tab) argument
1285 gfar_trim_filer_entries(u32 begin, u32 end, struct filer_table *tab) argument
1313 gfar_expand_filer_entries(u32 begin, u32 length, struct filer_table *tab) argument
1327 gfar_get_next_cluster_start(int start, struct filer_table *tab) argument
1338 gfar_get_next_cluster_end(int start, struct filer_table *tab) argument
1352 gfar_cluster_filer(struct filer_table *tab) argument
1424 gfar_generate_mask_table(struct gfar_mask_entry *mask_table, struct filer_table *tab) argument
1511 gfar_optimize_filer_masks(struct filer_table *tab) argument
1576 gfar_write_filer_table(struct gfar_private *priv, struct filer_table *tab) argument
1621 struct filer_table *tab; local
[all...]
/drivers/net/wireless/brcm80211/brcmsmac/phy/
H A Dphy_lcn.c991 struct phytbl_info tab; local
992 tab.tbl_id = tbl_id;
993 tab.tbl_ptr = tbl_ptr;
994 tab.tbl_len = tbl_len;
995 tab.tbl_width = tbl_width;
996 tab.tbl_offset = tbl_offset;
997 wlc_lcnphy_read_table(pi, &tab);
1006 struct phytbl_info tab; local
1007 tab.tbl_id = tbl_id;
1008 tab
1965 struct phytbl_info tab; local
1980 struct phytbl_info tab; local
1993 struct phytbl_info tab; local
2137 struct phytbl_info tab; local
2304 struct phytbl_info tab; local
2339 struct phytbl_info tab; local
2943 struct phytbl_info tab; local
3083 struct phytbl_info tab; local
3177 struct phytbl_info tab; local
3193 struct phytbl_info tab; local
3205 struct phytbl_info tab; local
3265 struct phytbl_info tab; local
3421 struct phytbl_info tab; local
3865 struct phytbl_info tab; local
3902 struct phytbl_info tab; local
3924 struct phytbl_info tab; local
4218 struct phytbl_info tab; local
4370 struct phytbl_info tab; local
4404 struct phytbl_info tab; local
4631 struct phytbl_info tab; local
4775 struct phytbl_info tab; local
[all...]
/drivers/scsi/aic7xxx/aicasm/
H A 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)
/drivers/media/dvb-frontends/
H A Dcxd2820r_c.c33 struct reg_val_mask tab[] = { local
59 for (i = 0; i < ARRAY_SIZE(tab); i++) {
60 ret = cxd2820r_wr_reg_mask(priv, tab[i].reg,
61 tab[i].val, tab[i].mask);
311 struct reg_val_mask tab[] = { local
323 for (i = 0; i < ARRAY_SIZE(tab); i++) {
324 ret = cxd2820r_wr_reg_mask(priv, tab[i].reg, tab[i].val,
325 tab[
[all...]
H A Dcxd2820r_t.c42 struct reg_val_mask tab[] = { local
83 for (i = 0; i < ARRAY_SIZE(tab); i++) {
84 ret = cxd2820r_wr_reg_mask(priv, tab[i].reg,
85 tab[i].val, tab[i].mask);
417 struct reg_val_mask tab[] = { local
429 for (i = 0; i < ARRAY_SIZE(tab); i++) {
430 ret = cxd2820r_wr_reg_mask(priv, tab[i].reg, tab[i].val,
431 tab[
[all...]
H A Dcxd2820r_t2.c38 struct reg_val_mask tab[] = { local
101 for (i = 0; i < ARRAY_SIZE(tab); i++) {
102 ret = cxd2820r_wr_reg_mask(priv, tab[i].reg,
103 tab[i].val, tab[i].mask);
407 struct reg_val_mask tab[] = { local
418 for (i = 0; i < ARRAY_SIZE(tab); i++) {
419 ret = cxd2820r_wr_reg_mask(priv, tab[i].reg, tab[i].val,
420 tab[
[all...]
H A Daf9033.c177 const struct reg_val *tab, int tab_len)
186 dev_warn(&dev->client->dev, "tab len %d is too big\n", tab_len);
191 buf[j] = tab[i].val;
193 if (i == tab_len - 1 || tab[i].reg != tab[i + 1].reg - 1) {
194 ret = af9033_wr_regs(dev, tab[i].reg - j, buf, j + 1);
246 struct reg_val_mask tab[] = { local
308 for (i = 0; i < ARRAY_SIZE(tab); i++) {
309 ret = af9033_wr_reg_mask(dev, tab[i].reg, tab[
176 af9033_wr_reg_val_tab(struct af9033_dev *dev, const struct reg_val *tab, int tab_len) argument
[all...]
H A Dstb0899_drv.c938 static int stb0899_table_lookup(const struct stb0899_tab *tab, int max, int val) argument
943 if (val < tab[min].read)
944 res = tab[min].real;
945 else if (val >= tab[max].read)
946 res = tab[max].real;
950 if (val >= tab[min].read && val < tab[med].read)
955 res = ((val - tab[min].read) *
956 (tab[max].real - tab[mi
[all...]
H A Dm88rs2000.c384 struct inittab *tab)
388 if (tab == NULL)
392 switch (tab[i].cmd) {
394 ret = m88rs2000_writereg(state, tab[i].reg,
395 tab[i].val);
398 if (tab[i].reg > 0)
399 mdelay(tab[i].reg);
402 if (tab[i].reg == 0xaa && tab[i].val == 0xff)
383 m88rs2000_tab_set(struct m88rs2000_state *state, struct inittab *tab) argument
H A Drtl2830.c188 struct rtl2830_reg_val_mask tab[] = { local
227 for (i = 0; i < ARRAY_SIZE(tab); i++) {
228 ret = rtl2830_wr_reg_mask(priv, tab[i].reg, tab[i].val,
229 tab[i].mask);
H A Dtda10071.c879 struct tda10071_reg_val_mask tab[] = { local
940 for (i = 0; i < ARRAY_SIZE(tab); i++) {
941 ret = tda10071_wr_reg_mask(priv, tab[i].reg,
942 tab[i].val, tab[i].mask);
1154 struct tda10071_reg_val_mask tab[] = { local
1180 for (i = 0; i < ARRAY_SIZE(tab); i++) {
1181 ret = tda10071_wr_reg_mask(priv, tab[i].reg, tab[i].val,
1182 tab[
[all...]
H A Dhd29l2.c728 static const struct reg_val tab[] = { local
752 for (i = 0; i < ARRAY_SIZE(tab); i++) {
753 ret = hd29l2_wr_reg(priv, tab[i].reg, tab[i].val);
H A Dtda10023.c112 static void tda10023_writetab(struct tda10023_state* state, u8* tab) argument
116 r=*tab++;
117 m=*tab++;
118 v=*tab++;
H A Dstv090x.c3603 static int stv090x_table_lookup(const struct stv090x_tab *tab, int max, int val) argument
3608 if ((val >= tab[min].read && val < tab[max].read) ||
3609 (val >= tab[max].read && val < tab[min].read)) {
3612 if ((val >= tab[min].read && val < tab[med].read) ||
3613 (val >= tab[med].read && val < tab[min].read))
3618 res = ((val - tab[mi
[all...]
H A Dau8522_dig.c226 static int au8522_mse2snr_lookup(struct mse2snr_tab *tab, int sz, int mse, argument
233 if (mse < tab[i].val) {
234 *snr = tab[i].data;
H A Dm88ds3103.c158 const struct m88ds3103_reg_val *tab, int tab_len)
171 buf[j] = tab[i].val;
173 if (i == tab_len - 1 || tab[i].reg != tab[i + 1].reg - 1 ||
175 ret = m88ds3103_wr_regs(priv, tab[i].reg - j, buf, j + 1);
157 m88ds3103_wr_reg_val_tab(struct m88ds3103_priv *priv, const struct m88ds3103_reg_val *tab, int tab_len) argument
/drivers/video/fbdev/core/
H A Dcfbimgblt.c224 const u32 *tab = NULL; local
229 tab = fb_be_math(p) ? cfb_tab8_be : cfb_tab8_le;
232 tab = fb_be_math(p) ? cfb_tab16_be : cfb_tab16_le;
236 tab = cfb_tab32;
256 end_mask = tab[(*src >> shift) & bit_mask];
H A Dsysimgblt.c194 const u32 *tab = NULL; local
199 tab = fb_be_math(p) ? cfb_tab8_be : cfb_tab8_le;
202 tab = fb_be_math(p) ? cfb_tab16_be : cfb_tab16_le;
206 tab = cfb_tab32;
228 end_mask = tab[(*src >> shift) & bit_mask];
/drivers/hid/
H A Dhid-debug.c526 static void tab(int n, struct seq_file *f) { function
534 tab(n, f);
539 tab(n, f);
544 tab(n, f);
548 tab(n, f); seq_printf(f, "Usage(%d)\n", field->maxusage);
550 tab(n+2, f); hid_resolv_usage(field->usage[j].hid, f); seq_printf(f, "\n");
553 tab(n, f); seq_printf(f, "Logical Minimum(%d)\n", field->logical_minimum);
554 tab(n, f); seq_printf(f, "Logical Maximum(%d)\n", field->logical_maximum);
557 tab(n, f); seq_printf(f, "Physical Minimum(%d)\n", field->physical_minimum);
558 tab(
[all...]
/drivers/media/pci/ttpci/
H A Dav7110_ca.c93 struct dvb_ringbuffer *tab[] = { cirbuf, ciwbuf, NULL }, **p; local
96 for (p = tab; *p; p++) {
99 while (p-- != tab) {
/drivers/media/usb/tm6000/
H A Dtm6000-core.c571 struct reg_init *tab; local
594 tab = tm6010_init_tab;
597 tab = tm6000_init_tab;
603 rc = tm6000_set_reg(dev, tab[i].req, tab[i].reg, tab[i].val);
607 tab[i].req, tab[i].reg, tab[i].val);
/drivers/net/wireless/b43/
H A Dwa.c284 const u16 *tab; local
287 tab = b43_tab_sigmasqr1;
289 tab = b43_tab_sigmasqr2;
297 i, tab[i]);
/drivers/video/fbdev/aty/
H A Dmach64_gx.c89 } tab[3] = { local
112 aty_st_514(0x04, tab[i].pixel_dly, par); /* Horizontal Sync Control */
115 aty_st_514(0x71, tab[i].misc2_cntl, par); /* Misc Control 2 */
116 aty_st_514(0x0a, tab[i].pixel_rep, par); /* Pixel Format */
117 aty_st_514(tab[i].pixel_cntl_index, tab[i].pixel_cntl_v1, par);
/drivers/media/usb/dvb-usb-v2/
H A Daf9035.c1637 struct reg_val_mask tab[] = { local
1663 for (i = 0; i < ARRAY_SIZE(tab); i++) {
1664 ret = af9035_wr_reg_mask(d, tab[i].reg, tab[i].val,
1665 tab[i].mask);
1684 struct reg_val_mask tab[] = { local
1745 for (i = 0; i < ARRAY_SIZE(tab); i++) {
1746 ret = af9035_wr_reg_mask(d, tab[i].reg,
1747 tab[i].val, tab[
[all...]
/drivers/net/wireless/cw1200/
H A Ddebug.c316 #define PUT_COUNTER(tab, name) \
317 seq_printf(seq, "%s:" tab "%d\n", #name, \

Completed in 410 milliseconds

12