Home
last modified time | relevance | path

Searched refs:DEF_FIELD (Results 1 – 25 of 27) sorted by relevance

12

/system/dev/lib/mt8167/include/soc/mt8167/
A Dmt8167-usb-phy.h22 DEF_FIELD(14, 8, pll_fbdiv);
23 DEF_FIELD(7, 6, pll_prediv);
26 DEF_FIELD(3, 2, bgr_div);
40 DEF_FIELD(7, 0, mpx_sel);
57 DEF_FIELD(14, 12, ls_cr);
58 DEF_FIELD(10, 8, fs_cr);
59 DEF_FIELD(6, 4, ls_sr);
60 DEF_FIELD(2, 0, fs_sr);
70 DEF_FIELD(23, 22, sqd);
97 DEF_FIELD(7, 4, discth);
[all …]
A Dmt8167-usb.h49 DEF_FIELD(15, 0, ep_tx);
57 DEF_FIELD(15, 0, ep_rx);
65 DEF_FIELD(15, 0, ep_tx);
73 DEF_FIELD(15, 0, ep_rx);
153 DEF_FIELD(4, 3, vbus);
183 DEF_FIELD(3, 0, txsz);
191 DEF_FIELD(3, 0, rxsz);
257 DEF_FIELD(3, 0, rambits);
348 DEF_FIELD(12, 11, m_1);
394 DEF_FIELD(12, 11, m_1);
[all …]
/system/dev/display/vim-display/
A Dregisters.h23 DEF_FIELD(24, 19, hold_lines);
50 DEF_FIELD(30, 16, end);
51 DEF_FIELD(14, 0, start);
57 DEF_FIELD(28, 16, end);
58 DEF_FIELD(12, 0, start);
64 DEF_FIELD(30, 16, end);
65 DEF_FIELD(14, 0, start);
71 DEF_FIELD(28, 16, end);
72 DEF_FIELD(12, 0, start);
79 DEF_FIELD(1, 0, color_map);
[all …]
/system/dev/usb/dwc3/
A Ddwc3-regs.h13 DEF_FIELD(31, 19, PWRDNSCALE);
17 DEF_FIELD(15, 14, FRMSCLDWN);
18 DEF_FIELD(13, 12, PRTCAPDIR);
22 DEF_FIELD(7, 6, RAMCLKSEL);
23 DEF_FIELD(5, 4, SCALEDOWN);
38 DEF_FIELD(31, 20, CBELT);
47 DEF_FIELD(1, 0, CURMOD);
58 DEF_FIELD(24, 22, LSTRD);
59 DEF_FIELD(21, 19, LSIPD);
71 DEF_FIELD(2, 0, TOutCal);
[all …]
/system/dev/display/intel-i915/
A Dregisters-transcoder.h31 DEF_FIELD(28, 16, sync_end);
32 DEF_FIELD(12, 0, sync_start);
39 DEF_FIELD(30, 28, ddi_select);
53 DEF_FIELD(17, 16, sync_polarity);
82 DEF_FIELD(23, 0, data_m_value);
88 DEF_FIELD(23, 0, data_n_value);
94 DEF_FIELD(23, 0, link_m_value);
100 DEF_FIELD(23, 0, link_n_value);
107 DEF_FIELD(10, 9, stereo_video);
110 DEF_FIELD(7, 5, bits_per_color);
[all …]
A Dregisters-pipe.h43 DEF_FIELD(29, 20, r);
44 DEF_FIELD(19, 10, g);
45 DEF_FIELD(9, 0, b);
82 DEF_FIELD(9, 0, stride);
155 DEF_FIELD(18, 14, lines);
156 DEF_FIELD(9, 0, blocks);
189 DEF_FIELD(28, 16, y_pos);
190 DEF_FIELD(12, 0, x_pos);
199 DEF_FIELD(29, 28, mode);
229 DEF_FIELD(11, 0, y_pos);
[all …]
A Ddpcd.h49 DEF_FIELD(7, 0, link_bw);
60 DEF_FIELD(4, 0, lane_count_set);
66 DEF_FIELD(1, 0, training_pattern_set);
79 DEF_FIELD(1, 0, voltage_swing_set);
81 DEF_FIELD(4, 3, pre_emphasis_set);
179 DEF_FIELD(2, 0, set_power_state);
192 DEF_FIELD(2, 0, link_rate_idx);
202 DEF_FIELD(2, 1, type);
214 DEF_FIELD(3, 0, count);
222 DEF_FIELD(5, 0, count_lo);
[all …]
A Dregisters-ddi.h114 DEF_FIELD(27, 24, dp_vswing_emp_sel);
118 DEF_FIELD(3, 1, dp_port_width_selection);
125 DEF_FIELD(20, 16, vref);
126 DEF_FIELD(10, 0, vswing);
133 DEF_FIELD(17, 0, deemphasis_level);
139 DEF_FIELD(27, 23, disable_balance_leg);
158 DEF_FIELD(27, 26, timeout_timer_value);
160 DEF_FIELD(24, 20, message_size);
161 DEF_FIELD(4, 0, sync_pulse_count);
181 DEF_FIELD(10, 8, dp_link_training_pattern);
A Dregisters.h19 DEF_FIELD(15, 8, gfx_mode_select);
20 DEF_FIELD(7, 6, gtt_size);
50 DEF_FIELD(31, 20, base_phys_addr);
73 DEF_FIELD(2, 0, pin_pair_select);
88 DEF_FIELD(24, 16, total_byte_count);
89 DEF_FIELD(7, 1, slave_register_addr);
115 DEF_FIELD(4, 0, interrupt_mask);
165 DEF_FIELD(27, 26, cd_freq_select);
171 DEF_FIELD(10, 0, cd_freq_decimal);
242 DEF_FIELD(31, 16, modulation_freq);
[all …]
A Dregisters-dpll.h84 DEF_FIELD(23, 9, dco_fraction);
85 DEF_FIELD(8, 0, dco_integer);
96 DEF_FIELD(15, 8, qdiv_ratio);
99 DEF_FIELD(6, 5, kdiv_ratio);
105 DEF_FIELD(4, 2, pdiv_ratio);
111 DEF_FIELD(1, 0, central_freq);
A Digd.cpp36 DEF_FIELD(15, 8, subfunction);
38 DEF_FIELD(4, 1, function);
55 DEF_FIELD(15, 8, exit_param);
56 DEF_FIELD(7, 5, exit_result);
86 DEF_FIELD(22, 20, bia_ctrl);
87 DEF_FIELD(19, 18, blc_support);
90 DEF_FIELD(15, 8, panel_type_plus1);
91 DEF_FIELD(7, 0, panel_scaling);
/system/dev/i2c/mt8167-i2c/
A Dmt8167-i2c-regs.h76 DEF_FIELD(10, 8, sample_cnt_div);
77 DEF_FIELD(5, 0, step_cnt_div);
92 DEF_FIELD(15, 8, ext_time);
99 DEF_FIELD(15, 12, rd_addr);
100 DEF_FIELD(11, 8, wr_addr);
101 DEF_FIELD(7, 4, fifo_offset);
110 DEF_FIELD(2, 0, rx_trig_thresh);
131 DEF_FIELD(2, 0, debug);
139 DEF_FIELD(6, 4, master_code);
162 DEF_FIELD(4, 0, master_state);
[all …]
/system/dev/pci/amlogic-pcie/
A Daml-pcie-clk.cpp39 DEF_FIELD(8, 0, m);
40 DEF_FIELD(13, 9, n);
41 DEF_FIELD(17, 16, od);
51 DEF_FIELD(11, 0, div_frac);
53 DEF_FIELD(14, 13, dcvc_in);
57 DEF_FIELD(21, 19, data_sel);
58 DEF_FIELD(23, 22, afc_nt);
59 DEF_FIELD(25, 24, afc_hold_t);
60 DEF_FIELD(27, 26, afc_dsel_in);
63 DEF_FIELD(31, 30, acq_r_ctr);
[all …]
A Daml-pcie-regs.h80 DEF_FIELD(31, 24, secondary_lat_timer);
81 DEF_FIELD(23, 16, subordinate_bus);
82 DEF_FIELD(15, 8, secondary_bus);
83 DEF_FIELD(7, 0, primary_bus);
/system/dev/thermal/aml-thermal-s905d2g/
A Daml-tsensor-regs.h68 DEF_FIELD(8, 7, filter_hcic_mode);
82 DEF_FIELD(27, 16, high_temp_times);
90 DEF_FIELD(23, 12, rise_th0);
91 DEF_FIELD(11, 0, rise_th1);
98 DEF_FIELD(23, 12, rise_th0);
99 DEF_FIELD(11, 0, rise_th1);
106 DEF_FIELD(23, 12, fall_th0);
107 DEF_FIELD(11, 0, fall_th1);
114 DEF_FIELD(23, 12, fall_th0);
115 DEF_FIELD(11, 0, fall_th1);
[all …]
A Dhiu-registers.h15 DEF_FIELD(25, 20, mux1_divn_tcnt);
17 DEF_FIELD(17, 16, premux1);
24 DEF_FIELD(9, 4, mux0_divn_tcnt);
27 DEF_FIELD(1, 0, premux0);
/system/dev/serial/aml-uart/
A Dregisters.h42 DEF_FIELD(21, 20, xmit_len);
43 DEF_FIELD(19, 18, parity);
44 DEF_FIELD(17, 16, stop_len);
48 DEF_FIELD(11, 0, baud0);
66 DEF_FIELD(15, 8, tx_count);
67 DEF_FIELD(7, 0, rx_count);
74 DEF_FIELD(15, 8, xmit_irq_count);
75 DEF_FIELD(7, 0, recv_irq_count);
85 DEF_FIELD(22, 0, new_baud_rate);
/system/dev/thermal/mtk-thermal/
A Dmtk-thermal-reg.h39 DEF_FIELD(26, 24, div);
40 DEF_FIELD(20, 0, pcw);
48 DEF_FIELD(30, 16, addr);
49 DEF_FIELD(15, 0, data);
59 DEF_FIELD(18, 16, status);
60 DEF_FIELD(15, 0, data);
107 DEF_FIELD(9, 0, period);
130 DEF_FIELD(8, 6, msrctl2);
203 DEF_FIELD(4, 0, pos);
210 DEF_FIELD(4, 0, shift);
[all …]
/system/dev/block/mtk-sdmmc/
A Dmtk-sdmmc-reg.h48 DEF_FIELD(15, 8, card_ck_div);
118 DEF_FIELD(7, 0, data);
135 DEF_FIELD(17, 16, bus_width);
196 DEF_FIELD(29, 28, auto_cmd);
201 DEF_FIELD(9, 7, resp_type);
202 DEF_FIELD(5, 0, cmd);
226 DEF_FIELD(31, 0, response);
238 DEF_FIELD(3, 0, address);
253 DEF_FIELD(31, 0, address);
306 DEF_FIELD(15, 8, checksum);
[all …]
/system/dev/board/mt8167s_ref/
A Dmt8167-sdio.cpp46 DEF_FIELD(13, 12, msdc2_dat2_pull);
49 DEF_FIELD(9, 8, msdc2_dat1_pull);
52 DEF_FIELD(5, 4, msdc2_dat0_pull);
60 DEF_FIELD(9, 8, msdc2_cmd_pull);
63 DEF_FIELD(5, 4, msdc2_clk_pull);
66 DEF_FIELD(1, 0, msdc2_dat3_pull);
A Dmt8167-touch.cpp38 DEF_FIELD(30, 16, addr);
39 DEF_FIELD(15, 0, data);
48 DEF_FIELD(18, 16, status);
A Dmt8167-emmc.cpp48 DEF_FIELD(13, 11, msdc0_mux_sel);
64 DEF_FIELD(26, 24, div);
65 DEF_FIELD(20, 0, pcw);
/system/utest/libhwreg/
A Dbitfields-test.cpp19 DEF_FIELD(30, 12, field1); in compilation_test()
22 DEF_FIELD(4, 3, field3); in compilation_test()
25 DEF_FIELD(0, 0, field4); in compilation_test()
285 DEF_FIELD(7, 3, field1); in reg_field_test()
286 DEF_FIELD(2, 0, field2); in reg_field_test()
292 DEF_FIELD(13, 3, field1); in reg_field_test()
293 DEF_FIELD(2, 1, field2); in reg_field_test()
300 DEF_FIELD(30, 21, field1); in reg_field_test()
301 DEF_FIELD(20, 12, field2); in reg_field_test()
308 DEF_FIELD(60, 20, field1); in reg_field_test()
[all …]
/system/dev/i2c/imx-i2c/
A Dimx-i2c-regs.h14 DEF_FIELD(7, 1, address);
20 DEF_FIELD(5, 0, freq);
50 DEF_FIELD(7, 0, data);
/system/dev/gpio/mt-8167/
A Dmt8167-gpio-regs.h79 DEF_FIELD(14, 12, mode4);
80 DEF_FIELD(11, 9, mode3);
81 DEF_FIELD(8, 6, mode2);
82 DEF_FIELD(5, 3, mode1);
83 DEF_FIELD(2, 0, mode0);

Completed in 39 milliseconds

12