/drivers/pci/pcie/aer/ |
D | aerdrv.h | 87 static inline pci_ers_result_t merge_result(enum pci_ers_result orig, in merge_result() argument 94 return orig; in merge_result() 96 switch (orig) { in merge_result() 99 orig = new; in merge_result() 103 orig = PCI_ERS_RESULT_NEED_RESET; in merge_result() 109 return orig; in merge_result()
|
/drivers/scsi/sym53c8xx_2/ |
D | sym_misc.h | 104 static inline void sym_que_move(struct sym_quehead *orig, in sym_que_move() argument 109 first = orig->flink; in sym_que_move() 110 if (first != orig) { in sym_que_move() 113 last = orig->blink; in sym_que_move() 116 orig->flink = orig; in sym_que_move() 117 orig->blink = orig; in sym_que_move()
|
/drivers/md/persistent-data/ |
D | dm-transaction-manager.c | 201 static int __shadow_block(struct dm_transaction_manager *tm, dm_block_t orig, in __shadow_block() argument 213 r = dm_sm_dec_block(tm->sm, orig); in __shadow_block() 217 r = dm_bm_read_lock(tm->bm, orig, v, &orig_block); in __shadow_block() 241 int dm_tm_shadow_block(struct dm_transaction_manager *tm, dm_block_t orig, in dm_tm_shadow_block() argument 250 r = dm_sm_count_is_more_than_one(tm->sm, orig, inc_children); in dm_tm_shadow_block() 254 if (is_shadow(tm, orig) && !*inc_children) in dm_tm_shadow_block() 255 return dm_bm_write_lock(tm->bm, orig, v, result); in dm_tm_shadow_block() 257 r = __shadow_block(tm, orig, v, result); in dm_tm_shadow_block()
|
D | dm-btree-spine.c | 101 static int bn_shadow(struct dm_btree_info *info, dm_block_t orig, in bn_shadow() argument 107 r = dm_tm_shadow_block(info->tm, orig, &btree_node_validator, in bn_shadow()
|
D | dm-transaction-manager.h | 86 int dm_tm_shadow_block(struct dm_transaction_manager *tm, dm_block_t orig,
|
/drivers/gpio/ |
D | gpio-amd8111.c | 75 u8 orig[32]; member 84 agp->orig[offset] = ioread8(agp->pm + AMD_REG_GPIO(offset)) & in amd_gpio_request() 87 dev_dbg(&agp->pdev->dev, "Requested gpio %d, data %x\n", offset, agp->orig[offset]); in amd_gpio_request() 96 dev_dbg(&agp->pdev->dev, "Freed gpio %d, data %x\n", offset, agp->orig[offset]); in amd_gpio_free() 98 iowrite8(agp->orig[offset], agp->pm + AMD_REG_GPIO(offset)); in amd_gpio_free()
|
/drivers/usb/host/ |
D | ohci-s3c2410.c | 93 int orig; in ohci_s3c2410_hub_status_data() local 96 orig = ohci_hub_status_data(hcd, buf); in ohci_s3c2410_hub_status_data() 99 return orig; in ohci_s3c2410_hub_status_data() 111 if (orig < 1) in ohci_s3c2410_hub_status_data() 112 orig = 1; in ohci_s3c2410_hub_status_data() 118 return orig; in ohci_s3c2410_hub_status_data()
|
/drivers/net/ethernet/nvidia/ |
D | forcedeth.c | 369 struct ring_desc *orig; member 1028 if (np->rx_ring.orig) in free_rings() 1030 np->rx_ring.orig, np->ring_addr); in free_rings() 1812 less_rx = np->get_rx.orig; in nv_alloc_rx() 1813 if (less_rx-- == np->first_rx.orig) in nv_alloc_rx() 1814 less_rx = np->last_rx.orig; in nv_alloc_rx() 1816 while (np->put_rx.orig != less_rx) { in nv_alloc_rx() 1830 np->put_rx.orig->buf = cpu_to_le32(np->put_rx_ctx->dma); in nv_alloc_rx() 1832 np->put_rx.orig->flaglen = cpu_to_le32(np->rx_buf_sz | NV_RX_AVAIL); in nv_alloc_rx() 1833 if (unlikely(np->put_rx.orig++ == np->last_rx.orig)) in nv_alloc_rx() [all …]
|
/drivers/char/ |
D | random.c | 589 int entropy_count, orig; in credit_entropy_bits() local 596 entropy_count = orig = ACCESS_ONCE(r->entropy_count); in credit_entropy_bits() 604 if (cmpxchg(&r->entropy_count, orig, entropy_count) != orig) in credit_entropy_bits() 868 int entropy_count, orig; in account() local 870 entropy_count = orig = ACCESS_ONCE(r->entropy_count); in account() 877 if (cmpxchg(&r->entropy_count, orig, entropy_count) != orig) in account() 881 if (cmpxchg(&r->entropy_count, orig, entropy_count) != orig) in account()
|
D | nwflash.c | 271 static loff_t flash_llseek(struct file *file, loff_t offset, int orig) in flash_llseek() argument 278 (unsigned int) offset, orig); in flash_llseek() 280 switch (orig) { in flash_llseek()
|
/drivers/gpu/drm/gma500/ |
D | cdv_intel_crt.c | 148 u32 orig; in cdv_intel_crt_detect_hotplug() local 156 orig = hotplug_en = REG_READ(PORT_HOTPLUG_EN); in cdv_intel_crt_detect_hotplug() 185 REG_WRITE(PORT_HOTPLUG_EN, orig); in cdv_intel_crt_detect_hotplug()
|
D | mdfld_dsi_output.h | 47 #define FLD_MOD(orig, val, start, end) \ argument 48 (((orig) & ~FLD_MASK(start, end)) | FLD_VAL(val, start, end))
|
/drivers/md/ |
D | dm.c | 72 struct request *orig, clone; member 86 struct bio *orig; member 657 struct bio *bio = info->orig; in end_clone_bio() 658 unsigned int nr_bytes = info->orig->bi_size; in end_clone_bio() 689 if (tio->orig->bio != bio) in end_clone_bio() 697 blk_update_request(tio->orig, 0, nr_bytes); in end_clone_bio() 745 struct request *rq = tio->orig; in dm_end_request() 783 struct request *rq = tio->orig; in dm_requeue_unmapped_request() 876 struct request *rq = tio->orig; in dm_complete_request() 892 struct request *rq = tio->orig; in dm_kill_unmapped_request() [all …]
|
/drivers/net/phy/ |
D | broadcom.c | 326 u32 orig; in bcm54xx_adjust_rxrefclk() local 340 orig = val; in bcm54xx_adjust_rxrefclk() 366 if (orig != val) in bcm54xx_adjust_rxrefclk() 373 orig = val; in bcm54xx_adjust_rxrefclk() 380 if (orig != val) in bcm54xx_adjust_rxrefclk()
|
/drivers/gpu/drm/mgag200/ |
D | mgag200_main.c | 82 int orig; in mga_probe_vram() local 87 orig = ioread16(mem); in mga_probe_vram() 112 iowrite16(orig, mem); in mga_probe_vram()
|
/drivers/media/dvb-frontends/ |
D | lgs8gxx.c | 913 u8 orig, t; in packet_counter_start() local 916 lgs8gxx_read_reg(priv, 0x30, &orig); in packet_counter_start() 917 orig &= 0xE7; in packet_counter_start() 918 t = orig | 0x10; in packet_counter_start() 920 t = orig | 0x18; in packet_counter_start() 922 t = orig | 0x10; in packet_counter_start()
|
/drivers/target/ |
D | target_core_rd.c | 394 char *orig, *ptr, *opts; in rd_set_configfs_dev_params() local 402 orig = opts; in rd_set_configfs_dev_params() 430 kfree(orig); in rd_set_configfs_dev_params()
|
D | target_core_iblock.c | 500 char *orig, *ptr, *arg_p, *opts; in iblock_set_configfs_dev_params() local 509 orig = opts; in iblock_set_configfs_dev_params() 557 kfree(orig); in iblock_set_configfs_dev_params()
|
D | target_core_file.c | 606 char *orig, *ptr, *arg_p, *opts; in fd_set_configfs_dev_params() local 614 orig = opts; in fd_set_configfs_dev_params() 668 kfree(orig); in fd_set_configfs_dev_params()
|
/drivers/usb/host/whci/ |
D | qset.c | 570 void *orig; in qset_add_urb_sg_linearize() local 577 orig = sg_virt(sg); in qset_add_urb_sg_linearize() 588 std->bounce_offset = orig - sg_virt(sg); in qset_add_urb_sg_linearize() 596 memcpy(bounce, orig, len); in qset_add_urb_sg_linearize() 602 orig += len; in qset_add_urb_sg_linearize()
|
/drivers/md/bcache/ |
D | debug.c | 431 struct btree *all[3], *b, *fill, *orig; 459 orig = all[2]; 509 memcpy(orig->sets[0].data,
|
/drivers/gpu/drm/i915/ |
D | intel_crt.c | 346 u32 hotplug_en, orig, stat; in intel_crt_detect_hotplug() local 365 hotplug_en = orig = I915_READ(PORT_HOTPLUG_EN); in intel_crt_detect_hotplug() 386 I915_WRITE(PORT_HOTPLUG_EN, orig); in intel_crt_detect_hotplug()
|
/drivers/spi/ |
D | spi-pxa2xx.c | 109 u32 value, orig; in lpss_ssp_setup() local 118 orig = readl(drv_data->ioaddr + offset + SPI_CS_CONTROL); in lpss_ssp_setup() 120 value = orig | SPI_CS_CONTROL_SW_MODE; in lpss_ssp_setup() 123 if (value != (orig | SPI_CS_CONTROL_SW_MODE)) { in lpss_ssp_setup() 131 if (value != orig) { in lpss_ssp_setup()
|
/drivers/video/omap2/dss/ |
D | dss.h | 73 #define FLD_MOD(orig, val, start, end) \ argument 74 (((orig) & ~FLD_MASK(start, end)) | FLD_VAL(val, start, end))
|
/drivers/sbus/char/ |
D | jsflash.c | 226 static loff_t jsf_lseek(struct file * file, loff_t offset, int orig) in jsf_lseek() argument 231 switch (orig) { in jsf_lseek()
|