Home
last modified time | relevance | path

Searched defs:pi (Results 1 – 25 of 182) sorted by relevance

12345678

/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/
Dphy_cmn.c26 #define VALID_RADIO(pi, radioid) ( \ argument
120 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); in wlc_phyreg_enter() local
126 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); in wlc_phyreg_exit() local
132 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); in wlc_radioreg_enter() local
140 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); in wlc_radioreg_exit() local
147 u16 read_radio_reg(struct brcms_phy *pi, u16 addr) in read_radio_reg()
188 void write_radio_reg(struct brcms_phy *pi, u16 addr, u16 val) in write_radio_reg()
208 static u32 read_radio_id(struct brcms_phy *pi) in read_radio_id()
234 void and_radio_reg(struct brcms_phy *pi, u16 addr, u16 val) in and_radio_reg()
242 void or_radio_reg(struct brcms_phy *pi, u16 addr, u16 val) in or_radio_reg()
[all …]
Dphy_lcn.c79 #define wlc_lcnphy_enable_tx_gain_override(pi) \ argument
81 #define wlc_lcnphy_disable_tx_gain_override(pi) \ argument
84 #define wlc_lcnphy_iqcal_active(pi) \ argument
88 #define txpwrctrl_off(pi) (0x7 != ((read_phy_reg(pi, 0x4a4) & 0xE000) >> 13)) argument
89 #define wlc_lcnphy_tempsense_based_pwr_ctrl_enabled(pi) \ argument
91 #define wlc_lcnphy_tssi_based_pwr_ctrl_enabled(pi) \ argument
134 #define wlc_lcnphy_tx_gain_override_enabled(pi) \ argument
137 #define wlc_lcnphy_total_tx_frames(pi) \ argument
864 #define wlc_lcnphy_set_start_tx_pwr_idx(pi, idx) \ argument
869 #define wlc_lcnphy_set_tx_pwr_npt(pi, npt) \ argument
[all …]
Dphy_n.c25 #define READ_RADIO_REG2(pi, radio_type, jspace, core, reg_name) \ argument
31 #define WRITE_RADIO_REG2(pi, radio_type, jspace, core, reg_name, value) \ argument
37 #define WRITE_RADIO_SYN(pi, radio_type, reg_name, value) \ argument
40 #define READ_RADIO_REG3(pi, radio_type, jspace, core, reg_name) \ argument
45 #define WRITE_RADIO_REG3(pi, radio_type, jspace, core, reg_name, value) \ argument
51 #define READ_RADIO_REG4(pi, radio_type, jspace, core, reg_name) \ argument
56 #define WRITE_RADIO_REG4(pi, radio_type, jspace, core, reg_name, value) \ argument
256 #define wlc_phy_get_papd_nphy(pi) \ argument
14113 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); in wlc_phy_bist_check_phy() local
14132 static void wlc_phy_bphy_init_nphy(struct brcms_phy *pi) in wlc_phy_bphy_init_nphy()
[all …]
/drivers/gpu/drm/radeon/
Dkv_dpm.c153 struct kv_power_info *pi = rdev->pm.dpm.priv; in kv_get_pi() local
209 struct kv_power_info *pi = kv_get_pi(rdev); in kv_do_enable_didt() local
251 struct kv_power_info *pi = kv_get_pi(rdev); in kv_enable_didt() local
278 struct kv_power_info *pi = kv_get_pi(rdev); in kv_enable_smc_cac() local
299 struct kv_power_info *pi = kv_get_pi(rdev); in kv_process_firmware_header() local
322 struct kv_power_info *pi = kv_get_pi(rdev); in kv_enable_dpm_voltage_scaling() local
338 struct kv_power_info *pi = kv_get_pi(rdev); in kv_set_dpm_interval() local
354 struct kv_power_info *pi = kv_get_pi(rdev); in kv_set_dpm_boot_state() local
379 struct kv_power_info *pi = kv_get_pi(rdev); in kv_set_divider_value() local
449 struct kv_power_info *pi = kv_get_pi(rdev); in kv_convert_2bit_index_to_voltage() local
[all …]
Dci_dpm.c174 struct ci_power_info *pi = rdev->pm.dpm.priv; in ci_get_pi() local
188 struct ci_power_info *pi = ci_get_pi(rdev); in ci_initialize_powertune_defaults() local
253 struct ci_power_info *pi = ci_get_pi(rdev); in ci_populate_bapm_vddc_vid_sidd() local
282 struct ci_power_info *pi = ci_get_pi(rdev); in ci_populate_vddc_vid() local
297 struct ci_power_info *pi = ci_get_pi(rdev); in ci_populate_svi_load_line() local
310 struct ci_power_info *pi = ci_get_pi(rdev); in ci_populate_tdc_limit() local
325 struct ci_power_info *pi = ci_get_pi(rdev); in ci_populate_dw8() local
345 struct ci_power_info *pi = ci_get_pi(rdev); in ci_populate_fuzzy_fan() local
360 struct ci_power_info *pi = ci_get_pi(rdev); in ci_min_max_v_gnbl_pm_lid_from_bapm_vddc() local
392 struct ci_power_info *pi = ci_get_pi(rdev); in ci_populate_bapm_vddc_base_leakage_sidd() local
[all …]
Drv770_dpm.c58 struct rv7xx_power_info *pi = rdev->pm.dpm.priv; in rv770_get_pi() local
65 struct evergreen_power_info *pi = rdev->pm.dpm.priv; in evergreen_get_pi() local
73 struct rv7xx_power_info *pi = rv770_get_pi(rdev); in rv770_enable_bif_dynamic_pcie_gen2() local
147 struct rv7xx_power_info *pi = rv770_get_pi(rdev); in rv770_mg_clock_gating_enable() local
250 struct rv7xx_power_info *pi = rv770_get_pi(rdev); in rv770_write_smc_soft_register() local
262 struct rv7xx_power_info *pi = rv770_get_pi(rdev); in rv770_populate_smc_t() local
307 struct rv7xx_power_info *pi = rv770_get_pi(rdev); in rv770_populate_smc_sp() local
391 struct rv7xx_power_info *pi = rv770_get_pi(rdev); in rv770_populate_mclk_value() local
489 struct rv7xx_power_info *pi = rv770_get_pi(rdev); in rv770_populate_sclk_value() local
570 struct rv7xx_power_info *pi = rv770_get_pi(rdev); in rv770_populate_vddc_value() local
[all …]
Dsumo_dpm.c83 struct sumo_power_info *pi = rdev->pm.dpm.priv; in sumo_get_pi() local
286 struct sumo_power_info *pi = sumo_get_pi(rdev); in sumo_enable_clock_power_gating() local
304 struct sumo_power_info *pi = sumo_get_pi(rdev); in sumo_disable_clock_power_gating() local
317 struct sumo_power_info *pi = sumo_get_pi(rdev); in sumo_calculate_bsp() local
335 struct sumo_power_info *pi = sumo_get_pi(rdev); in sumo_init_bsp() local
344 struct sumo_power_info *pi = sumo_get_pi(rdev); in sumo_program_bsp() local
387 struct sumo_power_info *pi = sumo_get_pi(rdev); in sumo_program_at() local
496 struct sumo_power_info *pi = sumo_get_pi(rdev); in sumo_set_ds_dividers() local
510 struct sumo_power_info *pi = sumo_get_pi(rdev); in sumo_set_ss_dividers() local
532 struct sumo_power_info *pi = sumo_get_pi(rdev); in sumo_set_allos_gnb_slow() local
[all …]
Drv6xx_dpm.c45 struct rv6xx_power_info *pi = rdev->pm.dpm.priv; in rv6xx_get_pi() local
162 struct rv6xx_power_info *pi = rv6xx_get_pi(rdev); in rv6xx_output_stepping() local
436 struct rv6xx_power_info *pi = rv6xx_get_pi(rdev); in rv6xx_calculate_engine_speed_stepping_parameters() local
453 struct rv6xx_power_info *pi = rv6xx_get_pi(rdev); in rv6xx_calculate_memory_clock_stepping_parameters() local
483 struct rv6xx_power_info *pi = rv6xx_get_pi(rdev); in rv6xx_calculate_voltage_stepping_parameters() local
552 struct rv6xx_power_info *pi = rv6xx_get_pi(rdev); in rv6xx_program_engine_spread_spectrum() local
585 struct rv6xx_power_info *pi = rv6xx_get_pi(rdev); in rv6xx_program_sclk_spread_spectrum_parameters_except_lowest_entry() local
620 struct rv6xx_power_info *pi = rv6xx_get_pi(rdev); in rv6xx_program_mclk_stepping_parameters_except_lowest_entry() local
636 struct rv6xx_power_info *pi = rv6xx_get_pi(rdev); in rv6xx_find_memory_clock_with_highest_vco() local
654 struct rv6xx_power_info *pi = rv6xx_get_pi(rdev); in rv6xx_program_mclk_spread_spectrum_parameters() local
[all …]
Dtrinity_dpm.c313 struct trinity_power_info *pi = rdev->pm.dpm.priv; in trinity_get_pi() local
320 struct trinity_power_info *pi = trinity_get_pi(rdev); in trinity_gfx_powergating_initialize() local
503 struct trinity_power_info *pi = trinity_get_pi(rdev); in trinity_enable_clock_power_gating() local
525 struct trinity_power_info *pi = trinity_get_pi(rdev); in trinity_disable_clock_power_gating() local
594 struct trinity_power_info *pi = trinity_get_pi(rdev); in trinity_set_vid() local
673 struct trinity_power_info *pi = trinity_get_pi(rdev); in trinity_program_power_level() local
815 struct trinity_power_info *pi = trinity_get_pi(rdev); in trinity_program_bootup_state() local
881 struct trinity_power_info *pi = trinity_get_pi(rdev); in trinity_setup_uvd_clocks() local
963 struct trinity_power_info *pi = trinity_get_pi(rdev); in trinity_program_ttt() local
1027 struct trinity_power_info *pi = trinity_get_pi(rdev); in trinity_update_current_ps() local
[all …]
/drivers/block/paride/
Dparide.c45 void pi_write_regr(PIA * pi, int cont, int regr, int val) in pi_write_regr()
52 int pi_read_regr(PIA * pi, int cont, int regr) in pi_read_regr()
59 void pi_write_block(PIA * pi, char *buf, int count) in pi_write_block()
66 void pi_read_block(PIA * pi, char *buf, int count) in pi_read_block()
75 PIA *pi = (PIA *) p; in pi_wake_up() local
95 int pi_schedule_claimed(PIA * pi, void (*cont) (void)) in pi_schedule_claimed()
111 void pi_do_claimed(PIA * pi, void (*cont) (void)) in pi_do_claimed()
119 static void pi_claim(PIA * pi) in pi_claim()
129 static void pi_unclaim(PIA * pi) in pi_unclaim()
136 void pi_connect(PIA * pi) in pi_connect()
[all …]
Dbpck6.c40 #define PPCSTRUCT(pi) ((Interface *)(pi->private)) argument
59 static int bpck6_read_regr(PIA *pi, int cont, int reg) in bpck6_read_regr()
72 static void bpck6_write_regr(PIA *pi, int cont, int reg, int val) in bpck6_write_regr()
81 static void bpck6_write_block( PIA *pi, char * buf, int len ) in bpck6_write_block()
86 static void bpck6_read_block( PIA *pi, char * buf, int len ) in bpck6_read_block()
91 static void bpck6_connect ( PIA *pi ) in bpck6_connect()
115 static void bpck6_disconnect ( PIA *pi ) in bpck6_disconnect()
125 static int bpck6_test_port ( PIA *pi ) /* check for 8-bit port */ in bpck6_test_port()
157 static int bpck6_probe_unit ( PIA *pi ) in bpck6_probe_unit()
198 static void bpck6_log_adapter( PIA *pi, char * scratch, int verbose ) in bpck6_log_adapter()
[all …]
Dkbic.c45 static int kbic_read_regr( PIA *pi, int cont, int regr ) in kbic_read_regr()
75 static void kbic_write_regr( PIA *pi, int cont, int regr, int val) in kbic_write_regr()
99 static void k951_connect ( PIA *pi ) in k951_connect()
106 static void k951_disconnect ( PIA *pi ) in k951_disconnect()
115 static void k971_connect ( PIA *pi ) in k971_connect()
123 static void k971_disconnect ( PIA *pi ) in k971_disconnect()
134 static void kbic_read_block( PIA *pi, char * buf, int count ) in kbic_read_block()
192 static void kbic_write_block( PIA *pi, char * buf, int count ) in kbic_write_block()
229 static void kbic_log_adapter( PIA *pi, char * scratch, in kbic_log_adapter()
242 static void k951_log_adapter( PIA *pi, char * scratch, int verbose ) in k951_log_adapter()
[all …]
Dfriq.c51 static int friq_read_regr( PIA *pi, int cont, int regr ) in friq_read_regr()
66 static void friq_write_regr( PIA *pi, int cont, int regr, int val) in friq_write_regr()
77 static void friq_read_block_int( PIA *pi, char * buf, int count, int regr ) in friq_read_block_int()
132 static void friq_read_block( PIA *pi, char * buf, int count) in friq_read_block()
137 static void friq_write_block( PIA *pi, char * buf, int count ) in friq_write_block()
169 static void friq_connect ( PIA *pi ) in friq_connect()
176 static void friq_disconnect ( PIA *pi ) in friq_disconnect()
183 static int friq_test_proto( PIA *pi, char * scratch, int verbose ) in friq_test_proto()
219 static void friq_log_adapter( PIA *pi, char * scratch, int verbose ) in friq_log_adapter()
236 static void friq_release_proto( PIA *pi) in friq_release_proto()
Dbpck.c48 static int bpck_read_regr( PIA *pi, int cont, int regr ) in bpck_read_regr()
79 static void bpck_write_regr( PIA *pi, int cont, int regr, int val ) in bpck_write_regr()
108 static void bpck_write_block( PIA *pi, char * buf, int count ) in bpck_write_block()
149 static void bpck_read_block( PIA *pi, char * buf, int count ) in bpck_read_block()
196 static int bpck_probe_unit ( PIA *pi ) in bpck_probe_unit()
219 static void bpck_connect ( PIA *pi ) in bpck_connect()
253 static void bpck_disconnect ( PIA *pi ) in bpck_disconnect()
260 static void bpck_force_spp ( PIA *pi ) in bpck_force_spp()
278 static int bpck_test_proto( PIA *pi, char * scratch, int verbose ) in bpck_test_proto()
348 static void bpck_read_eeprom ( PIA *pi, char * buf ) in bpck_read_eeprom()
[all …]
Dfrpw.c47 static int frpw_read_regr( PIA *pi, int cont, int regr ) in frpw_read_regr()
63 static void frpw_write_regr( PIA *pi, int cont, int regr, int val) in frpw_write_regr()
74 static void frpw_read_block_int( PIA *pi, char * buf, int count, int regr ) in frpw_read_block_int()
135 static void frpw_read_block( PIA *pi, char * buf, int count) in frpw_read_block()
140 static void frpw_write_block( PIA *pi, char * buf, int count ) in frpw_write_block()
173 static void frpw_connect ( PIA *pi ) in frpw_connect()
180 static void frpw_disconnect ( PIA *pi ) in frpw_disconnect()
191 static int frpw_test_pnp ( PIA *pi ) in frpw_test_pnp()
224 static int frpw_test_proto( PIA *pi, char * scratch, int verbose ) in frpw_test_proto()
272 static void frpw_log_adapter( PIA *pi, char * scratch, int verbose ) in frpw_log_adapter()
Don26.c47 static int on26_read_regr( PIA *pi, int cont, int regr ) in on26_read_regr()
76 static void on26_write_regr( PIA *pi, int cont, int regr, int val ) in on26_write_regr()
102 static void on26_connect ( PIA *pi ) in on26_connect()
116 static void on26_disconnect ( PIA *pi ) in on26_disconnect()
127 static int on26_test_port( PIA *pi) /* hard reset */ in on26_test_port()
186 static void on26_read_block( PIA *pi, char * buf, int count ) in on26_read_block()
235 static void on26_write_block( PIA *pi, char * buf, int count ) in on26_write_block()
278 static void on26_log_adapter( PIA *pi, char * scratch, int verbose ) in on26_log_adapter()
Dktti.c32 static void ktti_write_regr( PIA *pi, int cont, int regr, int val) in ktti_write_regr()
42 static int ktti_read_regr( PIA *pi, int cont, int regr ) in ktti_read_regr()
54 static void ktti_read_block( PIA *pi, char * buf, int count ) in ktti_read_block()
67 static void ktti_write_block( PIA *pi, char * buf, int count ) in ktti_write_block()
79 static void ktti_connect ( PIA *pi ) in ktti_connect()
86 static void ktti_disconnect ( PIA *pi ) in ktti_disconnect()
93 static void ktti_log_adapter( PIA *pi, char * scratch, int verbose ) in ktti_log_adapter()
Dfit2.c40 static void fit2_write_regr( PIA *pi, int cont, int regr, int val) in fit2_write_regr()
46 static int fit2_read_regr( PIA *pi, int cont, int regr ) in fit2_read_regr()
64 static void fit2_read_block( PIA *pi, char * buf, int count ) in fit2_read_block()
90 static void fit2_write_block( PIA *pi, char * buf, int count ) in fit2_write_block()
103 static void fit2_connect ( PIA *pi ) in fit2_connect()
110 static void fit2_disconnect ( PIA *pi ) in fit2_disconnect()
116 static void fit2_log_adapter( PIA *pi, char * scratch, int verbose ) in fit2_log_adapter()
Don20.c36 static int on20_read_regr( PIA *pi, int cont, int regr ) in on20_read_regr()
59 static void on20_write_regr( PIA *pi, int cont, int regr, int val ) in on20_write_regr()
70 static void on20_connect ( PIA *pi) in on20_connect()
80 static void on20_disconnect ( PIA *pi ) in on20_disconnect()
87 static void on20_read_block( PIA *pi, char * buf, int count ) in on20_read_block()
104 static void on20_write_block( PIA *pi, char * buf, int count ) in on20_write_block()
114 static void on20_log_adapter( PIA *pi, char * scratch, int verbose ) in on20_log_adapter()
Daten.c38 static void aten_write_regr( PIA *pi, int cont, int regr, int val) in aten_write_regr()
47 static int aten_read_regr( PIA *pi, int cont, int regr ) in aten_read_regr()
70 static void aten_read_block( PIA *pi, char * buf, int count ) in aten_read_block()
98 static void aten_write_block( PIA *pi, char * buf, int count ) in aten_write_block()
110 static void aten_connect ( PIA *pi ) in aten_connect()
117 static void aten_disconnect ( PIA *pi ) in aten_disconnect()
123 static void aten_log_adapter( PIA *pi, char * scratch, int verbose ) in aten_log_adapter()
/drivers/gpu/drm/amd/pm/powerplay/
Dkv_dpm.c379 struct kv_power_info *pi = adev->pm.dpm.priv; in kv_get_pi() local
461 struct kv_power_info *pi = kv_get_pi(adev); in kv_do_enable_didt() local
503 struct kv_power_info *pi = kv_get_pi(adev); in kv_enable_didt() local
563 struct kv_power_info *pi = kv_get_pi(adev); in kv_enable_smc_cac() local
584 struct kv_power_info *pi = kv_get_pi(adev); in kv_process_firmware_header() local
607 struct kv_power_info *pi = kv_get_pi(adev); in kv_enable_dpm_voltage_scaling() local
623 struct kv_power_info *pi = kv_get_pi(adev); in kv_set_dpm_interval() local
639 struct kv_power_info *pi = kv_get_pi(adev); in kv_set_dpm_boot_state() local
664 struct kv_power_info *pi = kv_get_pi(adev); in kv_set_divider_value() local
688 struct kv_power_info *pi = kv_get_pi(adev); in kv_convert_2bit_index_to_voltage() local
[all …]
/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_dcb.c35 struct port_info *pi = netdev2pinfo(dev); in cxgb4_dcb_state_init() local
50 struct port_info *pi = netdev2pinfo(dev); in cxgb4_dcb_version_init() local
61 struct port_info *pi = netdev2pinfo(dev); in cxgb4_dcb_cleanup_apps() local
128 struct port_info *pi = netdev2pinfo(dev); in cxgb4_dcb_state_fsm() local
279 struct port_info *pi = netdev_priv(dev); in cxgb4_dcb_handle_fw_update() local
413 struct port_info *pi = netdev2pinfo(dev); in cxgb4_getstate() local
422 struct port_info *pi = netdev2pinfo(dev); in cxgb4_setstate() local
443 struct port_info *pi = netdev2pinfo(dev); in cxgb4_getpgtccfg() local
506 struct port_info *pi = netdev2pinfo(dev); in cxgb4_setpgtccfg_tx() local
568 struct port_info *pi = netdev2pinfo(dev); in cxgb4_getpgbwgcfg() local
[all …]
Dsched.c41 static int t4_sched_class_fw_cmd(struct port_info *pi, in t4_sched_class_fw_cmd()
71 static int t4_sched_bind_unbind_op(struct port_info *pi, void *arg, in t4_sched_bind_unbind_op()
120 static void *t4_sched_entry_lookup(struct port_info *pi, in t4_sched_entry_lookup()
172 struct port_info *pi = netdev2pinfo(dev); in cxgb4_sched_queue_lookup() local
185 static int t4_sched_queue_unbind(struct port_info *pi, struct ch_sched_queue *p) in t4_sched_queue_unbind()
215 static int t4_sched_queue_bind(struct port_info *pi, struct ch_sched_queue *p) in t4_sched_queue_bind()
259 static int t4_sched_flowc_unbind(struct port_info *pi, struct ch_sched_flowc *p) in t4_sched_flowc_unbind()
286 static int t4_sched_flowc_bind(struct port_info *pi, struct ch_sched_flowc *p) in t4_sched_flowc_bind()
324 static void t4_sched_class_unbind_all(struct port_info *pi, in t4_sched_class_unbind_all()
351 static int t4_sched_class_bind_unbind_op(struct port_info *pi, void *arg, in t4_sched_class_bind_unbind_op()
[all …]
Dcxgb4_tc_matchall.c16 struct port_info *pi = netdev2pinfo(dev); in cxgb4_matchall_egress_validate() local
87 struct port_info *pi = netdev2pinfo(dev); in cxgb4_matchall_tc_bind_queues() local
114 struct port_info *pi = netdev2pinfo(dev); in cxgb4_matchall_tc_unbind_queues() local
141 struct port_info *pi = netdev2pinfo(dev); in cxgb4_matchall_alloc_tc() local
188 struct port_info *pi = netdev2pinfo(dev); in cxgb4_matchall_free_tc() local
205 struct port_info *pi = netdev2pinfo(dev); in cxgb4_matchall_mirror_alloc() local
232 struct port_info *pi = netdev2pinfo(dev); in cxgb4_matchall_mirror_free() local
246 struct port_info *pi = netdev2pinfo(dev); in cxgb4_matchall_del_filter() local
266 struct port_info *pi = netdev2pinfo(dev); in cxgb4_matchall_add_filter() local
312 struct port_info *pi = netdev2pinfo(dev); in cxgb4_matchall_alloc_filter() local
[all …]
/drivers/net/ethernet/intel/ice/
Dice_sched.c15 ice_sched_add_root_node(struct ice_port_info *pi, in ice_sched_add_root_node()
149 ice_sched_add_node(struct ice_port_info *pi, u8 layer, in ice_sched_add_node()
269 ice_sched_get_first_node(struct ice_port_info *pi, in ice_sched_get_first_node()
282 struct ice_sched_node *ice_sched_get_tc_node(struct ice_port_info *pi, u8 tc) in ice_sched_get_tc_node()
303 void ice_free_sched_node(struct ice_port_info *pi, struct ice_sched_node *node) in ice_free_sched_node()
755 static void ice_sched_clear_rl_prof(struct ice_port_info *pi) in ice_sched_clear_rl_prof()
812 static void ice_sched_clear_tx_topo(struct ice_port_info *pi) in ice_sched_clear_tx_topo()
830 void ice_sched_clear_port(struct ice_port_info *pi) in ice_sched_clear_port()
879 ice_sched_add_elems(struct ice_port_info *pi, struct ice_sched_node *tc_node, in ice_sched_add_elems()
978 ice_sched_add_nodes_to_hw_layer(struct ice_port_info *pi, in ice_sched_add_nodes_to_hw_layer()
[all …]

12345678