[go: nahoru, domu]

Searched refs:bit_pos (Results 1 - 14 of 14) sorted by relevance

/drivers/pci/host/
H A Dpci-keystone-dw.c67 u32 *bit_pos)
70 *bit_pos = offset >> 3;
105 u32 offset, reg_offset, bit_pos; local
115 update_reg_offset_bit_pos(offset, &reg_offset, &bit_pos);
117 writel(BIT(bit_pos),
124 u32 reg_offset, bit_pos; local
127 update_reg_offset_bit_pos(irq, &reg_offset, &bit_pos);
128 writel(BIT(bit_pos),
134 u32 reg_offset, bit_pos; local
137 update_reg_offset_bit_pos(irq, &reg_offset, &bit_pos);
66 update_reg_offset_bit_pos(u32 offset, u32 *reg_offset, u32 *bit_pos) argument
[all...]
/drivers/block/drbd/
H A Ddrbd_proc.c216 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 Dtps65910-regulator.c829 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 Dpalmas-regulator.c322 .bit_pos = _pos, \
358 .bit_pos = _pos, \
/drivers/usb/gadget/udc/
H A Dmv_udc_core.c136 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 Dfsl_udc_core.c1672 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 Dmv_u3d_core.c1617 u32 tmp, bit_pos; local
1634 bit_pos = 1 << (ep_num + 16 * direction);
1636 if (!(bit_pos & tmp))
/drivers/mfd/
H A Dpalmas.c335 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 Dcper.c237 mem->bit_pos);
285 cmem->bit_pos = mem->bit_pos;
/drivers/pinctrl/sh-pfc/
H A Dcore.c237 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 Domap2.c1359 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 Datmel_nand.c822 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 Dghes_edac.c326 p += sprintf(p, "bit_pos:%d ", mem_err->bit_pos);
/drivers/pinctrl/
H A Dpinctrl-single.c1266 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));

Completed in 604 milliseconds