/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 | 438 const struct intel_engine_coredump *ee) in error_print_instdone() argument 445 ee->instdone.instdone); in error_print_instdone() 447 if (ee->engine->class != RENDER_CLASS || GRAPHICS_VER(m->i915) <= 3) in error_print_instdone() 451 ee->instdone.slice_common); in error_print_instdone() 456 for_each_ss_steering(iter, ee->engine->gt, slice, subslice) in error_print_instdone() 459 ee->instdone.sampler[slice][subslice]); in error_print_instdone() 461 for_each_ss_steering(iter, ee->engine->gt, slice, subslice) in error_print_instdone() 464 ee->instdone.row[slice][subslice]); in error_print_instdone() 470 for_each_ss_steering(iter, ee->engine->gt, slice, subslice) in error_print_instdone() 473 ee->instdone.geom_svg[slice][subslice]); in error_print_instdone() [all …]
|
D | i915_gpu_error.h | 268 intel_gpu_error_find_batch(const struct intel_engine_coredump *ee); 285 intel_engine_coredump_add_request(struct intel_engine_coredump *ee, 289 void intel_engine_coredump_add_vma(struct intel_engine_coredump *ee, 355 intel_engine_coredump_add_request(struct intel_engine_coredump *ee, in intel_engine_coredump_add_request() argument 363 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-%d\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 | 35 #define ADM_EE_OFFS(ee) (ADM_EE_MULTI * (ee)) argument 36 #define ADM_CHAN_EE_OFFS(chan, ee) (ADM_CHAN_OFFS(chan) + ADM_EE_OFFS(ee)) argument 39 #define ADM_CH_CMD_PTR(chan, ee) (ADM_CHAN_EE_OFFS(chan, ee)) argument 40 #define ADM_CH_RSLT(chan, ee) (0x40 + ADM_CHAN_EE_OFFS(chan, ee)) argument 41 #define ADM_CH_FLUSH_STATE0(chan, ee) (0x80 + ADM_CHAN_EE_OFFS(chan, ee)) argument 42 #define ADM_CH_STATUS_SD(chan, ee) (0x200 + ADM_CHAN_EE_OFFS(chan, ee)) argument 44 #define ADM_CH_RSLT_CONF(chan, ee) (0x300 + ADM_CHAN_EE_OFFS(chan, ee)) argument 45 #define ADM_SEC_DOMAIN_IRQ_STATUS(ee) (0x380 + ADM_EE_OFFS(ee)) argument 48 #define ADM_CRCI_CTL(crci, ee) (0x400 + (crci) * ADM_CRCI_MULTI + \ argument 49 ADM_EE_OFFS(ee)) [all …]
|
/drivers/bus/mhi/host/ |
D | internal.h | 54 #define TO_MHI_EXEC_STR(ee) (((ee) >= MHI_EE_MAX) ? \ argument 55 "INVALID_EE" : mhi_ee_str[ee]) 57 #define MHI_IN_PBL(ee) (ee == MHI_EE_PBL || ee == MHI_EE_PTHRU || \ argument 58 ee == MHI_EE_EDL) 59 #define MHI_POWER_UP_CAPABLE(ee) (MHI_IN_PBL(ee) || ee == MHI_EE_AMSS) argument 60 #define MHI_FW_LOAD_CAPABLE(ee) (ee == MHI_EE_PBL || ee == MHI_EE_EDL) argument 61 #define MHI_IN_MISSION_MODE(ee) (ee == MHI_EE_AMSS || ee == MHI_EE_WFW || \ argument 62 ee == MHI_EE_FP)
|
D | boot.c | 67 enum mhi_ee_type ee; in __mhi_download_rddm_in_panic() local 78 TO_MHI_EXEC_STR(mhi_cntrl->ee)); in __mhi_download_rddm_in_panic() 100 ee = mhi_get_exec_env(mhi_cntrl); in __mhi_download_rddm_in_panic() 101 if (ee == MHI_EE_MAX) in __mhi_download_rddm_in_panic() 104 if (ee != MHI_EE_RDDM) { in __mhi_download_rddm_in_panic() 110 ee = mhi_get_exec_env(mhi_cntrl); in __mhi_download_rddm_in_panic() 111 if (ee == MHI_EE_RDDM) in __mhi_download_rddm_in_panic() 127 ee = mhi_get_exec_env(mhi_cntrl); in __mhi_download_rddm_in_panic() 132 TO_MHI_EXEC_STR(ee)); in __mhi_download_rddm_in_panic() 146 ee = mhi_get_exec_env(mhi_cntrl); in __mhi_download_rddm_in_panic() [all …]
|
D | pm.c | 269 if (MHI_IN_MISSION_MODE(mhi_cntrl->ee)) { in mhi_pm_m0_transition() 383 enum mhi_ee_type ee = MHI_EE_MAX, current_ee = mhi_cntrl->ee; in mhi_pm_mission_mode_transition() local 390 ee = mhi_get_exec_env(mhi_cntrl); in mhi_pm_mission_mode_transition() 392 if (!MHI_IN_MISSION_MODE(ee)) { in mhi_pm_mission_mode_transition() 398 mhi_cntrl->ee = ee; in mhi_pm_mission_mode_transition() 603 mhi_cntrl->ee = MHI_EE_DISABLE_TRANSITION; in mhi_pm_sys_error_transition() 771 mhi_cntrl->ee = mhi_get_exec_env(mhi_cntrl); in mhi_pm_st_worker() 777 mhi_cntrl->ee = MHI_EE_SBL; in mhi_pm_st_worker() 793 mhi_cntrl->ee = MHI_EE_FP; in mhi_pm_st_worker() 1095 mhi_cntrl->ee = MHI_EE_MAX; in mhi_async_power_up() [all …]
|
D | main.c | 280 enum mhi_ee_type ee = MHI_EE_MAX; in mhi_destroy_device() local 301 ee = *(enum mhi_ee_type *)data; in mhi_destroy_device() 311 if (ee != MHI_EE_MAX && !(ul_chan->ee_mask & BIT(ee))) in mhi_destroy_device() 318 if (ee != MHI_EE_MAX && !(dl_chan->ee_mask & BIT(ee))) in mhi_destroy_device() 371 !(mhi_chan->ee_mask & BIT(mhi_cntrl->ee))) in mhi_create_devices() 485 enum mhi_ee_type ee; in mhi_intvec_threaded_handler() local 494 ee = mhi_get_exec_env(mhi_cntrl); in mhi_intvec_threaded_handler() 496 TO_MHI_EXEC_STR(mhi_cntrl->ee), in mhi_intvec_threaded_handler() 498 TO_MHI_EXEC_STR(ee), mhi_state_str(state)); in mhi_intvec_threaded_handler() 510 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 | 753 static void ks8851_eeprom_regread(struct eeprom_93cx6 *ee) in ks8851_eeprom_regread() argument 755 struct ks8851_net *ks = ee->data; in ks8851_eeprom_regread() 760 ee->reg_data_out = (val & EEPCR_EESB) ? 1 : 0; in ks8851_eeprom_regread() 761 ee->reg_data_clock = (val & EEPCR_EESCK) ? 1 : 0; in ks8851_eeprom_regread() 762 ee->reg_chip_select = (val & EEPCR_EECS) ? 1 : 0; in ks8851_eeprom_regread() 765 static void ks8851_eeprom_regwrite(struct eeprom_93cx6 *ee) in ks8851_eeprom_regwrite() argument 767 struct ks8851_net *ks = ee->data; in ks8851_eeprom_regwrite() 770 if (ee->drive_data) in ks8851_eeprom_regwrite() 772 if (ee->reg_data_in) in ks8851_eeprom_regwrite() 774 if (ee->reg_data_clock) in ks8851_eeprom_regwrite() [all …]
|
/drivers/net/ethernet/microchip/ |
D | lan743x_ethtool.c | 613 struct ethtool_eeprom *ee, u8 *data) in lan743x_ethtool_get_eeprom() argument 620 ret = lan743x_hs_otp_read(adapter, ee->offset, in lan743x_ethtool_get_eeprom() 621 ee->len, data); in lan743x_ethtool_get_eeprom() 623 ret = lan743x_otp_read(adapter, ee->offset, in lan743x_ethtool_get_eeprom() 624 ee->len, data); in lan743x_ethtool_get_eeprom() 627 ret = lan743x_hs_eeprom_read(adapter, ee->offset, in lan743x_ethtool_get_eeprom() 628 ee->len, data); in lan743x_ethtool_get_eeprom() 630 ret = lan743x_eeprom_read(adapter, ee->offset, in lan743x_ethtool_get_eeprom() 631 ee->len, data); in lan743x_ethtool_get_eeprom() 638 struct ethtool_eeprom *ee, u8 *data) in lan743x_ethtool_set_eeprom() argument [all …]
|
/drivers/gpu/drm/i915/gt/uc/ |
D | intel_guc_capture.c | 1475 const struct intel_engine_coredump *ee) in intel_guc_capture_print_engine_node() argument 1495 if (!ebuf || !ee) in intel_guc_capture_print_engine_node() 1497 cap = ee->guc_capture; in intel_guc_capture_print_engine_node() 1498 if (!cap || !ee->engine) in intel_guc_capture_print_engine_node() 1501 guc = &ee->engine->gt->uc.guc; in intel_guc_capture_print_engine_node() 1504 ee->engine->name); in intel_guc_capture_print_engine_node() 1506 node = ee->guc_capture_node; in intel_guc_capture_print_engine_node() 1562 static void guc_capture_find_ecode(struct intel_engine_coredump *ee) in guc_capture_find_ecode() argument 1570 if (!ee->guc_capture_node) in guc_capture_find_ecode() 1573 reginfo = ee->guc_capture_node->reginfo + GUC_CAPTURE_LIST_TYPE_ENGINE_INSTANCE; in guc_capture_find_ecode() [all …]
|
D | intel_guc_capture.h | 18 void intel_guc_capture_free_node(struct intel_engine_coredump *ee); 20 const struct intel_engine_coredump *ee); 21 void intel_guc_capture_get_matching_node(struct intel_gt *gt, struct intel_engine_coredump *ee,
|
/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/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 630 u8 ee = pmic_arb->ee; in pmic_arb_chained_irq() local 641 ver_ops->owner_acc_status(pmic_arb, ee, i)); in pmic_arb_chained_irq() 666 if (pmic_arb->apid_data[i].irq_ee != pmic_arb->ee) in pmic_arb_chained_irq() 809 if (pmic_arb->apid_data[apid].irq_ee != pmic_arb->ee) { in qpnpint_irq_domain_activate() 811 sid, periph, irq, pmic_arb->ee, in qpnpint_irq_domain_activate() 1058 if (!valid || apidd->write_ee == pmic_arb->ee) { in pmic_arb_read_apid_map_v5() 1062 prev_apidd->write_ee == pmic_arb->ee) { in pmic_arb_read_apid_map_v5() 1111 return 0x1000 * pmic_arb->ee + 0x8000 * apid; in pmic_arb_offset_v2() 1133 offset = 0x10000 * pmic_arb->ee + 0x80 * apid; in pmic_arb_offset_v5() [all …]
|
/drivers/net/ethernet/davicom/ |
D | dm9051.c | 593 struct ethtool_eeprom *ee, u8 *data) in dm9051_get_eeprom() argument 596 int offset = ee->offset; in dm9051_get_eeprom() 597 int len = ee->len; in dm9051_get_eeprom() 603 ee->magic = DM_EEPROM_MAGIC; in dm9051_get_eeprom() 614 struct ethtool_eeprom *ee, u8 *data) in dm9051_set_eeprom() argument 617 int offset = ee->offset; in dm9051_set_eeprom() 618 int len = ee->len; in dm9051_set_eeprom() 624 if (ee->magic != DM_EEPROM_MAGIC) in dm9051_set_eeprom()
|