Home
last modified time | relevance | path

Searched refs:hw_state (Results 1 – 25 of 25) sorted by relevance

/drivers/gpu/drm/i915/display/
Dintel_dpll_mgr.c61 const struct intel_dpll_hw_state *hw_state);
138 struct intel_dpll_hw_state hw_state; in assert_shared_dpll() local
144 cur_state = pll->info->funcs->get_hw_state(dev_priv, pll, &hw_state); in assert_shared_dpll()
306 &shared_dpll[i].hw_state, in intel_find_shared_dpll()
342 shared_dpll[id].hw_state = *pll_state; in intel_reference_shared_dpll()
406 struct intel_dpll_hw_state *hw_state) in ibx_pch_dpll_get_hw_state() argument
418 hw_state->dpll = val; in ibx_pch_dpll_get_hw_state()
419 hw_state->fp0 = intel_de_read(dev_priv, PCH_FP0(id)); in ibx_pch_dpll_get_hw_state()
420 hw_state->fp1 = intel_de_read(dev_priv, PCH_FP1(id)); in ibx_pch_dpll_get_hw_state()
432 intel_de_write(dev_priv, PCH_FP0(id), pll->state.hw_state.fp0); in ibx_pch_dpll_prepare()
[all …]
Dintel_dpll_mgr.h235 struct intel_dpll_hw_state hw_state; member
280 struct intel_dpll_hw_state *hw_state);
395 const struct intel_dpll_hw_state *hw_state);
Dintel_display_debugfs.c936 seq_printf(m, " dpll: 0x%08x\n", pll->state.hw_state.dpll); in i915_shared_dplls_info()
938 pll->state.hw_state.dpll_md); in i915_shared_dplls_info()
939 seq_printf(m, " fp0: 0x%08x\n", pll->state.hw_state.fp0); in i915_shared_dplls_info()
940 seq_printf(m, " fp1: 0x%08x\n", pll->state.hw_state.fp1); in i915_shared_dplls_info()
941 seq_printf(m, " wrpll: 0x%08x\n", pll->state.hw_state.wrpll); in i915_shared_dplls_info()
942 seq_printf(m, " cfgcr0: 0x%08x\n", pll->state.hw_state.cfgcr0); in i915_shared_dplls_info()
943 seq_printf(m, " cfgcr1: 0x%08x\n", pll->state.hw_state.cfgcr1); in i915_shared_dplls_info()
945 pll->state.hw_state.mg_refclkin_ctl); in i915_shared_dplls_info()
947 pll->state.hw_state.mg_clktop2_coreclkctl1); in i915_shared_dplls_info()
949 pll->state.hw_state.mg_clktop2_hsclkctl); in i915_shared_dplls_info()
[all …]
Dintel_display_types.h914 struct intel_dpll_hw_state hw_state; member
Dintel_display.c14436 I915_STATE_WARN(pll->on && memcmp(&pll->state.hw_state, in verify_single_dpll_state()
/drivers/media/test-drivers/vidtv/
Dvidtv_tuner.c114 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 …]
/drivers/video/fbdev/i810/
Di810_main.c466 tmp1 = par->hw_state.dclk_2d; in i810_restore_pll()
472 tmp1 = par->hw_state.dclk_1d; in i810_restore_pll()
478 i810_writel(DCLK_0DS, mmio, par->hw_state.dclk_0ds); in i810_restore_pll()
486 tmp1 = par->hw_state.pixconf; in i810_restore_dac()
500 i810_writeb(CR_DATA_CGA, mmio, *(&(par->hw_state.cr30) + i)); in i810_restore_vgax()
503 i810_writeb(CR_DATA_CGA, mmio, par->hw_state.cr35); in i810_restore_vgax()
505 i810_writeb(CR_DATA_CGA, mmio, par->hw_state.cr39); in i810_restore_vgax()
507 i810_writeb(CR_DATA_CGA, mmio, par->hw_state.cr39); in i810_restore_vgax()
511 i = par->hw_state.cr70; in i810_restore_vgax()
518 i810_writeb(CR_DATA_CGA, mmio, par->hw_state.cr80); in i810_restore_vgax()
[all …]
Di810.h255 struct state_registers hw_state; member
/drivers/bluetooth/
Dbluecard_cs.c80 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 …]
/drivers/net/wireless/broadcom/b43/
Dleds.c65 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()
Dleds.h31 bool hw_state; member
/drivers/usb/phy/
Dphy-twl6030-usb.c209 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()
/drivers/net/ethernet/mellanox/mlx5/core/en/
Dreporter_rx.c180 static int mlx5e_reporter_icosq_diagnose(struct mlx5e_icosq *icosq, u8 hw_state, in mlx5e_reporter_icosq_diagnose() argument
193 err = devlink_fmsg_u8_pair_put(fmsg, "HW state", hw_state); in mlx5e_reporter_icosq_diagnose()
241 u8 hw_state; in mlx5e_rx_reporter_build_diagnose_output() local
246 err = mlx5e_query_rq_state(priv->mdev, rq->rqn, &hw_state); in mlx5e_rx_reporter_build_diagnose_output()
270 err = devlink_fmsg_u8_pair_put(fmsg, "HW state", hw_state); in mlx5e_rx_reporter_build_diagnose_output()
/drivers/net/ethernet/marvell/prestera/
Dprestera_switchdev.c479 u8 hw_state = state; in prestera_port_vid_stp_set() local
483 hw_state = PRESTERA_STP_DISABLED; in prestera_port_vid_stp_set()
488 hw_state = PRESTERA_STP_BLOCK_LISTEN; in prestera_port_vid_stp_set()
492 hw_state = PRESTERA_STP_LEARN; in prestera_port_vid_stp_set()
496 hw_state = PRESTERA_STP_FORWARD; in prestera_port_vid_stp_set()
503 return prestera_hw_vlan_port_stp_set(port, vid, hw_state); in prestera_port_vid_stp_set()
/drivers/net/fddi/skfp/h/
Dtargethw.h83 u_short hw_state ; /* started or stopped */ member
/drivers/mmc/host/
Dmvsdio.c73 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()
/drivers/net/fddi/skfp/
Ddrvfbi.c155 smc->hw.hw_state = STOPPED ; in card_start()
178 smc->hw.hw_state = STOPPED ; in card_stop()
Dhwmtm.c550 if (smc->hw.hw_state != STOPPED) { in mac_drv_repair_descr()
1096 smc->hw.hw_state = STOPPED ; in process_receive()
1098 smc->hw.hw_state = STARTED ; in process_receive()
1463 if (smc->hw.hw_state != STOPPED) { in mac_drv_clear_rx_queue()
2030 if (smc->hw.hw_state != STOPPED) { in mac_drv_clear_tx_queue()
Dfplustm.c833 smc->hw.hw_state = STOPPED ; in formac_offline()
980 smc->hw.hw_state = STOPPED ; in init_mac()
983 smc->hw.hw_state = STARTED ; in init_mac()
/drivers/net/ipa/
Dipa_uc.c80 u8 hw_state; member
/drivers/net/dsa/b53/
Db53_common.c1906 u8 hw_state; in b53_br_set_stp_state() local
1911 hw_state = PORT_CTRL_DIS_STATE; in b53_br_set_stp_state()
1914 hw_state = PORT_CTRL_LISTEN_STATE; in b53_br_set_stp_state()
1917 hw_state = PORT_CTRL_LEARN_STATE; in b53_br_set_stp_state()
1920 hw_state = PORT_CTRL_FWD_STATE; in b53_br_set_stp_state()
1923 hw_state = PORT_CTRL_BLOCK_STATE; in b53_br_set_stp_state()
1932 reg |= hw_state; in b53_br_set_stp_state()
/drivers/gpu/drm/bridge/cadence/
Dcdns-mhdp8546-core.h390 enum mhdp_hw_state hw_state; member
Dcdns-mhdp8546-core.c739 mhdp->hw_state = MHDP_HW_READY; in cdns_mhdp_fw_activate()
1686 hw_ready = mhdp->hw_state == MHDP_HW_READY; in cdns_mhdp_attach()
2468 mhdp->hw_state == MHDP_HW_READY, in cdns_mhdp_remove()
2477 mhdp->hw_state = MHDP_HW_STOPPED; in cdns_mhdp_remove()
/drivers/platform/x86/
Dthinkpad_acpi.c1244 bool hw_state; in tpacpi_new_rfkill() local
1277 hw_state = tpacpi_rfk_check_hwblock_state(); in tpacpi_new_rfkill()
1278 rfkill_set_hw_state(atp_rfk->rfkill, hw_state); in tpacpi_new_rfkill()
1291 name, (sw_state || hw_state) ? "" : "un"); in tpacpi_new_rfkill()
/drivers/scsi/csiostor/
Dcsio_scsi.c1457 static DEVICE_ATTR(hw_state, S_IRUGO, csio_show_hw_state, NULL);