Home
last modified time | relevance | path

Searched refs:gval (Results 1 – 3 of 3) sorted by relevance

/drivers/media/rc/
Dgpio-ir-recv.c78 int gval; in gpio_ir_recv_irq() local
82 gval = gpio_get_value(gpio_dev->gpio_nr); in gpio_ir_recv_irq()
84 if (gval < 0) in gpio_ir_recv_irq()
88 gval = !gval; in gpio_ir_recv_irq()
90 if (gval == 1) in gpio_ir_recv_irq()
/drivers/media/usb/gspca/
Dsn9c20x.c1335 u8 gval = val * 0xb8 / 0x100; in set_gamma() local
1338 gamma[1] = 0x13 + (gval * (0xcb - 0x13) / 0xb8); in set_gamma()
1339 gamma[2] = 0x25 + (gval * (0xee - 0x25) / 0xb8); in set_gamma()
1340 gamma[3] = 0x37 + (gval * (0xfa - 0x37) / 0xb8); in set_gamma()
1341 gamma[4] = 0x45 + (gval * (0xfc - 0x45) / 0xb8); in set_gamma()
1342 gamma[5] = 0x55 + (gval * (0xfb - 0x55) / 0xb8); in set_gamma()
1343 gamma[6] = 0x65 + (gval * (0xfc - 0x65) / 0xb8); in set_gamma()
1344 gamma[7] = 0x74 + (gval * (0xfd - 0x74) / 0xb8); in set_gamma()
1345 gamma[8] = 0x83 + (gval * (0xfe - 0x83) / 0xb8); in set_gamma()
1346 gamma[9] = 0x92 + (gval * (0xfc - 0x92) / 0xb8); in set_gamma()
[all …]
/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dcfg80211.c1608 s32 gval = 0; in brcmf_set_wsec_mode() local
1637 gval = WEP_ENABLED; in brcmf_set_wsec_mode()
1640 gval = TKIP_ENABLED; in brcmf_set_wsec_mode()
1643 gval = AES_ENABLED; in brcmf_set_wsec_mode()
1646 gval = AES_ENABLED; in brcmf_set_wsec_mode()
1655 brcmf_dbg(CONN, "pval (%d) gval (%d)\n", pval, gval); in brcmf_set_wsec_mode()
1658 if (brcmf_find_wpsie(sme->ie, sme->ie_len) && !pval && !gval && in brcmf_set_wsec_mode()
1662 wsec = pval | gval; in brcmf_set_wsec_mode()
3977 u32 gval = 0; in brcmf_configure_wpaie() local
4014 gval = 0; in brcmf_configure_wpaie()
[all …]