Searched refs:EXTRACT (Results 1 – 7 of 7) sorted by relevance
/linux/arch/alpha/kernel/ |
A D | err_marvel.c | 118 EXTRACT(err_cyc, IO7__ERR_CYC__CYCLE), in marvel_print_err_cyc() 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() 262 EXTRACT(scratch, IO7__STRV_VTR__MSI__INTNUM)); in marvel_print_po7_uncrr_sym() 266 'A' + EXTRACT(scratch, in marvel_print_po7_uncrr_sym() 268 EXTRACT(scratch, IO7__STRV_VTR__LSI__BUS), in marvel_print_po7_uncrr_sym() 269 EXTRACT(scratch, IO7__STRV_VTR__LSI__SLOT)); in marvel_print_po7_uncrr_sym() 584 EXTRACT(spl_cmplt, IO7__POX_SPLCMPLT__MESSAGE)); in marvel_print_pox_spl_cmplt() [all …]
|
A D | err_titan.c | 46 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()
|
A D | err_ev6.c | 136 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()
|
A D | err_impl.h | 41 #define EXTRACT(u, f) (((u) >> f##__S) & f##__M) macro
|
/linux/drivers/clk/ |
A D | clk-nspire.c | 40 #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/drivers/gpu/drm/etnaviv/ |
A D | etnaviv_cmd_parser.c | 13 #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/drivers/iio/adc/ |
A D | ad7923.c | 46 #define EXTRACT(val, dec, bits) (((val) >> (dec)) & ((1 << (bits)) - 1)) macro 270 if (chan->address == EXTRACT(ret, 12, 4)) in ad7923_read_raw() 271 *val = EXTRACT(ret, 0, 12); in ad7923_read_raw()
|
Completed in 15 milliseconds