/drivers/net/ethernet/freescale/ |
D | gianfar_ethtool.c | 925 static void gfar_set_mask(u32 mask, struct filer_table *tab) in gfar_set_mask() argument 927 tab->fe[tab->index].ctrl = RQFCR_AND | RQFCR_PID_MASK | RQFCR_CMP_EXACT; in gfar_set_mask() 928 tab->fe[tab->index].prop = mask; in gfar_set_mask() 929 tab->index++; in gfar_set_mask() 933 static void gfar_set_parse_bits(u32 value, u32 mask, struct filer_table *tab) in gfar_set_parse_bits() argument 935 gfar_set_mask(mask, tab); in gfar_set_parse_bits() 936 tab->fe[tab->index].ctrl = RQFCR_CMP_EXACT | RQFCR_PID_PARSE | in gfar_set_parse_bits() 938 tab->fe[tab->index].prop = value; in gfar_set_parse_bits() 939 tab->index++; in gfar_set_parse_bits() 943 struct filer_table *tab) in gfar_set_general_attribute() argument [all …]
|
/drivers/net/wireless/brcm80211/brcmsmac/phy/ |
D | phy_lcn.c | 991 struct phytbl_info tab; in wlc_lcnphy_common_read_table() local 992 tab.tbl_id = tbl_id; in wlc_lcnphy_common_read_table() 993 tab.tbl_ptr = tbl_ptr; in wlc_lcnphy_common_read_table() 994 tab.tbl_len = tbl_len; in wlc_lcnphy_common_read_table() 995 tab.tbl_width = tbl_width; in wlc_lcnphy_common_read_table() 996 tab.tbl_offset = tbl_offset; in wlc_lcnphy_common_read_table() 997 wlc_lcnphy_read_table(pi, &tab); in wlc_lcnphy_common_read_table() 1006 struct phytbl_info tab; in wlc_lcnphy_common_write_table() local 1007 tab.tbl_id = tbl_id; in wlc_lcnphy_common_write_table() 1008 tab.tbl_ptr = tbl_ptr; in wlc_lcnphy_common_write_table() [all …]
|
/drivers/media/dvb-frontends/ |
D | cxd2820r_c.c | 33 struct reg_val_mask tab[] = { in cxd2820r_set_frontend_c() local 59 for (i = 0; i < ARRAY_SIZE(tab); i++) { in cxd2820r_set_frontend_c() 60 ret = cxd2820r_wr_reg_mask(priv, tab[i].reg, in cxd2820r_set_frontend_c() 61 tab[i].val, tab[i].mask); in cxd2820r_set_frontend_c() 311 struct reg_val_mask tab[] = { in cxd2820r_sleep_c() local 323 for (i = 0; i < ARRAY_SIZE(tab); i++) { in cxd2820r_sleep_c() 324 ret = cxd2820r_wr_reg_mask(priv, tab[i].reg, tab[i].val, in cxd2820r_sleep_c() 325 tab[i].mask); in cxd2820r_sleep_c()
|
D | cxd2820r_t.c | 42 struct reg_val_mask tab[] = { in cxd2820r_set_frontend_t() local 83 for (i = 0; i < ARRAY_SIZE(tab); i++) { in cxd2820r_set_frontend_t() 84 ret = cxd2820r_wr_reg_mask(priv, tab[i].reg, in cxd2820r_set_frontend_t() 85 tab[i].val, tab[i].mask); in cxd2820r_set_frontend_t() 417 struct reg_val_mask tab[] = { in cxd2820r_sleep_t() local 429 for (i = 0; i < ARRAY_SIZE(tab); i++) { in cxd2820r_sleep_t() 430 ret = cxd2820r_wr_reg_mask(priv, tab[i].reg, tab[i].val, in cxd2820r_sleep_t() 431 tab[i].mask); in cxd2820r_sleep_t()
|
D | cxd2820r_t2.c | 38 struct reg_val_mask tab[] = { in cxd2820r_set_frontend_t2() local 101 for (i = 0; i < ARRAY_SIZE(tab); i++) { in cxd2820r_set_frontend_t2() 102 ret = cxd2820r_wr_reg_mask(priv, tab[i].reg, in cxd2820r_set_frontend_t2() 103 tab[i].val, tab[i].mask); in cxd2820r_set_frontend_t2() 407 struct reg_val_mask tab[] = { in cxd2820r_sleep_t2() local 418 for (i = 0; i < ARRAY_SIZE(tab); i++) { in cxd2820r_sleep_t2() 419 ret = cxd2820r_wr_reg_mask(priv, tab[i].reg, tab[i].val, in cxd2820r_sleep_t2() 420 tab[i].mask); in cxd2820r_sleep_t2()
|
D | m88rs2000.c | 385 struct inittab *tab) in m88rs2000_tab_set() argument 389 if (tab == NULL) in m88rs2000_tab_set() 393 switch (tab[i].cmd) { in m88rs2000_tab_set() 395 ret = m88rs2000_writereg(state, tab[i].reg, in m88rs2000_tab_set() 396 tab[i].val); in m88rs2000_tab_set() 399 if (tab[i].reg > 0) in m88rs2000_tab_set() 400 mdelay(tab[i].reg); in m88rs2000_tab_set() 403 if (tab[i].reg == 0xaa && tab[i].val == 0xff) in m88rs2000_tab_set()
|
D | stb0899_drv.c | 941 static int stb0899_table_lookup(const struct stb0899_tab *tab, int max, int val) in stb0899_table_lookup() argument 946 if (val < tab[min].read) in stb0899_table_lookup() 947 res = tab[min].real; in stb0899_table_lookup() 948 else if (val >= tab[max].read) in stb0899_table_lookup() 949 res = tab[max].real; in stb0899_table_lookup() 953 if (val >= tab[min].read && val < tab[med].read) in stb0899_table_lookup() 958 res = ((val - tab[min].read) * in stb0899_table_lookup() 959 (tab[max].real - tab[min].real) / in stb0899_table_lookup() 960 (tab[max].read - tab[min].read)) + in stb0899_table_lookup() 961 tab[min].real; in stb0899_table_lookup()
|
D | tda10071.c | 774 struct tda10071_reg_val_mask tab[] = { in tda10071_init() local 835 for (i = 0; i < ARRAY_SIZE(tab); i++) { in tda10071_init() 836 ret = tda10071_wr_reg_mask(dev, tab[i].reg, in tda10071_init() 837 tab[i].val, tab[i].mask); in tda10071_init() 1057 struct tda10071_reg_val_mask tab[] = { in tda10071_sleep() local 1083 for (i = 0; i < ARRAY_SIZE(tab); i++) { in tda10071_sleep() 1084 ret = tda10071_wr_reg_mask(dev, tab[i].reg, tab[i].val, in tda10071_sleep() 1085 tab[i].mask); in tda10071_sleep()
|
D | af9033.c | 177 const struct reg_val *tab, int tab_len) in af9033_wr_reg_val_tab() argument 191 buf[j] = tab[i].val; in af9033_wr_reg_val_tab() 193 if (i == tab_len - 1 || tab[i].reg != tab[i + 1].reg - 1) { in af9033_wr_reg_val_tab() 194 ret = af9033_wr_regs(dev, tab[i].reg - j, buf, j + 1); in af9033_wr_reg_val_tab() 246 struct reg_val_mask tab[] = { in af9033_init() local 314 for (i = 0; i < ARRAY_SIZE(tab); i++) { in af9033_init() 315 ret = af9033_wr_reg_mask(dev, tab[i].reg, tab[i].val, in af9033_init() 316 tab[i].mask); in af9033_init()
|
D | tda10023.c | 112 static void tda10023_writetab(struct tda10023_state* state, u8* tab) in tda10023_writetab() argument 116 r=*tab++; in tda10023_writetab() 117 m=*tab++; in tda10023_writetab() 118 v=*tab++; in tda10023_writetab()
|
D | stv090x.c | 3618 static int stv090x_table_lookup(const struct stv090x_tab *tab, int max, int val) in stv090x_table_lookup() argument 3623 if ((val >= tab[min].read && val < tab[max].read) || in stv090x_table_lookup() 3624 (val >= tab[max].read && val < tab[min].read)) { in stv090x_table_lookup() 3627 if ((val >= tab[min].read && val < tab[med].read) || in stv090x_table_lookup() 3628 (val >= tab[med].read && val < tab[min].read)) in stv090x_table_lookup() 3633 res = ((val - tab[min].read) * in stv090x_table_lookup() 3634 (tab[max].real - tab[min].real) / in stv090x_table_lookup() 3635 (tab[max].read - tab[min].read)) + in stv090x_table_lookup() 3636 tab[min].real; in stv090x_table_lookup() 3638 if (tab[min].read < tab[max].read) { in stv090x_table_lookup() [all …]
|
D | au8522_dig.c | 227 static int au8522_mse2snr_lookup(struct mse2snr_tab *tab, int sz, int mse, in au8522_mse2snr_lookup() argument 234 if (mse < tab[i].val) { in au8522_mse2snr_lookup() 235 *snr = tab[i].data; in au8522_mse2snr_lookup()
|
D | rtl2830.c | 63 struct rtl2830_reg_val_mask tab[] = { in rtl2830_init() local 102 for (i = 0; i < ARRAY_SIZE(tab); i++) { in rtl2830_init() 103 ret = rtl2830_update_bits(client, tab[i].reg, tab[i].mask, in rtl2830_init() 104 tab[i].val); in rtl2830_init()
|
D | hd29l2.c | 732 static const struct reg_val tab[] = { in hd29l2_init() local 756 for (i = 0; i < ARRAY_SIZE(tab); i++) { in hd29l2_init() 757 ret = hd29l2_wr_reg(priv, tab[i].reg, tab[i].val); in hd29l2_init()
|
D | m88ds3103.c | 44 const struct m88ds3103_reg_val *tab, int tab_len) in m88ds3103_wr_reg_val_tab() argument 58 buf[j] = tab[i].val; in m88ds3103_wr_reg_val_tab() 60 if (i == tab_len - 1 || tab[i].reg != tab[i + 1].reg - 1 || in m88ds3103_wr_reg_val_tab() 62 ret = regmap_bulk_write(dev->regmap, tab[i].reg - j, buf, j + 1); in m88ds3103_wr_reg_val_tab()
|
/drivers/hid/ |
D | hid-debug.c | 528 static void tab(int n, struct seq_file *f) { in tab() function 536 tab(n, f); in hid_dump_field() 541 tab(n, f); in hid_dump_field() 546 tab(n, f); in hid_dump_field() 550 tab(n, f); seq_printf(f, "Usage(%d)\n", field->maxusage); in hid_dump_field() 552 tab(n+2, f); hid_resolv_usage(field->usage[j].hid, f); seq_printf(f, "\n"); in hid_dump_field() 555 tab(n, f); seq_printf(f, "Logical Minimum(%d)\n", field->logical_minimum); in hid_dump_field() 556 tab(n, f); seq_printf(f, "Logical Maximum(%d)\n", field->logical_maximum); in hid_dump_field() 559 tab(n, f); seq_printf(f, "Physical Minimum(%d)\n", field->physical_minimum); in hid_dump_field() 560 tab(n, f); seq_printf(f, "Physical Maximum(%d)\n", field->physical_maximum); in hid_dump_field() [all …]
|
/drivers/scsi/aic7xxx/aicasm/ |
D | Makefile | 64 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/video/fbdev/core/ |
D | sysimgblt.c | 194 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()
|
D | cfbimgblt.c | 224 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()
|
/drivers/media/usb/tm6000/ |
D | tm6000-core.c | 571 struct reg_init *tab; in tm6000_init() local 594 tab = tm6010_init_tab; in tm6000_init() 597 tab = tm6000_init_tab; in tm6000_init() 603 rc = tm6000_set_reg(dev, tab[i].req, tab[i].reg, tab[i].val); in tm6000_init() 607 tab[i].req, tab[i].reg, tab[i].val); in tm6000_init()
|
/drivers/video/fbdev/aty/ |
D | mach64_gx.c | 89 } tab[3] = { in aty_set_dac_514() local 112 aty_st_514(0x04, tab[i].pixel_dly, par); /* Horizontal Sync Control */ in aty_set_dac_514() 115 aty_st_514(0x71, tab[i].misc2_cntl, par); /* Misc Control 2 */ in aty_set_dac_514() 116 aty_st_514(0x0a, tab[i].pixel_rep, par); /* Pixel Format */ in aty_set_dac_514() 117 aty_st_514(tab[i].pixel_cntl_index, tab[i].pixel_cntl_v1, par); in aty_set_dac_514()
|
/drivers/media/pci/ttpci/ |
D | av7110_ca.c | 93 struct dvb_ringbuffer *tab[] = { cirbuf, ciwbuf, NULL }, **p; in ci_ll_init() local 96 for (p = tab; *p; p++) { in ci_ll_init() 99 while (p-- != tab) { in ci_ll_init()
|
/drivers/net/wireless/b43/ |
D | wa.c | 284 const u16 *tab; in b43_wa_msst() local 287 tab = b43_tab_sigmasqr1; in b43_wa_msst() 289 tab = b43_tab_sigmasqr2; in b43_wa_msst() 297 i, tab[i]); in b43_wa_msst()
|
/drivers/media/usb/dvb-usb-v2/ |
D | af9035.c | 1654 struct reg_val_mask tab[] = { in af9035_init() local 1680 for (i = 0; i < ARRAY_SIZE(tab); i++) { in af9035_init() 1681 ret = af9035_wr_reg_mask(d, tab[i].reg, tab[i].val, in af9035_init() 1682 tab[i].mask); in af9035_init() 1701 struct reg_val_mask tab[] = { in it930x_init() local 1762 for (i = 0; i < ARRAY_SIZE(tab); i++) { in it930x_init() 1763 ret = af9035_wr_reg_mask(d, tab[i].reg, in it930x_init() 1764 tab[i].val, tab[i].mask); in it930x_init()
|
/drivers/net/wireless/cw1200/ |
D | debug.c | 316 #define PUT_COUNTER(tab, name) \ in cw1200_counters_show() argument 317 seq_printf(seq, "%s:" tab "%d\n", #name, \ in cw1200_counters_show()
|