Searched refs:bitpos (Results 1 – 9 of 9) sorted by relevance
/drivers/media/pci/mantis/ |
D | mantis_ioc.c | 79 void mantis_gpio_set_bits(struct mantis_pci *mantis, u32 bitpos, u8 value) in mantis_gpio_set_bits() argument 83 dprintk(MANTIS_DEBUG, 1, "Set Bit <%d> to <%d>", bitpos, value); in mantis_gpio_set_bits() 86 mantis->gpio_status = cur | (1 << bitpos); in mantis_gpio_set_bits() 88 mantis->gpio_status = cur & (~(1 << bitpos)); in mantis_gpio_set_bits()
|
D | mantis_core.c | 178 void gpio_set_bits(struct mantis_pci *mantis, u32 bitpos, u8 value) in gpio_set_bits() argument 184 mantis->gpio_status = cur | (1 << bitpos); in gpio_set_bits() 186 mantis->gpio_status = cur & (~(1 << bitpos)); in gpio_set_bits()
|
D | mantis_ioc.h | 47 extern void mantis_gpio_set_bits(struct mantis_pci *mantis, u32 bitpos, u8 value);
|
/drivers/crypto/qat/qat_common/ |
D | icp_qat_fw.h | 52 #define QAT_FIELD_SET(flags, val, bitpos, mask) \ argument 53 { (flags) = (((flags) & (~((mask) << (bitpos)))) | \ 54 (((val) & (mask)) << (bitpos))) ; } 56 #define QAT_FIELD_GET(flags, bitpos, mask) \ argument 57 (((flags) >> (bitpos)) & (mask))
|
/drivers/usb/wusbcore/ |
D | rh.c | 156 const int bitpos = cnt+1; in wusbhc_rh_status_data() local 158 _buf[bitpos/8] |= (1 << (bitpos % 8)); in wusbhc_rh_status_data()
|
/drivers/edac/ |
D | synopsys_edac.c | 110 u32 bitpos; member 169 p->ceinfo.bitpos = (regval & CE_LOG_BITPOS_MASK) >> CE_LOG_BITPOS_SHIFT; in synps_edac_geterror_info() 175 edac_dbg(3, "ce bit position: %d data: %d\n", p->ceinfo.bitpos, in synps_edac_geterror_info()
|
/drivers/mtd/nand/ |
D | diskonchip.c | 192 int index, bitpos, pos = 1015 - errpos[i]; in doc_ecc_decode() local 202 bitpos = pos & 7; in doc_ecc_decode() 204 val = (uint8_t) (errval[i] >> (2 + bitpos)); in doc_ecc_decode() 210 bitpos = (bitpos + 10) & 7; in doc_ecc_decode() 211 if (bitpos == 0) in doc_ecc_decode() 212 bitpos = 8; in doc_ecc_decode() 214 val = (uint8_t) (errval[i] << (8 - bitpos)); in doc_ecc_decode()
|
/drivers/isdn/i4l/ |
D | isdn_tty.c | 2914 int bitpos; in isdn_tty_cmd_ATS() local 2935 bitpos = isdn_getnum(p); in isdn_tty_cmd_ATS() 2936 if ((bitpos < 0) || (bitpos > 7)) in isdn_tty_cmd_ATS() 2945 mval = m->mdmreg[mreg] | (1 << bitpos); in isdn_tty_cmd_ATS() 2947 mval = m->mdmreg[mreg] & ~(1 << bitpos); in isdn_tty_cmd_ATS() 2955 isdn_tty_at_cout((m->mdmreg[mreg] & (1 << bitpos)) ? "1" : "0", in isdn_tty_cmd_ATS()
|
/drivers/net/wireless/brcm80211/brcmsmac/ |
D | dma.c | 457 u8 bitpos = 0; in dma_align_sizetobits() local 459 bitpos++; in dma_align_sizetobits() 460 return bitpos; in dma_align_sizetobits()
|