Searched refs:offset_addr (Results 1 - 7 of 7) sorted by relevance

/linux-4.4.14/drivers/misc/
H A Dpch_phub.c419 u32 offset_addr; pch_phub_gbe_serial_rom_conf_mp() local
421 offset_addr = 0x200; pch_phub_gbe_serial_rom_conf_mp()
422 retval = pch_phub_write_serial_rom(chip, 0x03 + offset_addr, 0xbc); pch_phub_gbe_serial_rom_conf_mp()
423 retval |= pch_phub_write_serial_rom(chip, 0x02 + offset_addr, 0x00); pch_phub_gbe_serial_rom_conf_mp()
424 retval |= pch_phub_write_serial_rom(chip, 0x01 + offset_addr, 0x40); pch_phub_gbe_serial_rom_conf_mp()
425 retval |= pch_phub_write_serial_rom(chip, 0x00 + offset_addr, 0x02); pch_phub_gbe_serial_rom_conf_mp()
427 retval |= pch_phub_write_serial_rom(chip, 0x07 + offset_addr, 0x00); pch_phub_gbe_serial_rom_conf_mp()
428 retval |= pch_phub_write_serial_rom(chip, 0x06 + offset_addr, 0x00); pch_phub_gbe_serial_rom_conf_mp()
429 retval |= pch_phub_write_serial_rom(chip, 0x05 + offset_addr, 0x00); pch_phub_gbe_serial_rom_conf_mp()
430 retval |= pch_phub_write_serial_rom(chip, 0x04 + offset_addr, 0x80); pch_phub_gbe_serial_rom_conf_mp()
432 retval |= pch_phub_write_serial_rom(chip, 0x0b + offset_addr, 0xbc); pch_phub_gbe_serial_rom_conf_mp()
433 retval |= pch_phub_write_serial_rom(chip, 0x0a + offset_addr, 0x00); pch_phub_gbe_serial_rom_conf_mp()
434 retval |= pch_phub_write_serial_rom(chip, 0x09 + offset_addr, 0x40); pch_phub_gbe_serial_rom_conf_mp()
435 retval |= pch_phub_write_serial_rom(chip, 0x08 + offset_addr, 0x18); pch_phub_gbe_serial_rom_conf_mp()
437 retval |= pch_phub_write_serial_rom(chip, 0x13 + offset_addr, 0xbc); pch_phub_gbe_serial_rom_conf_mp()
438 retval |= pch_phub_write_serial_rom(chip, 0x12 + offset_addr, 0x00); pch_phub_gbe_serial_rom_conf_mp()
439 retval |= pch_phub_write_serial_rom(chip, 0x11 + offset_addr, 0x40); pch_phub_gbe_serial_rom_conf_mp()
440 retval |= pch_phub_write_serial_rom(chip, 0x10 + offset_addr, 0x19); pch_phub_gbe_serial_rom_conf_mp()
442 retval |= pch_phub_write_serial_rom(chip, 0x1b + offset_addr, 0xbc); pch_phub_gbe_serial_rom_conf_mp()
443 retval |= pch_phub_write_serial_rom(chip, 0x1a + offset_addr, 0x00); pch_phub_gbe_serial_rom_conf_mp()
444 retval |= pch_phub_write_serial_rom(chip, 0x19 + offset_addr, 0x40); pch_phub_gbe_serial_rom_conf_mp()
445 retval |= pch_phub_write_serial_rom(chip, 0x18 + offset_addr, 0x3a); pch_phub_gbe_serial_rom_conf_mp()
447 retval |= pch_phub_write_serial_rom(chip, 0x1f + offset_addr, 0x01); pch_phub_gbe_serial_rom_conf_mp()
448 retval |= pch_phub_write_serial_rom(chip, 0x1e + offset_addr, 0x00); pch_phub_gbe_serial_rom_conf_mp()
449 retval |= pch_phub_write_serial_rom(chip, 0x1d + offset_addr, 0x00); pch_phub_gbe_serial_rom_conf_mp()
450 retval |= pch_phub_write_serial_rom(chip, 0x1c + offset_addr, 0x00); pch_phub_gbe_serial_rom_conf_mp()
/linux-4.4.14/drivers/scsi/
H A DNCR_D700.c257 __u32 base_addr, offset_addr; NCR_D700_probe() local
274 offset_addr = ((pos3a << 8) | pos3b) & 0xffffff70; NCR_D700_probe()
288 offset_addr = mca_device_transform_ioport(mca_dev, offset_addr); NCR_D700_probe()
290 printk(KERN_NOTICE "NCR D700: found in slot %d irq = %d I/O base = 0x%x\n", slot, irq, offset_addr); NCR_D700_probe()
333 offset_addr + (0x80 * i), NCR_D700_probe()
/linux-4.4.14/drivers/staging/rdma/ipath/
H A Dipath_srq.c247 __u64 offset_addr; ipath_modify_srq() local
250 ret = ib_copy_from_udata(&offset_addr, udata, ipath_modify_srq()
251 sizeof(offset_addr)); ipath_modify_srq()
255 (void __user *) (unsigned long) offset_addr; ipath_modify_srq()
/linux-4.4.14/drivers/staging/rdma/hfi1/
H A Dsrq.c260 __u64 offset_addr; hfi1_modify_srq() local
263 ret = ib_copy_from_udata(&offset_addr, udata, hfi1_modify_srq()
264 sizeof(offset_addr)); hfi1_modify_srq()
268 (void __user *) (unsigned long) offset_addr; hfi1_modify_srq()
/linux-4.4.14/drivers/infiniband/hw/qib/
H A Dqib_srq.c243 __u64 offset_addr; qib_modify_srq() local
246 ret = ib_copy_from_udata(&offset_addr, udata, qib_modify_srq()
247 sizeof(offset_addr)); qib_modify_srq()
251 (void __user *) (unsigned long) offset_addr; qib_modify_srq()
/linux-4.4.14/drivers/staging/iio/addac/
H A Dadt7316.c1268 int offset_addr, char *buf) adt7316_show_temp_offset()
1274 ret = chip->bus.read(chip->bus.client, offset_addr, &val); adt7316_show_temp_offset()
1286 int offset_addr, const char *buf, size_t len) adt7316_store_temp_offset()
1301 ret = chip->bus.write(chip->bus.client, offset_addr, val); adt7316_store_temp_offset()
1267 adt7316_show_temp_offset(struct adt7316_chip_info *chip, int offset_addr, char *buf) adt7316_show_temp_offset() argument
1285 adt7316_store_temp_offset(struct adt7316_chip_info *chip, int offset_addr, const char *buf, size_t len) adt7316_store_temp_offset() argument
/linux-4.4.14/drivers/usb/gadget/udc/
H A Dpch_udc.c282 * @offset_addr: offset address of ep register
297 unsigned long offset_addr; member in struct:pch_udc_ep
450 return ioread32(ep->dev->base_addr + ep->offset_addr + reg); pch_udc_ep_readl()
456 iowrite32(val, ep->dev->base_addr + ep->offset_addr + reg); pch_udc_ep_writel()
2899 ep->offset_addr = ep->num * UDC_EP_REG_SHIFT; pch_udc_pcd_reinit()
2902 ep->offset_addr = (UDC_EPINT_OUT_SHIFT + ep->num) * pch_udc_pcd_reinit()

Completed in 298 milliseconds