Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/gpu/drm/i915/
Dintel_dpll_mgr.c116 struct intel_dpll_hw_state hw_state; in assert_shared_dpll() local
121 cur_state = pll->info->funcs->get_hw_state(dev_priv, pll, &hw_state); in assert_shared_dpll()
263 &shared_dpll[i].hw_state, in intel_find_shared_dpll()
299 shared_dpll[id].hw_state = in intel_reference_shared_dpll()
344 struct intel_dpll_hw_state *hw_state) in ibx_pch_dpll_get_hw_state() argument
353 hw_state->dpll = val; in ibx_pch_dpll_get_hw_state()
354 hw_state->fp0 = I915_READ(PCH_FP0(id)); in ibx_pch_dpll_get_hw_state()
355 hw_state->fp1 = I915_READ(PCH_FP1(id)); in ibx_pch_dpll_get_hw_state()
367 I915_WRITE(PCH_FP0(id), pll->state.hw_state.fp0); in ibx_pch_dpll_prepare()
368 I915_WRITE(PCH_FP1(id), pll->state.hw_state.fp1); in ibx_pch_dpll_prepare()
[all …]
Dintel_dpll_mgr.h207 struct intel_dpll_hw_state hw_state; member
252 struct intel_dpll_hw_state *hw_state);
344 struct intel_dpll_hw_state *hw_state);
Di915_debugfs.c3302 seq_printf(m, " dpll: 0x%08x\n", pll->state.hw_state.dpll); in i915_shared_dplls_info()
3304 pll->state.hw_state.dpll_md); in i915_shared_dplls_info()
3305 seq_printf(m, " fp0: 0x%08x\n", pll->state.hw_state.fp0); in i915_shared_dplls_info()
3306 seq_printf(m, " fp1: 0x%08x\n", pll->state.hw_state.fp1); in i915_shared_dplls_info()
3307 seq_printf(m, " wrpll: 0x%08x\n", pll->state.hw_state.wrpll); in i915_shared_dplls_info()
3308 seq_printf(m, " cfgcr0: 0x%08x\n", pll->state.hw_state.cfgcr0); in i915_shared_dplls_info()
3309 seq_printf(m, " cfgcr1: 0x%08x\n", pll->state.hw_state.cfgcr1); in i915_shared_dplls_info()
3311 pll->state.hw_state.mg_refclkin_ctl); in i915_shared_dplls_info()
3313 pll->state.hw_state.mg_clktop2_coreclkctl1); in i915_shared_dplls_info()
3315 pll->state.hw_state.mg_clktop2_hsclkctl); in i915_shared_dplls_info()
[all …]
Dintel_display.c11948 I915_STATE_WARN(pll->on && memcmp(&pll->state.hw_state, in verify_single_dpll_state()
15627 &pll->state.hw_state); in intel_modeset_readout_hw_state()
/Linux-v4.19/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
/Linux-v4.19/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()
505 if (!test_bit(CARD_READY, &(info->hw_state))) in bluecard_interrupt()
625 if (test_bit(CARD_HAS_PCCARD_ID, &(info->hw_state))) in bluecard_hci_open()
719 set_bit(CARD_HAS_PCCARD_ID, &(info->hw_state)); in bluecard_open()
722 set_bit(CARD_HAS_POWER_LED, &(info->hw_state)); in bluecard_open()
725 set_bit(CARD_HAS_ACTIVITY_LED, &(info->hw_state)); in bluecard_open()
[all …]
/Linux-v4.19/drivers/net/wireless/broadcom/b43/
Dleds.c78 if (turn_on == led->hw_state) in b43_led_update()
80 led->hw_state = turn_on; in b43_led_update()
274 led->hw_state = true; in b43_leds_init()
278 led->hw_state = false; in b43_leds_init()
287 led->hw_state = false; in b43_leds_init()
293 led->hw_state = false; in b43_leds_init()
299 led->hw_state = false; in b43_leds_init()
Dleds.h31 bool hw_state; member
/Linux-v4.19/drivers/usb/phy/
Dphy-twl6030-usb.c203 u8 vbus_state, hw_state; in twl6030_usb_irq() local
206 hw_state = twl6030_readb(twl, TWL6030_MODULE_ID0, STS_HW_CONDITIONS); in twl6030_usb_irq()
210 if (!(hw_state & STS_USB_ID)) { in twl6030_usb_irq()
245 u8 hw_state; in twl6030_usbotg_irq() local
248 hw_state = twl6030_readb(twl, TWL6030_MODULE_ID0, STS_HW_CONDITIONS); in twl6030_usbotg_irq()
250 if (hw_state & STS_USB_ID) { in twl6030_usbotg_irq()
/Linux-v4.19/drivers/net/fddi/skfp/h/
Dtargethw.h87 u_short hw_state ; /* started or stopped */ member
/Linux-v4.19/drivers/net/fddi/skfp/
Ddrvfbi.c158 smc->hw.hw_state = STOPPED ; in card_start()
181 smc->hw.hw_state = STOPPED ; in card_stop()
Dhwmtm.c558 if (smc->hw.hw_state != STOPPED) { in mac_drv_repair_descr()
1104 smc->hw.hw_state = STOPPED ; in process_receive()
1106 smc->hw.hw_state = STARTED ; in process_receive()
1471 if (smc->hw.hw_state != STOPPED) { in mac_drv_clear_rx_queue()
2038 if (smc->hw.hw_state != STOPPED) { in mac_drv_clear_tx_queue()
Dfplustm.c841 smc->hw.hw_state = STOPPED ; in formac_offline()
988 smc->hw.hw_state = STOPPED ; in init_mac()
991 smc->hw.hw_state = STARTED ; in init_mac()
/Linux-v4.19/drivers/mmc/host/
Dmvsdio.c76 unsigned int hw_state, count = 0; in mvsd_setup_data() local
78 hw_state = mvsd_read(MVSD_HW_STATE); in mvsd_setup_data()
84 } while (!(hw_state & (1 << 13))); in mvsd_setup_data()
87 hw_state, count, jiffies - (t - HZ)); in mvsd_setup_data()
/Linux-v4.19/drivers/net/dsa/b53/
Db53_common.c1487 u8 hw_state; in b53_br_set_stp_state() local
1492 hw_state = PORT_CTRL_DIS_STATE; in b53_br_set_stp_state()
1495 hw_state = PORT_CTRL_LISTEN_STATE; in b53_br_set_stp_state()
1498 hw_state = PORT_CTRL_LEARN_STATE; in b53_br_set_stp_state()
1501 hw_state = PORT_CTRL_FWD_STATE; in b53_br_set_stp_state()
1504 hw_state = PORT_CTRL_BLOCK_STATE; in b53_br_set_stp_state()
1513 reg |= hw_state; in b53_br_set_stp_state()
/Linux-v4.19/drivers/platform/x86/
Dthinkpad_acpi.c1281 bool hw_state; in tpacpi_new_rfkill() local
1314 hw_state = tpacpi_rfk_check_hwblock_state(); in tpacpi_new_rfkill()
1315 rfkill_set_hw_state(atp_rfk->rfkill, hw_state); in tpacpi_new_rfkill()
1328 name, (sw_state || hw_state) ? "" : "un"); in tpacpi_new_rfkill()
/Linux-v4.19/drivers/scsi/csiostor/
Dcsio_scsi.c1457 static DEVICE_ATTR(hw_state, S_IRUGO, csio_show_hw_state, NULL);