/drivers/gpio/ |
D | gpio-janz-ttl.c | 63 u8 *shadow; in ttl_get_value() local 67 shadow = &mod->porta_shadow; in ttl_get_value() 69 shadow = &mod->portb_shadow; in ttl_get_value() 72 shadow = &mod->portc_shadow; in ttl_get_value() 77 ret = *shadow & (1 << offset); in ttl_get_value() 86 u8 *shadow; in ttl_set_value() local 90 shadow = &mod->porta_shadow; in ttl_set_value() 93 shadow = &mod->portb_shadow; in ttl_set_value() 97 shadow = &mod->portc_shadow; in ttl_set_value() 103 *shadow |= (1 << offset); in ttl_set_value() [all …]
|
/drivers/ps3/ |
D | ps3-lpm.c | 140 struct ps3_lpm_shadow_regs shadow; member 406 return lpm_priv->shadow.pm_control; in ps3_read_pm() 410 return lpm_priv->shadow.pm_start_stop; in ps3_read_pm() 421 return lpm_priv->shadow.group_control; in ps3_read_pm() 423 return lpm_priv->shadow.debug_bus_control; in ps3_read_pm() 458 if (val != lpm_priv->shadow.group_control) in ps3_write_pm() 463 lpm_priv->shadow.group_control = val; in ps3_write_pm() 466 if (val != lpm_priv->shadow.debug_bus_control) in ps3_write_pm() 471 lpm_priv->shadow.debug_bus_control = val; in ps3_write_pm() 477 if (val != lpm_priv->shadow.pm_control) in ps3_write_pm() [all …]
|
/drivers/block/ |
D | xen-blkfront.c | 99 struct blk_shadow shadow[BLK_RING_SIZE]; member 139 info->shadow_free = info->shadow[free].req.u.rw.id; in get_id_from_freelist() 140 info->shadow[free].req.u.rw.id = 0x0fffffee; /* debug */ in get_id_from_freelist() 147 info->shadow[id].req.u.rw.id = info->shadow_free; in add_id_to_freelist() 148 info->shadow[id].request = NULL; in add_id_to_freelist() 287 info->shadow[id].request = req; in blkif_queue_request() 335 info->shadow[id].frame[i] = mfn_to_pfn(buffer_mfn); in blkif_queue_request() 347 info->shadow[id].req = *ring_req; in blkif_queue_request() 745 req = info->shadow[id].request; in blkif_interrupt() 748 blkif_completion(&info->shadow[id]); in blkif_interrupt() [all …]
|
/drivers/media/radio/ |
D | si4713-i2c.c | 918 u32 **shadow, s32 *bit, s32 *mask, u16 *property, int *mul, in si4713_choose_econtrol_action() argument 928 *shadow = &sdev->rds_info.pi; in si4713_choose_econtrol_action() 933 *shadow = &sdev->acomp_info.threshold; in si4713_choose_econtrol_action() 938 *shadow = &sdev->acomp_info.gain; in si4713_choose_econtrol_action() 943 *shadow = &sdev->pilot_info.frequency; in si4713_choose_econtrol_action() 948 *shadow = &sdev->acomp_info.attack_time; in si4713_choose_econtrol_action() 953 *shadow = &sdev->pilot_info.deviation; in si4713_choose_econtrol_action() 958 *shadow = &sdev->limiter_info.deviation; in si4713_choose_econtrol_action() 963 *shadow = &sdev->rds_info.deviation; in si4713_choose_econtrol_action() 970 *shadow = &sdev->rds_info.pty; in si4713_choose_econtrol_action() [all …]
|
/drivers/tty/serial/ |
D | ioc3_serial.c | 439 writel(0, &port->ip_serial_regs->shadow); in port_init() 829 uint32_t shadow; in set_mcr() local 847 shadow = readl(&port->ip_serial_regs->shadow); in set_mcr() 848 mcr = (shadow & 0xff000000) >> 24; in set_mcr() 852 shadow |= mask2; in set_mcr() 854 writel(shadow, &port->ip_serial_regs->shadow); in set_mcr() 1475 uint32_t shadow; in ioc3uart_intr_one() local 1487 shadow = readl(&port->ip_serial_regs->shadow); in ioc3uart_intr_one() 1490 && (shadow & SHADOW_DCD) in ioc3uart_intr_one() 1494 shadow & SHADOW_DCD); in ioc3uart_intr_one() [all …]
|
D | ioc4_serial.c | 254 uint32_t shadow; member 1559 uint32_t shadow; in set_mcr() local 1577 shadow = readl(&port->ip_serial_regs->shadow); in set_mcr() 1578 mcr = (shadow & 0xff000000) >> 24; in set_mcr() 1582 shadow |= mask2; in set_mcr() 1585 writel(shadow, &port->ip_serial_regs->shadow); in set_mcr() 1864 uint32_t shadow; in handle_intr() local 1879 shadow = readl(&port->ip_serial_regs->shadow); in handle_intr() 1882 && (shadow & IOC4_SHADOW_DCD) in handle_intr() 1889 && !(shadow & IOC4_SHADOW_DCD)) { in handle_intr() [all …]
|
D | crisv10.c | 856 unsigned char *shadow; member 865 #define dtr_shadow shadow 867 #define ri_shadow shadow 869 #define dsr_shadow shadow 871 #define cd_shadow shadow
|
D | mpsc.c | 111 u16 shadow; member 1096 txre->shadow = txre->bytecnt; in mpsc_setup_tx_desc()
|
/drivers/media/video/ |
D | tvaudio.c | 118 audiocmd shadow; member 150 chip->shadow.bytes[1] = val; in chip_write() 157 if (subaddr + 1 >= ARRAY_SIZE(chip->shadow.bytes)) { in chip_write() 166 chip->shadow.bytes[subaddr+1] = val; in chip_write() 185 val = (chip->shadow.bytes[1] & ~mask) | (val & mask); in chip_write_masked() 187 if (subaddr + 1 >= ARRAY_SIZE(chip->shadow.bytes)) { in chip_write_masked() 194 val = (chip->shadow.bytes[subaddr+1] & ~mask) | (val & mask); in chip_write_masked() 245 if (cmd->count + cmd->bytes[0] - 1 >= ARRAY_SIZE(chip->shadow.bytes)) { in chip_cmd() 260 chip->shadow.bytes[i+cmd->bytes[0]] = cmd->bytes[i]; in chip_cmd() 381 int t = chip->shadow.bytes[TDA9840_SW + 1] & ~0x7e; in tda9840_setmode() [all …]
|
/drivers/media/video/cx88/ |
D | cx88.h | 351 u32 shadow[SHADOW_MAX]; member 592 #define cx_sread(sreg) (core->shadow[sreg]) 594 (core->shadow[sreg] = value, \ 595 writel(core->shadow[sreg], core->lmmio + ((reg)>>2))) 597 (core->shadow[sreg] = (core->shadow[sreg] & ~(mask)) | ((value) & (mask)), \ 598 writel(core->shadow[sreg], core->lmmio + ((reg)>>2)))
|
/drivers/media/dvb/frontends/ |
D | itd1000.c | 80 itd1000_write_regs(state, (reg - 1) & 0xff, &state->shadow[(reg - 1) & 0xff], 1); in itd1000_read_reg() 92 state->shadow[r] = v; in itd1000_write_reg() 385 memset(state->shadow, 0xff, sizeof(state->shadow)); in itd1000_attach() 387 state->shadow[i] = itd1000_read_reg(state, i); in itd1000_attach()
|
D | s5h1420.c | 62 u8 shadow[256]; member 90 b[1] = state->shadow[(reg - 1) & 0xff]; in s5h1420_readreg() 122 state->shadow[reg] = data; in s5h1420_writereg() 911 memset(state->shadow, 0xff, sizeof(state->shadow)); in s5h1420_attach() 914 state->shadow[i] = s5h1420_readreg(state, i); in s5h1420_attach()
|
D | itd1000_priv.h | 34 u8 shadow[256]; member
|
/drivers/infiniband/hw/ipath/ |
D | ipath_driver.c | 1361 unsigned long *shadow = dd->ipath_pioavailshadow; in ipath_update_pio_bufs() local 1367 shadow[0], in ipath_update_pio_bufs() 1369 shadow[1], in ipath_update_pio_bufs() 1371 shadow[2], in ipath_update_pio_bufs() 1373 shadow[3]); in ipath_update_pio_bufs() 1380 shadow[4], in ipath_update_pio_bufs() 1382 shadow[5], in ipath_update_pio_bufs() 1384 shadow[6], in ipath_update_pio_bufs() 1386 shadow[7]); in ipath_update_pio_bufs() 1489 unsigned long *shadow = dd->ipath_pioavailshadow; in no_pio_bufs() local [all …]
|
/drivers/gpu/drm/nouveau/ |
D | nouveau_mxm.c | 670 struct mxm_shadow_h *shadow = _mxm_shadow; in mxm_shadow() local 672 MXM_DBG(dev, "checking %s\n", shadow->name); in mxm_shadow() 673 if (shadow->exec(dev, version)) { in mxm_shadow() 679 } while ((++shadow)->name); in mxm_shadow()
|
D | nouveau_bios.c | 232 void (*shadow)(struct nvbios *); member 260 mthd->shadow(bios); in bios_shadow() 264 } while ((++mthd)->shadow); in bios_shadow() 272 mthd->shadow(bios); in bios_shadow() 276 } while (mthd->score != 3 && (++mthd)->shadow); in bios_shadow() 285 } while ((++mthd)->shadow); in bios_shadow()
|
/drivers/infiniband/hw/qib/ |
D | qib_tx.c | 290 unsigned long *shadow = dd->pioavailshadow; in qib_getsendbuf_range() local 317 if (__test_and_set_bit((2 * i) + 1, shadow)) in qib_getsendbuf_range() 320 __change_bit(2 * i, shadow); in qib_getsendbuf_range()
|
D | qib_iba7322.c | 6661 unsigned long shadow; in qib_7322_txchk_change() local 6676 shadow = (unsigned long) in qib_7322_txchk_change() 6682 % BITS_PER_LONG, &shadow)) in qib_7322_txchk_change()
|
/drivers/net/phy/ |
D | broadcom.c | 192 static int bcm54xx_shadow_read(struct phy_device *phydev, u16 shadow) in bcm54xx_shadow_read() argument 194 phy_write(phydev, MII_BCM54XX_SHD, MII_BCM54XX_SHD_VAL(shadow)); in bcm54xx_shadow_read() 198 static int bcm54xx_shadow_write(struct phy_device *phydev, u16 shadow, u16 val) in bcm54xx_shadow_write() argument 202 MII_BCM54XX_SHD_VAL(shadow) | in bcm54xx_shadow_write()
|
/drivers/net/ethernet/myricom/myri10ge/ |
D | myri10ge.c | 133 struct mcp_kreq_ether_recv *shadow; /* host shadow of recv ring */ member 1276 rx->shadow[idx].addr_low = in myri10ge_alloc_rx_pages() 1278 rx->shadow[idx].addr_high = in myri10ge_alloc_rx_pages() 1295 &rx->shadow[idx - 7]); in myri10ge_alloc_rx_pages() 2024 bytes = rx_ring_entries * sizeof(*ss->rx_small.shadow); in myri10ge_allocate_rings() 2025 ss->rx_small.shadow = kzalloc(bytes, GFP_KERNEL); in myri10ge_allocate_rings() 2026 if (ss->rx_small.shadow == NULL) in myri10ge_allocate_rings() 2029 bytes = rx_ring_entries * sizeof(*ss->rx_big.shadow); in myri10ge_allocate_rings() 2030 ss->rx_big.shadow = kzalloc(bytes, GFP_KERNEL); in myri10ge_allocate_rings() 2031 if (ss->rx_big.shadow == NULL) in myri10ge_allocate_rings() [all …]
|
/drivers/video/ |
D | udlfb.c | 74 static bool shadow = 1; /* Optionally disable shadow framebuffer */ variable 1198 if (shadow) in dlfb_realloc_framebuffer() 1614 pr_info("shadow enable=%d\n", shadow); in dlfb_usb_probe() 1971 module_param(shadow, bool, S_IWUSR | S_IRUSR | S_IWGRP | S_IRGRP); 1972 MODULE_PARM_DESC(shadow, "Shadow vid mem. Disable to save mem but lose perf");
|
/drivers/scsi/aic7xxx/ |
D | aic79xx.seq | 1554 * comes true can clobber the shadow address of the 2007 * so we must simulate it if shadow is valid. If 2008 * shadow is not valid, keep running this FIFO until we 2010 * waiting for either shadow valid or last_seg_done.
|
/drivers/scsi/aic7xxx_old/ |
D | aic7xxx.seq | 341 * drop the data down into the shadow layer via the preload ability. 1022 * magic in terms of resetting the datafifo and reloading the shadow layer
|
D | aic7xxx.reg | 709 * sg elements in the shadow
|