/linux-4.4.14/drivers/gpu/drm/radeon/ |
H A D | radeon_kfd.c | 334 static void write_register(struct kgd_dev *kgd, uint32_t offset, uint32_t value) write_register() function 355 write_register(kgd, SRBM_GFX_CNTL, value); lock_srbm() 362 write_register(kgd, SRBM_GFX_CNTL, 0); unlock_srbm() 388 write_register(kgd, SH_MEM_CONFIG, sh_mem_config); kgd_program_sh_mem_settings() 389 write_register(kgd, SH_MEM_APE1_BASE, sh_mem_ape1_base); kgd_program_sh_mem_settings() 390 write_register(kgd, SH_MEM_APE1_LIMIT, sh_mem_ape1_limit); kgd_program_sh_mem_settings() 391 write_register(kgd, SH_MEM_BASES, sh_mem_bases); kgd_program_sh_mem_settings() 409 write_register(kgd, ATC_VMID0_PASID_MAPPING + vmid*sizeof(uint32_t), kgd_set_pasid_vmid_mapping() 415 write_register(kgd, ATC_VMID_PASID_MAPPING_UPDATE_STATUS, 1U << vmid); kgd_set_pasid_vmid_mapping() 418 write_register(kgd, IH_VMID_0_LUT + vmid * sizeof(uint32_t), kgd_set_pasid_vmid_mapping() 431 write_register(kgd, CP_HPD_EOP_BASE_ADDR, kgd_init_pipeline() 433 write_register(kgd, CP_HPD_EOP_BASE_ADDR_HI, kgd_init_pipeline() 435 write_register(kgd, CP_HPD_EOP_VMID, 0); kgd_init_pipeline() 436 write_register(kgd, CP_HPD_EOP_CONTROL, hpd_size); kgd_init_pipeline() 452 write_register(kgd, CPC_INT_CNTL, kgd_init_interrupts() 493 write_register(kgd, CP_MQD_BASE_ADDR, m->cp_mqd_base_addr_lo); kgd_hqd_load() 494 write_register(kgd, CP_MQD_BASE_ADDR_HI, m->cp_mqd_base_addr_hi); kgd_hqd_load() 495 write_register(kgd, CP_MQD_CONTROL, m->cp_mqd_control); kgd_hqd_load() 497 write_register(kgd, CP_HQD_PQ_BASE, m->cp_hqd_pq_base_lo); kgd_hqd_load() 498 write_register(kgd, CP_HQD_PQ_BASE_HI, m->cp_hqd_pq_base_hi); kgd_hqd_load() 499 write_register(kgd, CP_HQD_PQ_CONTROL, m->cp_hqd_pq_control); kgd_hqd_load() 501 write_register(kgd, CP_HQD_IB_CONTROL, m->cp_hqd_ib_control); kgd_hqd_load() 502 write_register(kgd, CP_HQD_IB_BASE_ADDR, m->cp_hqd_ib_base_addr_lo); kgd_hqd_load() 503 write_register(kgd, CP_HQD_IB_BASE_ADDR_HI, m->cp_hqd_ib_base_addr_hi); kgd_hqd_load() 505 write_register(kgd, CP_HQD_IB_RPTR, m->cp_hqd_ib_rptr); kgd_hqd_load() 507 write_register(kgd, CP_HQD_PERSISTENT_STATE, kgd_hqd_load() 509 write_register(kgd, CP_HQD_SEMA_CMD, m->cp_hqd_sema_cmd); kgd_hqd_load() 510 write_register(kgd, CP_HQD_MSG_TYPE, m->cp_hqd_msg_type); kgd_hqd_load() 512 write_register(kgd, CP_HQD_ATOMIC0_PREOP_LO, kgd_hqd_load() 515 write_register(kgd, CP_HQD_ATOMIC0_PREOP_HI, kgd_hqd_load() 518 write_register(kgd, CP_HQD_ATOMIC1_PREOP_LO, kgd_hqd_load() 521 write_register(kgd, CP_HQD_ATOMIC1_PREOP_HI, kgd_hqd_load() 524 write_register(kgd, CP_HQD_PQ_RPTR_REPORT_ADDR, kgd_hqd_load() 527 write_register(kgd, CP_HQD_PQ_RPTR_REPORT_ADDR_HI, kgd_hqd_load() 530 write_register(kgd, CP_HQD_PQ_RPTR, m->cp_hqd_pq_rptr); kgd_hqd_load() 532 write_register(kgd, CP_HQD_PQ_WPTR_POLL_ADDR, kgd_hqd_load() 535 write_register(kgd, CP_HQD_PQ_WPTR_POLL_ADDR_HI, kgd_hqd_load() 538 write_register(kgd, CP_HQD_PQ_DOORBELL_CONTROL, kgd_hqd_load() 541 write_register(kgd, CP_HQD_VMID, m->cp_hqd_vmid); kgd_hqd_load() 543 write_register(kgd, CP_HQD_QUANTUM, m->cp_hqd_quantum); kgd_hqd_load() 545 write_register(kgd, CP_HQD_PIPE_PRIORITY, m->cp_hqd_pipe_priority); kgd_hqd_load() 546 write_register(kgd, CP_HQD_QUEUE_PRIORITY, m->cp_hqd_queue_priority); kgd_hqd_load() 548 write_register(kgd, CP_HQD_IQ_RPTR, m->cp_hqd_iq_rptr); kgd_hqd_load() 551 write_register(kgd, CP_HQD_PQ_WPTR, wptr_shadow); kgd_hqd_load() 553 write_register(kgd, CP_HQD_ACTIVE, m->cp_hqd_active); kgd_hqd_load() 567 write_register(kgd, kgd_hqd_sdma_load() 571 write_register(kgd, kgd_hqd_sdma_load() 575 write_register(kgd, kgd_hqd_sdma_load() 579 write_register(kgd, kgd_hqd_sdma_load() 583 write_register(kgd, kgd_hqd_sdma_load() 587 write_register(kgd, kgd_hqd_sdma_load() 591 write_register(kgd, kgd_hqd_sdma_load() 644 write_register(kgd, CP_HQD_PQ_DOORBELL_CONTROL, 0); kgd_hqd_destroy() 646 write_register(kgd, CP_HQD_DEQUEUE_REQUEST, reset_type); kgd_hqd_destroy() 678 write_register(kgd, sdma_base_addr + SDMA0_RLC0_RB_CNTL, temp); kgd_hqd_sdma_destroy() 691 write_register(kgd, sdma_base_addr + SDMA0_RLC0_DOORBELL, 0); kgd_hqd_sdma_destroy() 692 write_register(kgd, sdma_base_addr + SDMA0_RLC0_RB_RPTR, 0); kgd_hqd_sdma_destroy() 693 write_register(kgd, sdma_base_addr + SDMA0_RLC0_RB_WPTR, 0); kgd_hqd_sdma_destroy() 694 write_register(kgd, sdma_base_addr + SDMA0_RLC0_RB_BASE, 0); kgd_hqd_sdma_destroy() 712 write_register(kgd, kgd_address_watch_disable() 732 write_register(kgd, kgd_address_watch_execute() 737 write_register(kgd, kgd_address_watch_execute() 742 write_register(kgd, kgd_address_watch_execute() 750 write_register(kgd, kgd_address_watch_execute() 767 write_register(kgd, GRBM_GFX_INDEX, gfx_index_val); kgd_wave_control_execute() 768 write_register(kgd, SQ_CMD, sq_cmd); kgd_wave_control_execute() 775 write_register(kgd, GRBM_GFX_INDEX, data); kgd_wave_control_execute()
|
/linux-4.4.14/drivers/media/usb/gspca/ |
H A D | kinect.c | 210 static int write_register(struct gspca_dev *gspca_dev, uint16_t reg, write_register() function 326 write_register(gspca_dev, 0x105, 0x00); sd_start_video() 329 write_register(gspca_dev, 0x05, 0x00); sd_start_video() 339 write_register(gspca_dev, 0x13, 0x01); sd_start_video() 340 write_register(gspca_dev, 0x14, 0x1e); sd_start_video() 341 write_register(gspca_dev, 0x06, 0x02); sd_start_video() 342 write_register(gspca_dev, 0x06, 0x00); sd_start_video() 345 write_register(gspca_dev, fmt_reg, fmt_val); sd_start_video() 346 write_register(gspca_dev, res_reg, res_val); sd_start_video() 347 write_register(gspca_dev, fps_reg, fps_val); sd_start_video() 350 write_register(gspca_dev, 0x05, mode_val); sd_start_video() 353 write_register(gspca_dev, 0x47, 0x00); sd_start_video() 361 write_register(gspca_dev, 0x105, 0x00); sd_start_depth() 364 write_register(gspca_dev, 0x06, 0x00); sd_start_depth() 366 write_register(gspca_dev, 0x12, 0x02); sd_start_depth() 368 write_register(gspca_dev, 0x13, 0x01); sd_start_depth() 370 write_register(gspca_dev, 0x14, 0x1e); sd_start_depth() 372 write_register(gspca_dev, 0x06, 0x02); sd_start_depth() 374 write_register(gspca_dev, 0x17, 0x00); sd_start_depth() 382 write_register(gspca_dev, 0x05, 0x00); sd_stopN_video() 388 write_register(gspca_dev, 0x06, 0x00); sd_stopN_depth()
|
/linux-4.4.14/drivers/staging/comedi/drivers/ |
H A D | ni_tio.h | 118 void (*write_register)(struct ni_gpct *counter, unsigned bits, member in struct:ni_gpct_device 131 void (*write_register)(struct ni_gpct *,
|
H A D | ni_tio.c | 186 write_register(counter, GI_RESET(cidx), NITIO_RESET_REG(cidx)); ni_tio_reset_count_and_disarm() 677 write_register(counter, counter_dev->regs[second_gate_reg], ni_tio_set_source_subselect() 866 write_register(counter, counter_dev->regs[gate2_reg], gate2_reg); ni_660x_set_gate2() 890 write_register(counter, counter_dev->regs[gate2_reg], gate2_reg); ni_m_set_gate2() 935 write_register(counter, counter_dev->regs[gate2_reg], ni_tio_set_gate_src() 990 write_register(counter, counter_dev->regs[abz_reg], abz_reg); ni_tio_set_other_src() 1309 write_register(counter, data[0], load_reg); ni_tio_insn_write() 1313 write_register(counter, counter_dev->regs[load_reg], load_reg); ni_tio_insn_write() 1317 write_register(counter, data[0], NITIO_LOADA_REG(cidx)); ni_tio_insn_write() 1321 write_register(counter, data[0], NITIO_LOADB_REG(cidx)); ni_tio_insn_write() 1339 write_register(counter, 0x0, NITIO_AUTO_INC_REG(cidx)); ni_tio_init_counter() 1347 write_register(counter, 0x0, NITIO_LOADA_REG(cidx)); ni_tio_init_counter() 1350 write_register(counter, 0x0, NITIO_LOADB_REG(cidx)); ni_tio_init_counter() 1359 write_register(counter, 0x0, NITIO_GATE2_REG(cidx)); ni_tio_init_counter() 1370 void (*write_register)(struct ni_gpct *counter, ni_gpct_device_construct() 1390 counter_dev->write_register = write_register; ni_gpct_device_construct()
|
H A D | ni_tio_internal.h | 159 static inline void write_register(struct ni_gpct *counter, unsigned bits, write_register() function 163 counter->counter_dev->write_register(counter, bits, reg); write_register() 203 write_register(counter, ni_tio_set_bits_transient()
|
H A D | ni_tiocmd.c | 383 write_register(counter, ack, NITIO_INT_ACK_REG(cidx)); ni_tio_acknowledge_and_confirm()
|
/linux-4.4.14/drivers/staging/fbtft/ |
H A D | fbtft-core.c | 600 if (src->write_register) fbtft_merge_fbtftops() 601 dst->write_register = src->write_register; fbtft_merge_fbtftops() 861 par->fbtftops.write_register = fbtft_write_reg8_bus8; fbtft_framebuffer_alloc() 1067 "init: write_register:\n"); fbtft_init_display_dt() 1072 par->fbtftops.write_register(par, i, fbtft_init_display_dt() 1185 par->fbtftops.write_register(par, j, fbtft_init_display() 1372 par->fbtftops.write_register = fbtft_write_reg8_bus8; fbtft_probe_common() 1375 par->fbtftops.write_register = fbtft_write_reg8_bus9; fbtft_probe_common() 1377 par->fbtftops.write_register = fbtft_write_reg16_bus8; fbtft_probe_common() 1379 par->fbtftops.write_register = fbtft_write_reg16_bus16; fbtft_probe_common()
|
H A D | fb_ssd1331.c | 179 .write_register = write_reg8_bus8,
|
H A D | flexfb.c | 428 par->fbtftops.write_register = fbtft_write_reg8_bus8; flexfb_probe_common() 431 par->fbtftops.write_register = fbtft_write_reg16_bus8; flexfb_probe_common() 454 par->fbtftops.write_register = fbtft_write_reg8_bus9; flexfb_probe_common() 485 par->fbtftops.write_register = fbtft_write_reg16_bus16; flexfb_probe_common()
|
H A D | fbtft.h | 83 void (*write_register)(struct fbtft_par *par, int len, ...); member in struct:fbtft_ops 257 par->fbtftops.write_register(par, NUMARGS(__VA_ARGS__), __VA_ARGS__)
|
H A D | fb_ra8875.c | 303 .write_register = write_reg8_bus8,
|
H A D | fb_watterott.c | 286 .write_register = write_reg8_bus8,
|
H A D | fb_agm1264k-fl.c | 445 .write_register = write_reg8_bus8,
|
/linux-4.4.14/drivers/net/wireless/ipw2x00/ |
H A D | ipw2100.c | 353 static inline void write_register(struct net_device *dev, u32 reg, u32 val) write_register() function 396 write_register(dev, IPW_REG_INDIRECT_ACCESS_ADDRESS, read_nic_dword() 403 write_register(dev, IPW_REG_INDIRECT_ACCESS_ADDRESS, write_nic_dword() 405 write_register(dev, IPW_REG_INDIRECT_ACCESS_DATA, val); write_nic_dword() 410 write_register(dev, IPW_REG_INDIRECT_ACCESS_ADDRESS, read_nic_word() 417 write_register(dev, IPW_REG_INDIRECT_ACCESS_ADDRESS, write_nic_word() 424 write_register(dev, IPW_REG_INDIRECT_ACCESS_ADDRESS, read_nic_byte() 431 write_register(dev, IPW_REG_INDIRECT_ACCESS_ADDRESS, write_nic_byte() 438 write_register(dev, IPW_REG_AUTOINCREMENT_ADDRESS, write_nic_auto_inc_address() 444 write_register(dev, IPW_REG_AUTOINCREMENT_DATA, val); write_nic_dword_auto_inc() 460 write_register(dev, IPW_REG_INDIRECT_ACCESS_ADDRESS, write_nic_memory() 472 write_register(dev, IPW_REG_AUTOINCREMENT_ADDRESS, aligned_addr); write_nic_memory() 475 write_register(dev, IPW_REG_AUTOINCREMENT_DATA, *(u32 *) buf); write_nic_memory() 479 write_register(dev, IPW_REG_INDIRECT_ACCESS_ADDRESS, aligned_addr); write_nic_memory() 498 write_register(dev, IPW_REG_INDIRECT_ACCESS_ADDRESS, read_nic_memory() 510 write_register(dev, IPW_REG_AUTOINCREMENT_ADDRESS, aligned_addr); read_nic_memory() 517 write_register(dev, IPW_REG_INDIRECT_ACCESS_ADDRESS, aligned_addr); read_nic_memory() 866 write_register(priv->net_dev, IPW_REG_DOMAIN_1_OFFSET + 0x32, ipw2100_verify() 868 write_register(priv->net_dev, IPW_REG_DOMAIN_1_OFFSET + 0x36, ipw2100_verify() 940 write_register(priv->net_dev, IPW_REG_RESET_REG, sw_reset_and_clock() 958 write_register(priv->net_dev, IPW_REG_GP_CNTRL, sw_reset_and_clock() 976 write_register(priv->net_dev, IPW_REG_GP_CNTRL, sw_reset_and_clock() 1050 write_register(priv->net_dev, IPW_REG_RESET_REG, 0); ipw2100_download_firmware() 1121 write_register(priv->net_dev, IPW_REG_INTA_MASK, IPW_INTERRUPT_MASK); ipw2100_enable_interrupts() 1129 write_register(priv->net_dev, IPW_REG_INTA_MASK, 0x0); ipw2100_disable_interrupts() 1163 write_register(priv->net_dev, IPW_REG_GPIO, reg); ipw2100_hw_set_gpio() 1278 write_register(priv->net_dev, IPW_REG_RESET_REG, 0); ipw2100_start_adapter() 1292 write_register(priv->net_dev, IPW_REG_INTA, ipw2100_start_adapter() 1303 write_register(priv->net_dev, IPW_REG_INTA, ipw2100_start_adapter() 1316 write_register(priv->net_dev, IPW_REG_INTA, inta); ipw2100_start_adapter() 1333 write_register(priv->net_dev, IPW_REG_GPIO, gpio); ipw2100_start_adapter() 1367 write_register(priv->net_dev, IPW_REG_RESET_REG, ipw2100_power_cycle_adapter() 1389 write_register(priv->net_dev, IPW_REG_RESET_REG, ipw2100_power_cycle_adapter() 1565 write_register(priv->net_dev, IPW_REG_RESET_REG, ipw2100_hw_stop_adapter() 1586 write_register(priv->net_dev, IPW_REG_RESET_REG, ipw2100_hw_stop_adapter() 2429 write_register(priv->net_dev, IPW_REG_RESET_REG, ipw2100_corruption_detected() 2774 write_register(priv->net_dev, __ipw2100_rx_process() 3067 write_register(priv->net_dev, ipw2100_tx_send_commands() 3210 write_register(priv->net_dev, ipw2100_tx_send_data() 3243 write_register(dev, IPW_REG_INTA, IPW2100_INTA_FATAL_ERROR); ipw2100_irq_tasklet() 3261 write_register(dev, IPW_REG_INTA, IPW2100_INTA_PARITY_ERROR); ipw2100_irq_tasklet() 3269 write_register(dev, IPW_REG_INTA, IPW2100_INTA_RX_TRANSFER); ipw2100_irq_tasklet() 3280 write_register(dev, IPW_REG_INTA, IPW2100_INTA_TX_TRANSFER); ipw2100_irq_tasklet() 3290 write_register(dev, IPW_REG_INTA, IPW2100_INTA_TX_COMPLETE); ipw2100_irq_tasklet() 3298 write_register(dev, IPW_REG_INTA, IPW2100_INTA_EVENT_INTERRUPT); ipw2100_irq_tasklet() 3308 write_register(dev, IPW_REG_INTA, ipw2100_irq_tasklet() 3313 write_register(dev, IPW_REG_INTA, IPW2100_INTA_FW_INIT_DONE); ipw2100_irq_tasklet() 3319 write_register(dev, IPW_REG_INTA, IPW2100_INTA_STATUS_CHANGE); ipw2100_irq_tasklet() 3325 write_register(dev, IPW_REG_INTA, ipw2100_irq_tasklet() 4403 write_register(priv->net_dev, base, q->nic); bd_queue_initialize() 4404 write_register(priv->net_dev, size, q->entries); bd_queue_initialize() 4405 write_register(priv->net_dev, r, q->oldest); bd_queue_initialize() 4406 write_register(priv->net_dev, w, q->next); bd_queue_initialize() 4652 write_register(priv->net_dev, IPW_MEM_HOST_SHARED_RX_STATUS_BASE, ipw2100_rx_initialize()
|
H A D | ipw2200.c | 3758 * @param write_register Address for 'write' register
|
/linux-4.4.14/drivers/gpu/drm/amd/include/ |
H A D | cgs_common.h | 509 cgs_write_register_t write_register; member in struct:cgs_ops 577 CGS_CALL(write_register,dev,offset,value)
|
/linux-4.4.14/arch/cris/arch-v32/kernel/ |
H A D | kgdb.c | 375 static int write_register(int regno, char *val); 538 write_register(int regno, char *val) write_register() function 1304 status = write_register(regno, suffix+1); handle_exception()
|
/linux-4.4.14/arch/cris/arch-v10/kernel/ |
H A D | kgdb.c | 577 write_register (int regno, char *val) write_register() function 757 status = write_register (regno, suffix+1); handle_exception()
|