/drivers/net/ipa/ |
D | gsi_reg.h | 59 #define GSI_INTER_EE_N_SRC_CH_IRQ_MSK_OFFSET(ee) \ argument 60 (0x0000c020 + 0x1000 * (ee)) 64 #define GSI_INTER_EE_N_SRC_EV_CH_IRQ_MSK_OFFSET(ee) \ argument 65 (0x0000c024 + 0x1000 * (ee)) 85 #define GSI_EE_N_CH_C_CNTXT_0_OFFSET(ch, ee) \ argument 86 (0x0001c000 + 0x4000 * (ee) + 0x80 * (ch)) 116 #define GSI_EE_N_CH_C_CNTXT_1_OFFSET(ch, ee) \ argument 117 (0x0001c004 + 0x4000 * (ee) + 0x80 * (ch)) 129 #define GSI_EE_N_CH_C_CNTXT_2_OFFSET(ch, ee) \ argument 130 (0x0001c008 + 0x4000 * (ee) + 0x80 * (ch)) [all …]
|
D | ipa_reg.h | 663 u32 ee) in ipa_reg_irq_stts_ee_n_offset() argument 666 return 0x00003008 + 0x1000 * ee; in ipa_reg_irq_stts_ee_n_offset() 668 return 0x00004008 + 0x1000 * ee; in ipa_reg_irq_stts_ee_n_offset() 676 static inline u32 ipa_reg_irq_en_ee_n_offset(enum ipa_version version, u32 ee) in ipa_reg_irq_en_ee_n_offset() argument 679 return 0x0000300c + 0x1000 * ee; in ipa_reg_irq_en_ee_n_offset() 681 return 0x0000400c + 0x1000 * ee; in ipa_reg_irq_en_ee_n_offset() 689 static inline u32 ipa_reg_irq_clr_ee_n_offset(enum ipa_version version, u32 ee) in ipa_reg_irq_clr_ee_n_offset() argument 692 return 0x00003010 + 0x1000 * ee; in ipa_reg_irq_clr_ee_n_offset() 694 return 0x00004010 + 0x1000 * ee; in ipa_reg_irq_clr_ee_n_offset() 777 static inline u32 ipa_reg_irq_uc_ee_n_offset(enum ipa_version version, u32 ee) in ipa_reg_irq_uc_ee_n_offset() argument [all …]
|
/drivers/net/wireless/ath/ath5k/ |
D | eeprom.c | 40 static u16 ath5k_eeprom_bin2freq(struct ath5k_eeprom_info *ee, u16 bin, in ath5k_eeprom_bin2freq() argument 49 if (ee->ee_version > AR5K_EEPROM_VERSION_3_2) in ath5k_eeprom_bin2freq() 55 if (ee->ee_version > AR5K_EEPROM_VERSION_3_2) in ath5k_eeprom_bin2freq() 75 struct ath5k_eeprom_info *ee = &ah->ah_capabilities.cap_eeprom; in ath5k_eeprom_init_header() local 141 if (ee->ee_version >= AR5K_EEPROM_VERSION_4_3) in ath5k_eeprom_init_header() 144 if (ee->ee_version >= AR5K_EEPROM_VERSION_5_0) { in ath5k_eeprom_init_header() 153 ee->ee_ob[AR5K_EEPROM_MODE_11B][0] = val & 0x7; in ath5k_eeprom_init_header() 154 ee->ee_db[AR5K_EEPROM_MODE_11B][0] = (val >> 3) & 0x7; in ath5k_eeprom_init_header() 157 ee->ee_ob[AR5K_EEPROM_MODE_11G][0] = val & 0x7; in ath5k_eeprom_init_header() 158 ee->ee_db[AR5K_EEPROM_MODE_11G][0] = (val >> 3) & 0x7; in ath5k_eeprom_init_header() [all …]
|
D | reset.c | 283 struct ath5k_eeprom_info *ee = &ah->ah_capabilities.cap_eeprom; in ath5k_hw_set_sleep_clock() local 288 if ((AR5K_EEPROM_HAS32KHZCRYSTAL(ee->ee_misc1) || in ath5k_hw_set_sleep_clock() 289 AR5K_EEPROM_HAS32KHZCRYSTAL_OLD(ee->ee_misc1)) && in ath5k_hw_set_sleep_clock() 348 else if (ee->ee_is_hb63) in ath5k_hw_set_sleep_clock() 979 struct ath5k_eeprom_info *ee = &ah->ah_capabilities.cap_eeprom; in ath5k_hw_commit_eeprom_settings() local 992 ((ee->ee_cck_ofdm_power_delta - in ath5k_hw_commit_eeprom_settings() 993 ee->ee_scaled_cck_delta) * 2) / 10; in ath5k_hw_commit_eeprom_settings() 996 (ee->ee_cck_ofdm_power_delta * 2) / 10; in ath5k_hw_commit_eeprom_settings() 1003 AR5K_REG_SM((ee->ee_cck_ofdm_gain_delta * -1), in ath5k_hw_commit_eeprom_settings() 1015 ee->ee_cck_ofdm_gain_delta; in ath5k_hw_commit_eeprom_settings() [all …]
|
D | phy.c | 681 struct ath5k_eeprom_info *ee = &ah->ah_capabilities.cap_eeprom; in ath5k_hw_gainf_calibrate() local 706 ee->ee_cck_ofdm_gain_delta; in ath5k_hw_gainf_calibrate() 818 struct ath5k_eeprom_info *ee = &ah->ah_capabilities.cap_eeprom; in ath5k_hw_rfregs_init() local 936 ath5k_hw_rfb_op(ah, rf_regs, ee->ee_ob[ee_mode][obdb], in ath5k_hw_rfregs_init() 939 ath5k_hw_rfb_op(ah, rf_regs, ee->ee_db[ee_mode][obdb], in ath5k_hw_rfregs_init() 957 ath5k_hw_rfb_op(ah, rf_regs, ee->ee_ob[ee_mode][obdb], in ath5k_hw_rfregs_init() 960 ath5k_hw_rfb_op(ah, rf_regs, ee->ee_db[ee_mode][obdb], in ath5k_hw_rfregs_init() 998 ath5k_hw_rfb_op(ah, rf_regs, !ee->ee_xpd[ee_mode], in ath5k_hw_rfregs_init() 1001 ath5k_hw_rfb_op(ah, rf_regs, ee->ee_x_gain[ee_mode], in ath5k_hw_rfregs_init() 1004 ath5k_hw_rfb_op(ah, rf_regs, ee->ee_i_gain[ee_mode], in ath5k_hw_rfregs_init() [all …]
|
D | attach.c | 109 struct ath5k_eeprom_info *ee; in ath5k_hw_init() local 270 ee = &ah->ah_capabilities.cap_eeprom; in ath5k_hw_init() 286 if (ee->ee_serdes) in ath5k_hw_init() 316 (ee->ee_version < AR5K_EEPROM_VERSION_5_0 || in ath5k_hw_init() 317 !AR5K_EEPROM_AES_DIS(ee->ee_misc5))) in ath5k_hw_init()
|
/drivers/gpu/drm/i915/ |
D | i915_gpu_error.c | 429 const struct intel_engine_coredump *ee) in error_print_instdone() argument 431 const struct sseu_dev_info *sseu = &ee->engine->gt->info.sseu; in error_print_instdone() 436 ee->instdone.instdone); in error_print_instdone() 438 if (ee->engine->class != RENDER_CLASS || GRAPHICS_VER(m->i915) <= 3) in error_print_instdone() 442 ee->instdone.slice_common); in error_print_instdone() 450 ee->instdone.sampler[slice][subslice]); in error_print_instdone() 455 ee->instdone.row[slice][subslice]); in error_print_instdone() 461 ee->instdone.slice_common_extra[0]); in error_print_instdone() 463 ee->instdone.slice_common_extra[1]); in error_print_instdone() 509 find_batch(const struct intel_engine_coredump *ee) in find_batch() argument [all …]
|
D | i915_gpu_error.h | 235 intel_engine_coredump_add_request(struct intel_engine_coredump *ee, 239 void intel_engine_coredump_add_vma(struct intel_engine_coredump *ee, 299 intel_engine_coredump_add_request(struct intel_engine_coredump *ee, in intel_engine_coredump_add_request() argument 307 intel_engine_coredump_add_vma(struct intel_engine_coredump *ee, in intel_engine_coredump_add_vma() argument
|
/drivers/net/wireless/mediatek/mt7601u/ |
D | debugfs.c | 82 struct mt7601u_rate_power *rp = &dev->ee->power_rate_table; in mt7601u_eeprom_param_show() 83 struct tssi_data *td = &dev->ee->tssi_data; in mt7601u_eeprom_param_show() 86 seq_printf(file, "RF freq offset: %hhx\n", dev->ee->rf_freq_off); in mt7601u_eeprom_param_show() 88 dev->ee->rssi_offset[0], dev->ee->rssi_offset[1]); in mt7601u_eeprom_param_show() 89 seq_printf(file, "Reference temp: %hhx\n", dev->ee->ref_temp); in mt7601u_eeprom_param_show() 90 seq_printf(file, "LNA gain: %hhx\n", dev->ee->lna_gain); in mt7601u_eeprom_param_show() 91 seq_printf(file, "Reg channels: %hhu-%hhu\n", dev->ee->reg.start, in mt7601u_eeprom_param_show() 92 dev->ee->reg.start + dev->ee->reg.num - 1); in mt7601u_eeprom_param_show() 108 i * 2 + 1, dev->ee->chan_pwr[i * 2], in mt7601u_eeprom_param_show() 109 i * 2 + 2, dev->ee->chan_pwr[i * 2 + 1]); in mt7601u_eeprom_param_show() [all …]
|
D | eeprom.c | 114 dev->ee->tssi_enabled = mt7601u_has_tssi(dev, eeprom) && in mt7601u_set_chip_cap() 141 memset(dev->ee->chan_pwr, trgt_pwr, sizeof(dev->ee->chan_pwr)); in mt7601u_set_channel_target_power() 164 dev->ee->chan_pwr[i] = power; in mt7601u_set_channel_power() 197 dev->ee->reg = chan_bounds[idx]; in mt7601u_set_country_reg() 209 dev->ee->rf_freq_off = field_validate(eeprom[MT_EE_FREQ_OFFSET]); in mt7601u_set_rf_freq_off() 213 dev->ee->rf_freq_off -= comp & 0x7f; in mt7601u_set_rf_freq_off() 215 dev->ee->rf_freq_off += comp; in mt7601u_set_rf_freq_off() 222 s8 *rssi_offset = dev->ee->rssi_offset; in mt7601u_set_rssi_offset() 265 struct mt7601u_rate_power *t = &dev->ee->power_rate_table; in mt7601u_save_power_rate() 272 dev->ee->real_cck_bw20[0] = t->cck[0].bw20; in mt7601u_save_power_rate() [all …]
|
D | phy.c | 257 val -= dev->ee->lna_gain; in mt7601u_phy_get_rssi() 258 val -= dev->ee->rssi_offset[0]; in mt7601u_phy_get_rssi() 324 struct mt7601u_rate_power *t = &dev->ee->power_rate_table; in mt7601u_apply_ch14_fixup() 330 t->cck[0].bw20 = dev->ee->real_cck_bw20[0]; in mt7601u_apply_ch14_fixup() 331 t->cck[1].bw20 = dev->ee->real_cck_bw20[1]; in mt7601u_apply_ch14_fixup() 337 t->cck[0].bw20 = dev->ee->real_cck_bw20[0] - 2; in mt7601u_apply_ch14_fixup() 338 t->cck[1].bw20 = dev->ee->real_cck_bw20[1] - 2; in mt7601u_apply_ch14_fixup() 366 { 62, 0x37 - dev->ee->lna_gain }, in __mt7601u_phy_set_channel() 367 { 63, 0x37 - dev->ee->lna_gain }, in __mt7601u_phy_set_channel() 368 { 64, 0x37 - dev->ee->lna_gain }, in __mt7601u_phy_set_channel() [all …]
|
/drivers/dma/qcom/ |
D | qcom_adm.c | 34 #define ADM_EE_OFFS(ee) (ADM_EE_MULTI * (ee)) argument 35 #define ADM_CHAN_EE_OFFS(chan, ee) (ADM_CHAN_OFFS(chan) + ADM_EE_OFFS(ee)) argument 38 #define ADM_CH_CMD_PTR(chan, ee) (ADM_CHAN_EE_OFFS(chan, ee)) argument 39 #define ADM_CH_RSLT(chan, ee) (0x40 + ADM_CHAN_EE_OFFS(chan, ee)) argument 40 #define ADM_CH_FLUSH_STATE0(chan, ee) (0x80 + ADM_CHAN_EE_OFFS(chan, ee)) argument 41 #define ADM_CH_STATUS_SD(chan, ee) (0x200 + ADM_CHAN_EE_OFFS(chan, ee)) argument 43 #define ADM_CH_RSLT_CONF(chan, ee) (0x300 + ADM_CHAN_EE_OFFS(chan, ee)) argument 44 #define ADM_SEC_DOMAIN_IRQ_STATUS(ee) (0x380 + ADM_EE_OFFS(ee)) argument 47 #define ADM_CRCI_CTL(crci, ee) (0x400 + (crci) * ADM_CRCI_MULTI + \ argument 48 ADM_EE_OFFS(ee)) [all …]
|
/drivers/bus/mhi/host/ |
D | boot.c | 61 enum mhi_ee_type ee; in __mhi_download_rddm_in_panic() local 72 TO_MHI_EXEC_STR(mhi_cntrl->ee)); in __mhi_download_rddm_in_panic() 94 ee = mhi_get_exec_env(mhi_cntrl); in __mhi_download_rddm_in_panic() 95 if (ee == MHI_EE_MAX) in __mhi_download_rddm_in_panic() 98 if (ee != MHI_EE_RDDM) { in __mhi_download_rddm_in_panic() 104 ee = mhi_get_exec_env(mhi_cntrl); in __mhi_download_rddm_in_panic() 105 if (ee == MHI_EE_RDDM) in __mhi_download_rddm_in_panic() 121 ee = mhi_get_exec_env(mhi_cntrl); in __mhi_download_rddm_in_panic() 126 TO_MHI_EXEC_STR(ee)); in __mhi_download_rddm_in_panic() 142 ee = mhi_get_exec_env(mhi_cntrl); in __mhi_download_rddm_in_panic() [all …]
|
D | internal.h | 389 #define TO_MHI_EXEC_STR(ee) (((ee) >= MHI_EE_MAX) ? \ argument 390 "INVALID_EE" : mhi_ee_str[ee]) 392 #define MHI_IN_PBL(ee) (ee == MHI_EE_PBL || ee == MHI_EE_PTHRU || \ argument 393 ee == MHI_EE_EDL) 395 #define MHI_IN_MISSION_MODE(ee) (ee == MHI_EE_AMSS || ee == MHI_EE_WFW || \ argument 396 ee == MHI_EE_FP)
|
D | pm.c | 265 if (MHI_IN_MISSION_MODE(mhi_cntrl->ee)) { in mhi_pm_m0_transition() 379 enum mhi_ee_type ee = MHI_EE_MAX, current_ee = mhi_cntrl->ee; in mhi_pm_mission_mode_transition() local 386 ee = mhi_get_exec_env(mhi_cntrl); in mhi_pm_mission_mode_transition() 388 if (!MHI_IN_MISSION_MODE(ee)) { in mhi_pm_mission_mode_transition() 394 mhi_cntrl->ee = ee; in mhi_pm_mission_mode_transition() 591 mhi_cntrl->ee = MHI_EE_DISABLE_TRANSITION; in mhi_pm_sys_error_transition() 760 mhi_cntrl->ee = mhi_get_exec_env(mhi_cntrl); in mhi_pm_st_worker() 766 mhi_cntrl->ee = MHI_EE_SBL; in mhi_pm_st_worker() 782 mhi_cntrl->ee = MHI_EE_FP; in mhi_pm_st_worker() 1083 mhi_cntrl->ee = MHI_EE_MAX; in mhi_async_power_up() [all …]
|
D | main.c | 279 enum mhi_ee_type ee = MHI_EE_MAX; in mhi_destroy_device() local 300 ee = *(enum mhi_ee_type *)data; in mhi_destroy_device() 310 if (ee != MHI_EE_MAX && !(ul_chan->ee_mask & BIT(ee))) in mhi_destroy_device() 317 if (ee != MHI_EE_MAX && !(dl_chan->ee_mask & BIT(ee))) in mhi_destroy_device() 370 !(mhi_chan->ee_mask & BIT(mhi_cntrl->ee))) in mhi_create_devices() 471 enum mhi_ee_type ee; in mhi_intvec_threaded_handler() local 480 ee = mhi_get_exec_env(mhi_cntrl); in mhi_intvec_threaded_handler() 482 TO_MHI_EXEC_STR(mhi_cntrl->ee), in mhi_intvec_threaded_handler() 484 TO_MHI_EXEC_STR(ee), TO_MHI_STATE_STR(state)); in mhi_intvec_threaded_handler() 496 switch (ee) { in mhi_intvec_threaded_handler() [all …]
|
D | debugfs.c | 24 TO_MHI_EXEC_STR(mhi_cntrl->ee), in mhi_debugfs_states_show() 173 enum mhi_ee_type ee; in mhi_debugfs_regdump_show() local 210 TO_MHI_EXEC_STR(mhi_cntrl->ee)); in mhi_debugfs_regdump_show() 213 ee = mhi_get_exec_env(mhi_cntrl); in mhi_debugfs_regdump_show() 214 seq_printf(m, "Device EE: %s state: %s\n", TO_MHI_EXEC_STR(ee), in mhi_debugfs_regdump_show()
|
/drivers/net/ethernet/micrel/ |
D | ks8851_common.c | 752 static void ks8851_eeprom_regread(struct eeprom_93cx6 *ee) in ks8851_eeprom_regread() argument 754 struct ks8851_net *ks = ee->data; in ks8851_eeprom_regread() 759 ee->reg_data_out = (val & EEPCR_EESB) ? 1 : 0; in ks8851_eeprom_regread() 760 ee->reg_data_clock = (val & EEPCR_EESCK) ? 1 : 0; in ks8851_eeprom_regread() 761 ee->reg_chip_select = (val & EEPCR_EECS) ? 1 : 0; in ks8851_eeprom_regread() 764 static void ks8851_eeprom_regwrite(struct eeprom_93cx6 *ee) in ks8851_eeprom_regwrite() argument 766 struct ks8851_net *ks = ee->data; in ks8851_eeprom_regwrite() 769 if (ee->drive_data) in ks8851_eeprom_regwrite() 771 if (ee->reg_data_in) in ks8851_eeprom_regwrite() 773 if (ee->reg_data_clock) in ks8851_eeprom_regwrite() [all …]
|
/drivers/gpu/drm/nouveau/nvkm/engine/fifo/ |
D | tu102.c | 277 const struct nvkm_enum *er, *ee, *ec, *ea; in tu102_fifo_fault() local 286 ee = nvkm_enum_find(fifo->func->fault.engine, info->engine); in tu102_fifo_fault() 295 if (ee && ee->data2) { in tu102_fifo_fault() 296 switch (ee->data2) { in tu102_fifo_fault() 307 engine = nvkm_device_engine(device, ee->data2, 0); in tu102_fifo_fault() 312 if (ee == NULL) { in tu102_fifo_fault() 320 en = ee->name; in tu102_fifo_fault() 330 info->engine, ee ? ee->name : en, in tu102_fifo_fault()
|
D | gk104.c | 485 const struct nvkm_enum *er, *ee, *ec, *ea; in gk104_fifo_fault() local 493 ee = nvkm_enum_find(fifo->func->fault.engine, info->engine); in gk104_fifo_fault() 502 if (ee && ee->data2) { in gk104_fifo_fault() 503 switch (ee->data2) { in gk104_fifo_fault() 514 engine = nvkm_device_engine(device, ee->data2, 0); in gk104_fifo_fault() 519 if (ee == NULL) { in gk104_fifo_fault() 527 en = ee->name; in gk104_fifo_fault() 537 info->engine, ee ? ee->name : en, in gk104_fifo_fault()
|
/drivers/net/ethernet/microchip/ |
D | lan743x_ethtool.c | 302 struct ethtool_eeprom *ee, u8 *data) in lan743x_ethtool_get_eeprom() argument 308 ret = lan743x_otp_read(adapter, ee->offset, ee->len, data); in lan743x_ethtool_get_eeprom() 310 ret = lan743x_eeprom_read(adapter, ee->offset, ee->len, data); in lan743x_ethtool_get_eeprom() 316 struct ethtool_eeprom *ee, u8 *data) in lan743x_ethtool_set_eeprom() argument 323 if (ee->magic == LAN743X_OTP_MAGIC) { in lan743x_ethtool_set_eeprom() 324 ret = lan743x_otp_write(adapter, ee->offset, in lan743x_ethtool_set_eeprom() 325 ee->len, data); in lan743x_ethtool_set_eeprom() 328 if (ee->magic == LAN743X_EEPROM_MAGIC) { in lan743x_ethtool_set_eeprom() 329 ret = lan743x_eeprom_write(adapter, ee->offset, in lan743x_ethtool_set_eeprom() 330 ee->len, data); in lan743x_ethtool_set_eeprom()
|
/drivers/firmware/arm_scmi/ |
D | notify.c | 750 const struct scmi_protocol_events *ee) in scmi_register_protocol_events() argument 759 if (!ee || !ee->ops || !ee->evts || !ph || in scmi_register_protocol_events() 760 (!ee->num_sources && !ee->ops->get_num_sources)) in scmi_register_protocol_events() 768 if (ee->num_sources) { in scmi_register_protocol_events() 769 num_sources = ee->num_sources; in scmi_register_protocol_events() 771 int nsrc = ee->ops->get_num_sources(ph); in scmi_register_protocol_events() 778 evt = ee->evts; in scmi_register_protocol_events() 779 for (i = 0; i < ee->num_events; i++) in scmi_register_protocol_events() 783 pd = scmi_allocate_registered_events_desc(ni, proto_id, ee->queue_sz, in scmi_register_protocol_events() 784 payld_sz, ee->num_events, in scmi_register_protocol_events() [all …]
|
/drivers/staging/media/atomisp/pci/isp/kernels/ynr/ynr_1.0/ |
D | ia_css_ynr.host.c | 64 int asiWk1 = (int)from->ee.gain; in ia_css_yee_encode() 83 uDIGIT_FITTING(from->ee.detail_gain, 11, in ia_css_yee_encode() 87 from->ee.threshold) >> 8; in ia_css_yee_encode() 90 from->ee.threshold) >> 8; in ia_css_yee_encode()
|
/drivers/spmi/ |
D | spmi-pmic-arb.c | 151 u8 ee; member 533 u8 ee = pmic_arb->ee; in pmic_arb_chained_irq() local 541 ver_ops->owner_acc_status(pmic_arb, ee, i)); in pmic_arb_chained_irq() 669 if (pmic_arb->apid_data[apid].irq_ee != pmic_arb->ee) { in qpnpint_irq_domain_activate() 671 sid, periph, irq, pmic_arb->ee, in qpnpint_irq_domain_activate() 914 if (!valid || apidd->write_ee == pmic_arb->ee) { in pmic_arb_read_apid_map_v5() 918 prev_apidd->write_ee == pmic_arb->ee) { in pmic_arb_read_apid_map_v5() 967 return 0x1000 * pmic_arb->ee + 0x8000 * apid; in pmic_arb_offset_v2() 989 offset = 0x10000 * pmic_arb->ee + 0x80 * apid; in pmic_arb_offset_v5() 1163 u32 channel, ee, hw_ver; in spmi_pmic_arb_probe() local [all …]
|
/drivers/net/ethernet/mellanox/mlxsw/ |
D | core_env.c | 285 struct ethtool_eeprom *ee, u8 *data) in mlxsw_env_get_module_eeprom() argument 287 int offset = ee->offset; in mlxsw_env_get_module_eeprom() 293 if (!ee->len) in mlxsw_env_get_module_eeprom() 296 memset(data, 0, ee->len); in mlxsw_env_get_module_eeprom() 302 while (i < ee->len) { in mlxsw_env_get_module_eeprom() 304 ee->len - i, data + i, in mlxsw_env_get_module_eeprom()
|