Home
last modified time | relevance | path

Searched refs:EXTRACT (Results 1 – 7 of 7) sorted by relevance

/Linux-v5.4/arch/alpha/kernel/
Derr_marvel.c115 packet_desc[EXTRACT(err_cyc, IO7__ERR_CYC__PACKET)], in marvel_print_err_cyc()
118 EXTRACT(err_cyc, IO7__ERR_CYC__CYCLE), in marvel_print_err_cyc()
135 err_print_prefix, EXTRACT(crrct_sym, IO7__PO7_CRRCT_SYM__SYN)); in marvel_print_po7_crrct_sym()
136 marvel_print_err_cyc(EXTRACT(crrct_sym, IO7__PO7_CRRCT_SYM__ERR_CYC)); in marvel_print_po7_crrct_sym()
189 if (EXTRACT(valid_mask, IO7__PO7_UNCRR_SYM__SYN)) in marvel_print_po7_uncrr_sym()
192 EXTRACT(uncrr_sym, IO7__PO7_UNCRR_SYM__SYN)); in marvel_print_po7_uncrr_sym()
194 if (EXTRACT(valid_mask, IO7__PO7_UNCRR_SYM__ERR_CYC)) in marvel_print_po7_uncrr_sym()
195 marvel_print_err_cyc(EXTRACT(uncrr_sym, in marvel_print_po7_uncrr_sym()
198 scratch = EXTRACT(uncrr_sym, IO7__PO7_UNCRR_SYM__CLK); in marvel_print_po7_uncrr_sym()
232 if ((scratch = EXTRACT(uncrr_sym, IO7__PO7_UNCRR_SYM__VICTIM_SP))) { in marvel_print_po7_uncrr_sym()
[all …]
Derr_titan.c46 nxs = EXTRACT(c_misc, TITAN__CCHIP_MISC__NXS); in titan_parse_c_misc()
123 serror_src[EXTRACT(serror, TITAN__PCHIP_SERROR__SRC)], in titan_parse_p_serror()
124 serror_cmd[EXTRACT(serror, TITAN__PCHIP_SERROR__CMD)], in titan_parse_p_serror()
125 (unsigned)EXTRACT(serror, TITAN__PCHIP_SERROR__SYN), in titan_parse_p_serror()
126 EXTRACT(serror, TITAN__PCHIP_SERROR__ADDR)); in titan_parse_p_serror()
192 cmd = EXTRACT(perror, TITAN__PCHIP_PERROR__CMD); in titan_parse_p_perror()
193 addr = EXTRACT(perror, TITAN__PCHIP_PERROR__ADDR) << 2; in titan_parse_p_perror()
321 cmd = EXTRACT(agperror, TITAN__PCHIP_AGPERROR__CMD); in titan_parse_p_agperror()
322 addr = EXTRACT(agperror, TITAN__PCHIP_AGPERROR__ADDR) << 3; in titan_parse_p_agperror()
323 len = EXTRACT(agperror, TITAN__PCHIP_AGPERROR__LEN); in titan_parse_p_agperror()
Derr_ev6.c136 source = EXTRACT(c_stat, EV6__C_STAT__SOURCE); in ev6_parse_cbox()
137 stream = EXTRACT(c_stat, EV6__C_STAT__ISTREAM); in ev6_parse_cbox()
138 bits = EXTRACT(c_stat, EV6__C_STAT__DOUBLE); in ev6_parse_cbox()
Derr_impl.h41 #define EXTRACT(u, f) (((u) >> f##__S) & f##__M) macro
/Linux-v5.4/drivers/clk/
Dclk-nspire.c40 #define EXTRACT(var, prop) (((var)>>prop##_SHIFT) & prop##_MASK) macro
43 if (EXTRACT(val, FIXED_BASE)) in nspire_clkinfo_cx()
46 clk->base_clock = 6 * EXTRACT(val, CX_BASE) * MHZ; in nspire_clkinfo_cx()
48 clk->base_cpu_ratio = EXTRACT(val, BASE_CPU) * EXTRACT(val, CX_UNKNOWN); in nspire_clkinfo_cx()
49 clk->base_ahb_ratio = clk->base_cpu_ratio * (EXTRACT(val, CPU_AHB) + 1); in nspire_clkinfo_cx()
54 if (EXTRACT(val, FIXED_BASE)) in nspire_clkinfo_classic()
57 clk->base_clock = (300 - 6 * EXTRACT(val, CLASSIC_BASE)) * MHZ; in nspire_clkinfo_classic()
59 clk->base_cpu_ratio = EXTRACT(val, BASE_CPU) * 2; in nspire_clkinfo_classic()
60 clk->base_ahb_ratio = clk->base_cpu_ratio * (EXTRACT(val, CPU_AHB) + 1); in nspire_clkinfo_classic()
/Linux-v5.4/drivers/gpu/drm/etnaviv/
Detnaviv_cmd_parser.c13 #define EXTRACT(val, field) (((val) & field##__MASK) >> field##__SHIFT) macro
168 n = EXTRACT(cmd, VIV_FE_LOAD_STATE_HEADER_COUNT); in etnaviv_cmd_validate_one()
173 off = EXTRACT(cmd, VIV_FE_LOAD_STATE_HEADER_OFFSET); in etnaviv_cmd_validate_one()
180 n = EXTRACT(cmd, VIV_FE_DRAW_2D_HEADER_COUNT); in etnaviv_cmd_validate_one()
/Linux-v5.4/drivers/iio/adc/
Dad7923.c51 #define EXTRACT(val, dec, bits) (((val) >> (dec)) & ((1 << (bits)) - 1)) macro
244 if (chan->address == EXTRACT(ret, 12, 4)) in ad7923_read_raw()
245 *val = EXTRACT(ret, 0, 12); in ad7923_read_raw()