/linux-4.1.27/drivers/staging/comedi/drivers/ |
H A D | dt9812.c | 222 struct dt9812_rmw_byte rmw[DT9812_MAX_NUM_MULTI_BYTE_RMWS]; member in struct:dt9812_rmw_multi 314 struct dt9812_rmw_byte *rmw) dt9812_rmw_multiple_registers() 324 cmd.u.rmw_multi_info.rmw[i] = rmw[i]; dt9812_rmw_multiple_registers() 368 struct dt9812_rmw_byte *rmw, int channel) dt9812_configure_mux() 374 rmw->address = F020_SFR_P1; dt9812_configure_mux() 375 rmw->and_mask = 0xe0; dt9812_configure_mux() 376 rmw->or_value = channel << 5; dt9812_configure_mux() 379 rmw->address = F020_SFR_AMX0SL; dt9812_configure_mux() 380 rmw->and_mask = 0xff; dt9812_configure_mux() 381 rmw->or_value = channel & 0x07; dt9812_configure_mux() 386 struct dt9812_rmw_byte *rmw, dt9812_configure_gain() 395 rmw->address = F020_SFR_ADC0CF; dt9812_configure_gain() 396 rmw->and_mask = F020_MASK_ADC0CF_AMP0GN2 | dt9812_configure_gain() 410 rmw->or_value = F020_MASK_ADC0CF_AMP0GN2 | dt9812_configure_gain() 416 rmw->or_value = 0x00; dt9812_configure_gain() 419 rmw->or_value = F020_MASK_ADC0CF_AMP0GN0; dt9812_configure_gain() 422 rmw->or_value = F020_MASK_ADC0CF_AMP0GN1; dt9812_configure_gain() 425 rmw->or_value = F020_MASK_ADC0CF_AMP0GN1 | dt9812_configure_gain() 429 rmw->or_value = F020_MASK_ADC0CF_AMP0GN2; dt9812_configure_gain() 438 struct dt9812_rmw_byte rmw[3]; dt9812_analog_in() local 450 dt9812_configure_gain(dev, &rmw[0], gain); dt9812_analog_in() 453 dt9812_configure_mux(dev, &rmw[1], channel); dt9812_analog_in() 456 rmw[2].address = F020_SFR_ADC0CN; dt9812_analog_in() 457 rmw[2].and_mask = 0xff; dt9812_analog_in() 458 rmw[2].or_value = F020_MASK_ADC0CN_AD0EN | F020_MASK_ADC0CN_AD0BUSY; dt9812_analog_in() 460 ret = dt9812_rmw_multiple_registers(dev, 3, rmw); dt9812_analog_in() 504 struct dt9812_rmw_byte rmw[3]; dt9812_analog_out() local 512 rmw[0].address = F020_SFR_DAC0CN; dt9812_analog_out() 513 rmw[0].and_mask = 0xff; dt9812_analog_out() 514 rmw[0].or_value = F020_MASK_DACxCN_DACxEN; dt9812_analog_out() 517 rmw[1].address = F020_SFR_DAC0L; dt9812_analog_out() 518 rmw[1].and_mask = 0xff; dt9812_analog_out() 519 rmw[1].or_value = value & 0xff; dt9812_analog_out() 523 rmw[2].address = F020_SFR_DAC0H; dt9812_analog_out() 524 rmw[2].and_mask = 0xff; dt9812_analog_out() 525 rmw[2].or_value = (value >> 8) & 0xf; dt9812_analog_out() 530 rmw[0].address = F020_SFR_DAC1CN; dt9812_analog_out() 531 rmw[0].and_mask = 0xff; dt9812_analog_out() 532 rmw[0].or_value = F020_MASK_DACxCN_DACxEN; dt9812_analog_out() 535 rmw[1].address = F020_SFR_DAC1L; dt9812_analog_out() 536 rmw[1].and_mask = 0xff; dt9812_analog_out() 537 rmw[1].or_value = value & 0xff; dt9812_analog_out() 541 rmw[2].address = F020_SFR_DAC1H; dt9812_analog_out() 542 rmw[2].and_mask = 0xff; dt9812_analog_out() 543 rmw[2].or_value = (value >> 8) & 0xf; dt9812_analog_out() 546 ret = dt9812_rmw_multiple_registers(dev, 3, rmw); dt9812_analog_out() 312 dt9812_rmw_multiple_registers(struct comedi_device *dev, int reg_count, struct dt9812_rmw_byte *rmw) dt9812_rmw_multiple_registers() argument 367 dt9812_configure_mux(struct comedi_device *dev, struct dt9812_rmw_byte *rmw, int channel) dt9812_configure_mux() argument 385 dt9812_configure_gain(struct comedi_device *dev, struct dt9812_rmw_byte *rmw, enum dt9812_gain gain) dt9812_configure_gain() argument
|
/linux-4.1.27/arch/arm/mach-omap2/ |
H A D | voltagedomains54xx_data.c | 41 .rmw = omap4_prm_vcvp_rmw, 52 .rmw = omap4_prm_vcvp_rmw, 63 .rmw = omap4_prm_vcvp_rmw,
|
H A D | voltagedomains44xx_data.c | 55 .rmw = omap4_prm_vcvp_rmw, 66 .rmw = omap4_prm_vcvp_rmw, 77 .rmw = omap4_prm_vcvp_rmw,
|
H A D | voltagedomains3xxx_data.c | 56 .rmw = omap3_prm_vcvp_rmw, 67 .rmw = omap3_prm_vcvp_rmw,
|
H A D | vc.c | 105 voltdm->rmw(CFG_CHANNEL_MASK << vc->cfg_channel_sa_shift, omap_vc_config_channel() 717 voltdm->rmw(vc->common->i2c_cfg_clear_mask, omap_vc_i2c_init() 723 voltdm->rmw(vc->common->i2c_mcode_mask, omap_vc_i2c_init() 801 voltdm->rmw(vc->smps_sa_mask, omap_vc_init_channel() 809 voltdm->rmw(vc->smps_volra_mask, omap_vc_init_channel() 815 voltdm->rmw(vc->smps_cmdra_mask, omap_vc_init_channel()
|
H A D | voltage.h | 79 u32 (*rmw)(u32 mask, u32 bits, u8 offset); member in struct:voltagedomain
|
H A D | vp.c | 111 voltdm->rmw(voltdm->vp->common->vpconfig_errorgain_mask, omap_vp_update_errorgain()
|
/linux-4.1.27/lib/raid6/test/ |
H A D | test.c | 131 /* Simulate rmw run */ main()
|
/linux-4.1.27/fs/btrfs/ |
H A D | reada.c | 739 struct reada_machine_work *rmw; reada_start_machine_worker() local 743 rmw = container_of(work, struct reada_machine_work, work); reada_start_machine_worker() 744 fs_info = rmw->fs_info; reada_start_machine_worker() 746 kfree(rmw); reada_start_machine_worker() 790 struct reada_machine_work *rmw; reada_start_machine() local 792 rmw = kzalloc(sizeof(*rmw), GFP_NOFS); reada_start_machine() 793 if (!rmw) { reada_start_machine() 797 btrfs_init_work(&rmw->work, btrfs_readahead_helper, reada_start_machine() 799 rmw->fs_info = fs_info; reada_start_machine() 801 btrfs_queue_work(fs_info->readahead_workers, &rmw->work); reada_start_machine()
|
H A D | raid56.c | 73 /* while we're doing rmw on a stripe 93 * in hopes of avoiding the full rmw 125 * rmw 530 * covers an entire stripe (no rmw required). 599 * change this stripe needs to do their own rmw. rbio_can_merge() 739 * called as rmw or parity rebuild is completed. If the plug list has more 1101 * trigger parity reconstruction. The rmw will be finished 1197 * change this stripe needs to do their own rmw. finish_rmw() 1437 * end io for the read phase of the rmw cycle. All the bios here are physical 1633 /* head off into rmw land if we don't have a full stripe */ __raid56_parity_write() 1923 /* if we're doing this rebuild as part of an rmw, go through __raid_recover_end_io() 2016 * parity construction required to finish a rmw cycle. 2051 * the rmw code may have already read this __raid56_parity_recover() 2531 * end io for the read phase of the rmw cycle. All the bios here are physical
|
H A D | disk-io.c | 2283 btrfs_alloc_workqueue("rmw", flags, max_active, 2); btrfs_init_workqueues()
|
/linux-4.1.27/drivers/staging/i2o/ |
H A D | i2o_block.h | 28 * FC920 has an rmw bug. Dont or in the end marker.
|
H A D | i2o_block.c | 28 * FC920 has an rmw bug. Dont or in the end marker.
|
/linux-4.1.27/arch/x86/include/asm/ |
H A D | ipi.h | 66 * of the value read we use an atomic rmw access to avoid costly __default_send_IPI_shortcut()
|
/linux-4.1.27/drivers/net/wireless/ath/ath9k/ |
H A D | wmi.h | 173 /* multi rmw section */
|
H A D | htc_drv_init.c | 628 ah->reg_ops.rmw = ath9k_reg_rmw; ath9k_init_priv()
|
H A D | hw.h | 89 (_ah)->reg_ops.rmw((_ah), (_reg), (_set), (_clr))
|
H A D | init.c | 556 ah->reg_ops.rmw = ath9k_reg_rmw; ath9k_init_softc()
|
/linux-4.1.27/drivers/infiniband/hw/qib/ |
H A D | qib_7220.h | 55 u64 gpio_out; /* shadow of kr_gpio_out, for rmw ops */
|
H A D | qib_iba6120.c | 230 u64 gpio_out; /* shadow of kr_gpio_out, for rmw ops */
|
H A D | qib_iba7322.c | 544 u64 gpio_out; /* shadow of kr_gpio_out, for rmw ops */
|
/linux-4.1.27/lib/raid6/ |
H A D | algos.c | 194 pr_info("raid6: .... xor() %ld MB/s, rmw enabled\n", raid6_choose_gen()
|
/linux-4.1.27/drivers/video/fbdev/ |
H A D | vga16fb.c | 112 static inline void rmw(volatile char __iomem *p) rmw() function 868 rmw(where); vga_8planes_fillrect() 869 rmw(where+1); vga_8planes_fillrect() 939 rmw(dst); vga16fb_fillrect() 1192 rmw(dst); vga_imageblit_expand() 1197 rmw(dst++); vga_imageblit_expand()
|
/linux-4.1.27/drivers/net/wireless/ath/ |
H A D | ath.h | 133 u32 (*rmw)(void *, u32 reg_offset, u32 set, u32 clr); member in struct:ath_ops
|
/linux-4.1.27/arch/avr32/kernel/ |
H A D | cpu.c | 238 "rmw", "dsp", "simd", "ocd", "perfctr", "java", "fpu",
|
/linux-4.1.27/arch/m68k/include/asm/ |
H A D | traps.h | 177 # define MMU060_W (0x00800000) /* general write, includes rmw */
|
/linux-4.1.27/include/linux/ |
H A D | async_tx.h | 64 * input data. Required for rmw case.
|
/linux-4.1.27/drivers/regulator/ |
H A D | tps6524x-regulator.c | 268 dev_err(hw->dev, "failed to rmw register %d\n", reg); rmw_protect()
|
/linux-4.1.27/drivers/md/ |
H A D | raid5.c | 3554 int rmw = 0, rcw = 0, i; handle_stripe_dirtying() local 3570 rcw = 1; rmw = 2; handle_stripe_dirtying() 3582 rmw++; handle_stripe_dirtying() 3584 rmw += 2*disks; /* cannot read it */ handle_stripe_dirtying() 3598 pr_debug("for sector %llu, rmw=%d rcw=%d\n", handle_stripe_dirtying() 3599 (unsigned long long)sh->sector, rmw, rcw); handle_stripe_dirtying() 3601 if ((rmw < rcw || (rmw == rcw && conf->rmw_level == PARITY_ENABLE_RMW)) && rmw > 0) { handle_stripe_dirtying() 3605 "raid5 rmw %llu %d", handle_stripe_dirtying() 3606 (unsigned long long)sh->sector, rmw); handle_stripe_dirtying() 3628 if ((rcw < rmw || (rcw == rmw && conf->rmw_level != PARITY_ENABLE_RMW)) && rcw > 0) { handle_stripe_dirtying() 3661 if (rcw > disks && rmw > disks && handle_stripe_dirtying() 3676 (s->locked == 0 && (rcw == 0 || rmw == 0) && handle_stripe_dirtying()
|
/linux-4.1.27/arch/powerpc/platforms/powermac/ |
H A D | low_i2c.c | 1293 /* This function is used to do the masking & OR'ing for the "rmw" type
|
/linux-4.1.27/drivers/infiniband/hw/ipath/ |
H A D | ipath_kernel.h | 563 /* shadow of kr_gpio_out, for rmw ops */
|
/linux-4.1.27/arch/x86/kernel/apic/ |
H A D | io_apic.c | 71 * Is the SiS APIC rmw bug present ?
|
/linux-4.1.27/mm/ |
H A D | slub.c | 216 * The rmw is racy on a preemptible kernel but this is acceptable, so stat()
|
/linux-4.1.27/drivers/gpu/drm/i915/ |
H A D | intel_pm.c | 3822 * ourselves, instead of doing a rmw cycle (which might result in us clearing
|