Searched refs:rmw (Results 1 - 33 of 33) sorted by relevance

/linux-4.4.14/drivers/staging/comedi/drivers/
H A Ddt9812.c222 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()
522 rmw[2].address = F020_SFR_DAC0H; dt9812_analog_out()
523 rmw[2].and_mask = 0xff; dt9812_analog_out()
524 rmw[2].or_value = (value >> 8) & 0xf; dt9812_analog_out()
529 rmw[0].address = F020_SFR_DAC1CN; dt9812_analog_out()
530 rmw[0].and_mask = 0xff; dt9812_analog_out()
531 rmw[0].or_value = F020_MASK_DACXCN_DACXEN; dt9812_analog_out()
534 rmw[1].address = F020_SFR_DAC1L; dt9812_analog_out()
535 rmw[1].and_mask = 0xff; dt9812_analog_out()
536 rmw[1].or_value = value & 0xff; dt9812_analog_out()
539 rmw[2].address = F020_SFR_DAC1H; dt9812_analog_out()
540 rmw[2].and_mask = 0xff; dt9812_analog_out()
541 rmw[2].or_value = (value >> 8) & 0xf; dt9812_analog_out()
544 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.4.14/arch/arm/mach-omap2/
H A Dvoltagedomains54xx_data.c41 .rmw = omap4_prm_vcvp_rmw,
52 .rmw = omap4_prm_vcvp_rmw,
63 .rmw = omap4_prm_vcvp_rmw,
H A Dvoltagedomains44xx_data.c55 .rmw = omap4_prm_vcvp_rmw,
66 .rmw = omap4_prm_vcvp_rmw,
77 .rmw = omap4_prm_vcvp_rmw,
H A Dvoltagedomains3xxx_data.c56 .rmw = omap3_prm_vcvp_rmw,
67 .rmw = omap3_prm_vcvp_rmw,
H A Dvc.c105 voltdm->rmw(CFG_CHANNEL_MASK << vc->cfg_channel_sa_shift, omap_vc_config_channel()
713 voltdm->rmw(vc->common->i2c_cfg_clear_mask, omap_vc_i2c_init()
719 voltdm->rmw(vc->common->i2c_mcode_mask, omap_vc_i2c_init()
797 voltdm->rmw(vc->smps_sa_mask, omap_vc_init_channel()
805 voltdm->rmw(vc->smps_volra_mask, omap_vc_init_channel()
811 voltdm->rmw(vc->smps_cmdra_mask, omap_vc_init_channel()
H A Dvoltage.h79 u32 (*rmw)(u32 mask, u32 bits, u8 offset); member in struct:voltagedomain
H A Dvp.c111 voltdm->rmw(voltdm->vp->common->vpconfig_errorgain_mask, omap_vp_update_errorgain()
/linux-4.4.14/lib/raid6/test/
H A Dtest.c131 /* Simulate rmw run */ main()
/linux-4.4.14/fs/btrfs/
H A Dreada.c741 struct reada_machine_work *rmw; reada_start_machine_worker() local
745 rmw = container_of(work, struct reada_machine_work, work); reada_start_machine_worker()
746 fs_info = rmw->fs_info; reada_start_machine_worker()
748 kfree(rmw); reada_start_machine_worker()
792 struct reada_machine_work *rmw; reada_start_machine() local
794 rmw = kzalloc(sizeof(*rmw), GFP_NOFS); reada_start_machine()
795 if (!rmw) { reada_start_machine()
799 btrfs_init_work(&rmw->work, btrfs_readahead_helper, reada_start_machine()
801 rmw->fs_info = fs_info; reada_start_machine()
803 btrfs_queue_work(fs_info->readahead_workers, &rmw->work); reada_start_machine()
H A Draid56.c74 /* while we're doing rmw on a stripe
94 * in hopes of avoiding the full rmw
126 * rmw
531 * covers an entire stripe (no rmw required).
600 * change this stripe needs to do their own rmw. rbio_can_merge()
744 * called as rmw or parity rebuild is completed. If the plug list has more
1112 * trigger parity reconstruction. The rmw will be finished
1208 * change this stripe needs to do their own rmw. finish_rmw()
1447 * end io for the read phase of the rmw cycle. All the bios here are physical
1641 /* head off into rmw land if we don't have a full stripe */ __raid56_parity_write()
1933 /* if we're doing this rebuild as part of an rmw, go through __raid_recover_end_io()
2029 * parity construction required to finish a rmw cycle.
2064 * the rmw code may have already read this __raid56_parity_recover()
2545 * end io for the read phase of the rmw cycle. All the bios here are physical
H A Ddisk-io.c2329 btrfs_alloc_workqueue("rmw", flags, max_active, 2); btrfs_init_workqueues()
/linux-4.4.14/arch/x86/include/asm/
H A Dipi.h66 * of the value read we use an atomic rmw access to avoid costly __default_send_IPI_shortcut()
/linux-4.4.14/drivers/infiniband/hw/qib/
H A Dqib_7220.h55 u64 gpio_out; /* shadow of kr_gpio_out, for rmw ops */
H A Dqib_iba6120.c230 u64 gpio_out; /* shadow of kr_gpio_out, for rmw ops */
H A Dqib_iba7322.c544 u64 gpio_out; /* shadow of kr_gpio_out, for rmw ops */
/linux-4.4.14/drivers/net/wireless/ath/ath9k/
H A Dwmi.h173 /* multi rmw section */
H A Dhtc_drv_init.c632 ah->reg_ops.rmw = ath9k_reg_rmw; ath9k_init_priv()
H A Dhw.h89 (_ah)->reg_ops.rmw((_ah), (_reg), (_set), (_clr))
H A Dinit.c556 ah->reg_ops.rmw = ath9k_reg_rmw; ath9k_init_softc()
/linux-4.4.14/lib/raid6/
H A Dalgos.c194 pr_info("raid6: .... xor() %ld MB/s, rmw enabled\n", raid6_choose_gen()
/linux-4.4.14/drivers/video/fbdev/
H A Dvga16fb.c112 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.4.14/drivers/net/wireless/ath/
H A Dath.h133 u32 (*rmw)(void *, u32 reg_offset, u32 set, u32 clr); member in struct:ath_ops
/linux-4.4.14/include/linux/
H A Dasync_tx.h64 * input data. Required for rmw case.
/linux-4.4.14/arch/m68k/include/asm/
H A Dtraps.h177 # define MMU060_W (0x00800000) /* general write, includes rmw */
/linux-4.4.14/arch/avr32/kernel/
H A Dcpu.c238 "rmw", "dsp", "simd", "ocd", "perfctr", "java", "fpu",
/linux-4.4.14/drivers/ntb/hw/intel/
H A Dntb_hw_intel.h309 /* synchronize rmw access of db_mask and hw reg */
/linux-4.4.14/drivers/regulator/
H A Dtps6524x-regulator.c268 dev_err(hw->dev, "failed to rmw register %d\n", reg); rmw_protect()
/linux-4.4.14/drivers/md/
H A Draid5.c3560 int rmw = 0, rcw = 0, i; handle_stripe_dirtying() local
3576 rcw = 1; rmw = 2; handle_stripe_dirtying()
3588 rmw++; handle_stripe_dirtying()
3590 rmw += 2*disks; /* cannot read it */ handle_stripe_dirtying()
3604 pr_debug("for sector %llu, rmw=%d rcw=%d\n", handle_stripe_dirtying()
3605 (unsigned long long)sh->sector, rmw, rcw); handle_stripe_dirtying()
3607 if ((rmw < rcw || (rmw == rcw && conf->rmw_level == PARITY_ENABLE_RMW)) && rmw > 0) { handle_stripe_dirtying()
3611 "raid5 rmw %llu %d", handle_stripe_dirtying()
3612 (unsigned long long)sh->sector, rmw); handle_stripe_dirtying()
3634 if ((rcw < rmw || (rcw == rmw && conf->rmw_level != PARITY_ENABLE_RMW)) && rcw > 0) { handle_stripe_dirtying()
3667 if (rcw > disks && rmw > disks && handle_stripe_dirtying()
3682 (s->locked == 0 && (rcw == 0 || rmw == 0) && handle_stripe_dirtying()
/linux-4.4.14/arch/powerpc/platforms/powermac/
H A Dlow_i2c.c1293 /* This function is used to do the masking & OR'ing for the "rmw" type
/linux-4.4.14/drivers/staging/rdma/ipath/
H A Dipath_kernel.h562 /* shadow of kr_gpio_out, for rmw ops */
/linux-4.4.14/arch/x86/kernel/apic/
H A Dio_apic.c24 * - SiS APIC rmw bug:
/linux-4.4.14/mm/
H A Dslub.c216 * The rmw is racy on a preemptible kernel but this is acceptable, so stat()
/linux-4.4.14/drivers/gpu/drm/i915/
H A Dintel_pm.c4281 * ourselves, instead of doing a rmw cycle (which might result in us clearing

Completed in 2171 milliseconds