/drivers/pci/host/ |
H A D | pci-keystone-dw.c | 67 u32 *bit_pos) 70 *bit_pos = offset >> 3; 105 u32 offset, reg_offset, bit_pos; local 115 update_reg_offset_bit_pos(offset, ®_offset, &bit_pos); 117 writel(BIT(bit_pos), 124 u32 reg_offset, bit_pos; local 127 update_reg_offset_bit_pos(irq, ®_offset, &bit_pos); 128 writel(BIT(bit_pos), 134 u32 reg_offset, bit_pos; local 137 update_reg_offset_bit_pos(irq, ®_offset, &bit_pos); 66 update_reg_offset_bit_pos(u32 offset, u32 *reg_offset, u32 *bit_pos) argument [all...] |
/drivers/block/drbd/ |
H A D | drbd_proc.c | 216 unsigned long bit_pos; local 220 bit_pos = bm_bits - device->ov_left; 224 bit_pos = device->bm_resync_fo; 229 (int)(bit_pos / (bm_bits/100+1)), 230 (unsigned long long)bit_pos * BM_SECT_PER_BIT,
|
/drivers/regulator/ |
H A D | tps65910-regulator.c | 829 u8 bit_pos = (1 << pmic->ext_sleep_control[id] & 0xFF); local 858 TPS65910_EN1_LDO_ASS + regoffs, bit_pos); 861 TPS65910_EN1_LDO_ASS + regoffs, bit_pos); 871 TPS65910_EN2_LDO_ASS + regoffs, bit_pos); 874 TPS65910_EN2_LDO_ASS + regoffs, bit_pos); 886 TPS65910_EN3_LDO_ASS + regoffs, bit_pos); 889 TPS65910_EN3_LDO_ASS + regoffs, bit_pos); 901 TPS65910_SLEEP_KEEP_LDO_ON + regoffs, bit_pos); 904 TPS65910_SLEEP_SET_LDO_OFF + regoffs, bit_pos); 950 TPS65910_SLEEP_KEEP_LDO_ON + regoffs, bit_pos); [all...] |
H A D | palmas-regulator.c | 322 .bit_pos = _pos, \ 358 .bit_pos = _pos, \
|
/drivers/usb/gadget/udc/ |
H A D | mv_udc_core.c | 136 u32 bit_pos; local 190 bit_pos = 1 << curr_req->ep->ep_num; 192 bit_pos = 1 << (16 + curr_req->ep->ep_num); 196 while (readl(&udc->op_regs->epstatus) & bit_pos) 262 u32 bit_pos, direction; local 270 bit_pos = 1 << (((direction == EP_DIR_OUT) ? 0 : 16) + ep->ep_num); 281 if (readl(&udc->op_regs->epprime) & bit_pos) 292 epstatus = readl(&udc->op_regs->epstatus) & bit_pos; 335 writel(bit_pos, &udc->op_regs->epprime); 451 u32 bit_pos, epctrl local 570 u32 bit_pos, epctrlx, direction; local 636 u32 bit_pos, direction; local 765 u32 bit_pos; local 1772 u32 tmp, bit_pos; local [all...] |
H A D | fsl_udc_core.c | 1672 u32 bit_pos; local 1678 bit_pos = fsl_readl(&dr_regs->endptcomplete); 1679 fsl_writel(bit_pos, &dr_regs->endptcomplete); 1681 if (!bit_pos) 1690 if (!(bit_pos & bit_mask))
|
H A D | mv_u3d_core.c | 1617 u32 tmp, bit_pos; local 1634 bit_pos = 1 << (ep_num + 16 * direction); 1636 if (!(bit_pos & tmp))
|
/drivers/mfd/ |
H A D | palmas.c | 335 int bit_pos, ret; local 354 bit_pos = pmic_ddata->sleep_req_info[id].bit_pos; 358 reg_add, BIT(bit_pos), BIT(bit_pos)); 361 reg_add, BIT(bit_pos), 0);
|
/drivers/firmware/efi/ |
H A D | cper.c | 237 mem->bit_pos); 285 cmem->bit_pos = mem->bit_pos;
|
/drivers/pinctrl/sh-pfc/ |
H A D | core.c | 237 unsigned int k, m, n, pos, bit_pos; local 251 for (bit_pos = 0; bit_pos < r_width; bit_pos += curr_width) {
|
/drivers/mtd/nand/ |
H A D | omap2.c | 1359 u32 bit_pos, byte_pos, error_max, pos; local 1469 bit_pos = pos % 8; 1478 data[byte_pos] ^= 1 << bit_pos; 1484 1 << bit_pos; 1489 byte_pos, bit_pos);
|
H A D | atmel_nand.c | 822 int byte_pos, bit_pos, sector_size, pos; local 831 bit_pos = tmp % 8; 838 *(buf + byte_pos) ^= (1 << bit_pos); 841 dev_info(host->dev, "Bit flip in data area, byte_pos: %d, bit_pos: %d, 0x%02x -> 0x%02x\n", 842 pos, bit_pos, err_byte, *(buf + byte_pos)); 848 ecc[tmp] ^= (1 << bit_pos); 851 dev_info(host->dev, "Bit flip in OOB, oob_byte_pos: %d, bit_pos: %d, 0x%02x -> 0x%02x\n", 852 pos, bit_pos, err_byte, ecc[tmp]);
|
/drivers/edac/ |
H A D | ghes_edac.c | 326 p += sprintf(p, "bit_pos:%d ", mem_err->bit_pos);
|
/drivers/pinctrl/ |
H A D | pinctrl-single.c | 1266 unsigned mask, bit_pos, val_pos, mask_pos, submask; local 1276 bit_pos = ffs(mask); 1277 pin_num_from_lsb = bit_pos / pcs->bits_per_pin; 1278 mask_pos = ((pcs->fmask) << (bit_pos - 1));
|