Home
last modified time | relevance | path

Searched refs:orig (Results 1 – 25 of 45) sorted by relevance

12

/drivers/pci/pcie/aer/
Daerdrv.h87 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/
Dsym_misc.h104 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/
Ddm-transaction-manager.c201 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()
Ddm-btree-spine.c101 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()
Ddm-transaction-manager.h86 int dm_tm_shadow_block(struct dm_transaction_manager *tm, dm_block_t orig,
/drivers/gpio/
Dgpio-amd8111.c75 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/
Dohci-s3c2410.c93 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/
Dforcedeth.c369 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/
Drandom.c589 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()
Dnwflash.c271 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/
Dcdv_intel_crt.c148 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()
Dmdfld_dsi_output.h47 #define FLD_MOD(orig, val, start, end) \ argument
48 (((orig) & ~FLD_MASK(start, end)) | FLD_VAL(val, start, end))
/drivers/md/
Ddm.c72 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/
Dbroadcom.c326 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/
Dmgag200_main.c82 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/
Dlgs8gxx.c913 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/
Dtarget_core_rd.c394 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()
Dtarget_core_iblock.c500 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()
Dtarget_core_file.c606 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/
Dqset.c570 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/
Ddebug.c431 struct btree *all[3], *b, *fill, *orig;
459 orig = all[2];
509 memcpy(orig->sets[0].data,
/drivers/gpu/drm/i915/
Dintel_crt.c346 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/
Dspi-pxa2xx.c109 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/
Ddss.h73 #define FLD_MOD(orig, val, start, end) \ argument
74 (((orig) & ~FLD_MASK(start, end)) | FLD_VAL(val, start, end))
/drivers/sbus/char/
Djsflash.c226 static loff_t jsf_lseek(struct file * file, loff_t offset, int orig) in jsf_lseek() argument
231 switch (orig) { in jsf_lseek()

12