Home
last modified time | relevance | path

Searched defs:reg (Results 1 – 25 of 2483) sorted by relevance

12345678910>>...100

/drivers/gpu/drm/exynos/
Dexynos_dp_reg.c29 u32 reg; in exynos_dp_enable_video_mute() local
44 u32 reg; in exynos_dp_stop_video() local
53 u32 reg; in exynos_dp_lane_swap() local
67 u32 reg; in exynos_dp_init_analog_param() local
109 u32 reg; in exynos_dp_reset() local
159 u32 reg; in exynos_dp_config_interrupt() local
180 u32 reg; in exynos_dp_get_pll_lock_status() local
191 u32 reg; in exynos_dp_set_pll_power_down() local
208 u32 reg; in exynos_dp_set_analog_power_down() local
293 u32 reg; in exynos_dp_init_analog_func() local
[all …]
/drivers/video/fbdev/exynos/
Dexynos_mipi_dsi_lowlevel.c34 unsigned int reg; in exynos_mipi_dsi_func_reset() local
45 unsigned int reg; in exynos_mipi_dsi_sw_reset() local
56 unsigned int reg; in exynos_mipi_dsi_sw_reset_release() local
73 unsigned int reg; in exynos_mipi_dsi_read_interrupt_mask() local
83 unsigned int reg = 0; in exynos_mipi_dsi_set_interrupt_mask() local
96 unsigned int reg; in exynos_mipi_dsi_init_fifo_pointer() local
119 unsigned int reg; in exynos_mipi_dsi_set_main_stand_by() local
134 unsigned int reg; in exynos_mipi_dsi_set_main_disp_resol() local
151 unsigned int reg; in exynos_mipi_dsi_set_main_disp_vporch() local
167 unsigned int reg; in exynos_mipi_dsi_set_main_disp_hporch() local
[all …]
/drivers/mfd/
Drtsx_pcr.h61 #define rtsx_vendor_setting_valid(reg) (!((reg) & 0x1000000)) argument
62 #define rts5209_vendor_setting1_valid(reg) (!((reg) & 0x80)) argument
63 #define rts5209_vendor_setting2_valid(reg) ((reg) & 0x80) argument
65 #define rtsx_reg_to_aspm(reg) (((reg) >> 28) & 0x03) argument
66 #define rtsx_reg_to_sd30_drive_sel_1v8(reg) (((reg) >> 26) & 0x03) argument
67 #define rtsx_reg_to_sd30_drive_sel_3v3(reg) (((reg) >> 5) & 0x03) argument
68 #define rtsx_reg_to_card_drive_sel(reg) ((((reg) >> 25) & 0x01) << 6) argument
69 #define rtsx_reg_check_reverse_socket(reg) ((reg) & 0x4000) argument
70 #define rts5209_reg_to_aspm(reg) (((reg) >> 5) & 0x03) argument
71 #define rts5209_reg_check_ms_pmos(reg) (!((reg) & 0x08)) argument
[all …]
/drivers/video/fbdev/riva/
Dnvreg.h44 #define DEVICE_ACCESS(device,reg) \ argument
47 #define DEVICE_WRITE(device,reg,value) DEVICE_ACCESS(device,reg)=(value) argument
48 #define DEVICE_READ(device,reg) DEVICE_ACCESS(device,reg) argument
49 #define DEVICE_PRINT(device,reg) \ argument
56 #define PDAC_Write(reg,value) DEVICE_WRITE(PDAC,reg,value) argument
57 #define PDAC_Read(reg) DEVICE_READ(PDAC,reg) argument
58 #define PDAC_Print(reg) DEVICE_PRINT(PDAC,reg) argument
63 #define PFB_Write(reg,value) DEVICE_WRITE(PFB,reg,value) argument
64 #define PFB_Read(reg) DEVICE_READ(PFB,reg) argument
65 #define PFB_Print(reg) DEVICE_PRINT(PFB,reg) argument
[all …]
/drivers/scsi/arcmsr/
Darcmsr_hba.c337 struct MessageUnit_A __iomem *reg = acb->pmuA; in arcmsr_hbaA_wait_msgint_ready() local
355 struct MessageUnit_B *reg = acb->pmuB; in arcmsr_hbaB_wait_msgint_ready() local
393 struct MessageUnit_D *reg = pACB->pmuD; in arcmsr_hbaD_wait_msgint_ready() local
410 struct MessageUnit_A __iomem *reg = acb->pmuA; in arcmsr_hbaA_flush_cache() local
426 struct MessageUnit_B *reg = acb->pmuB; in arcmsr_hbaB_flush_cache() local
442 struct MessageUnit_C __iomem *reg = pACB->pmuC; in arcmsr_hbaC_flush_cache() local
461 struct MessageUnit_D *reg = pACB->pmuD; in arcmsr_hbaD_flush_cache() local
571 struct MessageUnit_A __iomem *reg = acb->pmuA; in arcmsr_message_isr_bh_fn() local
578 struct MessageUnit_B *reg = acb->pmuB; in arcmsr_message_isr_bh_fn() local
585 struct MessageUnit_C __iomem *reg = acb->pmuC; in arcmsr_message_isr_bh_fn() local
[all …]
/drivers/media/platform/s5p-jpeg/
Djpeg-hw-s5p.c22 unsigned long reg; in s5p_jpeg_reset() local
40 unsigned long reg, m; in s5p_jpeg_input_raw_mode() local
56 unsigned long reg, m; in s5p_jpeg_proc_mode() local
71 unsigned long reg, m; in s5p_jpeg_subsampling_mode() local
91 unsigned long reg; in s5p_jpeg_dri() local
106 unsigned long reg; in s5p_jpeg_qtbl() local
116 unsigned long reg; in s5p_jpeg_htbl_ac() local
127 unsigned long reg; in s5p_jpeg_htbl_dc() local
138 unsigned long reg; in s5p_jpeg_y() local
153 unsigned long reg; in s5p_jpeg_x() local
[all …]
Djpeg-hw-exynos3250.c23 u32 reg = 1; in exynos3250_jpeg_reset() local
65 u32 reg; in exynos3250_jpeg_clk_set() local
74 u32 reg; in exynos3250_jpeg_input_raw_fmt() local
125 u32 reg; in exynos3250_jpeg_set_y16() local
137 u32 reg, m; in exynos3250_jpeg_proc_mode() local
151 u32 reg, m = 0; in exynos3250_jpeg_subsampling_mode() local
179 u32 reg; in exynos3250_jpeg_dri() local
187 unsigned long reg; in exynos3250_jpeg_qtbl() local
198 unsigned long reg; in exynos3250_jpeg_htbl_ac() local
210 unsigned long reg; in exynos3250_jpeg_htbl_dc() local
[all …]
Djpeg-hw-exynos4.c21 unsigned int reg; in exynos4_jpeg_sw_reset() local
33 unsigned int reg; in exynos4_jpeg_set_enc_dec_mode() local
51 unsigned int reg; in __exynos4_jpeg_set_img_fmt() local
135 unsigned int reg; in __exynos4_jpeg_set_enc_out_fmt() local
167 unsigned int reg; in exynos4_jpeg_set_interrupt() local
199 unsigned int reg; in exynos4_jpeg_set_huf_table_enable() local
213 unsigned int reg; in exynos4_jpeg_set_sys_int_enable() local
248 unsigned int reg; in exynos4_jpeg_set_encode_tbl_select() local
261 unsigned int reg; in exynos4_jpeg_set_dec_components() local
271 unsigned int reg; in exynos4_jpeg_select_dec_q_tbl() local
[all …]
/drivers/net/ethernet/sfc/
Dio.h83 unsigned int reg) in _efx_writeq()
87 static inline __le64 _efx_readq(struct efx_nic *efx, unsigned int reg) in _efx_readq()
94 unsigned int reg) in _efx_writed()
98 static inline __le32 _efx_readd(struct efx_nic *efx, unsigned int reg) in _efx_readd()
105 unsigned int reg) in efx_writeo()
151 unsigned int reg) in efx_writed()
163 unsigned int reg) in efx_reado()
202 unsigned int reg) in efx_readd()
213 unsigned int reg, unsigned int index) in efx_writeo_table()
220 unsigned int reg, unsigned int index) in efx_reado_table()
[all …]
/drivers/net/wireless/ath/
Dregd.c117 static bool dynamic_country_user_possible(struct ath_regulatory *reg) in dynamic_country_user_possible()
189 static bool ath_reg_dyn_country_user_allow(struct ath_regulatory *reg) in ath_reg_dyn_country_user_allow()
205 static u16 ath_regd_get_eepromRD(struct ath_regulatory *reg) in ath_regd_get_eepromRD()
210 bool ath_is_world_regd(struct ath_regulatory *reg) in ath_is_world_regd()
223 ieee80211_regdomain *ath_world_regdomain(struct ath_regulatory *reg) in ath_world_regdomain()
258 struct ath_regulatory *reg) in ath_is_radar_freq()
309 struct ath_regulatory *reg, in __ath_reg_apply_beaconing_flags()
340 struct ath_regulatory *reg, in ath_reg_apply_beaconing_flags()
376 struct ath_regulatory *reg, in ath_reg_apply_ir_flags()
404 struct ath_regulatory *reg) in ath_reg_apply_radar_flags()
[all …]
/drivers/gpu/drm/i915/
Dintel_sideband.c102 u32 vlv_bunit_read(struct drm_i915_private *dev_priv, u32 reg) in vlv_bunit_read()
112 void vlv_bunit_write(struct drm_i915_private *dev_priv, u32 reg, u32 val) in vlv_bunit_write()
132 u32 vlv_gpio_nc_read(struct drm_i915_private *dev_priv, u32 reg) in vlv_gpio_nc_read()
140 void vlv_gpio_nc_write(struct drm_i915_private *dev_priv, u32 reg, u32 val) in vlv_gpio_nc_write()
146 u32 vlv_cck_read(struct drm_i915_private *dev_priv, u32 reg) in vlv_cck_read()
154 void vlv_cck_write(struct drm_i915_private *dev_priv, u32 reg, u32 val) in vlv_cck_write()
160 u32 vlv_ccu_read(struct drm_i915_private *dev_priv, u32 reg) in vlv_ccu_read()
168 void vlv_ccu_write(struct drm_i915_private *dev_priv, u32 reg, u32 val) in vlv_ccu_write()
174 u32 vlv_gps_core_read(struct drm_i915_private *dev_priv, u32 reg) in vlv_gps_core_read()
182 void vlv_gps_core_write(struct drm_i915_private *dev_priv, u32 reg, u32 val) in vlv_gps_core_write()
[all …]
/drivers/media/platform/blackfin/
Dppi.c56 struct bfin_ppi_regs *reg = info->base; in ppi_irq_err() local
70 struct bfin_eppi_regs *reg = info->base; in ppi_irq_err() local
81 struct bfin_eppi3_regs *reg = info->base; in ppi_irq_err() local
141 struct bfin_ppi_regs *reg = info->base; in ppi_start() local
147 struct bfin_eppi_regs *reg = info->base; in ppi_start() local
153 struct bfin_eppi3_regs *reg = info->base; in ppi_start() local
174 struct bfin_ppi_regs *reg = info->base; in ppi_stop() local
180 struct bfin_eppi_regs *reg = info->base; in ppi_stop() local
186 struct bfin_eppi3_regs *reg = info->base; in ppi_stop() local
242 struct bfin_ppi_regs *reg = info->base; in ppi_set_params() local
[all …]
/drivers/net/ethernet/intel/e1000/
De1000_osdep.h54 #define er32(reg) \ argument
58 #define ew32(reg, value) \ argument
62 #define E1000_WRITE_REG_ARRAY(a, reg, offset, value) ( \ argument
67 #define E1000_READ_REG_ARRAY(a, reg, offset) ( \ argument
75 #define E1000_WRITE_REG_ARRAY_WORD(a, reg, offset, value) ( \ argument
80 #define E1000_READ_REG_ARRAY_WORD(a, reg, offset) ( \ argument
85 #define E1000_WRITE_REG_ARRAY_BYTE(a, reg, offset, value) ( \ argument
90 #define E1000_READ_REG_ARRAY_BYTE(a, reg, offset) ( \ argument
97 #define E1000_WRITE_ICH_FLASH_REG(a, reg, value) ( \ argument
100 #define E1000_READ_ICH_FLASH_REG(a, reg) ( \ argument
[all …]
/drivers/net/ethernet/microchip/
Dencx24j600-regmap.c66 static int regmap_encx24j600_sfr_read(void *context, u8 reg, u8 *val, in regmap_encx24j600_sfr_read()
118 u8 reg, u8 *val, size_t len, in regmap_encx24j600_sfr_update()
173 static int regmap_encx24j600_sfr_write(void *context, u8 reg, u8 *val, in regmap_encx24j600_sfr_write()
181 u8 reg, u8 val) in regmap_encx24j600_sfr_set_bits()
187 u8 reg, u8 val) in regmap_encx24j600_sfr_clr_bits()
192 static int regmap_encx24j600_reg_update_bits(void *context, unsigned int reg, in regmap_encx24j600_reg_update_bits()
224 int regmap_encx24j600_spi_write(void *context, u8 reg, const u8 *data, in regmap_encx24j600_spi_write()
237 int regmap_encx24j600_spi_read(void *context, u8 reg, u8 *data, size_t count) in regmap_encx24j600_spi_read()
252 u8 reg = dout[0]; in regmap_encx24j600_write() local
269 u8 reg = *(const u8 *)reg_buf; in regmap_encx24j600_read() local
[all …]
/drivers/net/wireless/rt2x00/
Drt2500pci.c59 u32 reg; in rt2500pci_bbp_write() local
83 u32 reg; in rt2500pci_bbp_read() local
114 u32 reg; in rt2500pci_rf_write() local
139 u32 reg; in rt2500pci_eepromregister_read() local
154 u32 reg = 0; in rt2500pci_eepromregister_write() local
203 u32 reg; in rt2500pci_rfkill_poll() local
216 u32 reg; in rt2500pci_brightness_set() local
234 u32 reg; in rt2500pci_blink_set() local
262 u32 reg; in rt2500pci_config_filter() local
294 u32 reg; in rt2500pci_config_intf() local
[all …]
Drt2400pci.c59 u32 reg; in rt2400pci_bbp_write() local
83 u32 reg; in rt2400pci_bbp_read() local
114 u32 reg; in rt2400pci_rf_write() local
139 u32 reg; in rt2400pci_eepromregister_read() local
154 u32 reg = 0; in rt2400pci_eepromregister_write() local
203 u32 reg; in rt2400pci_rfkill_poll() local
216 u32 reg; in rt2400pci_brightness_set() local
234 u32 reg; in rt2400pci_blink_set() local
262 u32 reg; in rt2400pci_config_filter() local
289 u32 reg; in rt2400pci_config_intf() local
[all …]
Drt61pci.c68 u32 reg; in rt61pci_bbp_write() local
92 u32 reg; in rt61pci_bbp_read() local
123 u32 reg; in rt61pci_rf_write() local
149 u32 reg; in rt61pci_mcu_request() local
177 u32 reg; in rt61pci_eepromregister_read() local
192 u32 reg = 0; in rt61pci_eepromregister_write() local
241 u32 reg; in rt61pci_rfkill_poll() local
292 u32 reg; in rt61pci_blink_set() local
324 u32 reg; in rt61pci_config_shared_key() local
421 u32 reg; in rt61pci_config_pairwise_key() local
[all …]
Drt2500usb.c62 __le16 reg; in rt2500usb_register_read() local
73 __le16 reg; in rt2500usb_register_read_lock() local
93 __le16 reg = cpu_to_le16(value); in rt2500usb_register_write() local
103 __le16 reg = cpu_to_le16(value); in rt2500usb_register_write_lock() local
121 u16 *reg) in rt2500usb_regbusy_read()
147 u16 reg; in rt2500usb_bbp_write() local
170 u16 reg; in rt2500usb_bbp_read() local
201 u16 reg; in rt2500usb_rf_write() local
278 u16 reg; in rt2500usb_rfkill_poll() local
291 u16 reg; in rt2500usb_brightness_set() local
[all …]
Drt73usb.c66 u32 reg; in rt73usb_bbp_write() local
90 u32 reg; in rt73usb_bbp_read() local
121 u32 reg; in rt73usb_rf_write() local
186 u32 reg; in rt73usb_rfkill_poll() local
239 u32 reg; in rt73usb_blink_set() local
271 u32 reg; in rt73usb_config_shared_key() local
368 u32 reg; in rt73usb_config_pairwise_key() local
468 u32 reg; in rt73usb_config_filter() local
500 u32 reg; in rt73usb_config_intf() local
534 u32 reg; in rt73usb_config_erp() local
[all …]
/drivers/scsi/
Ddtc.h34 #define DTC_address(reg) (base + DTC_5380_OFFSET + reg) argument
36 #define dbNCR5380_read(reg) \ argument
41 #define dbNCR5380_write(reg, value) do { \ argument
48 #define NCR5380_read(reg) (readb(DTC_address(reg))) argument
49 #define NCR5380_write(reg, value) (writeb(value, DTC_address(reg))) argument
51 #define NCR5380_read(reg) (readb(DTC_address(reg))) argument
52 #define xNCR5380_read(reg) \ argument
56 #define NCR5380_write(reg, value) do { \ argument
/drivers/media/dvb-frontends/
Dstv090x.c695 static int stv090x_read_reg(struct stv090x_state *state, unsigned int reg) in stv090x_read_reg()
724 static int stv090x_write_regs(struct stv090x_state *state, unsigned int reg, u8 *data, u32 count) in stv090x_write_regs()
762 static int stv090x_write_reg(struct stv090x_state *state, unsigned int reg, u8 data) in stv090x_write_reg()
771 u32 reg; in stv090x_i2c_gate_ctrl() local
1217 u32 reg; in stv090x_vitclk_ctl() local
1285 u32 reg; in stv090x_delivery_search() local
1417 u32 reg, freq_abs; in stv090x_start_search() local
1605 u32 agc2_min = 0xffff, agc2 = 0, freq_init, freq_step, reg; in stv090x_get_agc2_min_level() local
1702 u32 srate_coarse = 0, agc2 = 0, car_step = 1200, reg; in stv090x_srate_srch_coarse() local
1864 u32 srate_coarse, freq_coarse, sym, reg; in stv090x_srate_srch_fine() local
[all …]
/drivers/misc/
Dad525x_dpot.c102 static inline int dpot_read_r8d8(struct dpot_data *dpot, u8 reg) in dpot_read_r8d8()
107 static inline int dpot_read_r8d16(struct dpot_data *dpot, u8 reg) in dpot_read_r8d16()
117 static inline int dpot_write_r8d8(struct dpot_data *dpot, u8 reg, u16 val) in dpot_write_r8d8()
122 static inline int dpot_write_r8d16(struct dpot_data *dpot, u8 reg, u16 val) in dpot_write_r8d16()
127 static s32 dpot_read_spi(struct dpot_data *dpot, u8 reg) in dpot_read_spi()
175 static s32 dpot_read_i2c(struct dpot_data *dpot, u8 reg) in dpot_read_i2c()
231 static s32 dpot_read(struct dpot_data *dpot, u8 reg) in dpot_read()
239 static s32 dpot_write_spi(struct dpot_data *dpot, u8 reg, u16 value) in dpot_write_spi()
328 static s32 dpot_write_i2c(struct dpot_data *dpot, u8 reg, u16 value) in dpot_write_i2c()
403 static s32 dpot_write(struct dpot_data *dpot, u8 reg, u16 value) in dpot_write()
[all …]
/drivers/net/wireless/mwifiex/
Dpcie.c85 const struct mwifiex_pcie_card_reg *reg = card->pcie.reg; in mwifiex_pcie_ok_to_access_hw() local
309 static int mwifiex_write_reg(struct mwifiex_adapter *adapter, int reg, u32 data) in mwifiex_write_reg()
321 static int mwifiex_read_reg(struct mwifiex_adapter *adapter, int reg, u32 *data) in mwifiex_read_reg()
332 int reg, u8 *data) in mwifiex_read_reg_byte()
388 const struct mwifiex_pcie_card_reg *reg = card->pcie.reg; in mwifiex_pm_wakeup_card() local
473 const struct mwifiex_pcie_card_reg *reg = card->pcie.reg; in mwifiex_init_txq_ring() local
503 const struct mwifiex_pcie_card_reg *reg = card->pcie.reg; in mwifiex_init_rxq_ring() local
611 const struct mwifiex_pcie_card_reg *reg = card->pcie.reg; in mwifiex_cleanup_txq_ring() local
649 const struct mwifiex_pcie_card_reg *reg = card->pcie.reg; in mwifiex_cleanup_rxq_ring() local
711 const struct mwifiex_pcie_card_reg *reg = card->pcie.reg; in mwifiex_pcie_create_txbd_ring() local
[all …]
/drivers/usb/gadget/udc/
Dfusb300_udc.c42 u32 reg = ioread32(fusb300->reg + offset); in fusb300_enable_bit() local
51 u32 reg = ioread32(fusb300->reg + offset); in fusb300_disable_bit() local
88 u32 reg = ioread32(fusb300->reg + FUSB300_OFFSET_EPSET1(ep)); in fusb300_set_start_entry() local
106 u32 reg = ioread32(fusb300->reg + FUSB300_OFFSET_EPSET2(info.epnum)); in fusb300_set_epaddrofs() local
125 u32 reg = ioread32(fusb300->reg + FUSB300_OFFSET_EPSET1(info.epnum)); in fusb300_set_eptype() local
135 u32 reg; in fusb300_set_epdir() local
148 u32 reg = ioread32(fusb300->reg + FUSB300_OFFSET_EPSET1(ep)); in fusb300_set_ep_active() local
157 u32 reg = ioread32(fusb300->reg + FUSB300_OFFSET_EPSET2(info.epnum)); in fusb300_set_epmps() local
167 u32 reg = ioread32(fusb300->reg + FUSB300_OFFSET_EPSET1(info.epnum)); in fusb300_set_interval() local
177 u32 reg = ioread32(fusb300->reg + FUSB300_OFFSET_EPSET1(info.epnum)); in fusb300_set_bwnum() local
[all …]
/drivers/base/regmap/
Dregmap.c51 bool regmap_reg_in_ranges(unsigned int reg, in regmap_reg_in_ranges()
65 bool regmap_check_range_table(struct regmap *map, unsigned int reg, in regmap_check_range_table()
81 bool regmap_writeable(struct regmap *map, unsigned int reg) in regmap_writeable()
95 bool regmap_readable(struct regmap *map, unsigned int reg) in regmap_readable()
115 bool regmap_volatile(struct regmap *map, unsigned int reg) in regmap_volatile()
132 bool regmap_precious(struct regmap *map, unsigned int reg) in regmap_precious()
146 static bool regmap_volatile_range(struct regmap *map, unsigned int reg, in regmap_volatile_range()
159 unsigned int reg, unsigned int val) in regmap_format_2_6_write()
167 unsigned int reg, unsigned int val) in regmap_format_4_12_write()
174 unsigned int reg, unsigned int val) in regmap_format_7_9_write()
[all …]

12345678910>>...100