Lines Matching full:config
16 struct etmv4_config *config = &drvdata->config; in etm4_set_mode_exclude() local
18 idx = config->addr_idx; in etm4_set_mode_exclude()
24 if (BMVAL(config->addr_acc[idx], 0, 1) == ETM_INSTR_ADDR) { in etm4_set_mode_exclude()
33 if (config->addr_type[idx] != ETM_ADDR_TYPE_RANGE || in etm4_set_mode_exclude()
34 config->addr_type[idx + 1] != ETM_ADDR_TYPE_RANGE) in etm4_set_mode_exclude()
42 config->viiectlr |= BIT(idx / 2 + 16); in etm4_set_mode_exclude()
43 config->viiectlr &= ~BIT(idx / 2); in etm4_set_mode_exclude()
49 config->viiectlr |= BIT(idx / 2); in etm4_set_mode_exclude()
50 config->viiectlr &= ~BIT(idx / 2 + 16); in etm4_set_mode_exclude()
171 struct etmv4_config *config = &drvdata->config; in reset_store() local
178 config->mode = 0x0; in reset_store()
181 config->mode &= ~(ETM_MODE_LOAD | ETM_MODE_STORE); in reset_store()
182 config->cfg &= ~(BIT(1) | BIT(2)); in reset_store()
185 config->mode &= ~(ETM_MODE_DATA_TRACE_ADDR | in reset_store()
187 config->cfg &= ~(BIT(16) | BIT(17)); in reset_store()
190 config->eventctrl0 = 0x0; in reset_store()
191 config->eventctrl1 = 0x0; in reset_store()
194 config->ts_ctrl = 0x0; in reset_store()
197 config->stall_ctrl = 0x0; in reset_store()
201 config->syncfreq = 0x8; in reset_store()
208 config->vinst_ctrl |= BIT(0); in reset_store()
210 config->mode |= ETM_MODE_VIEWINST_STARTSTOP; in reset_store()
212 config->vinst_ctrl |= BIT(9); in reset_store()
216 config->viiectlr = 0x0; in reset_store()
219 config->vissctlr = 0x0; in reset_store()
223 config->seq_ctrl[i] = 0x0; in reset_store()
224 config->seq_rst = 0x0; in reset_store()
225 config->seq_state = 0x0; in reset_store()
228 config->ext_inp = 0x0; in reset_store()
230 config->cntr_idx = 0x0; in reset_store()
232 config->cntrldvr[i] = 0x0; in reset_store()
233 config->cntr_ctrl[i] = 0x0; in reset_store()
234 config->cntr_val[i] = 0x0; in reset_store()
237 config->res_idx = 0x0; in reset_store()
239 config->res_ctrl[i] = 0x0; in reset_store()
242 config->ss_ctrl[i] = 0x0; in reset_store()
243 config->ss_pe_cmp[i] = 0x0; in reset_store()
246 config->addr_idx = 0x0; in reset_store()
248 config->addr_val[i] = 0x0; in reset_store()
249 config->addr_acc[i] = 0x0; in reset_store()
250 config->addr_type[i] = ETM_ADDR_TYPE_NONE; in reset_store()
253 config->ctxid_idx = 0x0; in reset_store()
255 config->ctxid_pid[i] = 0x0; in reset_store()
257 config->ctxid_mask0 = 0x0; in reset_store()
258 config->ctxid_mask1 = 0x0; in reset_store()
260 config->vmid_idx = 0x0; in reset_store()
262 config->vmid_val[i] = 0x0; in reset_store()
263 config->vmid_mask0 = 0x0; in reset_store()
264 config->vmid_mask1 = 0x0; in reset_store()
280 struct etmv4_config *config = &drvdata->config; in mode_show() local
282 val = config->mode; in mode_show()
292 struct etmv4_config *config = &drvdata->config; in mode_store() local
298 config->mode = val & ETMv4_MODE_ALL; in mode_store()
300 config->mode & ETM_MODE_EXCLUDE ? true : false); in mode_store()
304 config->cfg &= ~(BIT(1) | BIT(2)); in mode_store()
305 if (config->mode & ETM_MODE_LOAD) in mode_store()
307 config->cfg |= BIT(1); in mode_store()
308 if (config->mode & ETM_MODE_STORE) in mode_store()
310 config->cfg |= BIT(2); in mode_store()
311 if (config->mode & ETM_MODE_LOAD_STORE) in mode_store()
316 config->cfg |= BIT(1) | BIT(2); in mode_store()
320 if ((config->mode & ETM_MODE_BB) && (drvdata->trcbb == true)) in mode_store()
321 config->cfg |= BIT(3); in mode_store()
323 config->cfg &= ~BIT(3); in mode_store()
326 if ((config->mode & ETMv4_MODE_CYCACC) && in mode_store()
328 config->cfg |= BIT(4); in mode_store()
330 config->cfg &= ~BIT(4); in mode_store()
333 if ((config->mode & ETMv4_MODE_CTXID) && (drvdata->ctxid_size)) in mode_store()
334 config->cfg |= BIT(6); in mode_store()
336 config->cfg &= ~BIT(6); in mode_store()
338 if ((config->mode & ETM_MODE_VMID) && (drvdata->vmid_size)) in mode_store()
339 config->cfg |= BIT(7); in mode_store()
341 config->cfg &= ~BIT(7); in mode_store()
344 mode = ETM_MODE_COND(config->mode); in mode_store()
346 config->cfg &= ~(BIT(8) | BIT(9) | BIT(10)); in mode_store()
347 config->cfg |= mode << 8; in mode_store()
351 if ((config->mode & ETMv4_MODE_TIMESTAMP) && (drvdata->ts_size)) in mode_store()
352 config->cfg |= BIT(11); in mode_store()
354 config->cfg &= ~BIT(11); in mode_store()
357 if ((config->mode & ETM_MODE_RETURNSTACK) && in mode_store()
359 config->cfg |= BIT(12); in mode_store()
361 config->cfg &= ~BIT(12); in mode_store()
364 mode = ETM_MODE_QELEM(config->mode); in mode_store()
366 config->cfg &= ~(BIT(13) | BIT(14)); in mode_store()
369 config->cfg |= BIT(13); in mode_store()
375 config->cfg |= BIT(14); in mode_store()
378 if ((config->mode & ETM_MODE_ATB_TRIGGER) && in mode_store()
380 config->eventctrl1 |= BIT(11); in mode_store()
382 config->eventctrl1 &= ~BIT(11); in mode_store()
385 if ((config->mode & ETM_MODE_LPOVERRIDE) && in mode_store()
387 config->eventctrl1 |= BIT(12); in mode_store()
389 config->eventctrl1 &= ~BIT(12); in mode_store()
392 if (config->mode & ETM_MODE_ISTALL_EN) in mode_store()
393 config->stall_ctrl |= BIT(8); in mode_store()
395 config->stall_ctrl &= ~BIT(8); in mode_store()
398 if (config->mode & ETM_MODE_INSTPRIO) in mode_store()
399 config->stall_ctrl |= BIT(10); in mode_store()
401 config->stall_ctrl &= ~BIT(10); in mode_store()
404 if ((config->mode & ETM_MODE_NOOVERFLOW) && in mode_store()
406 config->stall_ctrl |= BIT(13); in mode_store()
408 config->stall_ctrl &= ~BIT(13); in mode_store()
411 if (config->mode & ETM_MODE_VIEWINST_STARTSTOP) in mode_store()
412 config->vinst_ctrl |= BIT(9); in mode_store()
414 config->vinst_ctrl &= ~BIT(9); in mode_store()
417 if (config->mode & ETM_MODE_TRACE_RESET) in mode_store()
418 config->vinst_ctrl |= BIT(10); in mode_store()
420 config->vinst_ctrl &= ~BIT(10); in mode_store()
423 if ((config->mode & ETM_MODE_TRACE_ERR) && in mode_store()
425 config->vinst_ctrl |= BIT(11); in mode_store()
427 config->vinst_ctrl &= ~BIT(11); in mode_store()
429 if (config->mode & (ETM_MODE_EXCL_KERN | ETM_MODE_EXCL_USER)) in mode_store()
430 etm4_config_trace_mode(config); in mode_store()
444 struct etmv4_config *config = &drvdata->config; in pe_show() local
446 val = config->pe_sel; in pe_show()
456 struct etmv4_config *config = &drvdata->config; in pe_store() local
467 config->pe_sel = val; in pe_store()
479 struct etmv4_config *config = &drvdata->config; in event_show() local
481 val = config->eventctrl0; in event_show()
491 struct etmv4_config *config = &drvdata->config; in event_store() local
500 config->eventctrl0 = val & 0xFF; in event_store()
504 config->eventctrl0 = val & 0xFFFF; in event_store()
508 config->eventctrl0 = val & 0xFFFFFF; in event_store()
512 config->eventctrl0 = val; in event_store()
528 struct etmv4_config *config = &drvdata->config; in event_instren_show() local
530 val = BMVAL(config->eventctrl1, 0, 3); in event_instren_show()
540 struct etmv4_config *config = &drvdata->config; in event_instren_store() local
547 config->eventctrl1 &= ~(BIT(0) | BIT(1) | BIT(2) | BIT(3)); in event_instren_store()
551 config->eventctrl1 |= val & BIT(1); in event_instren_store()
555 config->eventctrl1 |= val & (BIT(0) | BIT(1)); in event_instren_store()
559 config->eventctrl1 |= val & (BIT(0) | BIT(1) | BIT(2)); in event_instren_store()
563 config->eventctrl1 |= val & 0xF; in event_instren_store()
579 struct etmv4_config *config = &drvdata->config; in event_ts_show() local
581 val = config->ts_ctrl; in event_ts_show()
591 struct etmv4_config *config = &drvdata->config; in event_ts_store() local
598 config->ts_ctrl = val & ETMv4_EVENT_MASK; in event_ts_store()
609 struct etmv4_config *config = &drvdata->config; in syncfreq_show() local
611 val = config->syncfreq; in syncfreq_show()
621 struct etmv4_config *config = &drvdata->config; in syncfreq_store() local
628 config->syncfreq = val & ETMv4_SYNC_MASK; in syncfreq_store()
639 struct etmv4_config *config = &drvdata->config; in cyc_threshold_show() local
641 val = config->ccctlr; in cyc_threshold_show()
651 struct etmv4_config *config = &drvdata->config; in cyc_threshold_store() local
658 config->ccctlr = val & ETM_CYC_THRESHOLD_MASK; in cyc_threshold_store()
669 struct etmv4_config *config = &drvdata->config; in bb_ctrl_show() local
671 val = config->bb_ctrl; in bb_ctrl_show()
681 struct etmv4_config *config = &drvdata->config; in bb_ctrl_store() local
696 config->bb_ctrl = val; in bb_ctrl_store()
707 struct etmv4_config *config = &drvdata->config; in event_vinst_show() local
709 val = config->vinst_ctrl & ETMv4_EVENT_MASK; in event_vinst_show()
719 struct etmv4_config *config = &drvdata->config; in event_vinst_store() local
726 config->vinst_ctrl &= ~ETMv4_EVENT_MASK; in event_vinst_store()
727 config->vinst_ctrl |= val; in event_vinst_store()
739 struct etmv4_config *config = &drvdata->config; in s_exlevel_vinst_show() local
741 val = BMVAL(config->vinst_ctrl, 16, 19); in s_exlevel_vinst_show()
751 struct etmv4_config *config = &drvdata->config; in s_exlevel_vinst_store() local
758 config->vinst_ctrl &= ~(BIT(16) | BIT(17) | BIT(19)); in s_exlevel_vinst_store()
761 config->vinst_ctrl |= (val << 16); in s_exlevel_vinst_store()
773 struct etmv4_config *config = &drvdata->config; in ns_exlevel_vinst_show() local
776 val = BMVAL(config->vinst_ctrl, 20, 23); in ns_exlevel_vinst_show()
786 struct etmv4_config *config = &drvdata->config; in ns_exlevel_vinst_store() local
793 config->vinst_ctrl &= ~(BIT(20) | BIT(21) | BIT(22)); in ns_exlevel_vinst_store()
796 config->vinst_ctrl |= (val << 20); in ns_exlevel_vinst_store()
808 struct etmv4_config *config = &drvdata->config; in addr_idx_show() local
810 val = config->addr_idx; in addr_idx_show()
820 struct etmv4_config *config = &drvdata->config; in addr_idx_store() local
832 config->addr_idx = val; in addr_idx_store()
845 struct etmv4_config *config = &drvdata->config; in addr_instdatatype_show() local
848 idx = config->addr_idx; in addr_instdatatype_show()
849 val = BMVAL(config->addr_acc[idx], 0, 1); in addr_instdatatype_show()
866 struct etmv4_config *config = &drvdata->config; in addr_instdatatype_store() local
874 idx = config->addr_idx; in addr_instdatatype_store()
877 config->addr_acc[idx] &= ~(BIT(0) | BIT(1)); in addr_instdatatype_store()
891 struct etmv4_config *config = &drvdata->config; in addr_single_show() local
893 idx = config->addr_idx; in addr_single_show()
895 if (!(config->addr_type[idx] == ETM_ADDR_TYPE_NONE || in addr_single_show()
896 config->addr_type[idx] == ETM_ADDR_TYPE_SINGLE)) { in addr_single_show()
900 val = (unsigned long)config->addr_val[idx]; in addr_single_show()
912 struct etmv4_config *config = &drvdata->config; in addr_single_store() local
918 idx = config->addr_idx; in addr_single_store()
919 if (!(config->addr_type[idx] == ETM_ADDR_TYPE_NONE || in addr_single_store()
920 config->addr_type[idx] == ETM_ADDR_TYPE_SINGLE)) { in addr_single_store()
925 config->addr_val[idx] = (u64)val; in addr_single_store()
926 config->addr_type[idx] = ETM_ADDR_TYPE_SINGLE; in addr_single_store()
939 struct etmv4_config *config = &drvdata->config; in addr_range_show() local
942 idx = config->addr_idx; in addr_range_show()
947 if (!((config->addr_type[idx] == ETM_ADDR_TYPE_NONE && in addr_range_show()
948 config->addr_type[idx + 1] == ETM_ADDR_TYPE_NONE) || in addr_range_show()
949 (config->addr_type[idx] == ETM_ADDR_TYPE_RANGE && in addr_range_show()
950 config->addr_type[idx + 1] == ETM_ADDR_TYPE_RANGE))) { in addr_range_show()
955 val1 = (unsigned long)config->addr_val[idx]; in addr_range_show()
956 val2 = (unsigned long)config->addr_val[idx + 1]; in addr_range_show()
968 struct etmv4_config *config = &drvdata->config; in addr_range_store() local
977 idx = config->addr_idx; in addr_range_store()
983 if (!((config->addr_type[idx] == ETM_ADDR_TYPE_NONE && in addr_range_store()
984 config->addr_type[idx + 1] == ETM_ADDR_TYPE_NONE) || in addr_range_store()
985 (config->addr_type[idx] == ETM_ADDR_TYPE_RANGE && in addr_range_store()
986 config->addr_type[idx + 1] == ETM_ADDR_TYPE_RANGE))) { in addr_range_store()
991 config->addr_val[idx] = (u64)val1; in addr_range_store()
992 config->addr_type[idx] = ETM_ADDR_TYPE_RANGE; in addr_range_store()
993 config->addr_val[idx + 1] = (u64)val2; in addr_range_store()
994 config->addr_type[idx + 1] = ETM_ADDR_TYPE_RANGE; in addr_range_store()
1000 config->mode & ETM_MODE_EXCLUDE ? true : false); in addr_range_store()
1014 struct etmv4_config *config = &drvdata->config; in addr_start_show() local
1017 idx = config->addr_idx; in addr_start_show()
1019 if (!(config->addr_type[idx] == ETM_ADDR_TYPE_NONE || in addr_start_show()
1020 config->addr_type[idx] == ETM_ADDR_TYPE_START)) { in addr_start_show()
1025 val = (unsigned long)config->addr_val[idx]; in addr_start_show()
1037 struct etmv4_config *config = &drvdata->config; in addr_start_store() local
1043 idx = config->addr_idx; in addr_start_store()
1048 if (!(config->addr_type[idx] == ETM_ADDR_TYPE_NONE || in addr_start_store()
1049 config->addr_type[idx] == ETM_ADDR_TYPE_START)) { in addr_start_store()
1054 config->addr_val[idx] = (u64)val; in addr_start_store()
1055 config->addr_type[idx] = ETM_ADDR_TYPE_START; in addr_start_store()
1056 config->vissctlr |= BIT(idx); in addr_start_store()
1058 config->vinst_ctrl |= BIT(9); in addr_start_store()
1071 struct etmv4_config *config = &drvdata->config; in addr_stop_show() local
1074 idx = config->addr_idx; in addr_stop_show()
1076 if (!(config->addr_type[idx] == ETM_ADDR_TYPE_NONE || in addr_stop_show()
1077 config->addr_type[idx] == ETM_ADDR_TYPE_STOP)) { in addr_stop_show()
1082 val = (unsigned long)config->addr_val[idx]; in addr_stop_show()
1094 struct etmv4_config *config = &drvdata->config; in addr_stop_store() local
1100 idx = config->addr_idx; in addr_stop_store()
1105 if (!(config->addr_type[idx] == ETM_ADDR_TYPE_NONE || in addr_stop_store()
1106 config->addr_type[idx] == ETM_ADDR_TYPE_STOP)) { in addr_stop_store()
1111 config->addr_val[idx] = (u64)val; in addr_stop_store()
1112 config->addr_type[idx] = ETM_ADDR_TYPE_STOP; in addr_stop_store()
1113 config->vissctlr |= BIT(idx + 16); in addr_stop_store()
1115 config->vinst_ctrl |= BIT(9); in addr_stop_store()
1128 struct etmv4_config *config = &drvdata->config; in addr_ctxtype_show() local
1131 idx = config->addr_idx; in addr_ctxtype_show()
1133 val = BMVAL(config->addr_acc[idx], 2, 3); in addr_ctxtype_show()
1148 struct etmv4_config *config = &drvdata->config; in addr_ctxtype_store() local
1156 idx = config->addr_idx; in addr_ctxtype_store()
1159 config->addr_acc[idx] &= ~(BIT(2) | BIT(3)); in addr_ctxtype_store()
1163 config->addr_acc[idx] |= BIT(2); in addr_ctxtype_store()
1164 config->addr_acc[idx] &= ~BIT(3); in addr_ctxtype_store()
1169 config->addr_acc[idx] &= ~BIT(2); in addr_ctxtype_store()
1170 config->addr_acc[idx] |= BIT(3); in addr_ctxtype_store()
1178 config->addr_acc[idx] |= BIT(2); in addr_ctxtype_store()
1180 config->addr_acc[idx] |= BIT(3); in addr_ctxtype_store()
1194 struct etmv4_config *config = &drvdata->config; in addr_context_show() local
1197 idx = config->addr_idx; in addr_context_show()
1199 val = BMVAL(config->addr_acc[idx], 4, 6); in addr_context_show()
1211 struct etmv4_config *config = &drvdata->config; in addr_context_store() local
1222 idx = config->addr_idx; in addr_context_store()
1224 config->addr_acc[idx] &= ~(BIT(4) | BIT(5) | BIT(6)); in addr_context_store()
1225 config->addr_acc[idx] |= (val << 4); in addr_context_store()
1237 struct etmv4_config *config = &drvdata->config; in seq_idx_show() local
1239 val = config->seq_idx; in seq_idx_show()
1249 struct etmv4_config *config = &drvdata->config; in seq_idx_store() local
1261 config->seq_idx = val; in seq_idx_store()
1273 struct etmv4_config *config = &drvdata->config; in seq_state_show() local
1275 val = config->seq_state; in seq_state_show()
1285 struct etmv4_config *config = &drvdata->config; in seq_state_store() local
1292 config->seq_state = val; in seq_state_store()
1304 struct etmv4_config *config = &drvdata->config; in seq_event_show() local
1307 idx = config->seq_idx; in seq_event_show()
1308 val = config->seq_ctrl[idx]; in seq_event_show()
1320 struct etmv4_config *config = &drvdata->config; in seq_event_store() local
1326 idx = config->seq_idx; in seq_event_store()
1328 config->seq_ctrl[idx] = val & 0xFF; in seq_event_store()
1340 struct etmv4_config *config = &drvdata->config; in seq_reset_event_show() local
1342 val = config->seq_rst; in seq_reset_event_show()
1352 struct etmv4_config *config = &drvdata->config; in seq_reset_event_store() local
1359 config->seq_rst = val & ETMv4_EVENT_MASK; in seq_reset_event_store()
1370 struct etmv4_config *config = &drvdata->config; in cntr_idx_show() local
1372 val = config->cntr_idx; in cntr_idx_show()
1382 struct etmv4_config *config = &drvdata->config; in cntr_idx_store() local
1394 config->cntr_idx = val; in cntr_idx_store()
1407 struct etmv4_config *config = &drvdata->config; in cntrldvr_show() local
1410 idx = config->cntr_idx; in cntrldvr_show()
1411 val = config->cntrldvr[idx]; in cntrldvr_show()
1423 struct etmv4_config *config = &drvdata->config; in cntrldvr_store() local
1431 idx = config->cntr_idx; in cntrldvr_store()
1432 config->cntrldvr[idx] = val; in cntrldvr_store()
1445 struct etmv4_config *config = &drvdata->config; in cntr_val_show() local
1448 idx = config->cntr_idx; in cntr_val_show()
1449 val = config->cntr_val[idx]; in cntr_val_show()
1461 struct etmv4_config *config = &drvdata->config; in cntr_val_store() local
1469 idx = config->cntr_idx; in cntr_val_store()
1470 config->cntr_val[idx] = val; in cntr_val_store()
1483 struct etmv4_config *config = &drvdata->config; in cntr_ctrl_show() local
1486 idx = config->cntr_idx; in cntr_ctrl_show()
1487 val = config->cntr_ctrl[idx]; in cntr_ctrl_show()
1499 struct etmv4_config *config = &drvdata->config; in cntr_ctrl_store() local
1505 idx = config->cntr_idx; in cntr_ctrl_store()
1506 config->cntr_ctrl[idx] = val; in cntr_ctrl_store()
1518 struct etmv4_config *config = &drvdata->config; in res_idx_show() local
1520 val = config->res_idx; in res_idx_show()
1530 struct etmv4_config *config = &drvdata->config; in res_idx_store() local
1543 config->res_idx = val; in res_idx_store()
1556 struct etmv4_config *config = &drvdata->config; in res_ctrl_show() local
1559 idx = config->res_idx; in res_ctrl_show()
1560 val = config->res_ctrl[idx]; in res_ctrl_show()
1572 struct etmv4_config *config = &drvdata->config; in res_ctrl_store() local
1578 idx = config->res_idx; in res_ctrl_store()
1583 config->res_ctrl[idx] = val; in res_ctrl_store()
1595 struct etmv4_config *config = &drvdata->config; in ctxid_idx_show() local
1597 val = config->ctxid_idx; in ctxid_idx_show()
1607 struct etmv4_config *config = &drvdata->config; in ctxid_idx_store() local
1619 config->ctxid_idx = val; in ctxid_idx_store()
1632 struct etmv4_config *config = &drvdata->config; in ctxid_pid_show() local
1642 idx = config->ctxid_idx; in ctxid_pid_show()
1643 val = (unsigned long)config->ctxid_pid[idx]; in ctxid_pid_show()
1655 struct etmv4_config *config = &drvdata->config; in ctxid_pid_store() local
1680 idx = config->ctxid_idx; in ctxid_pid_store()
1681 config->ctxid_pid[idx] = (u64)pid; in ctxid_pid_store()
1693 struct etmv4_config *config = &drvdata->config; in ctxid_masks_show() local
1703 val1 = config->ctxid_mask0; in ctxid_masks_show()
1704 val2 = config->ctxid_mask1; in ctxid_masks_show()
1716 struct etmv4_config *config = &drvdata->config; in ctxid_masks_store() local
1743 config->ctxid_mask0 = val1 & 0xFF; in ctxid_masks_store()
1747 config->ctxid_mask0 = val1 & 0xFFFF; in ctxid_masks_store()
1751 config->ctxid_mask0 = val1 & 0xFFFFFF; in ctxid_masks_store()
1755 config->ctxid_mask0 = val1; in ctxid_masks_store()
1759 config->ctxid_mask0 = val1; in ctxid_masks_store()
1760 config->ctxid_mask1 = val2 & 0xFF; in ctxid_masks_store()
1764 config->ctxid_mask0 = val1; in ctxid_masks_store()
1765 config->ctxid_mask1 = val2 & 0xFFFF; in ctxid_masks_store()
1769 config->ctxid_mask0 = val1; in ctxid_masks_store()
1770 config->ctxid_mask1 = val2 & 0xFFFFFF; in ctxid_masks_store()
1774 config->ctxid_mask0 = val1; in ctxid_masks_store()
1775 config->ctxid_mask1 = val2; in ctxid_masks_store()
1786 mask = config->ctxid_mask0; in ctxid_masks_store()
1796 config->ctxid_pid[i] &= ~(0xFFUL << (j * 8)); in ctxid_masks_store()
1802 mask = config->ctxid_mask1; in ctxid_masks_store()
1818 struct etmv4_config *config = &drvdata->config; in vmid_idx_show() local
1820 val = config->vmid_idx; in vmid_idx_show()
1830 struct etmv4_config *config = &drvdata->config; in vmid_idx_store() local
1842 config->vmid_idx = val; in vmid_idx_store()
1854 struct etmv4_config *config = &drvdata->config; in vmid_val_show() local
1856 val = (unsigned long)config->vmid_val[config->vmid_idx]; in vmid_val_show()
1866 struct etmv4_config *config = &drvdata->config; in vmid_val_store() local
1878 config->vmid_val[config->vmid_idx] = (u64)val; in vmid_val_store()
1889 struct etmv4_config *config = &drvdata->config; in vmid_masks_show() local
1892 val1 = config->vmid_mask0; in vmid_masks_show()
1893 val2 = config->vmid_mask1; in vmid_masks_show()
1905 struct etmv4_config *config = &drvdata->config; in vmid_masks_store() local
1925 config->vmid_mask0 = val1 & 0xFF; in vmid_masks_store()
1929 config->vmid_mask0 = val1 & 0xFFFF; in vmid_masks_store()
1933 config->vmid_mask0 = val1 & 0xFFFFFF; in vmid_masks_store()
1937 config->vmid_mask0 = val1; in vmid_masks_store()
1941 config->vmid_mask0 = val1; in vmid_masks_store()
1942 config->vmid_mask1 = val2 & 0xFF; in vmid_masks_store()
1946 config->vmid_mask0 = val1; in vmid_masks_store()
1947 config->vmid_mask1 = val2 & 0xFFFF; in vmid_masks_store()
1951 config->vmid_mask0 = val1; in vmid_masks_store()
1952 config->vmid_mask1 = val2 & 0xFFFFFF; in vmid_masks_store()
1956 config->vmid_mask0 = val1; in vmid_masks_store()
1957 config->vmid_mask1 = val2; in vmid_masks_store()
1969 mask = config->vmid_mask0; in vmid_masks_store()
1979 config->vmid_val[i] &= ~(0xFFUL << (j * 8)); in vmid_masks_store()
1985 mask = config->vmid_mask1; in vmid_masks_store()