Searched refs:__iomem (Results 1 - 200 of 4260) sorted by relevance

1234567891011>>

/linux-4.4.14/drivers/media/platform/s5p-mfc/
H A Ds5p_mfc_opr.h23 volatile void __iomem *risc_on;
24 volatile void __iomem *risc2host_int;
25 volatile void __iomem *host2risc_int;
26 volatile void __iomem *risc_base_address;
27 volatile void __iomem *mfc_reset;
28 volatile void __iomem *host2risc_command;
29 volatile void __iomem *risc2host_command;
30 volatile void __iomem *mfc_bus_reset_ctrl;
31 volatile void __iomem *firmware_version;
32 volatile void __iomem *instance_id;
33 volatile void __iomem *codec_type;
34 volatile void __iomem *context_mem_addr;
35 volatile void __iomem *context_mem_size;
36 volatile void __iomem *pixel_format;
37 volatile void __iomem *metadata_enable;
38 volatile void __iomem *mfc_version;
39 volatile void __iomem *dbg_info_enable;
40 volatile void __iomem *dbg_buffer_addr;
41 volatile void __iomem *dbg_buffer_size;
42 volatile void __iomem *hed_control;
43 volatile void __iomem *mfc_timeout_value;
44 volatile void __iomem *hed_shared_mem_addr;
45 volatile void __iomem *dis_shared_mem_addr;/* only v7 */
46 volatile void __iomem *ret_instance_id;
47 volatile void __iomem *error_code;
48 volatile void __iomem *dbg_buffer_output_size;
49 volatile void __iomem *metadata_status;
50 volatile void __iomem *metadata_addr_mb_info;
51 volatile void __iomem *metadata_size_mb_info;
52 volatile void __iomem *dbg_info_stage_counter;
55 volatile void __iomem *d_crc_ctrl;
56 volatile void __iomem *d_dec_options;
57 volatile void __iomem *d_display_delay;
58 volatile void __iomem *d_set_frame_width;
59 volatile void __iomem *d_set_frame_height;
60 volatile void __iomem *d_sei_enable;
61 volatile void __iomem *d_min_num_dpb;
62 volatile void __iomem *d_min_first_plane_dpb_size;
63 volatile void __iomem *d_min_second_plane_dpb_size;
64 volatile void __iomem *d_min_third_plane_dpb_size;/* only v8 */
65 volatile void __iomem *d_min_num_mv;
66 volatile void __iomem *d_mvc_num_views;
67 volatile void __iomem *d_min_num_dis;/* only v7 */
68 volatile void __iomem *d_min_first_dis_size;/* only v7 */
69 volatile void __iomem *d_min_second_dis_size;/* only v7 */
70 volatile void __iomem *d_min_third_dis_size;/* only v7 */
71 volatile void __iomem *d_post_filter_luma_dpb0;/* v7 and v8 */
72 volatile void __iomem *d_post_filter_luma_dpb1;/* v7 and v8 */
73 volatile void __iomem *d_post_filter_luma_dpb2;/* only v7 */
74 volatile void __iomem *d_post_filter_chroma_dpb0;/* v7 and v8 */
75 volatile void __iomem *d_post_filter_chroma_dpb1;/* v7 and v8 */
76 volatile void __iomem *d_post_filter_chroma_dpb2;/* only v7 */
77 volatile void __iomem *d_num_dpb;
78 volatile void __iomem *d_num_mv;
79 volatile void __iomem *d_init_buffer_options;
80 volatile void __iomem *d_first_plane_dpb_stride_size;/* only v8 */
81 volatile void __iomem *d_second_plane_dpb_stride_size;/* only v8 */
82 volatile void __iomem *d_third_plane_dpb_stride_size;/* only v8 */
83 volatile void __iomem *d_first_plane_dpb_size;
84 volatile void __iomem *d_second_plane_dpb_size;
85 volatile void __iomem *d_third_plane_dpb_size;/* only v8 */
86 volatile void __iomem *d_mv_buffer_size;
87 volatile void __iomem *d_first_plane_dpb;
88 volatile void __iomem *d_second_plane_dpb;
89 volatile void __iomem *d_third_plane_dpb;
90 volatile void __iomem *d_mv_buffer;
91 volatile void __iomem *d_scratch_buffer_addr;
92 volatile void __iomem *d_scratch_buffer_size;
93 volatile void __iomem *d_metadata_buffer_addr;
94 volatile void __iomem *d_metadata_buffer_size;
95 volatile void __iomem *d_nal_start_options;/* v7 and v8 */
96 volatile void __iomem *d_cpb_buffer_addr;
97 volatile void __iomem *d_cpb_buffer_size;
98 volatile void __iomem *d_available_dpb_flag_upper;
99 volatile void __iomem *d_available_dpb_flag_lower;
100 volatile void __iomem *d_cpb_buffer_offset;
101 volatile void __iomem *d_slice_if_enable;
102 volatile void __iomem *d_picture_tag;
103 volatile void __iomem *d_stream_data_size;
104 volatile void __iomem *d_dynamic_dpb_flag_upper;/* v7 and v8 */
105 volatile void __iomem *d_dynamic_dpb_flag_lower;/* v7 and v8 */
106 volatile void __iomem *d_display_frame_width;
107 volatile void __iomem *d_display_frame_height;
108 volatile void __iomem *d_display_status;
109 volatile void __iomem *d_display_first_plane_addr;
110 volatile void __iomem *d_display_second_plane_addr;
111 volatile void __iomem *d_display_third_plane_addr;/* only v8 */
112 volatile void __iomem *d_display_frame_type;
113 volatile void __iomem *d_display_crop_info1;
114 volatile void __iomem *d_display_crop_info2;
115 volatile void __iomem *d_display_picture_profile;
116 volatile void __iomem *d_display_luma_crc;/* v7 and v8 */
117 volatile void __iomem *d_display_chroma0_crc;/* v7 and v8 */
118 volatile void __iomem *d_display_chroma1_crc;/* only v8 */
119 volatile void __iomem *d_display_luma_crc_top;/* only v6 */
120 volatile void __iomem *d_display_chroma_crc_top;/* only v6 */
121 volatile void __iomem *d_display_luma_crc_bot;/* only v6 */
122 volatile void __iomem *d_display_chroma_crc_bot;/* only v6 */
123 volatile void __iomem *d_display_aspect_ratio;
124 volatile void __iomem *d_display_extended_ar;
125 volatile void __iomem *d_decoded_frame_width;
126 volatile void __iomem *d_decoded_frame_height;
127 volatile void __iomem *d_decoded_status;
128 volatile void __iomem *d_decoded_first_plane_addr;
129 volatile void __iomem *d_decoded_second_plane_addr;
130 volatile void __iomem *d_decoded_third_plane_addr;/* only v8 */
131 volatile void __iomem *d_decoded_frame_type;
132 volatile void __iomem *d_decoded_crop_info1;
133 volatile void __iomem *d_decoded_crop_info2;
134 volatile void __iomem *d_decoded_picture_profile;
135 volatile void __iomem *d_decoded_nal_size;
136 volatile void __iomem *d_decoded_luma_crc;
137 volatile void __iomem *d_decoded_chroma0_crc;
138 volatile void __iomem *d_decoded_chroma1_crc;/* only v8 */
139 volatile void __iomem *d_ret_picture_tag_top;
140 volatile void __iomem *d_ret_picture_tag_bot;
141 volatile void __iomem *d_ret_picture_time_top;
142 volatile void __iomem *d_ret_picture_time_bot;
143 volatile void __iomem *d_chroma_format;
144 volatile void __iomem *d_vc1_info;/* v7 and v8 */
145 volatile void __iomem *d_mpeg4_info;
146 volatile void __iomem *d_h264_info;
147 volatile void __iomem *d_metadata_addr_concealed_mb;
148 volatile void __iomem *d_metadata_size_concealed_mb;
149 volatile void __iomem *d_metadata_addr_vc1_param;
150 volatile void __iomem *d_metadata_size_vc1_param;
151 volatile void __iomem *d_metadata_addr_sei_nal;
152 volatile void __iomem *d_metadata_size_sei_nal;
153 volatile void __iomem *d_metadata_addr_vui;
154 volatile void __iomem *d_metadata_size_vui;
155 volatile void __iomem *d_metadata_addr_mvcvui;/* v7 and v8 */
156 volatile void __iomem *d_metadata_size_mvcvui;/* v7 and v8 */
157 volatile void __iomem *d_mvc_view_id;
158 volatile void __iomem *d_frame_pack_sei_avail;
159 volatile void __iomem *d_frame_pack_arrgment_id;
160 volatile void __iomem *d_frame_pack_sei_info;
161 volatile void __iomem *d_frame_pack_grid_pos;
162 volatile void __iomem *d_display_recovery_sei_info;/* v7 and v8 */
163 volatile void __iomem *d_decoded_recovery_sei_info;/* v7 and v8 */
164 volatile void __iomem *d_display_first_addr;/* only v7 */
165 volatile void __iomem *d_display_second_addr;/* only v7 */
166 volatile void __iomem *d_display_third_addr;/* only v7 */
167 volatile void __iomem *d_decoded_first_addr;/* only v7 */
168 volatile void __iomem *d_decoded_second_addr;/* only v7 */
169 volatile void __iomem *d_decoded_third_addr;/* only v7 */
170 volatile void __iomem *d_used_dpb_flag_upper;/* v7 and v8 */
171 volatile void __iomem *d_used_dpb_flag_lower;/* v7 and v8 */
174 volatile void __iomem *e_frame_width;
175 volatile void __iomem *e_frame_height;
176 volatile void __iomem *e_cropped_frame_width;
177 volatile void __iomem *e_cropped_frame_height;
178 volatile void __iomem *e_frame_crop_offset;
179 volatile void __iomem *e_enc_options;
180 volatile void __iomem *e_picture_profile;
181 volatile void __iomem *e_vbv_buffer_size;
182 volatile void __iomem *e_vbv_init_delay;
183 volatile void __iomem *e_fixed_picture_qp;
184 volatile void __iomem *e_rc_config;
185 volatile void __iomem *e_rc_qp_bound;
186 volatile void __iomem *e_rc_qp_bound_pb;/* v7 and v8 */
187 volatile void __iomem *e_rc_mode;
188 volatile void __iomem *e_mb_rc_config;
189 volatile void __iomem *e_padding_ctrl;
190 volatile void __iomem *e_air_threshold;
191 volatile void __iomem *e_mv_hor_range;
192 volatile void __iomem *e_mv_ver_range;
193 volatile void __iomem *e_num_dpb;
194 volatile void __iomem *e_luma_dpb;
195 volatile void __iomem *e_chroma_dpb;
196 volatile void __iomem *e_me_buffer;
197 volatile void __iomem *e_scratch_buffer_addr;
198 volatile void __iomem *e_scratch_buffer_size;
199 volatile void __iomem *e_tmv_buffer0;
200 volatile void __iomem *e_tmv_buffer1;
201 volatile void __iomem *e_ir_buffer_addr;/* v7 and v8 */
202 volatile void __iomem *e_source_first_plane_addr;
203 volatile void __iomem *e_source_second_plane_addr;
204 volatile void __iomem *e_source_third_plane_addr;/* v7 and v8 */
205 volatile void __iomem *e_source_first_plane_stride;/* v7 and v8 */
206 volatile void __iomem *e_source_second_plane_stride;/* v7 and v8 */
207 volatile void __iomem *e_source_third_plane_stride;/* v7 and v8 */
208 volatile void __iomem *e_stream_buffer_addr;
209 volatile void __iomem *e_stream_buffer_size;
210 volatile void __iomem *e_roi_buffer_addr;
211 volatile void __iomem *e_param_change;
212 volatile void __iomem *e_ir_size;
213 volatile void __iomem *e_gop_config;
214 volatile void __iomem *e_mslice_mode;
215 volatile void __iomem *e_mslice_size_mb;
216 volatile void __iomem *e_mslice_size_bits;
217 volatile void __iomem *e_frame_insertion;
218 volatile void __iomem *e_rc_frame_rate;
219 volatile void __iomem *e_rc_bit_rate;
220 volatile void __iomem *e_rc_roi_ctrl;
221 volatile void __iomem *e_picture_tag;
222 volatile void __iomem *e_bit_count_enable;
223 volatile void __iomem *e_max_bit_count;
224 volatile void __iomem *e_min_bit_count;
225 volatile void __iomem *e_metadata_buffer_addr;
226 volatile void __iomem *e_metadata_buffer_size;
227 volatile void __iomem *e_encoded_source_first_plane_addr;
228 volatile void __iomem *e_encoded_source_second_plane_addr;
229 volatile void __iomem *e_encoded_source_third_plane_addr;/* v7 and v8 */
230 volatile void __iomem *e_stream_size;
231 volatile void __iomem *e_slice_type;
232 volatile void __iomem *e_picture_count;
233 volatile void __iomem *e_ret_picture_tag;
234 volatile void __iomem *e_stream_buffer_write_pointer; /* only v6 */
235 volatile void __iomem *e_recon_luma_dpb_addr;
236 volatile void __iomem *e_recon_chroma_dpb_addr;
237 volatile void __iomem *e_metadata_addr_enc_slice;
238 volatile void __iomem *e_metadata_size_enc_slice;
239 volatile void __iomem *e_mpeg4_options;
240 volatile void __iomem *e_mpeg4_hec_period;
241 volatile void __iomem *e_aspect_ratio;
242 volatile void __iomem *e_extended_sar;
243 volatile void __iomem *e_h264_options;
244 volatile void __iomem *e_h264_options_2;/* v7 and v8 */
245 volatile void __iomem *e_h264_lf_alpha_offset;
246 volatile void __iomem *e_h264_lf_beta_offset;
247 volatile void __iomem *e_h264_i_period;
248 volatile void __iomem *e_h264_fmo_slice_grp_map_type;
249 volatile void __iomem *e_h264_fmo_num_slice_grp_minus1;
250 volatile void __iomem *e_h264_fmo_slice_grp_change_dir;
251 volatile void __iomem *e_h264_fmo_slice_grp_change_rate_minus1;
252 volatile void __iomem *e_h264_fmo_run_length_minus1_0;
253 volatile void __iomem *e_h264_aso_slice_order_0;
254 volatile void __iomem *e_h264_chroma_qp_offset;
255 volatile void __iomem *e_h264_num_t_layer;
256 volatile void __iomem *e_h264_hierarchical_qp_layer0;
257 volatile void __iomem *e_h264_frame_packing_sei_info;
258 volatile void __iomem *e_h264_nal_control;/* v7 and v8 */
259 volatile void __iomem *e_mvc_frame_qp_view1;
260 volatile void __iomem *e_mvc_rc_bit_rate_view1;
261 volatile void __iomem *e_mvc_rc_qbound_view1;
262 volatile void __iomem *e_mvc_rc_mode_view1;
263 volatile void __iomem *e_mvc_inter_view_prediction_on;
264 volatile void __iomem *e_vp8_options;/* v7 and v8 */
265 volatile void __iomem *e_vp8_filter_options;/* v7 and v8 */
266 volatile void __iomem *e_vp8_golden_frame_option;/* v7 and v8 */
267 volatile void __iomem *e_vp8_num_t_layer;/* v7 and v8 */
268 volatile void __iomem *e_vp8_hierarchical_qp_layer0;/* v7 and v8 */
269 volatile void __iomem *e_vp8_hierarchical_qp_layer1;/* v7 and v8 */
270 volatile void __iomem *e_vp8_hierarchical_qp_layer2;/* v7 and v8 */
/linux-4.4.14/drivers/media/platform/s5p-jpeg/
H A Djpeg-hw-exynos3250.h20 void exynos3250_jpeg_reset(void __iomem *regs);
21 void exynos3250_jpeg_poweron(void __iomem *regs);
22 void exynos3250_jpeg_set_dma_num(void __iomem *regs);
23 void exynos3250_jpeg_clk_set(void __iomem *base);
24 void exynos3250_jpeg_input_raw_fmt(void __iomem *regs, unsigned int fmt);
25 void exynos3250_jpeg_output_raw_fmt(void __iomem *regs, unsigned int fmt);
26 void exynos3250_jpeg_set_y16(void __iomem *regs, bool y16);
27 void exynos3250_jpeg_proc_mode(void __iomem *regs, unsigned int mode);
28 void exynos3250_jpeg_subsampling_mode(void __iomem *regs, unsigned int mode);
29 unsigned int exynos3250_jpeg_get_subsampling_mode(void __iomem *regs);
30 void exynos3250_jpeg_dri(void __iomem *regs, unsigned int dri);
31 void exynos3250_jpeg_qtbl(void __iomem *regs, unsigned int t, unsigned int n);
32 void exynos3250_jpeg_htbl_ac(void __iomem *regs, unsigned int t);
33 void exynos3250_jpeg_htbl_dc(void __iomem *regs, unsigned int t);
34 void exynos3250_jpeg_set_y(void __iomem *regs, unsigned int y);
35 void exynos3250_jpeg_set_x(void __iomem *regs, unsigned int x);
36 void exynos3250_jpeg_interrupts_enable(void __iomem *regs);
37 void exynos3250_jpeg_enc_stream_bound(void __iomem *regs, unsigned int size);
38 void exynos3250_jpeg_outform_raw(void __iomem *regs, unsigned long format);
39 void exynos3250_jpeg_jpgadr(void __iomem *regs, unsigned int addr);
40 void exynos3250_jpeg_imgadr(void __iomem *regs, struct s5p_jpeg_addr *img_addr);
41 void exynos3250_jpeg_stride(void __iomem *regs, unsigned int img_fmt,
43 void exynos3250_jpeg_offset(void __iomem *regs, unsigned int x_offset,
45 void exynos3250_jpeg_coef(void __iomem *base, unsigned int mode);
46 void exynos3250_jpeg_start(void __iomem *regs);
47 void exynos3250_jpeg_rstart(void __iomem *regs);
48 unsigned int exynos3250_jpeg_get_int_status(void __iomem *regs);
49 void exynos3250_jpeg_clear_int_status(void __iomem *regs,
51 unsigned int exynos3250_jpeg_operating(void __iomem *regs);
52 unsigned int exynos3250_jpeg_compressed_size(void __iomem *regs);
53 void exynos3250_jpeg_dec_stream_size(void __iomem *regs, unsigned int size);
54 void exynos3250_jpeg_dec_scaling_ratio(void __iomem *regs, unsigned int sratio);
55 void exynos3250_jpeg_set_timer(void __iomem *regs, unsigned int time_value);
56 unsigned int exynos3250_jpeg_get_timer_status(void __iomem *regs);
57 void exynos3250_jpeg_set_timer_status(void __iomem *regs);
58 void exynos3250_jpeg_clear_timer_status(void __iomem *regs);
H A Djpeg-hw-exynos4.h16 void exynos4_jpeg_sw_reset(void __iomem *base);
17 void exynos4_jpeg_set_enc_dec_mode(void __iomem *base, unsigned int mode);
18 void __exynos4_jpeg_set_img_fmt(void __iomem *base, unsigned int img_fmt,
20 void __exynos4_jpeg_set_enc_out_fmt(void __iomem *base, unsigned int out_fmt,
22 void exynos4_jpeg_set_enc_tbl(void __iomem *base);
23 void exynos4_jpeg_set_interrupt(void __iomem *base, unsigned int version);
24 unsigned int exynos4_jpeg_get_int_status(void __iomem *base);
25 void exynos4_jpeg_set_huf_table_enable(void __iomem *base, int value);
26 void exynos4_jpeg_set_sys_int_enable(void __iomem *base, int value);
27 void exynos4_jpeg_set_stream_buf_address(void __iomem *base,
29 void exynos4_jpeg_set_stream_size(void __iomem *base,
31 void exynos4_jpeg_set_frame_buf_address(void __iomem *base,
33 void exynos4_jpeg_set_encode_tbl_select(void __iomem *base,
35 void exynos4_jpeg_set_dec_components(void __iomem *base, int n);
36 void exynos4_jpeg_select_dec_q_tbl(void __iomem *base, char c, char x);
37 void exynos4_jpeg_select_dec_h_tbl(void __iomem *base, char c, char x);
38 void exynos4_jpeg_set_encode_hoff_cnt(void __iomem *base, unsigned int fmt);
39 void exynos4_jpeg_set_dec_bitstream_size(void __iomem *base, unsigned int size);
40 unsigned int exynos4_jpeg_get_stream_size(void __iomem *base);
41 void exynos4_jpeg_get_frame_size(void __iomem *base,
43 unsigned int exynos4_jpeg_get_frame_fmt(void __iomem *base);
44 unsigned int exynos4_jpeg_get_fifo_status(void __iomem *base);
45 void exynos4_jpeg_set_timer_count(void __iomem *base, unsigned int size);
H A Djpeg-hw-s5p.h29 void s5p_jpeg_reset(void __iomem *regs);
30 void s5p_jpeg_poweron(void __iomem *regs);
31 void s5p_jpeg_input_raw_mode(void __iomem *regs, unsigned long mode);
32 void s5p_jpeg_proc_mode(void __iomem *regs, unsigned long mode);
33 void s5p_jpeg_subsampling_mode(void __iomem *regs, unsigned int mode);
34 unsigned int s5p_jpeg_get_subsampling_mode(void __iomem *regs);
35 void s5p_jpeg_dri(void __iomem *regs, unsigned int dri);
36 void s5p_jpeg_qtbl(void __iomem *regs, unsigned int t, unsigned int n);
37 void s5p_jpeg_htbl_ac(void __iomem *regs, unsigned int t);
38 void s5p_jpeg_htbl_dc(void __iomem *regs, unsigned int t);
39 void s5p_jpeg_y(void __iomem *regs, unsigned int y);
40 void s5p_jpeg_x(void __iomem *regs, unsigned int x);
41 void s5p_jpeg_rst_int_enable(void __iomem *regs, bool enable);
42 void s5p_jpeg_data_num_int_enable(void __iomem *regs, bool enable);
43 void s5p_jpeg_final_mcu_num_int_enable(void __iomem *regs, bool enbl);
44 int s5p_jpeg_timer_stat(void __iomem *regs);
45 void s5p_jpeg_clear_timer_stat(void __iomem *regs);
46 void s5p_jpeg_enc_stream_int(void __iomem *regs, unsigned long size);
47 int s5p_jpeg_enc_stream_stat(void __iomem *regs);
48 void s5p_jpeg_clear_enc_stream_stat(void __iomem *regs);
49 void s5p_jpeg_outform_raw(void __iomem *regs, unsigned long format);
50 void s5p_jpeg_jpgadr(void __iomem *regs, unsigned long addr);
51 void s5p_jpeg_imgadr(void __iomem *regs, unsigned long addr);
52 void s5p_jpeg_coef(void __iomem *regs, unsigned int i,
54 void s5p_jpeg_start(void __iomem *regs);
55 int s5p_jpeg_result_stat_ok(void __iomem *regs);
56 int s5p_jpeg_stream_stat_ok(void __iomem *regs);
57 void s5p_jpeg_clear_int(void __iomem *regs);
58 unsigned int s5p_jpeg_compressed_size(void __iomem *regs);
H A Djpeg-hw-exynos3250.c21 void exynos3250_jpeg_reset(void __iomem *regs) exynos3250_jpeg_reset()
47 void exynos3250_jpeg_poweron(void __iomem *regs) exynos3250_jpeg_poweron()
52 void exynos3250_jpeg_set_dma_num(void __iomem *regs) exynos3250_jpeg_set_dma_num()
63 void exynos3250_jpeg_clk_set(void __iomem *base) exynos3250_jpeg_clk_set()
72 void exynos3250_jpeg_input_raw_fmt(void __iomem *regs, unsigned int fmt) exynos3250_jpeg_input_raw_fmt()
123 void exynos3250_jpeg_set_y16(void __iomem *regs, bool y16) exynos3250_jpeg_set_y16()
135 void exynos3250_jpeg_proc_mode(void __iomem *regs, unsigned int mode) exynos3250_jpeg_proc_mode()
149 void exynos3250_jpeg_subsampling_mode(void __iomem *regs, unsigned int mode) exynos3250_jpeg_subsampling_mode()
171 unsigned int exynos3250_jpeg_get_subsampling_mode(void __iomem *regs) exynos3250_jpeg_get_subsampling_mode()
177 void exynos3250_jpeg_dri(void __iomem *regs, unsigned int dri) exynos3250_jpeg_dri()
185 void exynos3250_jpeg_qtbl(void __iomem *regs, unsigned int t, unsigned int n) exynos3250_jpeg_qtbl()
196 void exynos3250_jpeg_htbl_ac(void __iomem *regs, unsigned int t) exynos3250_jpeg_htbl_ac()
208 void exynos3250_jpeg_htbl_dc(void __iomem *regs, unsigned int t) exynos3250_jpeg_htbl_dc()
220 void exynos3250_jpeg_set_y(void __iomem *regs, unsigned int y) exynos3250_jpeg_set_y()
228 void exynos3250_jpeg_set_x(void __iomem *regs, unsigned int x) exynos3250_jpeg_set_x()
237 unsigned int exynos3250_jpeg_get_y(void __iomem *regs)
242 unsigned int exynos3250_jpeg_get_x(void __iomem *regs)
248 void exynos3250_jpeg_interrupts_enable(void __iomem *regs) exynos3250_jpeg_interrupts_enable()
263 void exynos3250_jpeg_enc_stream_bound(void __iomem *regs, unsigned int size) exynos3250_jpeg_enc_stream_bound()
271 void exynos3250_jpeg_output_raw_fmt(void __iomem *regs, unsigned int fmt) exynos3250_jpeg_output_raw_fmt()
319 void exynos3250_jpeg_jpgadr(void __iomem *regs, unsigned int addr) exynos3250_jpeg_jpgadr()
324 void exynos3250_jpeg_imgadr(void __iomem *regs, struct s5p_jpeg_addr *img_addr) exynos3250_jpeg_imgadr()
331 void exynos3250_jpeg_stride(void __iomem *regs, unsigned int img_fmt, exynos3250_jpeg_stride()
366 void exynos3250_jpeg_offset(void __iomem *regs, unsigned int x_offset, exynos3250_jpeg_offset()
393 void exynos3250_jpeg_coef(void __iomem *base, unsigned int mode) exynos3250_jpeg_coef()
412 void exynos3250_jpeg_start(void __iomem *regs) exynos3250_jpeg_start()
417 void exynos3250_jpeg_rstart(void __iomem *regs) exynos3250_jpeg_rstart()
422 unsigned int exynos3250_jpeg_get_int_status(void __iomem *regs) exynos3250_jpeg_get_int_status()
427 void exynos3250_jpeg_clear_int_status(void __iomem *regs, exynos3250_jpeg_clear_int_status()
433 unsigned int exynos3250_jpeg_operating(void __iomem *regs) exynos3250_jpeg_operating()
438 unsigned int exynos3250_jpeg_compressed_size(void __iomem *regs) exynos3250_jpeg_compressed_size()
443 void exynos3250_jpeg_dec_stream_size(void __iomem *regs, exynos3250_jpeg_dec_stream_size()
450 void exynos3250_jpeg_dec_scaling_ratio(void __iomem *regs, exynos3250_jpeg_dec_scaling_ratio()
473 void exynos3250_jpeg_set_timer(void __iomem *regs, unsigned int time_value) exynos3250_jpeg_set_timer()
481 unsigned int exynos3250_jpeg_get_timer_status(void __iomem *regs) exynos3250_jpeg_get_timer_status()
486 void exynos3250_jpeg_clear_timer_status(void __iomem *regs) exynos3250_jpeg_clear_timer_status()
H A Djpeg-hw-s5p.c20 void s5p_jpeg_reset(void __iomem *regs) s5p_jpeg_reset()
33 void s5p_jpeg_poweron(void __iomem *regs) s5p_jpeg_poweron()
38 void s5p_jpeg_input_raw_mode(void __iomem *regs, unsigned long mode) s5p_jpeg_input_raw_mode()
54 void s5p_jpeg_proc_mode(void __iomem *regs, unsigned long mode) s5p_jpeg_proc_mode()
69 void s5p_jpeg_subsampling_mode(void __iomem *regs, unsigned int mode) s5p_jpeg_subsampling_mode()
84 unsigned int s5p_jpeg_get_subsampling_mode(void __iomem *regs) s5p_jpeg_get_subsampling_mode()
89 void s5p_jpeg_dri(void __iomem *regs, unsigned int dri) s5p_jpeg_dri()
104 void s5p_jpeg_qtbl(void __iomem *regs, unsigned int t, unsigned int n) s5p_jpeg_qtbl()
114 void s5p_jpeg_htbl_ac(void __iomem *regs, unsigned int t) s5p_jpeg_htbl_ac()
125 void s5p_jpeg_htbl_dc(void __iomem *regs, unsigned int t) s5p_jpeg_htbl_dc()
136 void s5p_jpeg_y(void __iomem *regs, unsigned int y) s5p_jpeg_y()
151 void s5p_jpeg_x(void __iomem *regs, unsigned int x) s5p_jpeg_x()
166 void s5p_jpeg_rst_int_enable(void __iomem *regs, bool enable) s5p_jpeg_rst_int_enable()
177 void s5p_jpeg_data_num_int_enable(void __iomem *regs, bool enable) s5p_jpeg_data_num_int_enable()
188 void s5p_jpeg_final_mcu_num_int_enable(void __iomem *regs, bool enbl) s5p_jpeg_final_mcu_num_int_enable()
199 int s5p_jpeg_timer_stat(void __iomem *regs) s5p_jpeg_timer_stat()
205 void s5p_jpeg_clear_timer_stat(void __iomem *regs) s5p_jpeg_clear_timer_stat()
214 void s5p_jpeg_enc_stream_int(void __iomem *regs, unsigned long size) s5p_jpeg_enc_stream_int()
225 int s5p_jpeg_enc_stream_stat(void __iomem *regs) s5p_jpeg_enc_stream_stat()
231 void s5p_jpeg_clear_enc_stream_stat(void __iomem *regs) s5p_jpeg_clear_enc_stream_stat()
240 void s5p_jpeg_outform_raw(void __iomem *regs, unsigned long format) s5p_jpeg_outform_raw()
255 void s5p_jpeg_jpgadr(void __iomem *regs, unsigned long addr) s5p_jpeg_jpgadr()
260 void s5p_jpeg_imgadr(void __iomem *regs, unsigned long addr) s5p_jpeg_imgadr()
265 void s5p_jpeg_coef(void __iomem *regs, unsigned int i, s5p_jpeg_coef()
276 void s5p_jpeg_start(void __iomem *regs) s5p_jpeg_start()
281 int s5p_jpeg_result_stat_ok(void __iomem *regs) s5p_jpeg_result_stat_ok()
287 int s5p_jpeg_stream_stat_ok(void __iomem *regs) s5p_jpeg_stream_stat_ok()
293 void s5p_jpeg_clear_int(void __iomem *regs) s5p_jpeg_clear_int()
300 unsigned int s5p_jpeg_compressed_size(void __iomem *regs) s5p_jpeg_compressed_size()
H A Djpeg-hw-exynos4.c19 void exynos4_jpeg_sw_reset(void __iomem *base) exynos4_jpeg_sw_reset()
31 void exynos4_jpeg_set_enc_dec_mode(void __iomem *base, unsigned int mode) exynos4_jpeg_set_enc_dec_mode()
48 void __exynos4_jpeg_set_img_fmt(void __iomem *base, unsigned int img_fmt, __exynos4_jpeg_set_img_fmt()
132 void __exynos4_jpeg_set_enc_out_fmt(void __iomem *base, unsigned int out_fmt, __exynos4_jpeg_set_enc_out_fmt()
165 void exynos4_jpeg_set_interrupt(void __iomem *base, unsigned int version) exynos4_jpeg_set_interrupt()
179 unsigned int exynos4_jpeg_get_int_status(void __iomem *base) exynos4_jpeg_get_int_status()
188 unsigned int exynos4_jpeg_get_fifo_status(void __iomem *base) exynos4_jpeg_get_fifo_status()
197 void exynos4_jpeg_set_huf_table_enable(void __iomem *base, int value) exynos4_jpeg_set_huf_table_enable()
211 void exynos4_jpeg_set_sys_int_enable(void __iomem *base, int value) exynos4_jpeg_set_sys_int_enable()
223 void exynos4_jpeg_set_stream_buf_address(void __iomem *base, exynos4_jpeg_set_stream_buf_address()
229 void exynos4_jpeg_set_stream_size(void __iomem *base, exynos4_jpeg_set_stream_size()
237 void exynos4_jpeg_set_frame_buf_address(void __iomem *base, exynos4_jpeg_set_frame_buf_address()
245 void exynos4_jpeg_set_encode_tbl_select(void __iomem *base, exynos4_jpeg_set_encode_tbl_select()
259 void exynos4_jpeg_set_dec_components(void __iomem *base, int n) exynos4_jpeg_set_dec_components()
269 void exynos4_jpeg_select_dec_q_tbl(void __iomem *base, char c, char x) exynos4_jpeg_select_dec_q_tbl()
279 void exynos4_jpeg_select_dec_h_tbl(void __iomem *base, char c, char x) exynos4_jpeg_select_dec_h_tbl()
289 void exynos4_jpeg_set_encode_hoff_cnt(void __iomem *base, unsigned int fmt) exynos4_jpeg_set_encode_hoff_cnt()
297 unsigned int exynos4_jpeg_get_stream_size(void __iomem *base) exynos4_jpeg_get_stream_size()
305 void exynos4_jpeg_set_dec_bitstream_size(void __iomem *base, unsigned int size) exynos4_jpeg_set_dec_bitstream_size()
310 void exynos4_jpeg_get_frame_size(void __iomem *base, exynos4_jpeg_get_frame_size()
319 unsigned int exynos4_jpeg_get_frame_fmt(void __iomem *base) exynos4_jpeg_get_frame_fmt()
325 void exynos4_jpeg_set_timer_count(void __iomem *base, unsigned int size) exynos4_jpeg_set_timer_count()
/linux-4.4.14/arch/alpha/include/asm/
H A Dio_trivial.h9 IO_CONCAT(__IO_PREFIX,ioread8)(void __iomem *a) IO_CONCAT()
15 IO_CONCAT(__IO_PREFIX,ioread16)(void __iomem *a) IO_CONCAT()
21 IO_CONCAT(__IO_PREFIX,iowrite8)(u8 b, void __iomem *a) IO_CONCAT()
27 IO_CONCAT(__IO_PREFIX,iowrite16)(u16 b, void __iomem *a) IO_CONCAT()
35 IO_CONCAT(__IO_PREFIX,ioread32)(void __iomem *a) IO_CONCAT()
41 IO_CONCAT(__IO_PREFIX,iowrite32)(u32 b, void __iomem *a) IO_CONCAT()
49 IO_CONCAT(__IO_PREFIX,readb)(const volatile void __iomem *a) IO_CONCAT()
55 IO_CONCAT(__IO_PREFIX,readw)(const volatile void __iomem *a) IO_CONCAT()
61 IO_CONCAT(__IO_PREFIX,writeb)(u8 b, volatile void __iomem *a) IO_CONCAT()
67 IO_CONCAT(__IO_PREFIX,writew)(u16 b, volatile void __iomem *a) IO_CONCAT()
73 IO_CONCAT(__IO_PREFIX,readb)(const volatile void __iomem *a) IO_CONCAT()
75 void __iomem *addr = (void __iomem *)a; IO_CONCAT()
80 IO_CONCAT(__IO_PREFIX,readw)(const volatile void __iomem *a) IO_CONCAT()
82 void __iomem *addr = (void __iomem *)a; IO_CONCAT()
87 IO_CONCAT(__IO_PREFIX,writeb)(u8 b, volatile void __iomem *a) IO_CONCAT()
89 void __iomem *addr = (void __iomem *)a; IO_CONCAT()
94 IO_CONCAT(__IO_PREFIX,writew)(u16 b, volatile void __iomem *a) IO_CONCAT()
96 void __iomem *addr = (void __iomem *)a; IO_CONCAT()
103 IO_CONCAT(__IO_PREFIX,readl)(const volatile void __iomem *a) IO_CONCAT()
109 IO_CONCAT(__IO_PREFIX,readq)(const volatile void __iomem *a) IO_CONCAT()
115 IO_CONCAT(__IO_PREFIX,writel)(u32 b, volatile void __iomem *a) IO_CONCAT()
121 IO_CONCAT(__IO_PREFIX,writeq)(u64 b, volatile void __iomem *a) IO_CONCAT()
128 __EXTERN_INLINE void IO_CONCAT(__IO_PREFIX,iounmap)(volatile void __iomem *a) IO_CONCAT()
H A Dmachvec.h48 unsigned int (*mv_ioread8)(void __iomem *);
49 unsigned int (*mv_ioread16)(void __iomem *);
50 unsigned int (*mv_ioread32)(void __iomem *);
52 void (*mv_iowrite8)(u8, void __iomem *);
53 void (*mv_iowrite16)(u16, void __iomem *);
54 void (*mv_iowrite32)(u32, void __iomem *);
56 u8 (*mv_readb)(const volatile void __iomem *);
57 u16 (*mv_readw)(const volatile void __iomem *);
58 u32 (*mv_readl)(const volatile void __iomem *);
59 u64 (*mv_readq)(const volatile void __iomem *);
61 void (*mv_writeb)(u8, volatile void __iomem *);
62 void (*mv_writew)(u16, volatile void __iomem *);
63 void (*mv_writel)(u32, volatile void __iomem *);
64 void (*mv_writeq)(u64, volatile void __iomem *);
66 void __iomem *(*mv_ioportmap)(unsigned long);
67 void __iomem *(*mv_ioremap)(unsigned long, unsigned long);
68 void (*mv_iounmap)(volatile void __iomem *);
70 int (*mv_is_mmio)(const volatile void __iomem *);
H A Dio.h147 static inline TYPE generic_##NAME(QUAL void __iomem *addr) \
153 static inline void generic_##NAME(TYPE b, QUAL void __iomem *addr) \
177 extern inline void __iomem *generic_ioportmap(unsigned long a) generic_ioportmap()
182 static inline void __iomem *generic_ioremap(unsigned long a, unsigned long s) generic_ioremap()
187 static inline void generic_iounmap(volatile void __iomem *a) generic_iounmap()
197 static inline int generic_is_mmio(const volatile void __iomem *a) generic_is_mmio()
251 extern u8 readb(const volatile void __iomem *addr);
252 extern u16 readw(const volatile void __iomem *addr);
253 extern u32 readl(const volatile void __iomem *addr);
254 extern u64 readq(const volatile void __iomem *addr);
255 extern void writeb(u8 b, volatile void __iomem *addr);
256 extern void writew(u16 b, volatile void __iomem *addr);
257 extern void writel(u32 b, volatile void __iomem *addr);
258 extern void writeq(u64 b, volatile void __iomem *addr);
260 extern u8 __raw_readb(const volatile void __iomem *addr);
261 extern u16 __raw_readw(const volatile void __iomem *addr);
262 extern u32 __raw_readl(const volatile void __iomem *addr);
263 extern u64 __raw_readq(const volatile void __iomem *addr);
264 extern void __raw_writeb(u8 b, volatile void __iomem *addr);
265 extern void __raw_writew(u16 b, volatile void __iomem *addr);
266 extern void __raw_writel(u32 b, volatile void __iomem *addr);
267 extern void __raw_writeq(u64 b, volatile void __iomem *addr);
270 * Mapping from port numbers to __iomem space is pretty easy.
276 extern inline void __iomem *ioport_map(unsigned long port, unsigned int size) ioport_map()
281 extern inline void ioport_unmap(void __iomem *addr) ioport_unmap()
285 static inline void __iomem *ioremap(unsigned long port, unsigned long size) ioremap()
290 static inline void __iomem *__ioremap(unsigned long port, unsigned long size, __ioremap()
296 static inline void __iomem * ioremap_nocache(unsigned long offset, ioremap_nocache()
304 static inline void iounmap(volatile void __iomem *addr) iounmap()
315 static inline int __is_mmio(const volatile void __iomem *addr) __is_mmio()
326 extern inline unsigned int ioread8(void __iomem *addr) ioread8()
333 extern inline unsigned int ioread16(void __iomem *addr) ioread16()
340 extern inline void iowrite8(u8 b, void __iomem *addr) iowrite8()
346 extern inline void iowrite16(u16 b, void __iomem *addr) iowrite16()
374 extern inline unsigned int ioread32(void __iomem *addr) ioread32()
381 extern inline void iowrite32(u32 b, void __iomem *addr) iowrite32()
399 extern inline u8 __raw_readb(const volatile void __iomem *addr) __raw_readb()
404 extern inline u16 __raw_readw(const volatile void __iomem *addr) __raw_readw()
409 extern inline void __raw_writeb(u8 b, volatile void __iomem *addr) __raw_writeb()
414 extern inline void __raw_writew(u16 b, volatile void __iomem *addr) __raw_writew()
419 extern inline u8 readb(const volatile void __iomem *addr) readb()
426 extern inline u16 readw(const volatile void __iomem *addr) readw()
433 extern inline void writeb(u8 b, volatile void __iomem *addr) writeb()
439 extern inline void writew(u16 b, volatile void __iomem *addr) writew()
447 extern inline u32 __raw_readl(const volatile void __iomem *addr) __raw_readl()
452 extern inline u64 __raw_readq(const volatile void __iomem *addr) __raw_readq()
457 extern inline void __raw_writel(u32 b, volatile void __iomem *addr) __raw_writel()
462 extern inline void __raw_writeq(u64 b, volatile void __iomem *addr) __raw_writeq()
467 extern inline u32 readl(const volatile void __iomem *addr) readl()
474 extern inline u64 readq(const volatile void __iomem *addr) readq()
481 extern inline void writel(u32 b, volatile void __iomem *addr) writel()
487 extern inline void writeq(u64 b, volatile void __iomem *addr) writeq()
519 extern void memcpy_fromio(void *, const volatile void __iomem *, long);
520 extern void memcpy_toio(volatile void __iomem *, const void *, long);
521 extern void _memset_c_io(volatile void __iomem *, unsigned long, long);
523 static inline void memset_io(volatile void __iomem *addr, u8 c, long len) memset_io()
529 static inline void memsetw_io(volatile void __iomem *addr, u16 c, long len) memsetw_io()
H A Dvga.h19 __raw_writew(val, (volatile u16 __iomem *) addr); scr_writew()
27 return __raw_readw((volatile const u16 __iomem *) addr); scr_readw()
35 memsetw_io((u16 __iomem *) s, c, count); scr_memsetw()
46 #define vga_readb(a) readb((u8 __iomem *)(a))
47 #define vga_writeb(v,a) writeb(v, (u8 __iomem *)(a))
H A Dcore_polaris.h73 __EXTERN_INLINE void __iomem *polaris_ioportmap(unsigned long addr) polaris_ioportmap()
75 return (void __iomem *)(addr + POLARIS_DENSE_IO_BASE); polaris_ioportmap()
78 __EXTERN_INLINE void __iomem *polaris_ioremap(unsigned long addr, polaris_ioremap()
81 return (void __iomem *)(addr + POLARIS_DENSE_MEM_BASE); polaris_ioremap()
89 __EXTERN_INLINE int polaris_is_mmio(const volatile void __iomem *addr) polaris_is_mmio()
H A Djensen.h203 __EXTERN_INLINE u8 jensen_readb(const volatile void __iomem *xaddr) jensen_readb()
215 __EXTERN_INLINE u16 jensen_readw(const volatile void __iomem *xaddr) jensen_readw()
227 __EXTERN_INLINE u32 jensen_readl(const volatile void __iomem *xaddr) jensen_readl()
235 __EXTERN_INLINE u64 jensen_readq(const volatile void __iomem *xaddr) jensen_readq()
248 __EXTERN_INLINE void jensen_writeb(u8 b, volatile void __iomem *xaddr) jensen_writeb()
256 __EXTERN_INLINE void jensen_writew(u16 b, volatile void __iomem *xaddr) jensen_writew()
264 __EXTERN_INLINE void jensen_writel(u32 b, volatile void __iomem *xaddr) jensen_writel()
272 __EXTERN_INLINE void jensen_writeq(u64 b, volatile void __iomem *xaddr) jensen_writeq()
282 __EXTERN_INLINE void __iomem *jensen_ioportmap(unsigned long addr) jensen_ioportmap()
284 return (void __iomem *)addr; jensen_ioportmap()
287 __EXTERN_INLINE void __iomem *jensen_ioremap(unsigned long addr, jensen_ioremap()
290 return (void __iomem *)(addr + 0x100000000ul); jensen_ioremap()
298 __EXTERN_INLINE int jensen_is_mmio(const volatile void __iomem *addr) jensen_is_mmio()
307 __EXTERN_INLINE unsigned int jensen_ioread##NS(void __iomem *xaddr) \
314 __EXTERN_INLINE void jensen_iowrite##NS(u##NS b, void __iomem *xaddr) \
/linux-4.4.14/include/linux/platform_data/
H A Dmtd-nand-omap2.h48 void __iomem *gpmc_status;
49 void __iomem *gpmc_nand_command;
50 void __iomem *gpmc_nand_address;
51 void __iomem *gpmc_nand_data;
52 void __iomem *gpmc_prefetch_config1;
53 void __iomem *gpmc_prefetch_config2;
54 void __iomem *gpmc_prefetch_control;
55 void __iomem *gpmc_prefetch_status;
56 void __iomem *gpmc_ecc_config;
57 void __iomem *gpmc_ecc_control;
58 void __iomem *gpmc_ecc_size_config;
59 void __iomem *gpmc_ecc1_result;
60 void __iomem *gpmc_bch_result0[GPMC_BCH_NUM_REMAINDER];
61 void __iomem *gpmc_bch_result1[GPMC_BCH_NUM_REMAINDER];
62 void __iomem *gpmc_bch_result2[GPMC_BCH_NUM_REMAINDER];
63 void __iomem *gpmc_bch_result3[GPMC_BCH_NUM_REMAINDER];
64 void __iomem *gpmc_bch_result4[GPMC_BCH_NUM_REMAINDER];
65 void __iomem *gpmc_bch_result5[GPMC_BCH_NUM_REMAINDER];
66 void __iomem *gpmc_bch_result6[GPMC_BCH_NUM_REMAINDER];
H A Dgpio-davinci.h35 void __iomem *regs;
36 void __iomem *set_data;
37 void __iomem *clr_data;
38 void __iomem *in_data;
H A Dmv_usb.h48 int (*phy_init)(void __iomem *regbase);
49 void (*phy_deinit)(void __iomem *regbase);
51 int (*private_init)(void __iomem *opregs, void __iomem *phyregs);
/linux-4.4.14/arch/arm/plat-orion/include/plat/
H A Dpcie.h16 u32 orion_pcie_dev_id(void __iomem *base);
17 u32 orion_pcie_rev(void __iomem *base);
18 int orion_pcie_link_up(void __iomem *base);
19 int orion_pcie_x4_mode(void __iomem *base);
20 int orion_pcie_get_local_bus_nr(void __iomem *base);
21 void orion_pcie_set_local_bus_nr(void __iomem *base, int nr);
22 void orion_pcie_reset(void __iomem *base);
23 void orion_pcie_setup(void __iomem *base);
24 int orion_pcie_rd_conf(void __iomem *base, struct pci_bus *bus,
26 int orion_pcie_rd_conf_tlp(void __iomem *base, struct pci_bus *bus,
28 int orion_pcie_rd_conf_wa(void __iomem *wa_base, struct pci_bus *bus,
30 int orion_pcie_wr_conf(void __iomem *base, struct pci_bus *bus,
H A Dtime.h14 void orion_time_set_base(void __iomem *timer_base);
16 void orion_time_init(void __iomem *bridge_base, u32 bridge_timer1_clr_mask,
H A Dirq.h14 void orion_irq_init(unsigned int irq_start, void __iomem *maskaddr);
/linux-4.4.14/include/clocksource/
H A Dtimer-sp804.h6 void __sp804_clocksource_and_sched_clock_init(void __iomem *,
8 void __sp804_clockevents_init(void __iomem *, unsigned int,
10 void sp804_timer_disable(void __iomem *);
12 static inline void sp804_clocksource_init(void __iomem *base, const char *name) sp804_clocksource_init()
17 static inline void sp804_clocksource_and_sched_clock_init(void __iomem *base, sp804_clocksource_and_sched_clock_init()
23 static inline void sp804_clockevents_init(void __iomem *base, unsigned int irq, const char *name) sp804_clockevents_init()
H A Dpxa.h15 extern void pxa_timer_nodt_init(int irq, void __iomem *base,
/linux-4.4.14/arch/x86/include/asm/
H A Dprobe_roms.h5 extern void __iomem *pci_map_biosrom(struct pci_dev *pdev);
6 extern void pci_unmap_biosrom(void __iomem *rom);
/linux-4.4.14/drivers/rtc/
H A Drtc-sa1100.h11 void __iomem *rcnr;
12 void __iomem *rtar;
13 void __iomem *rtsr;
14 void __iomem *rttr;
/linux-4.4.14/arch/sparc/lib/
H A Diomap.c9 void __iomem *ioport_map(unsigned long port, unsigned int nr) ioport_map()
11 return (void __iomem *) (unsigned long) port; ioport_map()
14 void ioport_unmap(void __iomem *addr) ioport_unmap()
21 void pci_iounmap(struct pci_dev *dev, void __iomem * addr) pci_iounmap()
H A DPeeCeeI.c14 void __iomem *addr = (void __iomem *) __addr; outsb()
24 void __iomem *addr = (void __iomem *) __addr; outsw()
35 void __iomem *addr = (void __iomem *) __addr; outsl()
89 void __iomem *addr = (void __iomem *) __addr; insb()
117 void __iomem *addr = (void __iomem *) __addr; insw()
145 void __iomem *addr = (void __iomem *) __addr; insl()
/linux-4.4.14/include/acpi/
H A Dacpi_io.h9 static inline void __iomem *acpi_os_ioremap(acpi_physical_address phys, acpi_os_ioremap()
16 void __iomem *__init_refok
18 void __ref acpi_os_unmap_iomem(void __iomem *virt, acpi_size size);
19 void __iomem *acpi_os_get_iomem(acpi_physical_address phys, unsigned int size);
/linux-4.4.14/arch/powerpc/include/asm/
H A Dide.h12 #define __ide_mm_insw(p, a, c) readsw((void __iomem *)(p), (a), (c))
13 #define __ide_mm_insl(p, a, c) readsl((void __iomem *)(p), (a), (c))
14 #define __ide_mm_outsw(p, a, c) writesw((void __iomem *)(p), (a), (c))
15 #define __ide_mm_outsl(p, a, c) writesl((void __iomem *)(p), (a), (c))
H A Dfsl_gtm.h28 u8 __iomem *gtcfr;
29 __be16 __iomem *gtmdr;
30 __be16 __iomem *gtpsr;
31 __be16 __iomem *gtcnr;
32 __be16 __iomem *gtrfr;
33 __be16 __iomem *gtevr;
/linux-4.4.14/arch/arm/plat-versatile/include/plat/
H A Dsched_clock.h4 void versatile_sched_clock_init(void __iomem *, unsigned long);
/linux-4.4.14/include/linux/
H A Dgoldfish.h6 static inline void gf_write_ptr(const void *ptr, void __iomem *portl, gf_write_ptr()
7 void __iomem *porth) gf_write_ptr()
16 void __iomem *portl, gf_write_dma_addr()
17 void __iomem *porth) gf_write_dma_addr()
H A Dio-64-nonatomic-hi-lo.h7 static inline __u64 hi_lo_readq(const volatile void __iomem *addr) hi_lo_readq()
9 const volatile u32 __iomem *p = addr; hi_lo_readq()
18 static inline void hi_lo_writeq(__u64 val, volatile void __iomem *addr) hi_lo_writeq()
H A Dio-64-nonatomic-lo-hi.h7 static inline __u64 lo_hi_readq(const volatile void __iomem *addr) lo_hi_readq()
9 const volatile u32 __iomem *p = addr; lo_hi_readq()
18 static inline void lo_hi_writeq(__u64 val, volatile void __iomem *addr) lo_hi_writeq()
H A Dbasic_mmio_gpio.h32 unsigned long (*read_reg)(void __iomem *reg);
33 void (*write_reg)(void __iomem *reg, unsigned long data);
35 void __iomem *reg_dat;
36 void __iomem *reg_set;
37 void __iomem *reg_clr;
38 void __iomem *reg_dir;
69 unsigned long sz, void __iomem *dat, void __iomem *set,
70 void __iomem *clr, void __iomem *dirout, void __iomem *dirin,
H A Dclksrc-dbx500-prcmu.h15 void __init clksrc_dbx500_prcmu_init(void __iomem *base);
17 static inline void __init clksrc_dbx500_prcmu_init(void __iomem *base) {}
H A Dsvga.h70 static inline void svga_wattr(void __iomem *regbase, u8 index, u8 data) svga_wattr()
79 static inline void svga_wseq_mask(void __iomem *regbase, u8 index, u8 data, u8 mask) svga_wseq_mask()
86 static inline void svga_wcrt_mask(void __iomem *regbase, u8 index, u8 data, u8 mask) svga_wcrt_mask()
99 void svga_wcrt_multi(void __iomem *regbase, const struct vga_regset *regset, u32 value);
100 void svga_wseq_multi(void __iomem *regbase, const struct vga_regset *regset, u32 value);
102 void svga_set_default_gfx_regs(void __iomem *regbase);
103 void svga_set_default_atc_regs(void __iomem *regbase);
104 void svga_set_default_seq_regs(void __iomem *regbase);
105 void svga_set_default_crt_regs(void __iomem *regbase);
106 void svga_set_textmode_vga_regs(void __iomem *regbase);
112 void svga_tilecursor(void __iomem *regbase, struct fb_info *info, struct fb_tilecursor *cursor);
119 void svga_set_timings(void __iomem *regbase, const struct svga_timing_regs *tm, struct fb_var_screeninfo *var, u32 hmul, u32 hdiv, u32 vmul, u32 vdiv, u32 hborder, int node);
H A Dio-mapping.h83 static inline void __iomem * io_mapping_map_atomic_wc()
97 io_mapping_unmap_atomic(void __iomem *vaddr) io_mapping_unmap_atomic()
102 static inline void __iomem * io_mapping_map_wc()
114 io_mapping_unmap(void __iomem *vaddr) io_mapping_unmap()
136 iounmap((void __force __iomem *) mapping); io_mapping_free()
140 static inline void __iomem * io_mapping_map_atomic_wc()
146 return ((char __force __iomem *) mapping) + offset; io_mapping_map_atomic_wc()
150 io_mapping_unmap_atomic(void __iomem *vaddr) io_mapping_unmap_atomic()
157 static inline void __iomem * io_mapping_map_wc()
160 return ((char __force __iomem *) mapping) + offset; io_mapping_map_wc()
164 io_mapping_unmap(void __iomem *vaddr) io_mapping_unmap()
H A Ddm9000.h36 void (*inblk)(void __iomem *reg, void *data, int len);
37 void (*outblk)(void __iomem *reg, void *data, int len);
38 void (*dumpblk)(void __iomem *reg, int len);
H A Dio.h31 __visible void __iowrite32_copy(void __iomem *to, const void *from, size_t count);
32 void __iowrite64_copy(void __iomem *to, const void *from, size_t count);
57 void __iomem * devm_ioport_map(struct device *dev, unsigned long port, ioremap_huge_init()
59 void devm_ioport_unmap(struct device *dev, void __iomem *addr); ioremap_huge_init()
61 static inline void __iomem *devm_ioport_map(struct device *dev, devm_ioport_map()
68 static inline void devm_ioport_unmap(struct device *dev, void __iomem *addr) devm_ioport_unmap()
73 #define IOMEM_ERR_PTR(err) (__force void __iomem *)ERR_PTR(err)
75 void __iomem *devm_ioremap(struct device *dev, resource_size_t offset,
77 void __iomem *devm_ioremap_nocache(struct device *dev, resource_size_t offset,
79 void __iomem *devm_ioremap_wc(struct device *dev, resource_size_t offset,
81 void devm_iounmap(struct device *dev, void __iomem *addr);
82 int check_signature(const volatile void __iomem *io_addr,
H A Dtimeriomem-rng.h12 void __iomem *address;
/linux-4.4.14/arch/powerpc/kernel/
H A Diomap.c16 unsigned int ioread8(void __iomem *addr) ioread8()
20 unsigned int ioread16(void __iomem *addr) ioread16()
24 unsigned int ioread16be(void __iomem *addr) ioread16be()
28 unsigned int ioread32(void __iomem *addr) ioread32()
32 unsigned int ioread32be(void __iomem *addr) ioread32be()
42 void iowrite8(u8 val, void __iomem *addr) iowrite8()
46 void iowrite16(u16 val, void __iomem *addr) iowrite16()
50 void iowrite16be(u16 val, void __iomem *addr) iowrite16be()
54 void iowrite32(u32 val, void __iomem *addr) iowrite32()
58 void iowrite32be(u32 val, void __iomem *addr) iowrite32be()
76 void ioread8_rep(void __iomem *addr, void *dst, unsigned long count) ioread8_rep()
80 void ioread16_rep(void __iomem *addr, void *dst, unsigned long count) ioread16_rep()
84 void ioread32_rep(void __iomem *addr, void *dst, unsigned long count) ioread32_rep()
92 void iowrite8_rep(void __iomem *addr, const void *src, unsigned long count) iowrite8_rep()
96 void iowrite16_rep(void __iomem *addr, const void *src, unsigned long count) iowrite16_rep()
100 void iowrite32_rep(void __iomem *addr, const void *src, unsigned long count) iowrite32_rep()
108 void __iomem *ioport_map(unsigned long port, unsigned int len) ioport_map()
110 return (void __iomem *) (port + _IO_BASE); ioport_map()
113 void ioport_unmap(void __iomem *addr) ioport_unmap()
121 void pci_iounmap(struct pci_dev *dev, void __iomem *addr) pci_iounmap()
H A Dudbg_16550.c16 extern u8 real_readb(volatile u8 __iomem *addr);
17 extern void real_writeb(u8 data, volatile u8 __iomem *addr);
18 extern u8 real_205_readb(volatile u8 __iomem *addr);
19 extern void real_205_writeb(u8 data, volatile u8 __iomem *addr);
163 unsigned char __iomem *mmio_base;
201 void udbg_uart_init_mmio(void __iomem *addr, unsigned int stride) udbg_uart_init_mmio()
214 #define UDBG_UART_MAPLE_ADDR ((void __iomem *)0xf40003f8)
237 #define UDBG_UART_PAS_ADDR ((void __iomem *)0xfcff03f8UL)
264 return as1_readb((void __iomem *)PPC44x_EARLY_DEBUG_VIRTADDR + reg); udbg_uart_in_44x_as1()
269 as1_writeb(val, (void __iomem *)PPC44x_EARLY_DEBUG_VIRTADDR + reg); udbg_uart_out_44x_as1()
285 return real_readb((void __iomem *)CONFIG_PPC_EARLY_DEBUG_40x_PHYSADDR udbg_uart_in_40x()
291 real_writeb(val, (void __iomem *)CONFIG_PPC_EARLY_DEBUG_40x_PHYSADDR udbg_uart_out_40x()
/linux-4.4.14/drivers/net/ethernet/samsung/sxgbe/
H A Dsxgbe_dma.h25 int (*init)(void __iomem *ioaddr, int fix_burst, int burst_map);
26 void (*cha_init)(void __iomem *ioaddr, int cha_num, int fix_burst,
29 void (*enable_dma_transmission)(void __iomem *ioaddr, int dma_cnum);
30 void (*enable_dma_irq)(void __iomem *ioaddr, int dma_cnum);
31 void (*disable_dma_irq)(void __iomem *ioaddr, int dma_cnum);
32 void (*start_tx)(void __iomem *ioaddr, int tchannels);
33 void (*start_tx_queue)(void __iomem *ioaddr, int dma_cnum);
34 void (*stop_tx)(void __iomem *ioaddr, int tchannels);
35 void (*stop_tx_queue)(void __iomem *ioaddr, int dma_cnum);
36 void (*start_rx)(void __iomem *ioaddr, int rchannels);
37 void (*stop_rx)(void __iomem *ioaddr, int rchannels);
38 int (*tx_dma_int_status)(void __iomem *ioaddr, int channel_no,
40 int (*rx_dma_int_status)(void __iomem *ioaddr, int channel_no,
43 void (*rx_watchdog)(void __iomem *ioaddr, u32 riwt);
45 void (*enable_tso)(void __iomem *ioaddr, u8 chan_num);
H A Dsxgbe_mtl.h64 void (*mtl_init)(void __iomem *ioaddr, unsigned int etsalg,
67 void (*mtl_set_txfifosize)(void __iomem *ioaddr, int queue_num,
70 void (*mtl_set_rxfifosize)(void __iomem *ioaddr, int queue_num,
73 void (*mtl_enable_txqueue)(void __iomem *ioaddr, int queue_num);
75 void (*mtl_disable_txqueue)(void __iomem *ioaddr, int queue_num);
77 void (*set_tx_mtl_mode)(void __iomem *ioaddr, int queue_num,
80 void (*set_rx_mtl_mode)(void __iomem *ioaddr, int queue_num,
83 void (*mtl_dynamic_dma_rxqueue)(void __iomem *ioaddr);
85 void (*mtl_fc_active)(void __iomem *ioaddr, int queue_num,
88 void (*mtl_fc_deactive)(void __iomem *ioaddr, int queue_num,
91 void (*mtl_fc_enable)(void __iomem *ioaddr, int queue_num);
93 void (*mtl_fep_enable)(void __iomem *ioaddr, int queue_num);
95 void (*mtl_fep_disable)(void __iomem *ioaddr, int queue_num);
97 void (*mtl_fup_enable)(void __iomem *ioaddr, int queue_num);
99 void (*mtl_fup_disable)(void __iomem *ioaddr, int queue_num);
H A Dsxgbe_mtl.c23 static void sxgbe_mtl_init(void __iomem *ioaddr, unsigned int etsalg, sxgbe_mtl_init()
57 static void sxgbe_mtl_dma_dm_rxqueue(void __iomem *ioaddr) sxgbe_mtl_dma_dm_rxqueue()
64 static void sxgbe_mtl_set_txfifosize(void __iomem *ioaddr, int queue_num, sxgbe_mtl_set_txfifosize()
76 static void sxgbe_mtl_set_rxfifosize(void __iomem *ioaddr, int queue_num, sxgbe_mtl_set_rxfifosize()
88 static void sxgbe_mtl_enable_txqueue(void __iomem *ioaddr, int queue_num) sxgbe_mtl_enable_txqueue()
97 static void sxgbe_mtl_disable_txqueue(void __iomem *ioaddr, int queue_num) sxgbe_mtl_disable_txqueue()
106 static void sxgbe_mtl_fc_active(void __iomem *ioaddr, int queue_num, sxgbe_mtl_fc_active()
118 static void sxgbe_mtl_fc_enable(void __iomem *ioaddr, int queue_num) sxgbe_mtl_fc_enable()
127 static void sxgbe_mtl_fc_deactive(void __iomem *ioaddr, int queue_num, sxgbe_mtl_fc_deactive()
139 static void sxgbe_mtl_fep_enable(void __iomem *ioaddr, int queue_num) sxgbe_mtl_fep_enable()
149 static void sxgbe_mtl_fep_disable(void __iomem *ioaddr, int queue_num) sxgbe_mtl_fep_disable()
159 static void sxgbe_mtl_fup_enable(void __iomem *ioaddr, int queue_num) sxgbe_mtl_fup_enable()
169 static void sxgbe_mtl_fup_disable(void __iomem *ioaddr, int queue_num) sxgbe_mtl_fup_disable()
180 static void sxgbe_set_tx_mtl_mode(void __iomem *ioaddr, int queue_num, sxgbe_set_tx_mtl_mode()
211 static void sxgbe_set_rx_mtl_mode(void __iomem *ioaddr, int queue_num, sxgbe_set_rx_mtl_mode()
H A Dsxgbe_core.c24 static void sxgbe_core_init(void __iomem *ioaddr) sxgbe_core_init()
47 static void sxgbe_core_dump_regs(void __iomem *ioaddr) sxgbe_core_dump_regs()
51 static int sxgbe_get_lpi_status(void __iomem *ioaddr, const u32 irq_status) sxgbe_get_lpi_status()
72 static int sxgbe_core_host_irq_status(void __iomem *ioaddr, sxgbe_core_host_irq_status()
86 static void sxgbe_core_pmt(void __iomem *ioaddr, unsigned long mode) sxgbe_core_pmt()
91 static void sxgbe_core_set_umac_addr(void __iomem *ioaddr, unsigned char *addr, sxgbe_core_set_umac_addr()
103 static void sxgbe_core_get_umac_addr(void __iomem *ioaddr, unsigned char *addr, sxgbe_core_get_umac_addr()
120 static void sxgbe_enable_tx(void __iomem *ioaddr, bool enable) sxgbe_enable_tx()
132 static void sxgbe_enable_rx(void __iomem *ioaddr, bool enable) sxgbe_enable_rx()
144 static int sxgbe_get_controller_version(void __iomem *ioaddr) sxgbe_get_controller_version()
150 static unsigned int sxgbe_get_hw_feature(void __iomem *ioaddr, sxgbe_get_hw_feature()
156 static void sxgbe_core_set_speed(void __iomem *ioaddr, unsigned char speed) sxgbe_core_set_speed()
168 static void sxgbe_core_enable_rxqueue(void __iomem *ioaddr, int queue_num) sxgbe_core_enable_rxqueue()
178 static void sxgbe_core_disable_rxqueue(void __iomem *ioaddr, int queue_num) sxgbe_core_disable_rxqueue()
188 static void sxgbe_set_eee_mode(void __iomem *ioaddr) sxgbe_set_eee_mode()
202 static void sxgbe_reset_eee_mode(void __iomem *ioaddr) sxgbe_reset_eee_mode()
211 static void sxgbe_set_eee_pls(void __iomem *ioaddr, const int link) sxgbe_set_eee_pls()
226 static void sxgbe_set_eee_timer(void __iomem *ioaddr, sxgbe_set_eee_timer()
241 static void sxgbe_enable_rx_csum(void __iomem *ioaddr) sxgbe_enable_rx_csum()
250 static void sxgbe_disable_rx_csum(void __iomem *ioaddr) sxgbe_disable_rx_csum()
H A Dsxgbe_dma.c24 static int sxgbe_dma_init(void __iomem *ioaddr, int fix_burst, int burst_map) sxgbe_dma_init()
46 static void sxgbe_dma_channel_init(void __iomem *ioaddr, int cha_num, sxgbe_dma_channel_init()
99 static void sxgbe_enable_dma_transmission(void __iomem *ioaddr, int cha_num) sxgbe_enable_dma_transmission()
108 static void sxgbe_enable_dma_irq(void __iomem *ioaddr, int dma_cnum) sxgbe_enable_dma_irq()
115 static void sxgbe_disable_dma_irq(void __iomem *ioaddr, int dma_cnum) sxgbe_disable_dma_irq()
121 static void sxgbe_dma_start_tx(void __iomem *ioaddr, int tchannels) sxgbe_dma_start_tx()
134 static void sxgbe_dma_start_tx_queue(void __iomem *ioaddr, int dma_cnum) sxgbe_dma_start_tx_queue()
143 static void sxgbe_dma_stop_tx_queue(void __iomem *ioaddr, int dma_cnum) sxgbe_dma_stop_tx_queue()
152 static void sxgbe_dma_stop_tx(void __iomem *ioaddr, int tchannels) sxgbe_dma_stop_tx()
164 static void sxgbe_dma_start_rx(void __iomem *ioaddr, int rchannels) sxgbe_dma_start_rx()
177 static void sxgbe_dma_stop_rx(void __iomem *ioaddr, int rchannels) sxgbe_dma_stop_rx()
189 static int sxgbe_tx_dma_int_status(void __iomem *ioaddr, int channel_no, sxgbe_tx_dma_int_status()
261 static int sxgbe_rx_dma_int_status(void __iomem *ioaddr, int channel_no, sxgbe_rx_dma_int_status()
328 static void sxgbe_dma_rx_watchdog(void __iomem *ioaddr, u32 riwt) sxgbe_dma_rx_watchdog()
338 static void sxgbe_enable_tso(void __iomem *ioaddr, u8 chan_num) sxgbe_enable_tso()
/linux-4.4.14/arch/arm/include/asm/
H A Dsmp_scu.h27 unsigned int scu_get_core_count(void __iomem *);
28 int scu_power_mode(void __iomem *, unsigned int);
30 static inline unsigned int scu_get_core_count(void __iomem *scu_base) scu_get_core_count()
34 static inline int scu_power_mode(void __iomem *scu_base, unsigned int mode) scu_power_mode()
41 void scu_enable(void __iomem *scu_base);
43 static inline void scu_enable(void __iomem *scu_base) {}
/linux-4.4.14/drivers/video/fbdev/kyro/
H A DSTG4000Interface.h20 extern int InitialiseRamdac(volatile STG4000REG __iomem *pSTGReg, u32 displayDepth,
25 extern void DisableRamdacOutput(volatile STG4000REG __iomem *pSTGReg);
26 extern void EnableRamdacOutput(volatile STG4000REG __iomem *pSTGReg);
31 extern void DisableVGA(volatile STG4000REG __iomem *pSTGReg);
32 extern void StopVTG(volatile STG4000REG __iomem *pSTGReg);
33 extern void StartVTG(volatile STG4000REG __iomem *pSTGReg);
34 extern void SetupVTG(volatile STG4000REG __iomem *pSTGReg,
38 extern int SetCoreClockPLL(volatile STG4000REG __iomem *pSTGReg, struct pci_dev *pDev);
43 extern void ResetOverlayRegisters(volatile STG4000REG __iomem *pSTGReg);
45 extern int CreateOverlaySurface(volatile STG4000REG __iomem *pSTGReg,
51 extern int SetOverlayBlendMode(volatile STG4000REG __iomem *pSTGReg,
55 extern int SetOverlayViewPort(volatile STG4000REG __iomem *pSTGReg,
59 extern void EnableOverlayPlane(volatile STG4000REG __iomem *pSTGReg);
/linux-4.4.14/arch/powerpc/platforms/44x/
H A D44x.h4 extern u8 as1_readb(volatile u8 __iomem *addr);
5 extern void as1_writeb(u8 data, volatile u8 __iomem *addr);
/linux-4.4.14/arch/sh/kernel/
H A Diomap.c14 unsigned int ioread8(void __iomem *addr) ioread8()
20 unsigned int ioread16(void __iomem *addr) ioread16()
26 unsigned int ioread16be(void __iomem *addr) ioread16be()
32 unsigned int ioread32(void __iomem *addr) ioread32()
38 unsigned int ioread32be(void __iomem *addr) ioread32be()
44 void iowrite8(u8 val, void __iomem *addr) iowrite8()
50 void iowrite16(u16 val, void __iomem *addr) iowrite16()
56 void iowrite16be(u16 val, void __iomem *addr) iowrite16be()
62 void iowrite32(u32 val, void __iomem *addr) iowrite32()
68 void iowrite32be(u32 val, void __iomem *addr) iowrite32be()
80 static inline void mmio_insb(void __iomem *addr, u8 *dst, int count) mmio_insb()
89 static inline void mmio_insw(void __iomem *addr, u16 *dst, int count) mmio_insw()
98 static inline void mmio_insl(void __iomem *addr, u32 *dst, int count) mmio_insl()
107 static inline void mmio_outsb(void __iomem *addr, const u8 *src, int count) mmio_outsb()
115 static inline void mmio_outsw(void __iomem *addr, const u16 *src, int count) mmio_outsw()
123 static inline void mmio_outsl(void __iomem *addr, const u32 *src, int count) mmio_outsl()
131 void ioread8_rep(void __iomem *addr, void *dst, unsigned long count) ioread8_rep()
137 void ioread16_rep(void __iomem *addr, void *dst, unsigned long count) ioread16_rep()
143 void ioread32_rep(void __iomem *addr, void *dst, unsigned long count) ioread32_rep()
149 void iowrite8_rep(void __iomem *addr, const void *src, unsigned long count) iowrite8_rep()
155 void iowrite16_rep(void __iomem *addr, const void *src, unsigned long count) iowrite16_rep()
161 void iowrite32_rep(void __iomem *addr, const void *src, unsigned long count) iowrite32_rep()
H A Dioport.c17 void __iomem *__ioport_map(unsigned long addr, unsigned int size) __ioport_map()
22 return (void __iomem *)(addr + sh_io_port_base); __ioport_map()
26 void __iomem *ioport_map(unsigned long port, unsigned int nr) ioport_map()
28 void __iomem *ret; ioport_map()
38 void ioport_unmap(void __iomem *addr) ioport_unmap()
/linux-4.4.14/arch/parisc/lib/
H A Diomap.c45 unsigned int (*read8)(void __iomem *);
46 unsigned int (*read16)(void __iomem *);
47 unsigned int (*read16be)(void __iomem *);
48 unsigned int (*read32)(void __iomem *);
49 unsigned int (*read32be)(void __iomem *);
50 void (*write8)(u8, void __iomem *);
51 void (*write16)(u16, void __iomem *);
52 void (*write16be)(u16, void __iomem *);
53 void (*write32)(u32, void __iomem *);
54 void (*write32be)(u32, void __iomem *);
55 void (*read8r)(void __iomem *, void *, unsigned long);
56 void (*read16r)(void __iomem *, void *, unsigned long);
57 void (*read32r)(void __iomem *, void *, unsigned long);
58 void (*write8r)(void __iomem *, const void *, unsigned long);
59 void (*write16r)(void __iomem *, const void *, unsigned long);
60 void (*write32r)(void __iomem *, const void *, unsigned long);
67 static unsigned int ioport_read8(void __iomem *addr) ioport_read8()
72 static unsigned int ioport_read16(void __iomem *addr) ioport_read16()
77 static unsigned int ioport_read32(void __iomem *addr) ioport_read32()
82 static void ioport_write8(u8 datum, void __iomem *addr) ioport_write8()
87 static void ioport_write16(u16 datum, void __iomem *addr) ioport_write16()
92 static void ioport_write32(u32 datum, void __iomem *addr) ioport_write32()
97 static void ioport_read8r(void __iomem *addr, void *dst, unsigned long count) ioport_read8r()
102 static void ioport_read16r(void __iomem *addr, void *dst, unsigned long count) ioport_read16r()
107 static void ioport_read32r(void __iomem *addr, void *dst, unsigned long count) ioport_read32r()
112 static void ioport_write8r(void __iomem *addr, const void *s, unsigned long n) ioport_write8r()
117 static void ioport_write16r(void __iomem *addr, const void *s, unsigned long n) ioport_write16r()
122 static void ioport_write32r(void __iomem *addr, const void *s, unsigned long n) ioport_write32r()
148 static unsigned int iomem_read8(void __iomem *addr) iomem_read8()
153 static unsigned int iomem_read16(void __iomem *addr) iomem_read16()
158 static unsigned int iomem_read16be(void __iomem *addr) iomem_read16be()
163 static unsigned int iomem_read32(void __iomem *addr) iomem_read32()
168 static unsigned int iomem_read32be(void __iomem *addr) iomem_read32be()
173 static void iomem_write8(u8 datum, void __iomem *addr) iomem_write8()
178 static void iomem_write16(u16 datum, void __iomem *addr) iomem_write16()
183 static void iomem_write16be(u16 datum, void __iomem *addr) iomem_write16be()
188 static void iomem_write32(u32 datum, void __iomem *addr) iomem_write32()
193 static void iomem_write32be(u32 datum, void __iomem *addr) iomem_write32be()
198 static void iomem_read8r(void __iomem *addr, void *dst, unsigned long count) iomem_read8r()
206 static void iomem_read16r(void __iomem *addr, void *dst, unsigned long count) iomem_read16r()
214 static void iomem_read32r(void __iomem *addr, void *dst, unsigned long count) iomem_read32r()
222 static void iomem_write8r(void __iomem *addr, const void *s, unsigned long n) iomem_write8r()
230 static void iomem_write16r(void __iomem *addr, const void *s, unsigned long n) iomem_write16r()
238 static void iomem_write32r(void __iomem *addr, const void *s, unsigned long n) iomem_write32r()
271 unsigned int ioread8(void __iomem *addr) ioread8()
278 unsigned int ioread16(void __iomem *addr) ioread16()
285 unsigned int ioread16be(void __iomem *addr) ioread16be()
292 unsigned int ioread32(void __iomem *addr) ioread32()
299 unsigned int ioread32be(void __iomem *addr) ioread32be()
306 void iowrite8(u8 datum, void __iomem *addr) iowrite8()
315 void iowrite16(u16 datum, void __iomem *addr) iowrite16()
324 void iowrite16be(u16 datum, void __iomem *addr) iowrite16be()
333 void iowrite32(u32 datum, void __iomem *addr) iowrite32()
342 void iowrite32be(u32 datum, void __iomem *addr) iowrite32be()
353 void ioread8_rep(void __iomem *addr, void *dst, unsigned long count) ioread8_rep()
365 void ioread16_rep(void __iomem *addr, void *dst, unsigned long count) ioread16_rep()
377 void ioread32_rep(void __iomem *addr, void *dst, unsigned long count) ioread32_rep()
389 void iowrite8_rep(void __iomem *addr, const void *src, unsigned long count) iowrite8_rep()
401 void iowrite16_rep(void __iomem *addr, const void *src, unsigned long count) iowrite16_rep()
413 void iowrite32_rep(void __iomem *addr, const void *src, unsigned long count) iowrite32_rep()
427 void __iomem *ioport_map(unsigned long port, unsigned int nr) ioport_map()
429 return (void __iomem *)(IOPORT_MAP_BASE | port); ioport_map()
432 void ioport_unmap(void __iomem *addr) ioport_unmap()
439 void pci_iounmap(struct pci_dev *dev, void __iomem * addr) pci_iounmap()
/linux-4.4.14/arch/mips/include/asm/txx9/
H A Drbtx4939.h84 #define rbtx4939_board_rev_addr ((u8 __iomem *)RBTX4939_BOARD_REV_ADDR)
85 #define rbtx4939_ioc_rev_addr ((u8 __iomem *)RBTX4939_IOC_REV_ADDR)
86 #define rbtx4939_config1_addr ((u8 __iomem *)RBTX4939_CONFIG1_ADDR)
87 #define rbtx4939_config2_addr ((u8 __iomem *)RBTX4939_CONFIG2_ADDR)
88 #define rbtx4939_config3_addr ((u8 __iomem *)RBTX4939_CONFIG3_ADDR)
89 #define rbtx4939_config4_addr ((u8 __iomem *)RBTX4939_CONFIG4_ADDR)
90 #define rbtx4939_ustat_addr ((u8 __iomem *)RBTX4939_USTAT_ADDR)
91 #define rbtx4939_udipsw_addr ((u8 __iomem *)RBTX4939_UDIPSW_ADDR)
92 #define rbtx4939_bdipsw_addr ((u8 __iomem *)RBTX4939_BDIPSW_ADDR)
93 #define rbtx4939_ien_addr ((u8 __iomem *)RBTX4939_IEN_ADDR)
94 #define rbtx4939_ipol_addr ((u8 __iomem *)RBTX4939_IPOL_ADDR)
95 #define rbtx4939_ifac1_addr ((u8 __iomem *)RBTX4939_IFAC1_ADDR)
96 #define rbtx4939_ifac2_addr ((u8 __iomem *)RBTX4939_IFAC2_ADDR)
97 #define rbtx4939_softint_addr ((u8 __iomem *)RBTX4939_SOFTINT_ADDR)
98 #define rbtx4939_isastat_addr ((u8 __iomem *)RBTX4939_ISASTAT_ADDR)
99 #define rbtx4939_pcistat_addr ((u8 __iomem *)RBTX4939_PCISTAT_ADDR)
100 #define rbtx4939_rome_addr ((u8 __iomem *)RBTX4939_ROME_ADDR)
101 #define rbtx4939_spics_addr ((u8 __iomem *)RBTX4939_SPICS_ADDR)
102 #define rbtx4939_audi_addr ((u8 __iomem *)RBTX4939_AUDI_ADDR)
103 #define rbtx4939_isagpio_addr ((u8 __iomem *)RBTX4939_ISAGPIO_ADDR)
104 #define rbtx4939_pe1_addr ((u8 __iomem *)RBTX4939_PE1_ADDR)
105 #define rbtx4939_pe2_addr ((u8 __iomem *)RBTX4939_PE2_ADDR)
106 #define rbtx4939_pe3_addr ((u8 __iomem *)RBTX4939_PE3_ADDR)
107 #define rbtx4939_vp_addr ((u8 __iomem *)RBTX4939_VP_ADDR)
108 #define rbtx4939_vpreset_addr ((u8 __iomem *)RBTX4939_VPRESET_ADDR)
109 #define rbtx4939_vpsout_addr ((u8 __iomem *)RBTX4939_VPSOUT_ADDR)
110 #define rbtx4939_vpsin_addr ((u8 __iomem *)RBTX4939_VPSIN_ADDR)
112 ((u8 __iomem *)RBTX4939_7SEG_ADDR(s, ch))
113 #define rbtx4939_softreset_addr ((u8 __iomem *)RBTX4939_SOFTRESET_ADDR)
114 #define rbtx4939_reseten_addr ((u8 __iomem *)RBTX4939_RESETEN_ADDR)
115 #define rbtx4939_resetstat_addr ((u8 __iomem *)RBTX4939_RESETSTAT_ADDR)
H A Drbtx4938.h65 #define rbtx4938_fpga_rev_addr ((__u8 __iomem *)RBTX4938_FPGA_REV_ADDR)
66 #define rbtx4938_led_addr ((__u8 __iomem *)RBTX4938_LED_ADDR)
67 #define rbtx4938_dipsw_addr ((__u8 __iomem *)RBTX4938_DIPSW_ADDR)
68 #define rbtx4938_bdipsw_addr ((__u8 __iomem *)RBTX4938_BDIPSW_ADDR)
69 #define rbtx4938_imask_addr ((__u8 __iomem *)RBTX4938_IMASK_ADDR)
70 #define rbtx4938_imask2_addr ((__u8 __iomem *)RBTX4938_IMASK2_ADDR)
71 #define rbtx4938_intpol_addr ((__u8 __iomem *)RBTX4938_INTPOL_ADDR)
72 #define rbtx4938_istat_addr ((__u8 __iomem *)RBTX4938_ISTAT_ADDR)
73 #define rbtx4938_istat2_addr ((__u8 __iomem *)RBTX4938_ISTAT2_ADDR)
74 #define rbtx4938_imstat_addr ((__u8 __iomem *)RBTX4938_IMSTAT_ADDR)
75 #define rbtx4938_imstat2_addr ((__u8 __iomem *)RBTX4938_IMSTAT2_ADDR)
76 #define rbtx4938_softint_addr ((__u8 __iomem *)RBTX4938_SOFTINT_ADDR)
77 #define rbtx4938_piosel_addr ((__u8 __iomem *)RBTX4938_PIOSEL_ADDR)
78 #define rbtx4938_spics_addr ((__u8 __iomem *)RBTX4938_SPICS_ADDR)
79 #define rbtx4938_sfpwr_addr ((__u8 __iomem *)RBTX4938_SFPWR_ADDR)
80 #define rbtx4938_sfvol_addr ((__u8 __iomem *)RBTX4938_SFVOL_ADDR)
81 #define rbtx4938_softreset_addr ((__u8 __iomem *)RBTX4938_SOFTRESET_ADDR)
83 ((__u8 __iomem *)RBTX4938_SOFTRESETLOCK_ADDR)
84 #define rbtx4938_pcireset_addr ((__u8 __iomem *)RBTX4938_PCIRESET_ADDR)
/linux-4.4.14/drivers/video/fbdev/nvidia/
H A Dnv_type.h107 u8 __iomem *FbStart;
143 u32 __iomem *dmaBase;
154 volatile u32 __iomem *REGS;
155 volatile u32 __iomem *PCRTC0;
156 volatile u32 __iomem *PCRTC;
157 volatile u32 __iomem *PRAMDAC0;
158 volatile u32 __iomem *PFB;
159 volatile u32 __iomem *PFIFO;
160 volatile u32 __iomem *PGRAPH;
161 volatile u32 __iomem *PEXTDEV;
162 volatile u32 __iomem *PTIMER;
163 volatile u32 __iomem *PMC;
164 volatile u32 __iomem *PRAMIN;
165 volatile u32 __iomem *FIFO;
166 volatile u32 __iomem *CURSOR;
167 volatile u8 __iomem *PCIO0;
168 volatile u8 __iomem *PCIO;
169 volatile u8 __iomem *PVIO;
170 volatile u8 __iomem *PDIO0;
171 volatile u8 __iomem *PDIO;
172 volatile u32 __iomem *PRAMDAC;
/linux-4.4.14/include/asm-generic/
H A Diomap.h28 extern unsigned int ioread8(void __iomem *);
29 extern unsigned int ioread16(void __iomem *);
30 extern unsigned int ioread16be(void __iomem *);
31 extern unsigned int ioread32(void __iomem *);
32 extern unsigned int ioread32be(void __iomem *);
34 extern void iowrite8(u8, void __iomem *);
35 extern void iowrite16(u16, void __iomem *);
36 extern void iowrite16be(u16, void __iomem *);
37 extern void iowrite32(u32, void __iomem *);
38 extern void iowrite32be(u32, void __iomem *);
51 extern void ioread8_rep(void __iomem *port, void *buf, unsigned long count);
52 extern void ioread16_rep(void __iomem *port, void *buf, unsigned long count);
53 extern void ioread32_rep(void __iomem *port, void *buf, unsigned long count);
55 extern void iowrite8_rep(void __iomem *port, const void *buf, unsigned long count);
56 extern void iowrite16_rep(void __iomem *port, const void *buf, unsigned long count);
57 extern void iowrite32_rep(void __iomem *port, const void *buf, unsigned long count);
61 extern void __iomem *ioport_map(unsigned long port, unsigned int nr);
62 extern void ioport_unmap(void __iomem *);
76 extern void pci_iounmap(struct pci_dev *dev, void __iomem *);
79 static inline void pci_iounmap(struct pci_dev *dev, void __iomem *addr) pci_iounmap()
H A Dide_iops.h8 static __inline__ void __ide_mm_insw(void __iomem *port, void *addr, u32 count) __ide_mm_insw()
16 static __inline__ void __ide_mm_insl(void __iomem *port, void *addr, u32 count) __ide_mm_insl()
24 static __inline__ void __ide_mm_outsw(void __iomem *port, void *addr, u32 count) __ide_mm_outsw()
32 static __inline__ void __ide_mm_outsl(void __iomem * port, void *addr, u32 count) __ide_mm_outsl()
H A Dpci_iomap.h17 extern void __iomem *pci_iomap(struct pci_dev *dev, int bar, unsigned long max);
18 extern void __iomem *pci_iomap_wc(struct pci_dev *dev, int bar, unsigned long max);
19 extern void __iomem *pci_iomap_range(struct pci_dev *dev, int bar,
22 extern void __iomem *pci_iomap_wc_range(struct pci_dev *dev, int bar,
29 extern void __iomem *__pci_ioport_map(struct pci_dev *dev, unsigned long port,
36 static inline void __iomem *pci_iomap(struct pci_dev *dev, int bar, unsigned long max) pci_iomap()
41 static inline void __iomem *pci_iomap_wc(struct pci_dev *dev, int bar, unsigned long max) pci_iomap_wc()
45 static inline void __iomem *pci_iomap_range(struct pci_dev *dev, int bar, pci_iomap_range()
51 static inline void __iomem *pci_iomap_wc_range(struct pci_dev *dev, int bar, pci_iomap_wc_range()
H A Dio.h38 static inline u8 __raw_readb(const volatile void __iomem *addr) __raw_readb()
46 static inline u16 __raw_readw(const volatile void __iomem *addr) __raw_readw()
54 static inline u32 __raw_readl(const volatile void __iomem *addr) __raw_readl()
63 static inline u64 __raw_readq(const volatile void __iomem *addr) __raw_readq()
72 static inline void __raw_writeb(u8 value, volatile void __iomem *addr) __raw_writeb()
80 static inline void __raw_writew(u16 value, volatile void __iomem *addr) __raw_writew()
88 static inline void __raw_writel(u32 value, volatile void __iomem *addr) __raw_writel()
97 static inline void __raw_writeq(u64 value, volatile void __iomem *addr) __raw_writeq()
111 static inline u8 readb(const volatile void __iomem *addr) readb()
119 static inline u16 readw(const volatile void __iomem *addr) readw()
127 static inline u32 readl(const volatile void __iomem *addr) readl()
136 static inline u64 readq(const volatile void __iomem *addr) readq()
145 static inline void writeb(u8 value, volatile void __iomem *addr) writeb()
153 static inline void writew(u16 value, volatile void __iomem *addr) writew()
161 static inline void writel(u32 value, volatile void __iomem *addr) writel()
170 static inline void writeq(u64 value, volatile void __iomem *addr) writeq()
220 static inline void readsb(const volatile void __iomem *addr, void *buffer, readsb()
236 static inline void readsw(const volatile void __iomem *addr, void *buffer, readsw()
252 static inline void readsl(const volatile void __iomem *addr, void *buffer, readsl()
269 static inline void readsq(const volatile void __iomem *addr, void *buffer, readsq()
286 static inline void writesb(volatile void __iomem *addr, const void *buffer, writesb()
301 static inline void writesw(volatile void __iomem *addr, const void *buffer, writesw()
316 static inline void writesl(volatile void __iomem *addr, const void *buffer, writesl()
332 static inline void writesq(volatile void __iomem *addr, const void *buffer, writesq()
347 #define PCI_IOBASE ((void __iomem *)0)
566 static inline u8 ioread8(const volatile void __iomem *addr) ioread8()
574 static inline u16 ioread16(const volatile void __iomem *addr) ioread16()
582 static inline u32 ioread32(const volatile void __iomem *addr) ioread32()
590 static inline void iowrite8(u8 value, volatile void __iomem *addr) iowrite8()
598 static inline void iowrite16(u16 value, volatile void __iomem *addr) iowrite16()
606 static inline void iowrite32(u32 value, volatile void __iomem *addr) iowrite32()
614 static inline u16 ioread16be(const volatile void __iomem *addr) ioread16be()
622 static inline u32 ioread32be(const volatile void __iomem *addr) ioread32be()
630 static inline void iowrite16be(u16 value, void volatile __iomem *addr) iowrite16be()
638 static inline void iowrite32be(u32 value, volatile void __iomem *addr) iowrite32be()
646 static inline void ioread8_rep(const volatile void __iomem *addr, void *buffer, ioread8_rep()
655 static inline void ioread16_rep(const volatile void __iomem *addr, ioread16_rep()
664 static inline void ioread32_rep(const volatile void __iomem *addr, ioread32_rep()
673 static inline void iowrite8_rep(volatile void __iomem *addr, iowrite8_rep()
683 static inline void iowrite16_rep(volatile void __iomem *addr, iowrite16_rep()
693 static inline void iowrite32_rep(volatile void __iomem *addr, iowrite32_rep()
709 extern void __iomem *pci_iomap(struct pci_dev *dev, int bar, unsigned long max);
713 static inline void pci_iounmap(struct pci_dev *dev, void __iomem *p) pci_iounmap()
760 static inline void __iomem *ioremap_uc(phys_addr_t offset, size_t size) ioremap_uc()
777 static inline void __iomem *ioremap(phys_addr_t offset, size_t size) ioremap()
779 return (void __iomem *)(unsigned long)offset; ioremap()
785 static inline void __iomem *__ioremap(phys_addr_t offset, size_t size, __ioremap()
794 static inline void __iomem *ioremap_nocache(phys_addr_t offset, size_t size) ioremap_nocache()
802 static inline void __iomem *ioremap_uc(phys_addr_t offset, size_t size) ioremap_uc()
810 static inline void __iomem *ioremap_wc(phys_addr_t offset, size_t size) ioremap_wc()
818 static inline void __iomem *ioremap_wt(phys_addr_t offset, size_t size) ioremap_wt()
827 static inline void iounmap(void __iomem *addr) iounmap()
837 static inline void __iomem *ioport_map(unsigned long port, unsigned int nr) ioport_map()
845 static inline void ioport_unmap(void __iomem *p) ioport_unmap()
850 extern void __iomem *ioport_map(unsigned long port, unsigned int nr);
851 extern void ioport_unmap(void __iomem *p);
894 static inline void memset_io(volatile void __iomem *addr, int value, memset_io()
904 const volatile void __iomem *addr, memcpy_fromio()
913 static inline void memcpy_toio(volatile void __iomem *addr, const void *buffer, memcpy_toio()
/linux-4.4.14/arch/sparc/include/asm/
H A Dio_32.h15 static inline void _memset_io(volatile void __iomem *dst, _memset_io()
18 volatile void __iomem *d = dst; _memset_io()
26 static inline void _memcpy_fromio(void *dst, const volatile void __iomem *src, _memcpy_fromio()
38 static inline void _memcpy_toio(volatile void __iomem *dst, const void *src, _memcpy_toio()
42 volatile void __iomem *d = dst; _memcpy_toio()
57 static inline u8 sbus_readb(const volatile void __iomem *addr) sbus_readb()
62 static inline u16 sbus_readw(const volatile void __iomem *addr) sbus_readw()
67 static inline u32 sbus_readl(const volatile void __iomem *addr) sbus_readl()
72 static inline void sbus_writeb(u8 b, volatile void __iomem *addr) sbus_writeb()
77 static inline void sbus_writew(u16 w, volatile void __iomem *addr) sbus_writew()
82 static inline void sbus_writel(u32 l, volatile void __iomem *addr) sbus_writel()
87 static inline void sbus_memset_io(volatile void __iomem *__dst, int c, sbus_memset_io()
97 const volatile void __iomem *src, sbus_memcpy_fromio()
109 static inline void sbus_memcpy_toio(volatile void __iomem *dst, sbus_memcpy_toio()
114 volatile void __iomem *d = dst; sbus_memcpy_toio()
129 void __iomem *ioremap(unsigned long offset, unsigned long size);
133 void iounmap(volatile void __iomem *addr);
136 void __iomem *ioport_map(unsigned long port, unsigned int nr);
137 void ioport_unmap(void __iomem *);
141 void pci_iounmap(struct pci_dev *dev, void __iomem *);
H A Dio_64.h20 static inline u8 __raw_readb(const volatile void __iomem *addr) __raw_readb()
32 static inline u16 __raw_readw(const volatile void __iomem *addr) __raw_readw()
44 static inline u32 __raw_readl(const volatile void __iomem *addr) __raw_readl()
56 static inline u64 __raw_readq(const volatile void __iomem *addr) __raw_readq()
68 static inline void __raw_writeb(u8 b, const volatile void __iomem *addr) __raw_writeb()
76 static inline void __raw_writew(u16 w, const volatile void __iomem *addr) __raw_writew()
84 static inline void __raw_writel(u32 l, const volatile void __iomem *addr) __raw_writel()
92 static inline void __raw_writeq(u64 q, const volatile void __iomem *addr) __raw_writeq()
105 static inline u8 readb(const volatile void __iomem *addr) readb()
117 static inline u16 readw(const volatile void __iomem *addr) readw()
130 static inline u32 readl(const volatile void __iomem *addr) readl()
143 static inline u64 readq(const volatile void __iomem *addr) readq()
156 static inline void writeb(u8 b, volatile void __iomem *addr) writeb()
166 static inline void writew(u16 w, volatile void __iomem *addr) writew()
176 static inline void writel(u32 l, volatile void __iomem *addr) writel()
186 static inline void writeq(u64 q, volatile void __iomem *addr) writeq()
197 return readb((volatile void __iomem *)addr); inb()
203 return readw((volatile void __iomem *)addr); inw()
209 return readl((volatile void __iomem *)addr); inl()
215 writeb(b, (volatile void __iomem *)addr); outb()
221 writew(w, (volatile void __iomem *)addr); outw()
227 writel(l, (volatile void __iomem *)addr); outl()
245 static inline void ioread8_rep(void __iomem *port, void *buf, unsigned long count) ioread8_rep()
249 static inline void ioread16_rep(void __iomem *port, void *buf, unsigned long count) ioread16_rep()
254 static inline void ioread32_rep(void __iomem *port, void *buf, unsigned long count) ioread32_rep()
259 static inline void iowrite8_rep(void __iomem *port, const void *buf, unsigned long count) iowrite8_rep()
264 static inline void iowrite16_rep(void __iomem *port, const void *buf, unsigned long count) iowrite16_rep()
269 static inline void iowrite32_rep(void __iomem *port, const void *buf, unsigned long count) iowrite32_rep()
282 static inline u8 sbus_readb(const volatile void __iomem *addr) sbus_readb()
287 static inline u16 sbus_readw(const volatile void __iomem *addr) sbus_readw()
292 static inline u32 sbus_readl(const volatile void __iomem *addr) sbus_readl()
297 static inline u64 sbus_readq(const volatile void __iomem *addr) sbus_readq()
302 static inline void sbus_writeb(u8 b, volatile void __iomem *addr) sbus_writeb()
307 static inline void sbus_writew(u16 w, volatile void __iomem *addr) sbus_writew()
312 static inline void sbus_writel(u32 l, volatile void __iomem *addr) sbus_writel()
317 static inline void sbus_writeq(u64 q, volatile void __iomem *addr) sbus_writeq()
322 static inline void sbus_memset_io(volatile void __iomem *dst, int c, __kernel_size_t n) sbus_memset_io()
330 static inline void memset_io(volatile void __iomem *dst, int c, __kernel_size_t n) memset_io()
332 volatile void __iomem *d = dst; memset_io()
340 static inline void sbus_memcpy_fromio(void *dst, const volatile void __iomem *src, sbus_memcpy_fromio()
353 static inline void memcpy_fromio(void *dst, const volatile void __iomem *src, memcpy_fromio()
365 static inline void sbus_memcpy_toio(volatile void __iomem *dst, const void *src, sbus_memcpy_toio()
369 volatile void __iomem *d = dst; sbus_memcpy_toio()
378 static inline void memcpy_toio(volatile void __iomem *dst, const void *src, memcpy_toio()
382 volatile void __iomem *d = dst; memcpy_toio()
398 static inline void __iomem *ioremap(unsigned long offset, unsigned long size) ioremap()
400 return (void __iomem *)offset; ioremap()
407 static inline void iounmap(volatile void __iomem *addr) iounmap()
423 void __iomem *ioport_map(unsigned long port, unsigned int nr);
424 void ioport_unmap(void __iomem *);
428 void pci_iounmap(struct pci_dev *dev, void __iomem *);
H A Dauxio.h6 extern void __iomem *auxio_register;
/linux-4.4.14/arch/mips/lib/
H A Diomap.c28 unsigned int ioread8(void __iomem *addr) ioread8()
35 unsigned int ioread16(void __iomem *addr) ioread16()
42 unsigned int ioread16be(void __iomem *addr) ioread16be()
49 unsigned int ioread32(void __iomem *addr) ioread32()
56 unsigned int ioread32be(void __iomem *addr) ioread32be()
63 void iowrite8(u8 val, void __iomem *addr) iowrite8()
70 void iowrite16(u16 val, void __iomem *addr) iowrite16()
77 void iowrite16be(u16 val, void __iomem *addr) iowrite16be()
84 void iowrite32(u32 val, void __iomem *addr) iowrite32()
91 void iowrite32be(u32 val, void __iomem *addr) iowrite32be()
104 static inline void mmio_insb(void __iomem *addr, u8 *dst, int count) mmio_insb()
113 static inline void mmio_insw(void __iomem *addr, u16 *dst, int count) mmio_insw()
122 static inline void mmio_insl(void __iomem *addr, u32 *dst, int count) mmio_insl()
131 static inline void mmio_outsb(void __iomem *addr, const u8 *src, int count) mmio_outsb()
139 static inline void mmio_outsw(void __iomem *addr, const u16 *src, int count) mmio_outsw()
147 static inline void mmio_outsl(void __iomem *addr, const u32 *src, int count) mmio_outsl()
155 void ioread8_rep(void __iomem *addr, void *dst, unsigned long count) ioread8_rep()
162 void ioread16_rep(void __iomem *addr, void *dst, unsigned long count) ioread16_rep()
169 void ioread32_rep(void __iomem *addr, void *dst, unsigned long count) ioread32_rep()
176 void iowrite8_rep(void __iomem *addr, const void *src, unsigned long count) iowrite8_rep()
183 void iowrite16_rep(void __iomem *addr, const void *src, unsigned long count) iowrite16_rep()
190 void iowrite32_rep(void __iomem *addr, const void *src, unsigned long count) iowrite32_rep()
206 static void __iomem *ioport_map_legacy(unsigned long port, unsigned int nr) ioport_map_legacy()
208 return (void __iomem *) (mips_io_port_base + port); ioport_map_legacy()
211 void __iomem *ioport_map(unsigned long port, unsigned int nr) ioport_map()
221 void ioport_unmap(void __iomem *addr) ioport_unmap()
H A Diomap-pci.c13 void __iomem *__pci_ioport_map(struct pci_dev *dev, __pci_ioport_map()
40 return (void __iomem *) (ctrl->io_map_base + port); __pci_ioport_map()
43 void pci_iounmap(struct pci_dev *dev, void __iomem * addr) pci_iounmap()
/linux-4.4.14/include/drm/
H A Ddrm_os_linux.h10 static inline u64 readq(void __iomem *reg) readq()
15 static inline void writeq(u64 val, void __iomem *reg) writeq()
26 #define DRM_READ8(map, offset) readb(((void __iomem *)(map)->handle) + (offset))
28 #define DRM_READ16(map, offset) readw(((void __iomem *)(map)->handle) + (offset))
30 #define DRM_READ32(map, offset) readl(((void __iomem *)(map)->handle) + (offset))
32 #define DRM_WRITE8(map, offset, val) writeb(val, ((void __iomem *)(map)->handle) + (offset))
34 #define DRM_WRITE16(map, offset, val) writew(val, ((void __iomem *)(map)->handle) + (offset))
36 #define DRM_WRITE32(map, offset, val) writel(val, ((void __iomem *)(map)->handle) + (offset))
39 #define DRM_READ64(map, offset) readq(((void __iomem *)(map)->handle) + (offset))
41 #define DRM_WRITE64(map, offset, val) writeq(val, ((void __iomem *)(map)->handle) + (offset))
/linux-4.4.14/drivers/tty/serial/cpm_uart/
H A Dcpm_uart_cpm1.h18 static inline void cpm_set_scc_fcr(scc_uart_t __iomem * sup) cpm_set_scc_fcr()
24 static inline void cpm_set_smc_fcr(smc_uart_t __iomem * up) cpm_set_smc_fcr()
30 #define DPRAM_BASE ((u8 __iomem __force *)cpm_dpram_addr(0))
H A Dcpm_uart_cpm2.h18 static inline void cpm_set_scc_fcr(scc_uart_t __iomem *sup) cpm_set_scc_fcr()
24 static inline void cpm_set_smc_fcr(smc_uart_t __iomem *up) cpm_set_smc_fcr()
30 #define DPRAM_BASE ((u8 __iomem __force *)cpm_dpram_addr(0))
H A Dcpm_uart.h66 smc_t __iomem *smcp;
67 smc_uart_t __iomem *smcup;
68 scc_t __iomem *sccp;
69 scc_uart_t __iomem *sccup;
70 cbd_t __iomem *rx_bd_base;
71 cbd_t __iomem *rx_cur;
72 cbd_t __iomem *tx_bd_base;
73 cbd_t __iomem *tx_cur;
95 void __iomem *cpm_uart_map_pram(struct uart_cpm_port *port,
97 void cpm_uart_unmap_pram(struct uart_cpm_port *port, void __iomem *pram);
/linux-4.4.14/arch/arm/mach-clps711x/
H A Dcommon.h20 void clps711x_clk_init(void __iomem *base);
22 void clps711x_clksrc_init(void __iomem *tc1_base, void __iomem *tc2_base,
/linux-4.4.14/drivers/gpu/drm/bridge/
H A Ddw_hdmi-audio.h8 void __iomem *base;
/linux-4.4.14/arch/m68k/include/asm/
H A Dzorro.h18 static inline void __iomem *z_remap_nocache_ser(unsigned long physaddr, z_remap_nocache_ser()
24 static inline void __iomem *z_remap_nocache_nonser(unsigned long physaddr, z_remap_nocache_nonser()
30 static inline void __iomem *z_remap_writethrough(unsigned long physaddr, z_remap_writethrough()
35 static inline void __iomem *z_remap_fullcache(unsigned long physaddr, z_remap_fullcache()
/linux-4.4.14/arch/arm/mach-spear/
H A Dgeneric.h29 void __init spear3xx_clk_init(void __iomem *misc_base,
30 void __iomem *soc_config_base);
33 void __init spear6xx_clk_init(void __iomem *misc_base);
45 void __init spear1310_clk_init(void __iomem *misc_base, void __iomem *ras_base);
47 static inline void spear1310_clk_init(void __iomem *misc_base, void __iomem *ras_base) {} spear1310_clk_init()
51 void __init spear1340_clk_init(void __iomem *misc_base); spear1310_clk_init()
53 static inline void spear1340_clk_init(void __iomem *misc_base) {}
/linux-4.4.14/drivers/misc/ibmasm/
H A Dlowlevel.h55 static inline int sp_interrupt_pending(void __iomem *base_address) sp_interrupt_pending()
60 static inline int uart_interrupt_pending(void __iomem *base_address) uart_interrupt_pending()
65 static inline void ibmasm_enable_interrupts(void __iomem *base_address, int mask) ibmasm_enable_interrupts()
67 void __iomem *ctrl_reg = base_address + INTR_CONTROL_REGISTER; ibmasm_enable_interrupts()
71 static inline void ibmasm_disable_interrupts(void __iomem *base_address, int mask) ibmasm_disable_interrupts()
73 void __iomem *ctrl_reg = base_address + INTR_CONTROL_REGISTER; ibmasm_disable_interrupts()
77 static inline void enable_sp_interrupts(void __iomem *base_address) enable_sp_interrupts()
82 static inline void disable_sp_interrupts(void __iomem *base_address) disable_sp_interrupts()
87 static inline void enable_uart_interrupts(void __iomem *base_address) enable_uart_interrupts()
92 static inline void disable_uart_interrupts(void __iomem *base_address) disable_uart_interrupts()
99 static inline u32 get_mfa_outbound(void __iomem *base_address) get_mfa_outbound()
112 static inline void set_mfa_outbound(void __iomem *base_address, u32 mfa) set_mfa_outbound()
117 static inline u32 get_mfa_inbound(void __iomem *base_address) get_mfa_inbound()
127 static inline void set_mfa_inbound(void __iomem *base_address, u32 mfa) set_mfa_inbound()
132 static inline struct i2o_message *get_i2o_message(void __iomem *base_address, u32 mfa) get_i2o_message()
/linux-4.4.14/arch/frv/include/asm/
H A Dio.h60 __builtin_write8((volatile void __iomem *) __ioaddr, *bp++); io_outsb()
69 __builtin_write16((volatile void __iomem *) __ioaddr, (*bp++)); io_outsw()
89 *bp++ = __builtin_read8((volatile void __iomem *) addr); io_insb()
97 *bp++ = __builtin_read16((volatile void __iomem *) addr); io_insw()
117 static inline void memset_io(volatile void __iomem *addr, unsigned char val, int count) memset_io()
122 static inline void memcpy_fromio(void *dst, const volatile void __iomem *src, int count) memcpy_fromio()
127 static inline void memcpy_toio(volatile void __iomem *dst, const void *src, int count) memcpy_toio()
134 return __builtin_read8((void __iomem *)addr); inb()
139 uint16_t ret = __builtin_read16((void __iomem *)addr); inw()
149 uint32_t ret = __builtin_read32((void __iomem *)addr); inl()
159 __builtin_write8((void __iomem *)addr, datum); outb()
166 __builtin_write16((void __iomem *)addr, datum); outw()
173 __builtin_write32((void __iomem *)addr, datum); outl()
193 static inline uint8_t readb(const volatile void __iomem *addr) readb()
195 return __builtin_read8((__force void volatile __iomem *) addr); readb()
198 static inline uint16_t readw(const volatile void __iomem *addr) readw()
200 uint16_t ret = __builtin_read16((__force void volatile __iomem *)addr); readw()
207 static inline uint32_t readl(const volatile void __iomem *addr) readl()
209 uint32_t ret = __builtin_read32((__force void volatile __iomem *)addr); readl()
221 static inline void writeb(uint8_t datum, volatile void __iomem *addr) writeb()
228 static inline void writew(uint16_t datum, volatile void __iomem *addr) writew()
238 static inline void writel(uint32_t datum, volatile void __iomem *addr) writel()
258 extern void __iomem *__ioremap(unsigned long physaddr, unsigned long size, int cacheflag);
260 static inline void __iomem *ioremap(unsigned long physaddr, unsigned long size) ioremap()
265 static inline void __iomem *ioremap_nocache(unsigned long physaddr, unsigned long size) ioremap_nocache()
270 static inline void __iomem *ioremap_wt(unsigned long physaddr, unsigned long size) ioremap_wt()
275 static inline void __iomem *ioremap_fullcache(unsigned long physaddr, unsigned long size) ioremap_fullcache()
283 extern void iounmap(void volatile __iomem *addr);
285 static inline void __iomem *ioport_map(unsigned long port, unsigned int nr) ioport_map()
287 return (void __iomem *) port; ioport_map()
290 static inline void ioport_unmap(void __iomem *p) ioport_unmap()
302 static inline unsigned int ioread8(void __iomem *p) ioread8()
307 static inline unsigned int ioread16(void __iomem *p) ioread16()
315 static inline unsigned int ioread32(void __iomem *p) ioread32()
323 static inline void iowrite8(u8 val, void __iomem *p) iowrite8()
330 static inline void iowrite16(u16 val, void __iomem *p) iowrite16()
339 static inline void iowrite32(u32 val, void __iomem *p) iowrite32()
353 static inline void ioread8_rep(void __iomem *p, void *dst, unsigned long count) ioread8_rep()
358 static inline void ioread16_rep(void __iomem *p, void *dst, unsigned long count) ioread16_rep()
363 static inline void ioread32_rep(void __iomem *p, void *dst, unsigned long count) ioread32_rep()
368 static inline void iowrite8_rep(void __iomem *p, const void *src, unsigned long count) iowrite8_rep()
373 static inline void iowrite16_rep(void __iomem *p, const void *src, unsigned long count) iowrite16_rep()
378 static inline void iowrite32_rep(void __iomem *p, const void *src, unsigned long count) iowrite32_rep()
385 static inline void pci_iounmap(struct pci_dev *dev, void __iomem *p) pci_iounmap()
/linux-4.4.14/arch/ia64/lib/
H A Dio.c10 void memcpy_fromio(void *to, const volatile void __iomem *from, long count) memcpy_fromio()
25 void memcpy_toio(volatile void __iomem *to, const void *from, long count) memcpy_toio()
40 void memset_io(volatile void __iomem *dst, int c, long count) memset_io()
111 __ia64_readb (void __iomem *addr) __ia64_readb()
117 __ia64_readw (void __iomem *addr) __ia64_readw()
123 __ia64_readl (void __iomem *addr) __ia64_readl()
129 __ia64_readq (void __iomem *addr) __ia64_readq()
135 __ia64_readb_relaxed (void __iomem *addr) __ia64_readb_relaxed()
141 __ia64_readw_relaxed (void __iomem *addr) __ia64_readw_relaxed()
147 __ia64_readl_relaxed (void __iomem *addr) __ia64_readl_relaxed()
153 __ia64_readq_relaxed (void __iomem *addr) __ia64_readq_relaxed()
/linux-4.4.14/drivers/staging/sm750fb/
H A Dddk750_help.c3 void __iomem *mmio750;
8 void ddk750_set_mmio(void __iomem *addr, unsigned short devId, char revId) ddk750_set_mmio()
H A Dddk750_help.h15 extern void __iomem *mmio750;
/linux-4.4.14/drivers/isdn/hardware/eicon/
H A Ddiva_pci.h6 void __iomem *divasa_remap_pci_bar(diva_os_xdi_adapter_t *a,
10 void divasa_unmap_pci_bar(void __iomem *bar);
H A Ds_4bri.c48 byte __iomem *base; qBri_cpu_trapped()
101 word volatile __iomem *qBriReset; reset_qBri_hardware()
102 byte volatile __iomem *qBriCntrl; reset_qBri_hardware()
103 byte volatile __iomem *p; reset_qBri_hardware()
105 qBriReset = (word volatile __iomem *)DIVA_OS_MEM_ATTACH_PROM(IoAdapter); reset_qBri_hardware()
129 byte volatile __iomem *qBriReset; start_qBri_hardware()
130 byte volatile __iomem *p; start_qBri_hardware()
147 byte volatile __iomem *p; stop_qBri_hardware()
148 dword volatile __iomem *qBriReset; stop_qBri_hardware()
149 dword volatile __iomem *qBriIrq; stop_qBri_hardware()
150 dword volatile __iomem *qBriIsacDspReset; stop_qBri_hardware()
159 qBriReset = (dword volatile __iomem *)&p[reset_offset]; stop_qBri_hardware()
160 qBriIsacDspReset = (dword volatile __iomem *)&p[hw_offset]; stop_qBri_hardware()
173 qBriIrq = (dword volatile __iomem *)&p[irq_offset]; stop_qBri_hardware()
279 word volatile __iomem *addr = (word volatile __iomem *)DIVA_OS_MEM_ATTACH_PROM(IoAdapter); qBri_FPGA_download()
370 dword volatile __iomem *qBriIrq; qBri_ISR()
376 byte __iomem *p; qBri_ISR()
390 qBriIrq = (dword volatile __iomem *)(&p[DIVA_4BRI_REVISION(IoAdapter) ? (MQ2_BREG_IRQ_TEST) : (MQ_BREG_IRQ_TEST)]); qBri_ISR()
414 dword volatile __iomem *qBriIrq; disable_qBri_interrupt()
415 byte __iomem *p; disable_qBri_interrupt()
427 qBriIrq = (dword volatile __iomem *)(&p[DIVA_4BRI_REVISION(IoAdapter) ? (MQ2_BREG_IRQ_TEST) : (MQ_BREG_IRQ_TEST)]); disable_qBri_interrupt()
/linux-4.4.14/arch/ia64/sn/kernel/sn2/
H A Dio.c61 unsigned char __sn_readb(void __iomem *addr) __sn_readb()
66 unsigned short __sn_readw(void __iomem *addr) __sn_readw()
71 unsigned int __sn_readl(void __iomem *addr) __sn_readl()
76 unsigned long __sn_readq(void __iomem *addr) __sn_readq()
81 unsigned char __sn_readb_relaxed(void __iomem *addr) __sn_readb_relaxed()
86 unsigned short __sn_readw_relaxed(void __iomem *addr) __sn_readw_relaxed()
91 unsigned int __sn_readl_relaxed(void __iomem *addr) __sn_readl_relaxed()
96 unsigned long __sn_readq_relaxed(void __iomem *addr) __sn_readq_relaxed()
/linux-4.4.14/drivers/video/fbdev/mb862xx/
H A Dmb862xxfb.h57 void __iomem *fb_base; /* remapped framebuffer */
58 void __iomem *mmio_base; /* remapped registers */
64 void __iomem *host; /* relocatable reg. bases */
65 void __iomem *i2c;
66 void __iomem *disp;
67 void __iomem *disp1;
68 void __iomem *cap;
69 void __iomem *cap1;
70 void __iomem *draw;
71 void __iomem *geo;
72 void __iomem *pio;
73 void __iomem *ctrl;
74 void __iomem *dram_ctrl;
75 void __iomem *wrback;
/linux-4.4.14/arch/ia64/mm/
H A Dioremap.c18 static inline void __iomem * __ioremap_uc()
21 return (void __iomem *) (__IA64_UNCACHED_OFFSET | phys_addr); __ioremap_uc()
24 void __iomem * early_ioremap()
30 return (void __iomem *) phys_to_virt(phys_addr); early_ioremap()
34 void __iomem * ioremap()
37 void __iomem *addr; ioremap()
52 return (void __iomem *) phys_to_virt(phys_addr); ioremap()
63 return (void __iomem *) phys_to_virt(phys_addr); ioremap()
90 addr = (void __iomem *) area->addr; ioremap()
97 return (void __iomem *) (offset + (char __iomem *)addr); ioremap()
104 void __iomem * ioremap_nocache()
115 early_iounmap (volatile void __iomem *addr, unsigned long size) early_iounmap()
120 iounmap (volatile void __iomem *addr) iounmap()
/linux-4.4.14/arch/arm/mach-ebsa110/
H A Dio.c31 static void __iomem *__isamem_convert_addr(const volatile void __iomem *addr) __isamem_convert_addr()
57 return (void __iomem *)ret; __isamem_convert_addr()
66 u8 __readb(const volatile void __iomem *addr) __readb()
68 void __iomem *a = __isamem_convert_addr(addr); __readb()
78 u16 __readw(const volatile void __iomem *addr) __readw()
80 void __iomem *a = __isamem_convert_addr(addr); __readw()
88 u32 __readl(const volatile void __iomem *addr) __readl()
90 void __iomem *a = __isamem_convert_addr(addr); __readl()
105 void readsw(const volatile void __iomem *addr, void *data, int len) readsw()
107 void __iomem *a = __isamem_convert_addr(addr); readsw()
115 void readsl(const volatile void __iomem *addr, void *data, int len) readsl()
117 void __iomem *a = __isamem_convert_addr(addr); readsl()
125 void __writeb(u8 val, volatile void __iomem *addr) __writeb()
127 void __iomem *a = __isamem_convert_addr(addr); __writeb()
135 void __writew(u16 val, volatile void __iomem *addr) __writew()
137 void __iomem *a = __isamem_convert_addr(addr); __writew()
145 void __writel(u32 val, volatile void __iomem *addr) __writel()
147 void __iomem *a = __isamem_convert_addr(addr); __writel()
160 void writesw(volatile void __iomem *addr, const void *data, int len) writesw()
162 void __iomem *a = __isamem_convert_addr(addr); writesw()
170 void writesl(volatile void __iomem *addr, const void *data, int len) writesl()
172 void __iomem *a = __isamem_convert_addr(addr); writesl()
217 ret = __raw_readb((void __iomem *)ISAIO_BASE + (port << 2)); __inb8()
219 void __iomem *a = (void __iomem *)ISAIO_BASE + ((port & ~1) << 1); __inb8()
248 return __raw_readb((void __iomem *)ISAIO_BASE + offset); __inb16()
264 return __raw_readw((void __iomem *)ISAIO_BASE + offset); __inw()
272 void __iomem *a; __inl()
277 a = (void __iomem *)ISAIO_BASE + ((port & ~1) << 1); __inl()
293 __raw_writeb(val, (void __iomem *)ISAIO_BASE + (port << 2)); __outb8()
295 void __iomem *a = (void __iomem *)ISAIO_BASE + ((port & ~1) << 1); __outb8()
319 __raw_writeb(val, (void __iomem *)ISAIO_BASE + offset); __outb16()
335 __raw_writew(val, (void __iomem *)ISAIO_BASE + offset); __outw()
360 __raw_writesb((void __iomem *)ISAIO_BASE + off, from, len); outsb()
375 __raw_readsb((void __iomem *)ISAIO_BASE + off, from, len); insb()
393 __raw_writesw((void __iomem *)ISAIO_BASE + off, from, len); outsw()
408 __raw_readsw((void __iomem *)ISAIO_BASE + off, from, len); insw()
425 __raw_writesw((void __iomem *)ISAIO_BASE + off, from, len << 1); outsl()
435 __raw_readsw((void __iomem *)ISAIO_BASE + off, from, len << 1); insl()
/linux-4.4.14/drivers/clk/imx/
H A Dclk.h24 const char *parent, void __iomem *base);
27 void __iomem *base);
40 const char *parent_name, void __iomem *base, u32 div_mask);
44 void __iomem *reg, u8 bit_idx,
52 void __iomem *reg, u8 shift, u32 exclusive_mask);
55 void __iomem *reg, u8 shift) imx_clk_gate2()
62 const char *parent, void __iomem *reg, u8 shift, imx_clk_gate2_shared()
70 void __iomem *reg, u8 idx);
73 void __iomem *reg, u8 shift, u8 width,
74 void __iomem *busy_reg, u8 busy_shift);
76 struct clk *imx_clk_busy_mux(const char *name, void __iomem *reg, u8 shift,
77 u8 width, void __iomem *busy_reg, u8 busy_shift,
81 void __iomem *reg, u8 shift, u8 width,
84 struct clk *imx_clk_fixup_mux(const char *name, void __iomem *reg,
94 void __iomem *reg, u8 shift, u8 width) imx_clk_divider()
101 const char *parent, void __iomem *reg, u8 shift, u8 width, imx_clk_divider_flags()
109 void __iomem *reg, u8 shift) imx_clk_gate()
116 void __iomem *reg, u8 shift) imx_clk_gate_dis()
122 static inline struct clk *imx_clk_mux(const char *name, void __iomem *reg, imx_clk_mux()
131 void __iomem *reg, u8 shift, u8 width, const char **parents, imx_clk_mux_flags()
/linux-4.4.14/arch/mips/ath25/
H A Dearly_printk.c17 static inline void prom_uart_wr(void __iomem *base, unsigned reg, prom_uart_wr()
23 static inline unsigned char prom_uart_rr(void __iomem *base, unsigned reg) prom_uart_rr()
30 static void __iomem *base; prom_putchar()
34 base = (void __iomem *)(KSEG1ADDR(AR2315_UART0_BASE)); prom_putchar()
36 base = (void __iomem *)(KSEG1ADDR(AR5312_UART0_BASE)); prom_putchar()
H A Dboard.c26 static inline bool check_radio_magic(const void __iomem *addr) check_radio_magic()
32 static inline bool check_notempty(const void __iomem *addr) check_notempty()
37 static inline bool check_board_data(const void __iomem *addr, bool broken) check_board_data()
57 static const void __iomem * __init find_board_config(const void __iomem *limit, find_board_config()
60 const void __iomem *addr; find_board_config()
61 const void __iomem *begin = limit - 0x1000; find_board_config()
62 const void __iomem *end = limit - 0x30000; find_board_config()
71 static const void __iomem * __init find_radio_config(const void __iomem *limit, find_radio_config()
72 const void __iomem *bcfg) find_radio_config()
74 const void __iomem *rcfg, *begin, *end; find_radio_config()
104 const void __iomem *flash_base, *flash_limit; ath25_find_config()
108 const void __iomem *bcfg, *rcfg; ath25_find_config()
/linux-4.4.14/drivers/misc/mic/card/
H A Dmic_virtio.h43 static inline unsigned mic_desc_size(struct mic_device_desc __iomem *desc) mic_desc_size()
51 static inline struct mic_vqconfig __iomem * mic_vq_config()
52 mic_vq_config(struct mic_device_desc __iomem *desc) mic_vq_config()
54 return (struct mic_vqconfig __iomem *)(desc + 1); mic_vq_config()
57 static inline __u8 __iomem * mic_vq_features()
58 mic_vq_features(struct mic_device_desc __iomem *desc) mic_vq_features()
60 return (__u8 __iomem *)(mic_vq_config(desc) + ioread8(&desc->num_vq)); mic_vq_features()
63 static inline __u8 __iomem * mic_vq_configspace()
64 mic_vq_configspace(struct mic_device_desc __iomem *desc) mic_vq_configspace()
68 static inline unsigned mic_total_desc_size(struct mic_device_desc __iomem *desc) mic_total_desc_size()
/linux-4.4.14/arch/metag/include/asm/
H A Dio.h17 static inline u8 __raw_readb(const volatile void __iomem *addr) __raw_readb()
28 static inline u16 __raw_readw(const volatile void __iomem *addr) __raw_readw()
39 static inline u32 __raw_readl(const volatile void __iomem *addr) __raw_readl()
50 static inline u64 __raw_readq(const volatile void __iomem *addr) __raw_readq()
61 static inline void __raw_writeb(u8 b, volatile void __iomem *addr) __raw_writeb()
71 static inline void __raw_writew(u16 b, volatile void __iomem *addr) __raw_writew()
81 static inline void __raw_writel(u32 b, volatile void __iomem *addr) __raw_writel()
91 static inline void __raw_writeq(u64 b, volatile void __iomem *addr) __raw_writeq()
117 * These can be provided with a physical address rather than an __iomem pointer
122 #define metag_in8(addr) __raw_readb((volatile void __iomem *)(addr))
123 #define metag_in16(addr) __raw_readw((volatile void __iomem *)(addr))
124 #define metag_in32(addr) __raw_readl((volatile void __iomem *)(addr))
125 #define metag_in64(addr) __raw_readq((volatile void __iomem *)(addr))
127 #define metag_out8(b, addr) __raw_writeb(b, (volatile void __iomem *)(addr))
128 #define metag_out16(b, addr) __raw_writew(b, (volatile void __iomem *)(addr))
129 #define metag_out32(b, addr) __raw_writel(b, (volatile void __iomem *)(addr))
130 #define metag_out64(b, addr) __raw_writeq(b, (volatile void __iomem *)(addr))
136 extern void __iomem *__ioremap(unsigned long offset,
138 extern void __iounmap(void __iomem *addr);
H A Dhwthread.h26 void __iomem *__CU_addr(unsigned int thread, unsigned int regnum) __CU_addr()
37 return (void __iomem *)(base + thread_offset + thread_regnum); __CU_addr()
/linux-4.4.14/drivers/clk/mxs/
H A Dclk.h25 int mxs_clk_wait(void __iomem *reg, u8 shift);
28 void __iomem *base, u8 power, unsigned long rate);
31 void __iomem *reg, u8 idx);
34 void __iomem *reg, u8 shift, u8 width, u8 busy);
37 void __iomem *reg, u8 shift, u8 width, u8 busy);
45 const char *parent_name, void __iomem *reg, u8 shift) mxs_clk_gate()
52 static inline struct clk *mxs_clk_mux(const char *name, void __iomem *reg, mxs_clk_mux()
/linux-4.4.14/arch/mips/ath79/
H A Dearly_printk.c23 static inline void prom_putchar_wait(void __iomem *reg, u32 mask, u32 val) prom_putchar_wait()
38 void __iomem *base = (void __iomem *)(KSEG1ADDR(AR71XX_UART_BASE)); prom_putchar_ar71xx()
47 void __iomem *base = (void __iomem *)(KSEG1ADDR(AR933X_UART_BASE)); prom_putchar_ar933x()
63 void __iomem *base; prom_putchar_init()
66 base = (void __iomem *)(KSEG1ADDR(AR71XX_RESET_BASE)); prom_putchar_init()
H A Dcommon.c38 void __iomem *ath79_pll_base;
39 void __iomem *ath79_reset_base;
41 static void __iomem *ath79_ddr_base;
42 static void __iomem *ath79_ddr_wb_flush_base;
43 static void __iomem *ath79_ddr_pci_win_base;
61 void __iomem *flush_reg = ath79_ddr_wb_flush_base + reg; ath79_ddr_wb_flush()
/linux-4.4.14/arch/arm/mach-iop13xx/
H A Dio.c26 static void __iomem *__iop13xx_ioremap_caller(phys_addr_t cookie, __iop13xx_ioremap_caller()
29 void __iomem * retval; __iop13xx_ioremap_caller()
62 static void __iop13xx_iounmap(volatile void __iomem *addr) __iop13xx_iounmap()
65 if (addr >= (void __iomem *) iop13xx_atue_mem_base && __iop13xx_iounmap()
66 addr < (void __iomem *) (iop13xx_atue_mem_base + __iop13xx_iounmap()
71 if (addr >= (void __iomem *) iop13xx_atux_mem_base && __iop13xx_iounmap()
72 addr < (void __iomem *) (iop13xx_atux_mem_base + __iop13xx_iounmap()
/linux-4.4.14/arch/arc/mm/
H A Dioremap.c17 void __iomem *ioremap(unsigned long paddr, unsigned long size) ioremap()
28 return (void __iomem *)paddr; ioremap()
41 void __iomem *ioremap_prot(phys_addr_t paddr, unsigned long size, ioremap_prot()
44 void __iomem *vaddr; ioremap_prot()
73 vaddr = (void __iomem *)area->addr; ioremap_prot()
79 return (void __iomem *)(off + (char __iomem *)vaddr); ioremap_prot()
84 void iounmap(const void __iomem *addr) iounmap()
86 if (addr >= (void __force __iomem *)ARC_UNCACHED_ADDR_SPACE) iounmap()
/linux-4.4.14/drivers/clk/at91/
H A Dsckc.h16 void __iomem *sckcr);
18 void __iomem *sckcr);
20 void __iomem *sckcr);
/linux-4.4.14/arch/mips/include/asm/mach-bcm63xx/
H A Dioremap.h35 static inline void __iomem *plat_ioremap(phys_addr_t offset, unsigned long size, plat_ioremap()
39 return (void __iomem *)offset; plat_ioremap()
43 static inline int plat_iounmap(const volatile void __iomem *addr) plat_iounmap()
/linux-4.4.14/arch/arm/mm/
H A Diomap.c16 void __iomem *ioport_map(unsigned long port, unsigned int nr) ioport_map()
22 void ioport_unmap(void __iomem *addr) ioport_unmap()
35 void pci_iounmap(struct pci_dev *dev, void __iomem *addr) pci_iounmap()
/linux-4.4.14/arch/arm/mach-ks8695/include/mach/
H A Duncompress.h22 while (!(__raw_readl((void __iomem*)KS8695_UART_PA + KS8695_URLS) & URLS_URTHRE)) putc()
25 __raw_writel(c, (void __iomem*)KS8695_UART_PA + KS8695_URTH); putc()
30 while (!(__raw_readl((void __iomem*)KS8695_UART_PA + KS8695_URLS) & URLS_URTE)) flush()
/linux-4.4.14/lib/
H A Diomap.c71 unsigned int ioread8(void __iomem *addr) ioread8()
76 unsigned int ioread16(void __iomem *addr) ioread16()
81 unsigned int ioread16be(void __iomem *addr) ioread16be()
86 unsigned int ioread32(void __iomem *addr) ioread32()
91 unsigned int ioread32be(void __iomem *addr) ioread32be()
112 void iowrite8(u8 val, void __iomem *addr) iowrite8()
116 void iowrite16(u16 val, void __iomem *addr) iowrite16()
120 void iowrite16be(u16 val, void __iomem *addr) iowrite16be()
124 void iowrite32(u32 val, void __iomem *addr) iowrite32()
128 void iowrite32be(u32 val, void __iomem *addr) iowrite32be()
145 static inline void mmio_insb(void __iomem *addr, u8 *dst, int count) mmio_insb()
153 static inline void mmio_insw(void __iomem *addr, u16 *dst, int count) mmio_insw()
161 static inline void mmio_insl(void __iomem *addr, u32 *dst, int count) mmio_insl()
172 static inline void mmio_outsb(void __iomem *addr, const u8 *src, int count) mmio_outsb()
179 static inline void mmio_outsw(void __iomem *addr, const u16 *src, int count) mmio_outsw()
186 static inline void mmio_outsl(void __iomem *addr, const u32 *src, int count) mmio_outsl()
195 void ioread8_rep(void __iomem *addr, void *dst, unsigned long count) ioread8_rep()
199 void ioread16_rep(void __iomem *addr, void *dst, unsigned long count) ioread16_rep()
203 void ioread32_rep(void __iomem *addr, void *dst, unsigned long count) ioread32_rep()
211 void iowrite8_rep(void __iomem *addr, const void *src, unsigned long count) iowrite8_rep()
215 void iowrite16_rep(void __iomem *addr, const void *src, unsigned long count) iowrite16_rep()
219 void iowrite32_rep(void __iomem *addr, const void *src, unsigned long count) iowrite32_rep()
229 void __iomem *ioport_map(unsigned long port, unsigned int nr) ioport_map()
233 return (void __iomem *) (unsigned long) (port + PIO_OFFSET); ioport_map()
236 void ioport_unmap(void __iomem *addr) ioport_unmap()
247 void pci_iounmap(struct pci_dev *dev, void __iomem * addr) pci_iounmap()
H A Ddevres.c9 iounmap(*(void __iomem **)res); devm_ioremap_release()
25 void __iomem *devm_ioremap(struct device *dev, resource_size_t offset, devm_ioremap()
28 void __iomem **ptr, *addr; devm_ioremap()
54 void __iomem *devm_ioremap_nocache(struct device *dev, resource_size_t offset, devm_ioremap_nocache()
57 void __iomem **ptr, *addr; devm_ioremap_nocache()
82 void __iomem *devm_ioremap_wc(struct device *dev, resource_size_t offset, devm_ioremap_wc()
85 void __iomem **ptr, *addr; devm_ioremap_wc()
109 void devm_iounmap(struct device *dev, void __iomem *addr) devm_iounmap()
134 void __iomem *devm_ioremap_resource(struct device *dev, struct resource *res) devm_ioremap_resource()
138 void __iomem *dest_ptr; devm_ioremap_resource()
172 ioport_unmap(*(void __iomem **)res); devm_ioport_map_release()
190 void __iomem *devm_ioport_map(struct device *dev, unsigned long port, devm_ioport_map()
193 void __iomem **ptr, *addr; devm_ioport_map()
218 void devm_ioport_unmap(struct device *dev, void __iomem *addr) devm_ioport_unmap()
234 void __iomem *table[PCIM_IOMAP_MAX];
261 void __iomem * const *pcim_iomap_table(struct pci_dev *pdev) pcim_iomap_table()
286 void __iomem *pcim_iomap(struct pci_dev *pdev, int bar, unsigned long maxlen) pcim_iomap()
288 void __iomem **tbl; pcim_iomap()
292 tbl = (void __iomem **)pcim_iomap_table(pdev); pcim_iomap()
308 void pcim_iounmap(struct pci_dev *pdev, void __iomem *addr) pcim_iounmap()
310 void __iomem **tbl; pcim_iounmap()
315 tbl = (void __iomem **)pcim_iomap_table(pdev); pcim_iounmap()
337 void __iomem * const *iomap; pcim_iomap_regions()
414 void __iomem * const *iomap; pcim_iounmap_regions()
/linux-4.4.14/drivers/net/ethernet/altera/
H A Daltera_utils.h22 void tse_set_bit(void __iomem *ioaddr, size_t offs, u32 bit_mask);
23 void tse_clear_bit(void __iomem *ioaddr, size_t offs, u32 bit_mask);
24 int tse_bit_is_set(void __iomem *ioaddr, size_t offs, u32 bit_mask);
25 int tse_bit_is_clear(void __iomem *ioaddr, size_t offs, u32 bit_mask);
H A Daltera_utils.c20 void tse_set_bit(void __iomem *ioaddr, size_t offs, u32 bit_mask) tse_set_bit()
27 void tse_clear_bit(void __iomem *ioaddr, size_t offs, u32 bit_mask) tse_clear_bit()
34 int tse_bit_is_set(void __iomem *ioaddr, size_t offs, u32 bit_mask) tse_bit_is_set()
40 int tse_bit_is_clear(void __iomem *ioaddr, size_t offs, u32 bit_mask) tse_bit_is_clear()
/linux-4.4.14/drivers/clk/zte/
H A Dclk.h23 void __iomem *reg_base;
30 unsigned long flags, void __iomem *reg_base,
35 void __iomem *reg_base;
40 unsigned long flags, void __iomem *reg_base);
/linux-4.4.14/arch/tile/include/asm/
H A Dvga.h26 __raw_writew(val, (volatile u16 __iomem *) addr); scr_writew()
31 return __raw_readw((volatile const u16 __iomem *) addr); scr_readw()
34 #define vga_readb(a) readb((u8 __iomem *)(a))
35 #define vga_writeb(v,a) writeb(v, (u8 __iomem *)(a))
/linux-4.4.14/arch/sh/include/asm/
H A Dheartbeat.h9 void __iomem *base;
H A Dio_trapped.h16 void __iomem *virt_base;
23 void __iomem *match_trapped_io_handler(struct list_head *list,
30 static inline void __iomem * __ioremap_trapped()
42 static inline void __iomem * __ioport_map_trapped()
H A Dio_generic.h14 void __iomem *IO_CONCAT(__IO_PREFIX,ioport_map)(unsigned long addr, unsigned int size);
15 void IO_CONCAT(__IO_PREFIX,ioport_unmap)(void __iomem *addr);
H A Dmmu.h63 void __iomem *pmb_remap_caller(phys_addr_t phys, unsigned long size,
65 int pmb_unmap(void __iomem *addr);
76 static inline void __iomem * pmb_remap_caller()
83 static inline int pmb_unmap(void __iomem *addr) pmb_unmap()
98 static inline void __iomem * pmb_remap()
H A Dio.h91 pfx##writes##bwlq(volatile void __iomem *mem, const void *addr, \
102 static inline void pfx##reads##bwlq(volatile void __iomem *mem, \
117 void __raw_writesl(void __iomem *addr, const void *data, int longlen);
118 void __raw_readsl(const void __iomem *addr, void *data, int longlen);
148 extern void __iomem *__ioport_map(unsigned long addr, unsigned int size);
234 void memcpy_fromio(void *, const volatile void __iomem *, unsigned long);
235 void memcpy_toio(volatile void __iomem *, const void *, unsigned long);
236 void memset_io(volatile void __iomem *, int, unsigned long);
269 void __iomem *__ioremap_caller(phys_addr_t offset, unsigned long size,
271 void __iounmap(void __iomem *addr);
273 static inline void __iomem * __ioremap()
279 static inline void __iomem * __ioremap_29bit()
301 return (void __iomem *)P1SEGADDR(offset); __ioremap_29bit()
303 return (void __iomem *)P2SEGADDR(offset); __ioremap_29bit()
308 return (void __iomem *)P4SEGADDR(offset); __ioremap_29bit()
314 static inline void __iomem * __ioremap_mode()
317 void __iomem *ret; __ioremap_mode()
330 #define __ioremap(offset, size, prot) ((void __iomem *)(offset))
331 #define __ioremap_mode(offset, size, prot) ((void __iomem *)(offset))
335 static inline void __iomem *ioremap(phys_addr_t offset, unsigned long size) ioremap()
340 static inline void __iomem * ioremap_cache()
348 static inline void __iomem * ioremap_prot()
356 extern void __iomem *ioremap_fixed(phys_addr_t, unsigned long, pgprot_t);
357 extern int iounmap_fixed(void __iomem *);
360 static inline void __iomem * ioremap_fixed()
368 static inline int iounmap_fixed(void __iomem *addr) { return -EINVAL; }
H A Dmachvec.h25 void __iomem *(*mv_ioport_map)(unsigned long port, unsigned int size);
26 void (*mv_ioport_unmap)(void __iomem *);
/linux-4.4.14/arch/mn10300/include/asm/
H A Dio.h28 static inline u8 readb(const volatile void __iomem *addr) readb()
33 static inline u16 readw(const volatile void __iomem *addr) readw()
38 static inline u32 readl(const volatile void __iomem *addr) readl()
51 static inline void writeb(u8 b, volatile void __iomem *addr) writeb()
56 static inline void writew(u16 b, volatile void __iomem *addr) writew()
61 static inline void writel(u32 b, volatile void __iomem *addr) writel()
80 return readb((volatile void __iomem *) addr); inb_local()
85 return writeb(b, (volatile void __iomem *) addr); outb_local()
90 return readb((volatile void __iomem *) addr); inb()
95 return readw((volatile void __iomem *) addr); inw()
100 return readl((volatile void __iomem *) addr); inl()
105 return writeb(b, (volatile void __iomem *) addr); outb()
110 return writew(b, (volatile void __iomem *) addr); outw()
115 return writel(b, (volatile void __iomem *) addr); outl()
242 static inline void pci_iounmap(struct pci_dev *dev, void __iomem *p) pci_iounmap()
263 static inline void __iomem *__ioremap(unsigned long offset, unsigned long size, __ioremap()
266 return (void __iomem *) offset; __ioremap()
269 static inline void __iomem *ioremap(unsigned long offset, unsigned long size) ioremap()
271 return (void __iomem *)(offset & ~0x20000000); ioremap()
279 static inline void __iomem *ioremap_nocache(unsigned long offset, unsigned long size) ioremap_nocache()
281 return (void __iomem *) (offset | 0x20000000); ioremap_nocache()
288 static inline void iounmap(void __iomem *addr) iounmap()
292 static inline void __iomem *ioport_map(unsigned long port, unsigned int nr) ioport_map()
294 return (void __iomem *) port; ioport_map()
297 static inline void ioport_unmap(void __iomem *p) ioport_unmap()
/linux-4.4.14/arch/parisc/include/asm/
H A Dide.h23 static __inline__ void __ide_mm_insw(void __iomem *port, void *addr, u32 count) __ide_mm_insw()
31 static __inline__ void __ide_mm_insl(void __iomem *port, void *addr, u32 count) __ide_mm_insl()
39 static __inline__ void __ide_mm_outsw(void __iomem *port, void *addr, u32 count) __ide_mm_outsw()
47 static __inline__ void __ide_mm_outsl(void __iomem *port, void *addr, u32 count) __ide_mm_outsl()
H A Dio.h130 extern void __iomem * __ioremap(unsigned long offset, unsigned long size, unsigned long flags);
135 static inline void __iomem * ioremap(unsigned long offset, unsigned long size) ioremap()
143 extern void iounmap(const volatile void __iomem *addr);
145 static inline unsigned char __raw_readb(const volatile void __iomem *addr) __raw_readb()
149 static inline unsigned short __raw_readw(const volatile void __iomem *addr) __raw_readw()
153 static inline unsigned int __raw_readl(const volatile void __iomem *addr) __raw_readl()
157 static inline unsigned long long __raw_readq(const volatile void __iomem *addr) __raw_readq()
162 static inline void __raw_writeb(unsigned char b, volatile void __iomem *addr) __raw_writeb()
166 static inline void __raw_writew(unsigned short b, volatile void __iomem *addr) __raw_writew()
170 static inline void __raw_writel(unsigned int b, volatile void __iomem *addr) __raw_writel()
174 static inline void __raw_writeq(unsigned long long b, volatile void __iomem *addr) __raw_writeq()
179 static inline unsigned char readb(const volatile void __iomem *addr) readb()
183 static inline unsigned short readw(const volatile void __iomem *addr) readw()
187 static inline unsigned int readl(const volatile void __iomem *addr) readl()
191 static inline unsigned long long readq(const volatile void __iomem *addr) readq()
196 static inline void writeb(unsigned char b, volatile void __iomem *addr) writeb()
200 static inline void writew(unsigned short w, volatile void __iomem *addr) writew()
204 static inline void writel(unsigned int l, volatile void __iomem *addr) writel()
208 static inline void writeq(unsigned long long q, volatile void __iomem *addr) writeq()
233 void memset_io(volatile void __iomem *addr, unsigned char val, int count);
234 void memcpy_fromio(void *dst, const volatile void __iomem *src, int count);
235 void memcpy_toio(volatile void __iomem *dst, const void *src, int count);
/linux-4.4.14/arch/arm/mach-shmobile/
H A Dpm-rcar.h13 void __iomem *rcar_sysc_init(phys_addr_t base);
/linux-4.4.14/arch/arm/mach-versatile/include/mach/
H A Dclkdev.h10 void __iomem *vcoreg;
/linux-4.4.14/arch/arm/mach-highbank/
H A Dcore.h7 extern void __iomem *scu_base_addr;
/linux-4.4.14/include/linux/irqchip/
H A Dversatile-fpga.h8 void fpga_irq_init(void __iomem *, const char *, int, int, u32,
/linux-4.4.14/drivers/char/hw_random/
H A Dpasemi-rng.c48 void __iomem *rng_regs = (void __iomem *)rng->priv; pasemi_rng_data_present()
63 void __iomem *rng_regs = (void __iomem *)rng->priv; pasemi_rng_data_read()
70 void __iomem *rng_regs = (void __iomem *)rng->priv; pasemi_rng_init()
82 void __iomem *rng_regs = (void __iomem *)rng->priv; pasemi_rng_cleanup()
100 void __iomem *rng_regs; rng_probe()
128 void __iomem *rng_regs = (void __iomem *)pasemi_rng.priv; rng_remove()
H A Dppc4xx-rng.c33 void __iomem *rng_regs = (void __iomem *) rng->priv; ppc4xx_rng_data_present()
49 void __iomem *rng_regs = (void __iomem *) rng->priv; ppc4xx_rng_data_read()
57 void __iomem *ctrl_reg; ppc4xx_rng_enable()
96 void __iomem *rng_regs; ppc4xx_rng_probe()
117 void __iomem *rng_regs = (void __iomem *) ppc4xx_rng.priv; ppc4xx_rng_remove()
H A Dixp4xx-rng.c31 void __iomem * rng_base = (void __iomem *)rng->priv; ixp4xx_rng_data_read()
45 void __iomem * rng_base; ixp4xx_rng_init()
64 void __iomem * rng_base = (void __iomem *)ixp4xx_rng_ops.priv; ixp4xx_rng_exit()
H A Dgeode-rng.c57 void __iomem *mem = (void __iomem *)rng->priv; geode_rng_data_read()
66 void __iomem *mem = (void __iomem *)rng->priv; geode_rng_data_present()
91 void __iomem *mem; mod_init()
129 void __iomem *mem = (void __iomem *)geode_rng.priv; mod_exit()
H A Dbcm2835-rng.c32 void __iomem *rng_base = (void __iomem *)rng->priv; bcm2835_rng_read()
53 void __iomem *rng_base; bcm2835_rng_probe()
81 void __iomem *rng_base = (void __iomem *)bcm2835_rng_ops.priv; bcm2835_rng_remove()
/linux-4.4.14/arch/blackfin/mach-bf538/
H A Dext-gpio.c16 static inline u16 read_##reg(void __iomem *port) \
18 static inline void write_##reg(void __iomem *port, u16 v) \
27 static void __iomem *gpio_chip_to_mmr(struct gpio_chip *chip) gpio_chip_to_mmr()
31 case GPIO_PC0: return (void __iomem *)PORTCIO; gpio_chip_to_mmr()
32 case GPIO_PD0: return (void __iomem *)PORTDIO; gpio_chip_to_mmr()
33 case GPIO_PE0: return (void __iomem *)PORTEIO; gpio_chip_to_mmr()
39 void __iomem *port = gpio_chip_to_mmr(chip); bf538_gpio_get_value()
45 void __iomem *port = gpio_chip_to_mmr(chip); bf538_gpio_set_value()
54 void __iomem *port = gpio_chip_to_mmr(chip); bf538_gpio_direction_input()
62 void __iomem *port = gpio_chip_to_mmr(chip); bf538_gpio_direction_output()
130 static void __iomem * const port_bases[3] = {
/linux-4.4.14/drivers/scsi/lpfc/
H A Dlpfc_compat.h38 lpfc_memcpy_to_slim(void __iomem *dest, void *src, unsigned int bytes) lpfc_memcpy_to_slim()
40 uint32_t __iomem *dest32; lpfc_memcpy_to_slim()
45 dest32 = (uint32_t __iomem *) dest; lpfc_memcpy_to_slim()
60 lpfc_memcpy_from_slim( void *dest, void __iomem *src, unsigned int bytes) lpfc_memcpy_from_slim()
63 uint32_t __iomem *src32; lpfc_memcpy_from_slim()
68 src32 = (uint32_t __iomem *) src; lpfc_memcpy_from_slim()
83 lpfc_memcpy_to_slim( void __iomem *dest, void *src, unsigned int bytes) lpfc_memcpy_to_slim()
90 lpfc_memcpy_from_slim( void *dest, void __iomem *src, unsigned int bytes) lpfc_memcpy_from_slim()
/linux-4.4.14/drivers/gpu/drm/sti/
H A Dsti_vid.h19 void __iomem *regs;
27 void __iomem *baseaddr);
H A Dsti_cursor.h12 void __iomem *baseaddr,
H A Dsti_gdp.h16 void __iomem *baseaddr,
/linux-4.4.14/arch/cris/mm/
H A Dioremap.c30 void __iomem * __ioremap_prot(unsigned long phys_addr, unsigned long size, pgprot_t prot) __ioremap_prot()
32 void __iomem * addr; __ioremap_prot()
54 addr = (void __iomem *)area->addr; __ioremap_prot()
60 return (void __iomem *) (offset + (char __iomem *)addr); __ioremap_prot()
63 void __iomem * __ioremap(unsigned long phys_addr, unsigned long size, unsigned long flags) __ioremap()
79 void __iomem *ioremap_nocache(unsigned long phys_addr, unsigned long size) ioremap_nocache()
85 void iounmap(volatile void __iomem *addr) iounmap()
/linux-4.4.14/drivers/pci/hotplug/
H A Dcpqphp_nvram.h33 static inline void compaq_nvram_init(void __iomem *rom_start) compaq_nvram_init()
38 static inline int compaq_nvram_load(void __iomem *rom_start, struct controller *ctrl) compaq_nvram_load()
43 static inline int compaq_nvram_store(void __iomem *rom_start) compaq_nvram_store()
50 void compaq_nvram_init(void __iomem *rom_start);
51 int compaq_nvram_load(void __iomem *rom_start, struct controller *ctrl);
52 int compaq_nvram_store(void __iomem *rom_start);
/linux-4.4.14/drivers/devfreq/exynos/
H A Dexynos_ppmu.h62 void __iomem *hw_base;
77 void exynos_ppmu_reset(void __iomem *ppmu_base);
78 void exynos_ppmu_setevent(void __iomem *ppmu_base, unsigned int ch,
80 void exynos_ppmu_start(void __iomem *ppmu_base);
81 void exynos_ppmu_stop(void __iomem *ppmu_base);
82 unsigned int exynos_ppmu_read(void __iomem *ppmu_base, unsigned int ch);
H A Dexynos_ppmu.c18 void exynos_ppmu_reset(void __iomem *ppmu_base) exynos_ppmu_reset()
29 void exynos_ppmu_setevent(void __iomem *ppmu_base, unsigned int ch, exynos_ppmu_setevent()
35 void exynos_ppmu_start(void __iomem *ppmu_base) exynos_ppmu_start()
40 void exynos_ppmu_stop(void __iomem *ppmu_base) exynos_ppmu_stop()
45 unsigned int exynos_ppmu_read(void __iomem *ppmu_base, unsigned int ch) exynos_ppmu_read()
63 void __iomem *ppmu_base = ppmu_data->ppmu[i].hw_base; busfreq_mon_reset()
83 void __iomem *ppmu_base = ppmu_data->ppmu[i].hw_base; exynos_read_ppmu()
/linux-4.4.14/arch/microblaze/include/asm/
H A Dio.h26 extern void pci_iounmap(struct pci_dev *dev, void __iomem *);
33 #define PCI_IOBASE ((void __iomem *)_IO_BASE)
39 extern void iounmap(void __iomem *addr);
41 extern void __iomem *ioremap(phys_addr_t address, unsigned long size);
50 #define out_be32(a, v) __raw_writel((v), (void __iomem __force *)(a))
53 #define in_be32(a) __raw_readl((const void __iomem __force *)(a))
/linux-4.4.14/arch/ia64/sn/pci/pcibr/
H A Dpcibr_reg.c28 union br_ptr __iomem *ptr = (union br_ptr __iomem *)pcibus_info->pbi_buscommon.bs_base; pcireg_control_bit_clr()
48 union br_ptr __iomem *ptr = (union br_ptr __iomem *)pcibus_info->pbi_buscommon.bs_base; pcireg_control_bit_set()
71 union br_ptr __iomem *ptr = (union br_ptr __iomem *)pcibus_info->pbi_buscommon.bs_base; pcireg_tflush_get()
101 union br_ptr __iomem *ptr = (union br_ptr __iomem *)pcibus_info->pbi_buscommon.bs_base; pcireg_intr_status_get()
126 union br_ptr __iomem *ptr = (union br_ptr __iomem *)pcibus_info->pbi_buscommon.bs_base; pcireg_intr_enable_bit_clr()
146 union br_ptr __iomem *ptr = (union br_ptr __iomem *)pcibus_info->pbi_buscommon.bs_base; pcireg_intr_enable_bit_set()
170 union br_ptr __iomem *ptr = (union br_ptr __iomem *)pcibus_info->pbi_buscommon.bs_base; pcireg_intr_addr_addr_set()
199 union br_ptr __iomem *ptr = (union br_ptr __iomem *)pcibus_info->pbi_buscommon.bs_base; pcireg_force_intr_set()
222 union br_ptr __iomem *ptr = (union br_ptr __iomem *)pcibus_info->pbi_buscommon.bs_base; pcireg_wrb_flush_get()
247 union br_ptr __iomem *ptr = (union br_ptr __iomem *)pcibus_info->pbi_buscommon.bs_base; pcireg_int_ate_set()
265 u64 __iomem *pcireg_int_ate_addr(struct pcibus_info *pcibus_info, int ate_index) pcireg_int_ate_addr()
267 union br_ptr __iomem *ptr = (union br_ptr __iomem *)pcibus_info->pbi_buscommon.bs_base; pcireg_int_ate_addr()
268 u64 __iomem *ret = NULL; pcireg_int_ate_addr()
/linux-4.4.14/drivers/media/pci/cx18/
H A Dcx18-io.h38 static inline u32 cx18_raw_readl(struct cx18 *cx, const void __iomem *addr) cx18_raw_readl()
44 void cx18_raw_writel_noretry(struct cx18 *cx, u32 val, void __iomem *addr) cx18_raw_writel_noretry()
49 static inline void cx18_raw_writel(struct cx18 *cx, u32 val, void __iomem *addr) cx18_raw_writel()
60 static inline u32 cx18_readl(struct cx18 *cx, const void __iomem *addr) cx18_readl()
66 void cx18_writel_noretry(struct cx18 *cx, u32 val, void __iomem *addr) cx18_writel_noretry()
71 static inline void cx18_writel(struct cx18 *cx, u32 val, void __iomem *addr) cx18_writel()
82 void cx18_writel_expect(struct cx18 *cx, u32 val, void __iomem *addr, cx18_writel_expect()
98 static inline u16 cx18_readw(struct cx18 *cx, const void __iomem *addr) cx18_readw()
104 void cx18_writew_noretry(struct cx18 *cx, u16 val, void __iomem *addr) cx18_writew_noretry()
109 static inline void cx18_writew(struct cx18 *cx, u16 val, void __iomem *addr) cx18_writew()
119 static inline u8 cx18_readb(struct cx18 *cx, const void __iomem *addr) cx18_readb()
125 void cx18_writeb_noretry(struct cx18 *cx, u8 val, void __iomem *addr) cx18_writeb_noretry()
130 static inline void cx18_writeb(struct cx18 *cx, u8 val, void __iomem *addr) cx18_writeb()
142 const void __iomem *from, unsigned int len) cx18_memcpy_fromio()
147 void cx18_memset_io(struct cx18 *cx, void __iomem *addr, int val, size_t count);
/linux-4.4.14/drivers/clk/spear/
H A Dclk.h51 void __iomem *reg;
65 void __iomem *reg;
79 void __iomem *reg;
95 void __iomem *mode_reg;
96 void __iomem *cfg_reg;
114 const char *parent_name, unsigned long flags, void __iomem *reg,
118 unsigned long flags, void __iomem *reg,
121 long flags, void __iomem *reg, struct gpt_rate_tbl *rtbl, u8
125 unsigned long flags, void __iomem *mode_reg, void __iomem
/linux-4.4.14/arch/arm/mach-ebsa110/include/mach/
H A Dio.h28 u8 __readb(const volatile void __iomem *addr);
29 u16 __readw(const volatile void __iomem *addr);
30 u32 __readl(const volatile void __iomem *addr);
32 void __writeb(u8 val, volatile void __iomem *addr);
33 void __writew(u16 val, volatile void __iomem *addr);
34 void __writel(u32 val, volatile void __iomem *addr);
81 extern void writesw(volatile void __iomem *addr, const void *data, int wordlen);
83 extern void writesl(volatile void __iomem *addr, const void *data, int longlen);
87 extern void readsw(const volatile void __iomem *addr, void *data, int wordlen);
90 extern void readsl(const volatile void __iomem *addr, void *data, int longlen);
/linux-4.4.14/drivers/parport/
H A Dparport_sunbpp.c52 struct bpp_regs __iomem *regs = (struct bpp_regs __iomem *)p->base; parport_sunbpp_disable_irq()
62 struct bpp_regs __iomem *regs = (struct bpp_regs __iomem *)p->base; parport_sunbpp_enable_irq()
72 struct bpp_regs __iomem *regs = (struct bpp_regs __iomem *)p->base; parport_sunbpp_write_data()
80 struct bpp_regs __iomem *regs = (struct bpp_regs __iomem *)p->base; parport_sunbpp_read_data()
87 struct bpp_regs __iomem *regs = (struct bpp_regs __iomem *)p->base; status_sunbpp_to_pc()
110 struct bpp_regs __iomem *regs = (struct bpp_regs __iomem *)p->base; control_sunbpp_to_pc()
138 struct bpp_regs __iomem *regs = (struct bpp_regs __iomem *)p->base; parport_sunbpp_frob_control()
197 struct bpp_regs __iomem *regs = (struct bpp_regs __iomem *)p->base; parport_sunbpp_data_forward()
207 struct bpp_regs __iomem *regs = (struct bpp_regs __iomem *)p->base; parport_sunbpp_data_reverse()
271 struct bpp_regs __iomem *regs; bpp_probe()
274 void __iomem *base; bpp_probe()
306 regs = (struct bpp_regs __iomem *)p->base; bpp_probe()
344 of_iounmap(&op->resource[0], (void __iomem *) p->base, p->size); bpp_remove()
/linux-4.4.14/drivers/pci/host/
H A Dpcie-designware.h28 void __iomem *dbi_base;
30 void __iomem *va_cfg0_base;
33 void __iomem *va_cfg1_base;
56 void __iomem *dbi_base, u32 *val);
58 u32 val, void __iomem *dbi_base);
75 int dw_pcie_cfg_read(void __iomem *addr, int size, u32 *val);
76 int dw_pcie_cfg_write(void __iomem *addr, int size, u32 val);
/linux-4.4.14/drivers/net/ethernet/brocade/bna/
H A Dbfa_ioc.h40 void __iomem *pci_bar_kva;
78 void __iomem *hfn_mbox_cmd;
79 void __iomem *hfn_mbox;
80 void __iomem *lpu_mbox_cmd;
81 void __iomem *lpu_mbox;
82 void __iomem *lpu_read_stat;
83 void __iomem *pss_ctl_reg;
84 void __iomem *pss_err_status_reg;
85 void __iomem *app_pll_fast_ctl_reg;
86 void __iomem *app_pll_slow_ctl_reg;
87 void __iomem *ioc_sem_reg;
88 void __iomem *ioc_usage_sem_reg;
89 void __iomem *ioc_init_sem_reg;
90 void __iomem *ioc_usage_reg;
91 void __iomem *host_page_num_fn;
92 void __iomem *heartbeat;
93 void __iomem *ioc_fwstate;
94 void __iomem *alt_ioc_fwstate;
95 void __iomem *ll_halt;
96 void __iomem *alt_ll_halt;
97 void __iomem *err_set;
98 void __iomem *ioc_fail_sync;
99 void __iomem *shirq_isr_next;
100 void __iomem *shirq_msk_next;
101 void __iomem *smem_page_start;
203 enum bfa_status (*ioc_pll_init) (void __iomem *rb,
292 bool bfa_nw_ioc_sem_get(void __iomem *sem_reg);
293 void bfa_nw_ioc_sem_release(void __iomem *sem_reg);
/linux-4.4.14/drivers/clk/ti/
H A Dclkt_iclk.c34 void __iomem *r; omap2_clkt_iclk_allow_idle()
36 r = (__force void __iomem *) omap2_clkt_iclk_allow_idle()
48 void __iomem *r; omap2_clkt_iclk_deny_idle()
50 r = (__force void __iomem *) omap2_clkt_iclk_deny_idle()
61 * @idlest_reg: void __iomem ** to store CM_IDLEST reg address into
71 void __iomem **idlest_reg, omap2430_clk_i2chs_find_idlest()
78 *idlest_reg = (__force void __iomem *)r; omap2430_clk_i2chs_find_idlest()
/linux-4.4.14/arch/mips/ar7/
H A Dgpio.c30 void __iomem *regs;
38 void __iomem *gpio_in = gpch->regs + AR7_GPIO_INPUT; ar7_gpio_get_value()
47 void __iomem *gpio_in0 = gpch->regs + TITAN_GPIO_INPUT_0; titan_gpio_get_value()
48 void __iomem *gpio_in1 = gpch->regs + TITAN_GPIO_INPUT_1; titan_gpio_get_value()
58 void __iomem *gpio_out = gpch->regs + AR7_GPIO_OUTPUT; ar7_gpio_set_value()
72 void __iomem *gpio_out0 = gpch->regs + TITAN_GPIO_OUTPUT_0; titan_gpio_set_value()
73 void __iomem *gpio_out1 = gpch->regs + TITAN_GPIO_OUTPUT_1; titan_gpio_set_value()
86 void __iomem *gpio_dir = gpch->regs + AR7_GPIO_DIR; ar7_gpio_direction_input()
97 void __iomem *gpio_dir0 = gpch->regs + TITAN_GPIO_DIR_0; titan_gpio_direction_input()
98 void __iomem *gpio_dir1 = gpch->regs + TITAN_GPIO_DIR_1; titan_gpio_direction_input()
113 void __iomem *gpio_dir = gpch->regs + AR7_GPIO_DIR; ar7_gpio_direction_output()
126 void __iomem *gpio_dir0 = gpch->regs + TITAN_GPIO_DIR_0; titan_gpio_direction_output()
127 void __iomem *gpio_dir1 = gpch->regs + TITAN_GPIO_DIR_1; titan_gpio_direction_output()
165 void __iomem *gpio_en = ar7_gpio_chip.regs + AR7_GPIO_ENABLE; ar7_gpio_enable_ar7()
174 void __iomem *gpio_en0 = titan_gpio_chip.regs + TITAN_GPIO_ENBL_0; ar7_gpio_enable_titan()
175 void __iomem *gpio_en1 = titan_gpio_chip.regs + TITAN_GPIO_ENBL_1; ar7_gpio_enable_titan()
192 void __iomem *gpio_en = ar7_gpio_chip.regs + AR7_GPIO_ENABLE; ar7_gpio_disable_ar7()
201 void __iomem *gpio_en0 = titan_gpio_chip.regs + TITAN_GPIO_ENBL_0; ar7_gpio_disable_titan()
202 void __iomem *gpio_en1 = titan_gpio_chip.regs + TITAN_GPIO_ENBL_1; ar7_gpio_disable_titan()
283 void __iomem *pin_sel = (void __iomem *)KSEG1ADDR(AR7_REGS_PINSEL); titan_gpio_pinsel()
/linux-4.4.14/arch/avr32/include/asm/
H A Dio.h34 extern void __raw_writesb(void __iomem *addr, const void *data, int bytelen);
35 extern void __raw_writesw(void __iomem *addr, const void *data, int wordlen);
36 extern void __raw_writesl(void __iomem *addr, const void *data, int longlen);
38 extern void __raw_readsb(const void __iomem *addr, void *data, int bytelen);
39 extern void __raw_readsw(const void __iomem *addr, void *data, int wordlen);
40 extern void __raw_readsl(const void __iomem *addr, void *data, int longlen);
42 static inline void __raw_writeb(u8 v, volatile void __iomem *addr) __raw_writeb()
46 static inline void __raw_writew(u16 v, volatile void __iomem *addr) __raw_writew()
50 static inline void __raw_writel(u32 v, volatile void __iomem *addr) __raw_writel()
55 static inline u8 __raw_readb(const volatile void __iomem *addr) __raw_readb()
59 static inline u16 __raw_readw(const volatile void __iomem *addr) __raw_readw()
63 static inline u32 __raw_readl(const volatile void __iomem *addr) __raw_readl()
81 pfx##write##bwl(type val, volatile void __iomem *addr) \
94 static inline type pfx##read##bwl(const volatile void __iomem *addr) \
177 static inline void writes##bwl(volatile void __iomem *addr, \
186 static inline void reads##bwl(const volatile void __iomem *addr, \
253 static inline void memcpy_fromio(void * to, const volatile void __iomem *from, memcpy_fromio()
259 static inline void memcpy_toio(volatile void __iomem *to, const void * from, memcpy_toio()
265 static inline void memset_io(volatile void __iomem *addr, unsigned char val, memset_io()
275 extern void __iomem *__ioremap(unsigned long offset, size_t size,
277 extern void __iounmap(void __iomem *addr);
/linux-4.4.14/arch/alpha/kernel/
H A Dio.c16 ioread8(void __iomem *addr) ioread8()
23 unsigned int ioread16(void __iomem *addr) ioread16()
30 unsigned int ioread32(void __iomem *addr) ioread32()
37 void iowrite8(u8 b, void __iomem *addr) iowrite8()
43 void iowrite16(u16 b, void __iomem *addr) iowrite16()
49 void iowrite32(u32 b, void __iomem *addr) iowrite32()
99 u8 __raw_readb(const volatile void __iomem *addr) __raw_readb()
104 u16 __raw_readw(const volatile void __iomem *addr) __raw_readw()
109 u32 __raw_readl(const volatile void __iomem *addr) __raw_readl()
114 u64 __raw_readq(const volatile void __iomem *addr) __raw_readq()
119 void __raw_writeb(u8 b, volatile void __iomem *addr) __raw_writeb()
124 void __raw_writew(u16 b, volatile void __iomem *addr) __raw_writew()
129 void __raw_writel(u32 b, volatile void __iomem *addr) __raw_writel()
134 void __raw_writeq(u64 b, volatile void __iomem *addr) __raw_writeq()
148 u8 readb(const volatile void __iomem *addr) readb()
155 u16 readw(const volatile void __iomem *addr) readw()
162 u32 readl(const volatile void __iomem *addr) readl()
169 u64 readq(const volatile void __iomem *addr) readq()
176 void writeb(u8 b, volatile void __iomem *addr) writeb()
182 void writew(u16 b, volatile void __iomem *addr) writew()
188 void writel(u32 b, volatile void __iomem *addr) writel()
194 void writeq(u64 b, volatile void __iomem *addr) writeq()
213 void ioread8_rep(void __iomem *port, void *dst, unsigned long count) ioread8_rep()
256 void ioread16_rep(void __iomem *port, void *dst, unsigned long count) ioread16_rep()
296 void ioread32_rep(void __iomem *port, void *dst, unsigned long count) ioread32_rep()
328 void iowrite8_rep(void __iomem *port, const void *xsrc, unsigned long count) iowrite8_rep()
350 void iowrite16_rep(void __iomem *port, const void *src, unsigned long count) iowrite16_rep()
390 void iowrite32_rep(void __iomem *port, const void *src, unsigned long count) iowrite32_rep()
420 void memcpy_fromio(void *to, const volatile void __iomem *from, long count) memcpy_fromio()
474 void memcpy_toio(volatile void __iomem *to, const void *from, long count) memcpy_toio()
528 void _memset_c_io(volatile void __iomem *to, unsigned long c, long count) _memset_c_io()
592 const u16 __iomem *ios = (const u16 __iomem *) s; scr_memcpyw()
593 u16 __iomem *iod = (u16 __iomem *) d; scr_memcpyw()
620 void __iomem *ioport_map(unsigned long port, unsigned int size) ioport_map()
625 void ioport_unmap(void __iomem *addr) ioport_unmap()
/linux-4.4.14/drivers/clk/mvebu/
H A Dorion.c30 static u32 __init mv88f5182_get_tclk_freq(void __iomem *sar) mv88f5182_get_tclk_freq()
45 static u32 __init mv88f5182_get_cpu_freq(void __iomem *sar) mv88f5182_get_cpu_freq()
59 static void __init mv88f5182_get_clk_ratio(void __iomem *sar, int id, mv88f5182_get_clk_ratio()
95 static u32 __init mv88f5281_get_tclk_freq(void __iomem *sar) mv88f5281_get_tclk_freq()
104 static u32 __init mv88f5281_get_cpu_freq(void __iomem *sar) mv88f5281_get_cpu_freq()
116 static void __init mv88f5281_get_clk_ratio(void __iomem *sar, int id, mv88f5281_get_clk_ratio()
155 static u32 __init mv88f6183_get_tclk_freq(void __iomem *sar) mv88f6183_get_tclk_freq()
170 static u32 __init mv88f6183_get_cpu_freq(void __iomem *sar) mv88f6183_get_cpu_freq()
182 static void __init mv88f6183_get_clk_ratio(void __iomem *sar, int id, mv88f6183_get_clk_ratio()
H A Dcommon.h30 u32 (*get_tclk_freq)(void __iomem *sar);
31 u32 (*get_cpu_freq)(void __iomem *sar);
32 void (*get_clk_ratio)(void __iomem *sar, int id, int *mult, int *div);
33 u32 (*get_refclk_freq)(void __iomem *sar);
34 bool (*is_sscg_enabled)(void __iomem *sar);
/linux-4.4.14/arch/s390/include/asm/
H A Dio.h34 static inline void __iomem *ioremap(unsigned long offset, unsigned long size) ioremap()
36 return (void __iomem *) offset; ioremap()
39 static inline void iounmap(volatile void __iomem *addr) iounmap()
43 static inline void __iomem *ioport_map(unsigned long port, unsigned int nr) ioport_map()
48 static inline void ioport_unmap(void __iomem *p) ioport_unmap()
/linux-4.4.14/arch/mips/ralink/
H A Dearly_printk.c32 static __iomem void *uart_membase = (__iomem void *) KSEG1ADDR(EARLY_UART_BASE);
33 static __iomem void *chipid_membase = (__iomem void *) KSEG1ADDR(CHIPID_BASE);
65 uart_membase = (__iomem void *) KSEG1ADDR(EARLY_UART_BASE + find_uart_base()
/linux-4.4.14/arch/nios2/include/asm/
H A Dio.h28 extern void __iomem *__ioremap(unsigned long physaddr, unsigned long size,
30 extern void __iounmap(void __iomem *addr);
32 static inline void __iomem *ioremap(unsigned long physaddr, unsigned long size) ioremap()
37 static inline void __iomem *ioremap_nocache(unsigned long physaddr, ioremap_nocache()
43 static inline void iounmap(void __iomem *addr) iounmap()
/linux-4.4.14/arch/arm/kernel/
H A Dio.c14 void atomic_io_modify_relaxed(void __iomem *reg, u32 mask, u32 set) atomic_io_modify_relaxed()
27 void atomic_io_modify(void __iomem *reg, u32 mask, u32 set) atomic_io_modify()
44 void _memcpy_fromio(void *to, const volatile void __iomem *from, size_t count) _memcpy_fromio()
60 void _memcpy_toio(volatile void __iomem *to, const void *from, size_t count) _memcpy_toio()
76 void _memset_io(volatile void __iomem *dst, int c, size_t count) _memset_io()
/linux-4.4.14/drivers/watchdog/
H A Dintel_scu_watchdog.h52 u32 __iomem *timer_load_count_addr;
53 u32 __iomem *timer_current_value_addr;
54 u32 __iomem *timer_control_addr;
55 u32 __iomem *timer_clear_interrupt_addr;
56 u32 __iomem *timer_interrupt_status_addr;
/linux-4.4.14/drivers/net/ethernet/ti/
H A Dnetcp_xgbepcsr.c134 static void netcp_xgbe_serdes_cmu_init(void __iomem *serdes_regs) netcp_xgbe_serdes_cmu_init()
155 void __iomem *serdes_regs, int lane) netcp_xgbe_serdes_lane_config()
177 static void netcp_xgbe_serdes_com_enable(void __iomem *serdes_regs) netcp_xgbe_serdes_com_enable()
189 void __iomem *serdes_regs, int lane) netcp_xgbe_serdes_lane_enable()
195 static void netcp_xgbe_serdes_phyb_rst_clr(void __iomem *serdes_regs) netcp_xgbe_serdes_phyb_rst_clr()
200 static void netcp_xgbe_serdes_pll_disable(void __iomem *serdes_regs) netcp_xgbe_serdes_pll_disable()
205 static void netcp_xgbe_serdes_pll_enable(void __iomem *serdes_regs) netcp_xgbe_serdes_pll_enable()
211 static int netcp_xgbe_wait_pll_locked(void __iomem *sw_regs) netcp_xgbe_wait_pll_locked()
237 static void netcp_xgbe_serdes_enable_xgmii_port(void __iomem *sw_regs) netcp_xgbe_serdes_enable_xgmii_port()
242 static u32 netcp_xgbe_serdes_read_tbus_val(void __iomem *serdes_regs) netcp_xgbe_serdes_read_tbus_val()
256 static void netcp_xgbe_serdes_write_tbus_addr(void __iomem *serdes_regs, netcp_xgbe_serdes_write_tbus_addr()
280 static u32 netcp_xgbe_serdes_read_select_tbus(void __iomem *serdes_regs, netcp_xgbe_serdes_read_select_tbus()
289 static void netcp_xgbe_serdes_reset_cdr(void __iomem *serdes_regs, netcp_xgbe_serdes_reset_cdr()
290 void __iomem *sig_detect_reg, int lane) netcp_xgbe_serdes_reset_cdr()
314 static int netcp_xgbe_check_link_status(void __iomem *serdes_regs, netcp_xgbe_check_link_status()
315 void __iomem *sw_regs, u32 lanes, netcp_xgbe_check_link_status()
318 void __iomem *pcsr_base = sw_regs + 0x0600; netcp_xgbe_check_link_status()
319 void __iomem *sig_detect_reg; netcp_xgbe_check_link_status()
398 static int netcp_xgbe_serdes_check_lane(void __iomem *serdes_regs, netcp_xgbe_serdes_check_lane()
399 void __iomem *sw_regs) netcp_xgbe_serdes_check_lane()
436 static void netcp_xgbe_serdes_setup_cm_c1_c2(void __iomem *serdes_regs, netcp_xgbe_serdes_setup_cm_c1_c2()
448 static void netcp_xgbe_reset_serdes(void __iomem *serdes_regs) netcp_xgbe_reset_serdes()
460 static int netcp_xgbe_serdes_config(void __iomem *serdes_regs, netcp_xgbe_serdes_config()
461 void __iomem *sw_regs) netcp_xgbe_serdes_config()
490 int netcp_xgbe_serdes_init(void __iomem *serdes_regs, void __iomem *xgbe_regs) netcp_xgbe_serdes_init()
H A Dnetcp_sgmii.c38 static void sgmii_write_reg(void __iomem *base, int reg, u32 val) sgmii_write_reg()
43 static u32 sgmii_read_reg(void __iomem *base, int reg) sgmii_read_reg()
48 static void sgmii_write_reg_bit(void __iomem *base, int reg, u32 val) sgmii_write_reg_bit()
54 int netcp_sgmii_reset(void __iomem *sgmii_ofs, int port) netcp_sgmii_reset()
68 bool netcp_sgmii_rtreset(void __iomem *sgmii_ofs, int port, bool set) netcp_sgmii_rtreset()
86 int netcp_sgmii_get_port_link(void __iomem *sgmii_ofs, int port) netcp_sgmii_get_port_link()
96 int netcp_sgmii_config(void __iomem *sgmii_ofs, int port, u32 interface) netcp_sgmii_config()
/linux-4.4.14/drivers/video/fbdev/riva/
H A Driva_hw.h78 #define NV_WR08(p,i,d) (__raw_writeb((d), (void __iomem *)(p) + (i)))
79 #define NV_RD08(p,i) (__raw_readb((void __iomem *)(p) + (i)))
80 #define NV_WR16(p,i,d) (__raw_writew((d), (void __iomem *)(p) + (i)))
81 #define NV_RD16(p,i) (__raw_readw((void __iomem *)(p) + (i)))
82 #define NV_WR32(p,i,d) (__raw_writel((d), (void __iomem *)(p) + (i)))
83 #define NV_RD32(p,i) (__raw_readl((void __iomem *)(p) + (i)))
85 #define VGA_WR08(p,i,d) (writeb((d), (void __iomem *)(p) + (i)))
86 #define VGA_RD08(p,i) (readb((void __iomem *)(p) + (i)))
444 volatile U032 __iomem *PCRTC0;
445 volatile U032 __iomem *PCRTC;
446 volatile U032 __iomem *PRAMDAC0;
447 volatile U032 __iomem *PFB;
448 volatile U032 __iomem *PFIFO;
449 volatile U032 __iomem *PGRAPH;
450 volatile U032 __iomem *PEXTDEV;
451 volatile U032 __iomem *PTIMER;
452 volatile U032 __iomem *PMC;
453 volatile U032 __iomem *PRAMIN;
454 volatile U032 __iomem *FIFO;
455 volatile U032 __iomem *CURSOR;
456 volatile U008 __iomem *PCIO0;
457 volatile U008 __iomem *PCIO;
458 volatile U008 __iomem *PVIO;
459 volatile U008 __iomem *PDIO0;
460 volatile U008 __iomem *PDIO;
461 volatile U032 __iomem *PRAMDAC;
480 RivaRop __iomem *Rop;
481 RivaPattern __iomem *Patt;
482 RivaClip __iomem *Clip;
483 RivaPixmap __iomem *Pixmap;
484 RivaScreenBlt __iomem *Blt;
485 RivaBitmap __iomem *Bitmap;
486 RivaLine __iomem *Line;
487 RivaTexturedTriangle03 __iomem *Tri03;
488 RivaTexturedTriangle05 __iomem *Tri05;
/linux-4.4.14/arch/hexagon/include/asm/
H A Dio.h36 #define _IO_BASE ((void __iomem *)0xfe000000)
38 #define IOMEM(x) ((void __force __iomem *)(x))
43 extern void __iounmap(const volatile void __iomem *addr);
46 extern void __raw_readsw(const void __iomem *addr, void *data, int wordlen);
47 extern void __raw_writesw(void __iomem *addr, const void *data, int wordlen);
49 extern void __raw_readsl(const void __iomem *addr, void *data, int wordlen);
50 extern void __raw_writesl(void __iomem *addr, const void *data, int wordlen);
97 static inline u8 readb(const volatile void __iomem *addr) readb()
108 static inline u16 readw(const volatile void __iomem *addr) readw()
119 static inline u32 readl(const volatile void __iomem *addr) readl()
136 static inline void writeb(u8 data, volatile void __iomem *addr) writeb()
146 static inline void writew(u16 data, volatile void __iomem *addr) writew()
157 static inline void writel(u32 data, volatile void __iomem *addr) writel()
193 void __iomem *ioremap_nocache(unsigned long phys_addr, unsigned long size);
195 static inline void __iomem *ioremap(unsigned long phys_addr, unsigned long size) ioremap()
200 static inline void iounmap(volatile void __iomem *addr) iounmap()
207 static inline void memcpy_fromio(void *dst, const volatile void __iomem *src, memcpy_fromio()
213 static inline void memcpy_toio(volatile void __iomem *dst, const void *src, memcpy_toio()
219 #define PCI_IO_ADDR (volatile void __iomem *)
/linux-4.4.14/drivers/irqchip/
H A Dirq-gic-common.h31 void __iomem *base, void (*sync_access)(void));
32 void gic_dist_config(void __iomem *base, int gic_irqs,
34 void gic_cpu_config(void __iomem *base, void (*sync_access)(void));
H A Dirq-sirfsoc.c32 static __init void sirfsoc_alloc_gc(void __iomem *base) sirfsoc_alloc_gc()
56 void __iomem *base = sirfsoc_irqdomain->host_data; sirfsoc_handle_irq()
66 void __iomem *base = of_iomap(np, 0); sirfsoc_irq_init()
97 void __iomem *base = sirfsoc_irqdomain->host_data; sirfsoc_irq_suspend()
109 void __iomem *base = sirfsoc_irqdomain->host_data; sirfsoc_irq_resume()
/linux-4.4.14/drivers/clk/mmp/
H A Dclk.h27 void __iomem *base;
36 void __iomem *base, struct mmp_clk_factor_masks *masks,
56 void __iomem *reg_clk_ctrl;
57 void __iomem *reg_clk_sel;
111 void __iomem *reg;
122 void __iomem *reg, u32 mask, u32 val_enable,
130 const char *parent_name, void __iomem *base,
133 const char *parent_name, void __iomem *base, u32 enable_mask,
177 void __iomem *base, int size);
193 void __iomem *base, int size);
209 void __iomem *base, int size);
224 void __iomem *base, int size);
H A Dreset.h10 void __iomem *reg;
/linux-4.4.14/arch/powerpc/platforms/52xx/
H A Dmpc52xx_pm.c9 extern void mpc52xx_deep_sleep(void __iomem *sram, void __iomem *sdram_regs,
10 struct mpc52xx_cdm __iomem *, struct mpc52xx_intr __iomem*);
16 static void __iomem *mbar;
17 static void __iomem *sdram;
18 static struct mpc52xx_cdm __iomem *cdm;
19 static struct mpc52xx_intr __iomem *intr;
20 static struct mpc52xx_gpio_wkup __iomem *gpiow;
21 static void __iomem *sram;
117 void __iomem * irq_0x500 = (void __iomem *)CONFIG_KERNEL_START + 0x500; mpc52xx_pm_enter()
/linux-4.4.14/arch/mips/include/asm/mach-tx39xx/
H A Dioremap.h23 static inline void __iomem *plat_ioremap(phys_addr_t offset, unsigned long size, plat_ioremap()
29 return (void __iomem *)offset; plat_ioremap()
33 static inline int plat_iounmap(const volatile void __iomem *addr) plat_iounmap()
/linux-4.4.14/arch/mips/include/asm/mach-tx49xx/
H A Dioremap.h23 static inline void __iomem *plat_ioremap(phys_addr_t offset, unsigned long size, plat_ioremap()
33 return (void __iomem *)(unsigned long)(int)offset; plat_ioremap()
37 static inline int plat_iounmap(const volatile void __iomem *addr) plat_iounmap()
/linux-4.4.14/arch/mips/kernel/
H A Dcevt-txx9.c27 struct txx9_tmr_reg __iomem *tmrptr;
58 struct txx9_tmr_reg __iomem *tmrptr; txx9_clocksource_init()
77 struct txx9_tmr_reg __iomem *tmrptr;
80 static void txx9tmr_stop_and_clear(struct txx9_tmr_reg __iomem *tmrptr) txx9tmr_stop_and_clear()
92 struct txx9_tmr_reg __iomem *tmrptr = txx9_cd->tmrptr; txx9tmr_set_state_periodic()
108 struct txx9_tmr_reg __iomem *tmrptr = txx9_cd->tmrptr; txx9tmr_set_state_oneshot()
119 struct txx9_tmr_reg __iomem *tmrptr = txx9_cd->tmrptr; txx9tmr_set_state_shutdown()
130 struct txx9_tmr_reg __iomem *tmrptr = txx9_cd->tmrptr; txx9tmr_tick_resume()
143 struct txx9_tmr_reg __iomem *tmrptr = txx9_cd->tmrptr; txx9tmr_set_next_event()
170 struct txx9_tmr_reg __iomem *tmrptr = txx9_cd->tmrptr; txx9tmr_interrupt()
188 struct txx9_tmr_reg __iomem *tmrptr; txx9_clockevent_init()
210 struct txx9_tmr_reg __iomem *tmrptr; txx9_tmr_init()
/linux-4.4.14/drivers/clocksource/
H A Dclps711x-timer.c27 static void __iomem *tcd;
34 static int __init _clps711x_clksrc_init(struct clk *clock, void __iomem *base) _clps711x_clksrc_init()
64 static int __init _clps711x_clkevt_init(struct clk *clock, void __iomem *base, _clps711x_clkevt_init()
96 void __init clps711x_clksrc_init(void __iomem *tc1_base, void __iomem *tc2_base, clps711x_clksrc_init()
111 void __iomem *base = of_iomap(np, 0); clps711x_timer_init()
/linux-4.4.14/arch/parisc/mm/
H A Dioremap.c27 void __iomem * __ioremap(unsigned long phys_addr, unsigned long size, unsigned long flags) __ioremap()
29 void __iomem *addr; __ioremap()
83 addr = (void __iomem *) area->addr; __ioremap()
90 return (void __iomem *) (offset + (char __iomem *)addr); __ioremap()
94 void iounmap(const volatile void __iomem *addr) iounmap()
/linux-4.4.14/arch/m32r/mm/
H A Dioremap.c42 void __iomem * __ioremap()
45 void __iomem * addr; __ioremap()
94 addr = (void __iomem *) area->addr; __ioremap()
101 return (void __iomem *) (offset + (char __iomem *)addr); __ioremap()
106 void iounmap(volatile void __iomem *addr) iounmap()
/linux-4.4.14/drivers/sh/intc/
H A Daccess.c78 void __iomem *ptr = (void __iomem *)addr; test_8()
85 void __iomem *ptr = (void __iomem *)addr; test_16()
92 void __iomem *ptr = (void __iomem *)addr; test_32()
99 void __iomem *ptr = (void __iomem *)addr; write_8()
108 void __iomem *ptr = (void __iomem *)addr; write_16()
117 void __iomem *ptr = (void __iomem *)addr; write_32()
126 void __iomem *ptr = (void __iomem *)addr; modify_8()
140 void __iomem *ptr = (void __iomem *)addr; modify_16()
154 void __iomem *ptr = (void __iomem *)addr; modify_32()
/linux-4.4.14/drivers/video/fbdev/
H A Ds3c2410fb.h26 void __iomem *io;
27 void __iomem *irq_base;
H A Dvt8500lcdfb.h18 void __iomem *regbase;
19 void __iomem *palette_cpu;
/linux-4.4.14/drivers/mcb/
H A Dmcb-parse.c12 void __iomem *base;
20 static inline uint32_t get_next_dtype(void __iomem *p) get_next_dtype()
30 void __iomem *base) chameleon_parse_bdd()
37 void __iomem *base) chameleon_parse_gdd()
39 struct chameleon_gdd __iomem *gdd = chameleon_parse_gdd()
40 (struct chameleon_gdd __iomem *) base; chameleon_parse_gdd()
89 void __iomem *base) chameleon_parse_cells()
91 char __iomem *p = base; chameleon_parse_cells()
/linux-4.4.14/drivers/media/pci/netup_unidvb/
H A Dnetup_unidvb.h57 struct netup_dma_regs __iomem *regs;
85 struct netup_i2c_regs __iomem *regs;
93 u8 __iomem *membase8_config;
94 u8 __iomem *membase8_io;
109 u32 __iomem *lmmio0;
110 u8 __iomem *bmmio0;
111 u32 __iomem *lmmio1;
112 u8 __iomem *bmmio1;
/linux-4.4.14/drivers/gpu/drm/nouveau/include/nvif/
H A Ddriver.h12 void __iomem *(*map)(void *priv, u64 handle, u32 size);
13 void (*unmap)(void *priv, void __iomem *ptr, u32 size);
/linux-4.4.14/drivers/clk/sunxi/
H A Dclk-factors.h33 void __iomem *reg;
42 void __iomem *reg);
/linux-4.4.14/arch/arc/plat-axs10x/
H A Daxs10x.c76 iowrite32(~(1 << MB_TO_GPIO_IRQ), (void __iomem *) GPIO_INTMASK); axs10x_enable_gpio_intc_wire()
77 iowrite32(0, (void __iomem *) GPIO_INTTYPE_LEVEL); axs10x_enable_gpio_intc_wire()
78 iowrite32(~0, (void __iomem *) GPIO_INT_POLARITY); axs10x_enable_gpio_intc_wire()
79 iowrite32(1 << MB_TO_GPIO_IRQ, (void __iomem *) GPIO_INTEN); axs10x_enable_gpio_intc_wire()
83 write_cgu_reg(uint32_t value, void __iomem *reg, void __iomem *lock_reg) write_cgu_reg()
111 board.val = ioread32((void __iomem *)creg); axs10x_print_board_ver()
122 if (ioread32((void __iomem *) CREG_MB_CONFIG) & (1 << 28)) axs10x_early_init()
253 axs101_set_memmap(void __iomem *base, const struct aperture map[16]) axs101_set_memmap()
282 axs101_set_memmap((void __iomem *) CREG_CPU_ADDR_770, axc001_memmap); axs101_early_init()
283 iowrite32(1, (void __iomem *) CREG_CPU_ADDR_770_UPD); axs101_early_init()
286 axs101_set_memmap((void __iomem *) CREG_CPU_ADDR_TUNN, axs101_early_init()
288 iowrite32(1, (void __iomem *) CREG_CPU_ADDR_TUNN_UPD); axs101_early_init()
292 axs101_set_memmap((void __iomem *) AXS_MB_CREG + (i << 4), axs101_early_init()
295 iowrite32(0x3ff, (void __iomem *) AXS_MB_CREG + 0x100); /* Update */ axs101_early_init()
298 iowrite32(0x01, (void __iomem *) CREG_CPU_GPIO_UART_MUX); axs101_early_init()
301 iowrite32(0x01, (void __iomem *) CREG_MB_IRQ_MUX); axs101_early_init()
304 iowrite32(0x18, (void __iomem *) CREG_MB_SW_RESET); axs101_early_init()
307 iowrite32(0x52, (void __iomem *) CREG_CPU_ARC770_IRQ_MUX); axs101_early_init()
342 idiv.val = ioread32((void __iomem *)AXC003_CGU + 0x80 + 0); axs103_get_freq()
343 fbdiv.val = ioread32((void __iomem *)AXC003_CGU + 0x80 + 4); axs103_get_freq()
344 odiv.val = ioread32((void __iomem *)AXC003_CGU + 0x80 + 8); axs103_get_freq()
378 (void __iomem *)AXC003_CGU + 0x80 + 0, axs103_set_freq()
379 (void __iomem *)AXC003_CGU + 0x110); axs103_set_freq()
382 (void __iomem *)AXC003_CGU + 0x80 + 4, axs103_set_freq()
383 (void __iomem *)AXC003_CGU + 0x110); axs103_set_freq()
386 (void __iomem *)AXC003_CGU + 0x80 + 8, axs103_set_freq()
387 (void __iomem *)AXC003_CGU + 0x110); axs103_set_freq()
443 iowrite32(0x01, (void __iomem *) CREG_CPU_GPIO_UART_MUX); axs103_early_init()
446 (void __iomem *) CREG_CPU_TUN_IO_CTRL); axs103_early_init()
449 iowrite32(12, (void __iomem *) (CREG_CPU_AXI_M0_IRQ_MUX axs103_early_init()
453 iowrite32(0x01, (void __iomem *) CREG_MB_IRQ_MUX); axs103_early_init()
/linux-4.4.14/arch/mips/include/asm/mach-generic/
H A Dioremap.h23 static inline void __iomem *plat_ioremap(phys_addr_t offset, unsigned long size, plat_ioremap()
29 static inline int plat_iounmap(const volatile void __iomem *addr) plat_iounmap()
/linux-4.4.14/arch/mips/mti-sead3/
H A Dsead3-reset.c18 unsigned int __iomem *softres_reg = mips_machine_restart()
26 unsigned int __iomem *softres_reg = mips_machine_halt()
/linux-4.4.14/arch/arm/mach-mvebu/
H A Dcommon.h26 void __iomem *mvebu_get_scu_base(void);
28 int mvebu_pm_suspend_init(void (*board_pm_enter)(void __iomem *sdram_reg,
/linux-4.4.14/arch/arm/mach-spear/include/mach/
H A Duncompress.h25 void __iomem *base = (void __iomem *)SPEAR_DBG_UART_BASE; putc()
/linux-4.4.14/arch/arm/mach-ux500/
H A Dtimer.c26 void __iomem *prcmu_timer_base; ux500_timer_init()
27 void __iomem *tmp_base; ux500_timer_init()
/linux-4.4.14/drivers/atm/
H A Deni.h36 void __iomem *start; /* counting in bytes */
41 void __iomem *send; /* base, 0 if unused */
54 void __iomem *recv; /* receive buffer */
75 void __iomem *ioaddr;
76 void __iomem *phy; /* PHY interface chip registers */
77 void __iomem *reg; /* register base */
78 void __iomem *ram; /* RAM base */
79 void __iomem *vci; /* VCI table */
80 void __iomem *rx_dma; /* RX DMA queue */
81 void __iomem *tx_dma; /* TX DMA queue */
82 void __iomem *service; /* service list */
/linux-4.4.14/arch/mips/alchemy/common/
H A Dirq.c291 void __iomem *base = (void __iomem *)KSEG1ADDR(AU1000_IC0_PHYS_ADDR); au1x_ic0_unmask()
301 void __iomem *base = (void __iomem *)KSEG1ADDR(AU1000_IC1_PHYS_ADDR); au1x_ic1_unmask()
311 void __iomem *base = (void __iomem *)KSEG1ADDR(AU1000_IC0_PHYS_ADDR); au1x_ic0_mask()
321 void __iomem *base = (void __iomem *)KSEG1ADDR(AU1000_IC1_PHYS_ADDR); au1x_ic1_mask()
331 void __iomem *base = (void __iomem *)KSEG1ADDR(AU1000_IC0_PHYS_ADDR); au1x_ic0_ack()
345 void __iomem *base = (void __iomem *)KSEG1ADDR(AU1000_IC1_PHYS_ADDR); au1x_ic1_ack()
359 void __iomem *base = (void __iomem *)KSEG1ADDR(AU1000_IC0_PHYS_ADDR); au1x_ic0_maskack()
371 void __iomem *base = (void __iomem *)KSEG1ADDR(AU1000_IC1_PHYS_ADDR); au1x_ic1_maskack()
432 void __iomem *base; au1x_ic_settype()
438 base = (void __iomem *)KSEG1ADDR(AU1000_IC1_PHYS_ADDR); au1x_ic_settype()
442 base = (void __iomem *)KSEG1ADDR(AU1000_IC0_PHYS_ADDR); au1x_ic_settype()
516 void __iomem *r = AU1300_GPIC_ADDR; au1300_gpic_chgcfg()
551 void __iomem *r = AU1300_GPIC_ADDR; au1300_pinfunc_to_dev()
602 void __iomem *r = AU1300_GPIC_ADDR; au1300_gpic_mask()
616 void __iomem *r = AU1300_GPIC_ADDR; au1300_gpic_unmask()
631 void __iomem *r = AU1300_GPIC_ADDR; au1300_gpic_maskack()
646 void __iomem *r = AU1300_GPIC_ADDR; au1300_gpic_ack()
715 static inline void ic_init(void __iomem *base) ic_init()
733 static inline void alchemy_ic_suspend_one(void __iomem *base, unsigned long *d) alchemy_ic_suspend_one()
745 static inline void alchemy_ic_resume_one(void __iomem *base, unsigned long *d) alchemy_ic_resume_one()
763 alchemy_ic_suspend_one((void __iomem *)KSEG1ADDR(AU1000_IC0_PHYS_ADDR), alchemy_ic_suspend()
765 alchemy_ic_suspend_one((void __iomem *)KSEG1ADDR(AU1000_IC1_PHYS_ADDR), alchemy_ic_suspend()
772 alchemy_ic_resume_one((void __iomem *)KSEG1ADDR(AU1000_IC1_PHYS_ADDR), alchemy_ic_resume()
774 alchemy_ic_resume_one((void __iomem *)KSEG1ADDR(AU1000_IC0_PHYS_ADDR), alchemy_ic_resume()
780 void __iomem *base = (void __iomem *)KSEG1ADDR(AU1300_GPIC_PHYS_ADDR); alchemy_gpic_suspend()
811 void __iomem *base = (void __iomem *)KSEG1ADDR(AU1300_GPIC_PHYS_ADDR); alchemy_gpic_resume()
828 base = (void __iomem *)KSEG1ADDR(AU1300_GPIC_PHYS_ADDR); alchemy_gpic_resume()
856 unsigned long r = __raw_readl((void __iomem *)KSEG1ADDR(addr)); \
879 void __iomem *base; au1000_init_irq()
881 ic_init((void __iomem *)KSEG1ADDR(AU1000_IC0_PHYS_ADDR)); au1000_init_irq()
882 ic_init((void __iomem *)KSEG1ADDR(AU1000_IC1_PHYS_ADDR)); au1000_init_irq()
905 base = (void __iomem *)KSEG1ADDR(AU1000_IC1_PHYS_ADDR); au1000_init_irq()
908 base = (void __iomem *)KSEG1ADDR(AU1000_IC0_PHYS_ADDR); au1000_init_irq()
926 void __iomem *bank_base; alchemy_gpic_init_irq()
H A Dvss.c24 void __iomem *base = (void __iomem *)VSS_ADDR(block); __enable_block()
55 void __iomem *base = (void __iomem *)VSS_ADDR(block); __disable_block()
/linux-4.4.14/drivers/staging/media/davinci_vpfe/
H A Ddm365_ipipe_hw.h493 static inline u32 regr_ip(void __iomem *addr, u32 offset) regr_ip()
498 static inline void regw_ip(void __iomem *addr, u32 val, u32 offset) regw_ip()
503 static inline u32 w_ip_table(void __iomem *addr, u32 val, u32 offset) w_ip_table()
510 static inline u32 regr_rsz(void __iomem *addr, u32 offset) regr_rsz()
515 static inline u32 regw_rsz(void __iomem *addr, u32 val, u32 offset) regw_rsz()
523 int resizer_set_outaddr(void __iomem *rsz_base, struct resizer_params *params,
525 int rsz_enable(void __iomem *rsz_base, int rsz_id, int enable);
526 void rsz_src_enable(void __iomem *rsz_base, int enable);
530 void ipipe_set_d2f_regs(void __iomem *base_addr, unsigned int id,
532 void ipipe_set_rgb2rgb_regs(void __iomem *base_addr, unsigned int id,
534 void ipipe_set_yuv422_conv_regs(void __iomem *base_addr,
536 void ipipe_set_lum_adj_regs(void __iomem *base_addr,
538 void ipipe_set_rgb2ycbcr_regs(void __iomem *base_addr,
540 void ipipe_set_lutdpc_regs(void __iomem *base_addr,
541 void __iomem *isp5_base_addr, struct vpfe_ipipe_lutdpc *lutdpc);
542 void ipipe_set_otfdpc_regs(void __iomem *base_addr,
544 void ipipe_set_3d_lut_regs(void __iomem *base_addr,
545 void __iomem *isp5_base_addr, struct vpfe_ipipe_3d_lut *lut_3d);
546 void ipipe_set_gamma_regs(void __iomem *base_addr,
547 void __iomem *isp5_base_addr, struct vpfe_ipipe_gamma *gamma);
548 void ipipe_set_ee_regs(void __iomem *base_addr,
549 void __iomem *isp5_base_addr, struct vpfe_ipipe_yee *ee);
550 void ipipe_set_gbce_regs(void __iomem *base_addr,
551 void __iomem *isp5_base_addr, struct vpfe_ipipe_gbce *gbce);
552 void ipipe_set_gic_regs(void __iomem *base_addr, struct vpfe_ipipe_gic *gic);
553 void ipipe_set_cfa_regs(void __iomem *base_addr, struct vpfe_ipipe_cfa *cfa);
554 void ipipe_set_car_regs(void __iomem *base_addr, struct vpfe_ipipe_car *car);
555 void ipipe_set_cgs_regs(void __iomem *base_addr, struct vpfe_ipipe_cgs *cgs);
556 void ipipe_set_wb_regs(void __iomem *base_addr, struct vpfe_ipipe_wb *wb);
/linux-4.4.14/drivers/mfd/
H A Dtmio_core.c12 int tmio_core_mmc_enable(void __iomem *cnf, int shift, unsigned long base) tmio_core_mmc_enable()
31 int tmio_core_mmc_resume(void __iomem *cnf, int shift, unsigned long base) tmio_core_mmc_resume()
42 void tmio_core_mmc_pwr(void __iomem *cnf, int shift, int state) tmio_core_mmc_pwr()
48 void tmio_core_mmc_clk_div(void __iomem *cnf, int shift, int state) tmio_core_mmc_clk_div()
/linux-4.4.14/arch/xtensa/include/asm/
H A Dio.h32 static inline void __iomem *ioremap_nocache(unsigned long offset, ioremap_nocache()
42 static inline void __iomem *ioremap_cache(unsigned long offset, ioremap_cache()
56 static inline void __iomem *ioremap(unsigned long offset, unsigned long size) ioremap()
61 static inline void iounmap(volatile void __iomem *addr) iounmap()
/linux-4.4.14/drivers/clk/socfpga/
H A Dclk.h35 extern void __iomem *clk_mgr_base_addr;
36 extern void __iomem *clk_mgr_a10_base_addr;
53 void __iomem *div_reg;
64 void __iomem *div_reg;
/linux-4.4.14/include/linux/phy/
H A Domap_usb.h36 void __iomem *pll_ctrl_base;
37 void __iomem *phy_base;
66 static inline u32 omap_usb_readl(void __iomem *addr, unsigned offset) omap_usb_readl()
71 static inline void omap_usb_writel(void __iomem *addr, unsigned offset, omap_usb_writel()
/linux-4.4.14/arch/microblaze/pci/
H A Diomap.c13 void pci_iounmap(struct pci_dev *dev, void __iomem *addr) pci_iounmap()
/linux-4.4.14/arch/ia64/include/asm/
H A Dhardirq.h22 extern void __iomem *ipi_base_addr;
/linux-4.4.14/arch/arm/mach-davinci/include/mach/
H A Dcpuidle.h15 void __iomem *ddr2_ctlr_base;
H A Dpm.h23 void __iomem *ddr2_ctlr_base;
24 void __iomem *ddrpsc_reg_base;
26 void __iomem *ddrpll_reg_base;
27 void __iomem *deepsleep_reg;
28 void __iomem *cpupll_reg_base;
/linux-4.4.14/drivers/usb/musb/
H A Dmusb_io.h55 void (*ep_select)(void __iomem *mbase, u8 epnum);
63 extern u8 (*musb_readb)(const void __iomem *addr, unsigned offset);
64 extern void (*musb_writeb)(void __iomem *addr, unsigned offset, u8 data);
65 extern u16 (*musb_readw)(const void __iomem *addr, unsigned offset);
66 extern void (*musb_writew)(void __iomem *addr, unsigned offset, u16 data);
67 extern u32 (*musb_readl)(const void __iomem *addr, unsigned offset);
68 extern void (*musb_writel)(void __iomem *addr, unsigned offset, u32 data);
/linux-4.4.14/drivers/net/wireless/realtek/rtl818x/rtl8180/
H A Drtl8180.h105 struct rtl818x_csr __iomem *map;
152 static inline u8 rtl818x_ioread8(struct rtl8180_priv *priv, u8 __iomem *addr) rtl818x_ioread8()
157 static inline u16 rtl818x_ioread16(struct rtl8180_priv *priv, __le16 __iomem *addr) rtl818x_ioread16()
162 static inline u32 rtl818x_ioread32(struct rtl8180_priv *priv, __le32 __iomem *addr) rtl818x_ioread32()
168 u8 __iomem *addr, u8 val) rtl818x_iowrite8()
174 __le16 __iomem *addr, u16 val) rtl818x_iowrite16()
180 __le32 __iomem *addr, u32 val) rtl818x_iowrite32()
/linux-4.4.14/drivers/net/ethernet/stmicro/stmmac/
H A Dcommon.h325 struct dma_desc *p, void __iomem *ioaddr);
354 int (*init) (void __iomem *ioaddr, int pbl, int fb, int mb,
357 void (*dump_regs) (void __iomem *ioaddr);
360 void (*dma_mode)(void __iomem *ioaddr, int txmode, int rxmode,
364 void __iomem *ioaddr);
365 void (*enable_dma_transmission) (void __iomem *ioaddr);
366 void (*enable_dma_irq) (void __iomem *ioaddr);
367 void (*disable_dma_irq) (void __iomem *ioaddr);
368 void (*start_tx) (void __iomem *ioaddr);
369 void (*stop_tx) (void __iomem *ioaddr);
370 void (*start_rx) (void __iomem *ioaddr);
371 void (*stop_rx) (void __iomem *ioaddr);
372 int (*dma_interrupt) (void __iomem *ioaddr,
375 unsigned int (*get_hw_feature) (void __iomem *ioaddr);
377 void (*rx_watchdog) (void __iomem *ioaddr, u32 riwt);
415 void (*config_hw_tstamping) (void __iomem *ioaddr, u32 data);
416 void (*config_sub_second_increment) (void __iomem *ioaddr);
417 int (*init_systime) (void __iomem *ioaddr, u32 sec, u32 nsec);
418 int (*config_addend) (void __iomem *ioaddr, u32 addend);
419 int (*adjust_systime) (void __iomem *ioaddr, u32 sec, u32 nsec,
421 u64(*get_systime) (void __iomem *ioaddr);
458 void __iomem *pcsr; /* vpointer to device CSRs */
465 struct mac_device_info *dwmac1000_setup(void __iomem *ioaddr, int mcbins,
467 struct mac_device_info *dwmac100_setup(void __iomem *ioaddr);
469 void stmmac_set_mac_addr(void __iomem *ioaddr, u8 addr[6],
471 void stmmac_get_mac_addr(void __iomem *ioaddr, unsigned char *addr,
474 void stmmac_set_mac(void __iomem *ioaddr, bool enable);
476 void dwmac_dma_flush_tx_fifo(void __iomem *ioaddr);
/linux-4.4.14/arch/powerpc/platforms/embedded6xx/
H A Dflipper-pic.c53 void __iomem *io_base = irq_data_get_irq_chip_data(d); flipper_pic_mask_and_ack()
64 void __iomem *io_base = irq_data_get_irq_chip_data(d); flipper_pic_ack()
73 void __iomem *io_base = irq_data_get_irq_chip_data(d); flipper_pic_mask()
81 void __iomem *io_base = irq_data_get_irq_chip_data(d); flipper_pic_unmask()
128 static void __flipper_quiesce(void __iomem *io_base) __flipper_quiesce()
140 void __iomem *io_base; flipper_pic_init()
177 void __iomem *io_base = flipper_irq_host->host_data; flipper_pic_get_irq()
223 void __iomem *io_base = flipper_irq_host->host_data; flipper_quiesce()
233 void __iomem *io_base; flipper_platform_reset()
246 void __iomem *io_base; flipper_is_reset_button_pressed()
/linux-4.4.14/arch/x86/mm/
H A Dtestmmiotrace.c31 static void do_write_test(void __iomem *p) do_write_test()
47 static void do_read_test(void __iomem *p) do_read_test()
70 static void do_read_far_test(void __iomem *p) do_read_far_test()
80 void __iomem *p = ioremap_nocache(mmio_address, size); do_test()
101 void __iomem *p; do_test_bulk_ioremapping()
/linux-4.4.14/arch/arm/plat-samsung/
H A Dpm-debug.c30 static inline void s3c_pm_arch_update_uart(void __iomem *regs, s3c_pm_arch_update_uart()
56 static inline void __iomem *s3c_pm_uart_base(void) s3c_pm_uart_base()
63 return (void __iomem *)vaddr; s3c_pm_uart_base()
68 void __iomem *regs = s3c_pm_uart_base(); s3c_pm_save_uarts()
86 void __iomem *regs = s3c_pm_uart_base(); s3c_pm_restore_uarts()
/linux-4.4.14/arch/avr32/mm/
H A Dioremap.c22 void __iomem *__ioremap(unsigned long phys_addr, size_t size, __ioremap()
36 return (void __iomem *)phys_addr; __ioremap()
49 return (void __iomem *)P2SEGADDR(phys_addr); __ioremap()
72 return (void __iomem *)(offset + (char *)addr); __ioremap()
76 void __iounmap(void __iomem *addr) __iounmap()
/linux-4.4.14/drivers/scsi/arcmsr/
H A Darcmsr.h471 uint32_t __iomem *drv2iop_doorbell;
472 uint32_t __iomem *drv2iop_doorbell_mask;
473 uint32_t __iomem *iop2drv_doorbell;
474 uint32_t __iomem *iop2drv_doorbell_mask;
475 uint32_t __iomem *message_rwbuffer;
476 uint32_t __iomem *message_wbuffer;
477 uint32_t __iomem *message_rbuffer;
577 u32 __iomem *chip_id; /* 0x00004 */
578 u32 __iomem *cpu_mem_config; /* 0x00008 */
579 u32 __iomem *i2o_host_interrupt_mask; /* 0x00034 */
580 u32 __iomem *sample_at_reset; /* 0x00100 */
581 u32 __iomem *reset_request; /* 0x00108 */
582 u32 __iomem *host_int_status; /* 0x00200 */
583 u32 __iomem *pcief0_int_enable; /* 0x0020C */
584 u32 __iomem *inbound_msgaddr0; /* 0x00400 */
585 u32 __iomem *inbound_msgaddr1; /* 0x00404 */
586 u32 __iomem *outbound_msgaddr0; /* 0x00420 */
587 u32 __iomem *outbound_msgaddr1; /* 0x00424 */
588 u32 __iomem *inbound_doorbell; /* 0x00460 */
589 u32 __iomem *outbound_doorbell; /* 0x00480 */
590 u32 __iomem *outbound_doorbell_enable; /* 0x00484 */
591 u32 __iomem *inboundlist_base_low; /* 0x01000 */
592 u32 __iomem *inboundlist_base_high; /* 0x01004 */
593 u32 __iomem *inboundlist_write_pointer; /* 0x01018 */
594 u32 __iomem *outboundlist_base_low; /* 0x01060 */
595 u32 __iomem *outboundlist_base_high; /* 0x01064 */
596 u32 __iomem *outboundlist_copy_pointer; /* 0x0106C */
597 u32 __iomem *outboundlist_read_pointer; /* 0x01070 0x01072 */
598 u32 __iomem *outboundlist_interrupt_cause; /* 0x1088 */
599 u32 __iomem *outboundlist_interrupt_enable; /* 0x108C */
600 u32 __iomem *message_wbuffer; /* 0x2000 */
601 u32 __iomem *message_rbuffer; /* 0x2100 */
602 u32 __iomem *msgcode_rwbuffer; /* 0x2200 */
632 struct MessageUnit_A __iomem *pmuA;
634 struct MessageUnit_C __iomem *pmuC;
638 void __iomem *mem_base0;
639 void __iomem *mem_base1;
809 struct QBUFFER __iomem *);
811 extern struct QBUFFER __iomem *arcmsr_get_iop_rqbuffer(struct AdapterControlBlock *);
/linux-4.4.14/drivers/net/ethernet/apm/xgene/
H A Dxgene_enet_xgmac.c28 void __iomem *addr = pdata->eth_csr_addr + offset; xgene_enet_wr_csr()
36 void __iomem *addr = pdata->eth_ring_if_addr + offset; xgene_enet_wr_ring_if()
44 void __iomem *addr = pdata->eth_diag_csr_addr + offset; xgene_enet_wr_diag_csr()
49 static bool xgene_enet_wr_indirect(void __iomem *addr, void __iomem *wr, xgene_enet_wr_indirect()
50 void __iomem *cmd, void __iomem *cmd_done, xgene_enet_wr_indirect()
75 void __iomem *addr, *wr, *cmd, *cmd_done; xgene_enet_wr_mac()
90 void __iomem *addr = pdata->eth_csr_addr + offset; xgene_enet_rd_csr()
98 void __iomem *addr = pdata->eth_diag_csr_addr + offset; xgene_enet_rd_diag_csr()
103 static bool xgene_enet_rd_indirect(void __iomem *addr, void __iomem *rd, xgene_enet_rd_indirect()
104 void __iomem *cmd, void __iomem *cmd_done, xgene_enet_rd_indirect()
128 void __iomem *addr, *rd, *cmd, *cmd_done; xgene_enet_rd_mac()
/linux-4.4.14/arch/powerpc/sysdev/
H A Dcpm_common.c40 static u32 __iomem *cpm_udbg_txdesc =
41 (u32 __iomem __force *)CONFIG_PPC_EARLY_DEBUG_CPM_ADDR;
45 u8 __iomem *txbuf = (u8 __iomem __force *)in_be32(&cpm_udbg_txdesc[1]); udbg_putc_cpm()
71 static u8 __iomem *muram_vbase;
202 void __iomem *cpm_muram_addr(unsigned long offset) cpm_muram_addr()
208 unsigned long cpm_muram_offset(void __iomem *addr) cpm_muram_offset()
210 return addr - (void __iomem *)muram_vbase; cpm_muram_offset()
218 dma_addr_t cpm_muram_dma(void __iomem *addr) cpm_muram_dma()
220 return muram_pbase + ((u8 __iomem *)addr - muram_vbase); cpm_muram_dma()
248 struct cpm2_ioports __iomem *iop = mm_gc->regs; cpm2_gpio32_save_regs()
256 struct cpm2_ioports __iomem *iop = mm_gc->regs; cpm2_gpio32_get()
268 struct cpm2_ioports __iomem *iop = mm_gc->regs; __cpm2_gpio32_set()
296 struct cpm2_ioports __iomem *iop = mm_gc->regs; cpm2_gpio32_dir_out()
314 struct cpm2_ioports __iomem *iop = mm_gc->regs; cpm2_gpio32_dir_in()

Completed in 6266 milliseconds

1234567891011>>