/Linux-v6.6/drivers/gpu/drm/i915/display/ |
D | intel_dpll_mgr.c | 84 struct intel_dpll_hw_state *hw_state); 111 const struct intel_dpll_hw_state *hw_state); 166 struct intel_dpll_hw_state hw_state; in assert_shared_dpll() local 172 cur_state = intel_dpll_get_hw_state(dev_priv, pll, &hw_state); in assert_shared_dpll() 333 &shared_dpll[i].hw_state, in intel_find_shared_dpll() 391 shared_dpll[id].hw_state = *pll_state; in intel_reference_shared_dpll() 477 struct intel_dpll_hw_state *hw_state) in ibx_pch_dpll_get_hw_state() argument 489 hw_state->dpll = val; in ibx_pch_dpll_get_hw_state() 490 hw_state->fp0 = intel_de_read(dev_priv, PCH_FP0(id)); in ibx_pch_dpll_get_hw_state() 491 hw_state->fp1 = intel_de_read(dev_priv, PCH_FP1(id)); in ibx_pch_dpll_get_hw_state() [all …]
|
D | intel_cx0_phy.c | 1870 const struct intel_c10pll_state *hw_state) in intel_c10pll_dump_hw_state() argument 1877 fracen = hw_state->pll[0] & C10_PLL0_FRACEN; in intel_c10pll_dump_hw_state() 1882 frac_quot = hw_state->pll[12] << 8 | hw_state->pll[11]; in intel_c10pll_dump_hw_state() 1883 frac_rem = hw_state->pll[14] << 8 | hw_state->pll[13]; in intel_c10pll_dump_hw_state() 1884 frac_den = hw_state->pll[10] << 8 | hw_state->pll[9]; in intel_c10pll_dump_hw_state() 1889 multiplier = (REG_FIELD_GET8(C10_PLL3_MULTIPLIERH_MASK, hw_state->pll[3]) << 8 | in intel_c10pll_dump_hw_state() 1890 hw_state->pll[2]) / 2 + 16; in intel_c10pll_dump_hw_state() 1891 tx_clk_div = REG_FIELD_GET8(C10_PLL15_TXCLKDIV_MASK, hw_state->pll[15]); in intel_c10pll_dump_hw_state() 1896 drm_dbg_kms(&i915->drm, "tx: 0x%x, cmn: 0x%x\n", hw_state->tx, hw_state->cmn); in intel_c10pll_dump_hw_state() 1898 BUILD_BUG_ON(ARRAY_SIZE(hw_state->pll) % 4); in intel_c10pll_dump_hw_state() [all …]
|
D | intel_cx0_phy.h | 32 const struct intel_c10pll_state *hw_state); 40 const struct intel_c20pll_state *hw_state);
|
D | intel_display_debugfs.c | 661 seq_printf(m, " dpll: 0x%08x\n", pll->state.hw_state.dpll); in i915_shared_dplls_info() 663 pll->state.hw_state.dpll_md); in i915_shared_dplls_info() 664 seq_printf(m, " fp0: 0x%08x\n", pll->state.hw_state.fp0); in i915_shared_dplls_info() 665 seq_printf(m, " fp1: 0x%08x\n", pll->state.hw_state.fp1); in i915_shared_dplls_info() 666 seq_printf(m, " wrpll: 0x%08x\n", pll->state.hw_state.wrpll); in i915_shared_dplls_info() 667 seq_printf(m, " cfgcr0: 0x%08x\n", pll->state.hw_state.cfgcr0); in i915_shared_dplls_info() 668 seq_printf(m, " cfgcr1: 0x%08x\n", pll->state.hw_state.cfgcr1); in i915_shared_dplls_info() 669 seq_printf(m, " div0: 0x%08x\n", pll->state.hw_state.div0); in i915_shared_dplls_info() 671 pll->state.hw_state.mg_refclkin_ctl); in i915_shared_dplls_info() 673 pll->state.hw_state.mg_clktop2_coreclkctl1); in i915_shared_dplls_info() [all …]
|
D | intel_dpll_mgr.h | 247 struct intel_dpll_hw_state hw_state; member 350 struct intel_dpll_hw_state *hw_state); 360 const struct intel_dpll_hw_state *hw_state);
|
/Linux-v6.6/drivers/media/test-drivers/vidtv/ |
D | vidtv_tuner.c | 114 struct vidtv_tuner_hardware_state hw_state; member 192 tuner_dev->hw_state.lock_status = 0; in vidtv_tuner_get_signal_strength() 261 tuner_dev->hw_state.asleep = false; in vidtv_tuner_init() 262 tuner_dev->hw_state.if_frequency = 5000; in vidtv_tuner_init() 271 tuner_dev->hw_state.asleep = true; in vidtv_tuner_sleep() 279 tuner_dev->hw_state.asleep = true; in vidtv_tuner_suspend() 287 tuner_dev->hw_state.asleep = false; in vidtv_tuner_resume() 305 tuner_dev->hw_state.lock_status = 0; in vidtv_tuner_set_params() 309 tuner_dev->hw_state.tuned_frequency = c->frequency; in vidtv_tuner_set_params() 310 tuner_dev->hw_state.bandwidth = c->bandwidth_hz; in vidtv_tuner_set_params() [all …]
|
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/sf/ |
D | devlink.c | 20 u16 hw_state; member 93 sf->hw_state = MLX5_VHCA_STATE_ALLOCATED; in mlx5_sf_alloc() 136 static enum devlink_port_fn_state mlx5_sf_to_devlink_state(u8 hw_state) in mlx5_sf_to_devlink_state() argument 138 switch (hw_state) { in mlx5_sf_to_devlink_state() 150 static enum devlink_port_fn_opstate mlx5_sf_to_devlink_opstate(u8 hw_state) in mlx5_sf_to_devlink_opstate() argument 152 switch (hw_state) { in mlx5_sf_to_devlink_opstate() 166 return sf->hw_state == MLX5_VHCA_STATE_ACTIVE || sf->hw_state == MLX5_VHCA_STATE_IN_USE; in mlx5_sf_is_active() 189 *state = mlx5_sf_to_devlink_state(sf->hw_state); in mlx5_devlink_sf_port_fn_state_get() 190 *opstate = mlx5_sf_to_devlink_opstate(sf->hw_state); in mlx5_devlink_sf_port_fn_state_get() 204 if (sf->hw_state != MLX5_VHCA_STATE_ALLOCATED) { in mlx5_sf_activate() [all …]
|
/Linux-v6.6/drivers/video/fbdev/i810/ |
D | i810_main.c | 467 tmp1 = par->hw_state.dclk_2d; in i810_restore_pll() 473 tmp1 = par->hw_state.dclk_1d; in i810_restore_pll() 479 i810_writel(DCLK_0DS, mmio, par->hw_state.dclk_0ds); in i810_restore_pll() 487 tmp1 = par->hw_state.pixconf; in i810_restore_dac() 501 i810_writeb(CR_DATA_CGA, mmio, *(&(par->hw_state.cr30) + i)); in i810_restore_vgax() 504 i810_writeb(CR_DATA_CGA, mmio, par->hw_state.cr35); in i810_restore_vgax() 506 i810_writeb(CR_DATA_CGA, mmio, par->hw_state.cr39); in i810_restore_vgax() 508 i810_writeb(CR_DATA_CGA, mmio, par->hw_state.cr39); in i810_restore_vgax() 512 i = par->hw_state.cr70; in i810_restore_vgax() 519 i810_writeb(CR_DATA_CGA, mmio, par->hw_state.cr80); in i810_restore_vgax() [all …]
|
D | i810.h | 255 struct state_registers hw_state; member
|
/Linux-v6.6/drivers/gpu/drm/ |
D | drm_privacy_screen.c | 227 if (priv->hw_state >= PRIVACY_SCREEN_DISABLED_LOCKED || in drm_privacy_screen_set_sw_state() 228 priv->hw_state == sw_state) { in drm_privacy_screen_set_sw_state() 255 *hw_state_ret = priv->hw_state; in drm_privacy_screen_get_state() 349 else if (WARN_ON(priv->hw_state >= ARRAY_SIZE(hw_state_names))) in hw_state_show() 352 ret = sprintf(buf, "%s\n", hw_state_names[priv->hw_state]); in hw_state_show() 357 static DEVICE_ATTR_RO(hw_state);
|
/Linux-v6.6/drivers/bluetooth/ |
D | bluecard_cs.c | 80 unsigned long hw_state; /* Status of the hardware and LED control */ member 164 if (test_bit(CARD_ACTIVITY, &(info->hw_state))) { in bluecard_activity_led_timeout() 166 clear_bit(CARD_ACTIVITY, &(info->hw_state)); in bluecard_activity_led_timeout() 183 set_bit(CARD_ACTIVITY, &(info->hw_state)); in bluecard_enable_activity_led() 185 if (test_bit(CARD_HAS_ACTIVITY_LED, &(info->hw_state))) { in bluecard_enable_activity_led() 504 if (!test_bit(CARD_READY, &(info->hw_state))) in bluecard_interrupt() 623 if (test_bit(CARD_HAS_PCCARD_ID, &(info->hw_state))) in bluecard_hci_open() 717 set_bit(CARD_HAS_PCCARD_ID, &(info->hw_state)); in bluecard_open() 720 set_bit(CARD_HAS_POWER_LED, &(info->hw_state)); in bluecard_open() 723 set_bit(CARD_HAS_ACTIVITY_LED, &(info->hw_state)); in bluecard_open() [all …]
|
/Linux-v6.6/drivers/net/wireless/broadcom/b43/ |
D | leds.c | 65 if (turn_on == led->hw_state) in b43_led_update() 67 led->hw_state = turn_on; in b43_led_update() 261 led->hw_state = true; in b43_leds_init() 265 led->hw_state = false; in b43_leds_init() 274 led->hw_state = false; in b43_leds_init() 280 led->hw_state = false; in b43_leds_init() 286 led->hw_state = false; in b43_leds_init()
|
D | leds.h | 31 bool hw_state; member
|
/Linux-v6.6/drivers/platform/chrome/ |
D | chromeos_privacy_screen.c | 53 drm_privacy_screen->hw_state = drm_privacy_screen->sw_state = in chromeos_privacy_screen_get_hw_state() 56 drm_privacy_screen->hw_state = drm_privacy_screen->sw_state = in chromeos_privacy_screen_get_hw_state() 97 drm_privacy_screen->hw_state = drm_privacy_screen->sw_state = state; in chromeos_privacy_screen_set_sw_state()
|
/Linux-v6.6/drivers/usb/phy/ |
D | phy-twl6030-usb.c | 209 u8 vbus_state, hw_state; in twl6030_usb_irq() local 212 hw_state = twl6030_readb(twl, TWL6030_MODULE_ID0, STS_HW_CONDITIONS); in twl6030_usb_irq() 216 if (!(hw_state & STS_USB_ID)) { in twl6030_usb_irq() 251 u8 hw_state; in twl6030_usbotg_irq() local 254 hw_state = twl6030_readb(twl, TWL6030_MODULE_ID0, STS_HW_CONDITIONS); in twl6030_usbotg_irq() 256 if (hw_state & STS_USB_ID) { in twl6030_usbotg_irq()
|
/Linux-v6.6/drivers/media/platform/mediatek/jpeg/ |
D | mtk_jpeg_core.h | 160 enum mtk_jpeg_hw_state hw_state; member 187 enum mtk_jpeg_hw_state hw_state; member
|
D | mtk_jpeg_enc_hw.c | 248 cjpeg->hw_state = MTK_JPEG_HW_IDLE; in mtk_jpegenc_timeout_work() 288 jpeg->hw_state = MTK_JPEG_HW_IDLE; in mtk_jpegenc_hw_irq_handler() 342 dev->hw_state = MTK_JPEG_HW_IDLE; in mtk_jpegenc_hw_probe()
|
D | mtk_jpeg_dec_hw.c | 503 cjpeg->hw_state = MTK_JPEG_HW_IDLE; in mtk_jpegdec_timeout_work() 551 jpeg->hw_state = MTK_JPEG_HW_IDLE; in mtk_jpegdec_hw_irq_handler() 616 dev->hw_state = MTK_JPEG_HW_IDLE; in mtk_jpegdec_hw_probe()
|
/Linux-v6.6/include/drm/ |
D | drm_privacy_screen_driver.h | 75 enum drm_privacy_screen_status hw_state; member
|
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | reporter_rx.c | 202 static int mlx5e_reporter_icosq_diagnose(struct mlx5e_icosq *icosq, u8 hw_state, in mlx5e_reporter_icosq_diagnose() argument 215 err = devlink_fmsg_u8_pair_put(fmsg, "HW state", hw_state); in mlx5e_reporter_icosq_diagnose() 282 u8 hw_state; in mlx5e_rx_reporter_build_diagnose_output_rq_common() local 286 err = mlx5e_query_rq_state(rq->mdev, rq->rqn, &hw_state); in mlx5e_rx_reporter_build_diagnose_output_rq_common() 298 err = devlink_fmsg_u8_pair_put(fmsg, "HW state", hw_state); in mlx5e_rx_reporter_build_diagnose_output_rq_common()
|
/Linux-v6.6/drivers/net/fddi/skfp/h/ |
D | targethw.h | 83 u_short hw_state ; /* started or stopped */ member
|
/Linux-v6.6/drivers/net/fddi/skfp/ |
D | drvfbi.c | 151 smc->hw.hw_state = STOPPED ; in card_start() 174 smc->hw.hw_state = STOPPED ; in card_stop()
|
/Linux-v6.6/drivers/mmc/host/ |
D | mvsdio.c | 73 unsigned int hw_state, count = 0; in mvsd_setup_data() local 75 hw_state = mvsd_read(MVSD_HW_STATE); in mvsd_setup_data() 81 } while (!(hw_state & (1 << 13))); in mvsd_setup_data() 84 hw_state, count, jiffies - (t - HZ)); in mvsd_setup_data()
|
/Linux-v6.6/drivers/net/ethernet/marvell/prestera/ |
D | prestera_switchdev.c | 710 u8 hw_state = state; in prestera_port_vid_stp_set() local 714 hw_state = PRESTERA_STP_DISABLED; in prestera_port_vid_stp_set() 719 hw_state = PRESTERA_STP_BLOCK_LISTEN; in prestera_port_vid_stp_set() 723 hw_state = PRESTERA_STP_LEARN; in prestera_port_vid_stp_set() 727 hw_state = PRESTERA_STP_FORWARD; in prestera_port_vid_stp_set() 734 return prestera_hw_vlan_port_stp_set(port, vid, hw_state); in prestera_port_vid_stp_set()
|
/Linux-v6.6/drivers/net/ipa/ |
D | ipa_uc.c | 81 u8 hw_state; member
|