Home
last modified time | relevance | path

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

12

/device/soc/asrmicro/asr582x/liteos_m/sdk/drivers/driver/src/
Dduet_i2s.c34 void duet_i2s_interrupt_config(I2S_TypeDef *I2Sx, uint32_t i2s_interrupt, uint32_t new_state) in duet_i2s_interrupt_config() argument
36 if (new_state == ENABLE) { in duet_i2s_interrupt_config()
52 void duet_i2s_cmd(I2S_TypeDef *I2Sx, uint32_t new_state) in duet_i2s_cmd() argument
54 if (new_state == ENABLE) { in duet_i2s_cmd()
61 void duet_i2s_tx_block_cmd(I2S_TypeDef *I2Sx, uint32_t new_state) in duet_i2s_tx_block_cmd() argument
63 if (new_state == ENABLE) { in duet_i2s_tx_block_cmd()
70 void duet_i2s_rx_block_cmd(I2S_TypeDef *I2Sx, uint32_t new_state) in duet_i2s_rx_block_cmd() argument
72 if (new_state == ENABLE) { in duet_i2s_rx_block_cmd()
79 void duet_i2s_tx_channel_cmd(I2S_TypeDef *I2Sx, uint32_t new_state) in duet_i2s_tx_channel_cmd() argument
81 if (new_state == ENABLE) { in duet_i2s_tx_channel_cmd()
[all …]
Dduet_spi.c27 void duet_spi_interrupt_config(SPI_TypeDef *SPIx, uint8_t spi_interrupt, uint8_t new_state) in duet_spi_interrupt_config() argument
29 if (new_state == ENABLE) { in duet_spi_interrupt_config()
36 int32_t duet_spi_dma_config(duet_spi_dev_t *spi, uint8_t dma_tx_rx_sel, uint8_t new_state) in duet_spi_dma_config() argument
48 if (new_state == ENABLE) { in duet_spi_dma_config()
56 void duet_spi_cmd(SPI_TypeDef *SPIx, uint8_t new_state) in duet_spi_cmd() argument
58 if (new_state == ENABLE) { in duet_spi_cmd()
Dduet_dma.c53 void duet_dma_interrupt_config(uint32_t chan_idx, uint8_t new_state) in duet_dma_interrupt_config() argument
55 if (new_state == ENABLE) { in duet_dma_interrupt_config()
62 void duet_dma_channel_cmd(uint32_t chan_idx, uint8_t new_state) in duet_dma_channel_cmd() argument
64 if (new_state == ENABLE) { in duet_dma_channel_cmd()
71 void duet_dma_alt_channel_cmd(uint32_t chan_idx, uint8_t new_state) in duet_dma_alt_channel_cmd() argument
73 if (new_state == ENABLE) { in duet_dma_alt_channel_cmd()
Dduet_uart.c105 void duet_uart_interrupt_config(UART_TypeDef *UARTx, uint32_t uart_int, bool new_state) in duet_uart_interrupt_config() argument
107 if (new_state == DISABLE) { in duet_uart_interrupt_config()
138 int32_t duet_uart_dma_config(duet_uart_dev_t *uart, uint8_t dma_tx_rx_sel, uint8_t new_state) in duet_uart_dma_config() argument
150 if (new_state == ENABLE) { in duet_uart_dma_config()
Dduet_i2c.c113 void duet_i2c_interrupt_config(I2C_TypeDef *I2Cx, uint32_t I2C_interrupt_en, int8_t new_state) in duet_i2c_interrupt_config() argument
115 if (new_state == ENABLE) { in duet_i2c_interrupt_config()
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/drm/
Dsunxi_drm_plane.c516 struct drm_plane_state *new_state = NULL; in sunxi_plane_atomic_update() local
538 new_state = plane->state; in sunxi_plane_atomic_update()
539 if (!new_state) { in sunxi_plane_atomic_update()
544 if (!new_state->crtc) { in sunxi_plane_atomic_update()
549 if (!new_state->fb) { in sunxi_plane_atomic_update()
555 sunxi_fb = to_sunxi_fb(new_state->fb); in sunxi_plane_atomic_update()
559 scrtc = to_sunxi_crtc(new_state->crtc); in sunxi_plane_atomic_update()
560 crtc_state = new_state->crtc->state; in sunxi_plane_atomic_update()
580 new_state->crtc->helper_private; in sunxi_plane_atomic_update()
581 crtc_helper_funcs->atomic_enable(new_state->crtc, NULL); in sunxi_plane_atomic_update()
[all …]
Dsunxi_drm_crtc.c492 struct drm_crtc_state *new_state = crtc->state; in sunxi_crtc_atomic_enable() local
513 if ((!new_state->enable) || (!new_state->active)) { in sunxi_crtc_atomic_enable()
520 crtc_id = drm_crtc_index(new_state->crtc); in sunxi_crtc_atomic_enable()
524 drm_property_blob_get(new_state->mode_blob); in sunxi_crtc_atomic_enable()
525 memcpy(&modeinfo, new_state->mode_blob->data, in sunxi_crtc_atomic_enable()
526 new_state->mode_blob->length); in sunxi_crtc_atomic_enable()
527 drm_property_blob_put(new_state->mode_blob); in sunxi_crtc_atomic_enable()
537 if ((new_state->connector_mask >> i) & 0x1) in sunxi_crtc_atomic_enable()
548 if ((new_state->encoder_mask >> i) & 0x1) { in sunxi_crtc_atomic_enable()
698 struct drm_crtc_state *new_state = crtc->state; in sunxi_crtc_atomic_disable() local
[all …]
/device/soc/asrmicro/asr582x/liteos_m/sdk/drivers/driver/inc/
Dduet_i2s.h127 void duet_i2s_interrupt_config(I2S_TypeDef *I2Sx, uint32_t i2s_interrupt, uint32_t new_state);
129 void duet_i2s_cmd(I2S_TypeDef *I2Sx, uint32_t new_state);
131 void duet_i2s_tx_block_cmd(I2S_TypeDef *I2Sx, uint32_t new_state);
132 void duet_i2s_rx_block_cmd(I2S_TypeDef *I2Sx, uint32_t new_state);
133 void duet_i2s_tx_channel_cmd(I2S_TypeDef *I2Sx, uint32_t new_state);
134 void duet_i2s_rx_channel_cmd(I2S_TypeDef *I2Sx, uint32_t new_state);
135 void duet_i2s_master_clock_cmd(I2S_TypeDef *I2Sx, uint32_t new_state);
Dduet_spi.h110 void duet_spi_interrupt_config(SPI_TypeDef *SPIx, uint8_t spi_interrupt, uint8_t new_state);
111 int32_t duet_spi_dma_config(duet_spi_dev_t *spi, uint8_t dma_tx_rx_sel, uint8_t new_state);
113 void duet_spi_cmd(SPI_TypeDef *SPIx, uint8_t new_state);
Dduet_uart.h164 int32_t duet_uart_dma_config(duet_uart_dev_t *uart, uint8_t dma_tx_rx_sel, uint8_t new_state);
207 void duet_uart_interrupt_config(UART_TypeDef *UARTx, uint32_t uart_int, bool new_state);
Dduet_dma.h128 void duet_dma_interrupt_config(uint32_t chan_idx, uint8_t new_state);
129 void duet_dma_channel_cmd(uint32_t chan_idx, uint8_t new_state);
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/net/wireless/xr829/umac/
Ddriver-ops.c111 enum ieee80211_sta_state new_state) in drv_sta_state() argument
121 trace_drv_sta_state(local, sdata, &sta->sta, old_state, new_state); in drv_sta_state()
124 old_state, new_state); in drv_sta_state()
126 new_state == IEEE80211_STA_ASSOC) { in drv_sta_state()
131 new_state == IEEE80211_STA_AUTH) { in drv_sta_state()
Dsta_info.h681 enum ieee80211_sta_state new_state);
684 enum ieee80211_sta_state new_state) in sta_info_pre_move_state() argument
690 ret = sta_info_move_state(sta, new_state); in sta_info_pre_move_state()
Dsta_info.c1896 enum ieee80211_sta_state new_state) in sta_info_move_state() argument
1900 if (sta->sta_state == new_state) in sta_info_move_state()
1905 switch (new_state) { in sta_info_move_state()
1925 WARN(1, "invalid state %d", new_state); in sta_info_move_state()
1930 sta->sta.addr, new_state); in sta_info_move_state()
1938 sta->sta_state, new_state); in sta_info_move_state()
1945 switch (new_state) { in sta_info_move_state()
1990 sta->sta_state = new_state; in sta_info_move_state()
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/net/wireless/bcmdhd/
Dbcmsdh.c80 void bcmsdh_btsdio_process_hang_state(dhd_hang_state_t new_state) in bcmsdh_btsdio_process_hang_state() argument
85 __FUNCTION__, g_dhd_hang_state, new_state)); in bcmsdh_btsdio_process_hang_state()
87 if (g_dhd_hang_state == new_state) in bcmsdh_btsdio_process_hang_state()
92 if (HANG_START_STATE == new_state) in bcmsdh_btsdio_process_hang_state()
97 if (HANG_RECOVERY_STATE == new_state || in bcmsdh_btsdio_process_hang_state()
98 NO_HANG_STATE == new_state) in bcmsdh_btsdio_process_hang_state()
103 if (NO_HANG_STATE == new_state) in bcmsdh_btsdio_process_hang_state()
117 g_dhd_hang_state = new_state; in bcmsdh_btsdio_process_hang_state()
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/
Dbcmsdh.c80 void bcmsdh_btsdio_process_hang_state(dhd_hang_state_t new_state) in bcmsdh_btsdio_process_hang_state() argument
85 __FUNCTION__, g_dhd_hang_state, new_state)); in bcmsdh_btsdio_process_hang_state()
87 if (g_dhd_hang_state == new_state) in bcmsdh_btsdio_process_hang_state()
92 if (HANG_START_STATE == new_state) in bcmsdh_btsdio_process_hang_state()
97 if (HANG_RECOVERY_STATE == new_state || in bcmsdh_btsdio_process_hang_state()
98 NO_HANG_STATE == new_state) in bcmsdh_btsdio_process_hang_state()
104 if (NO_HANG_STATE == new_state) in bcmsdh_btsdio_process_hang_state()
118 g_dhd_hang_state = new_state; in bcmsdh_btsdio_process_hang_state()
/device/board/kaihong/khdvk_3566b/wifi/bcmdhd_hdf/bcmdhd/
Dbcmsdh.c77 void bcmsdh_btsdio_process_hang_state(dhd_hang_state_t new_state) in bcmsdh_btsdio_process_hang_state() argument
82 g_dhd_hang_state, new_state)); in bcmsdh_btsdio_process_hang_state()
84 if (g_dhd_hang_state == new_state) { in bcmsdh_btsdio_process_hang_state()
90 if (HANG_START_STATE == new_state) { in bcmsdh_btsdio_process_hang_state()
96 if (HANG_RECOVERY_STATE == new_state || in bcmsdh_btsdio_process_hang_state()
97 NO_HANG_STATE == new_state) { in bcmsdh_btsdio_process_hang_state()
104 if (NO_HANG_STATE == new_state) { in bcmsdh_btsdio_process_hang_state()
119 g_dhd_hang_state = new_state; in bcmsdh_btsdio_process_hang_state()
/device/board/isoftstone/yangfan/kernel/src/driv/net/rockchip_wlan/rkwifi/bcmdhd/
Dbcmsdh.c82 void bcmsdh_btsdio_process_hang_state(dhd_hang_state_t new_state) in bcmsdh_btsdio_process_hang_state() argument
87 __FUNCTION__, g_dhd_hang_state, new_state)); in bcmsdh_btsdio_process_hang_state()
89 if (g_dhd_hang_state == new_state) in bcmsdh_btsdio_process_hang_state()
94 if (HANG_START_STATE == new_state) in bcmsdh_btsdio_process_hang_state()
99 if (HANG_RECOVERY_STATE == new_state || in bcmsdh_btsdio_process_hang_state()
100 NO_HANG_STATE == new_state) in bcmsdh_btsdio_process_hang_state()
106 if (NO_HANG_STATE == new_state) in bcmsdh_btsdio_process_hang_state()
120 g_dhd_hang_state = new_state; in bcmsdh_btsdio_process_hang_state()
/device/soc/rockchip/rk3588/kernel/drivers/soc/rockchip/
Dthermal_core.h150 unsigned long new_state);
154 unsigned long new_state) {} in thermal_cooling_device_stats_update() argument
/device/soc/rockchip/common/sdk_linux/drivers/thermal/
Dthermal_core.h132 … thermal_cooling_device_stats_update(struct thermal_cooling_device *cdev, unsigned long new_state);
134 …d thermal_cooling_device_stats_update(struct thermal_cooling_device *cdev, unsigned long new_state) in thermal_cooling_device_stats_update() argument
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/arbiter/
Dmali_kbase_arbiter_pm.c135 enum kbase_vm_state new_state) in kbase_arbiter_pm_vm_set_state() argument
141 kbase_arbiter_pm_vm_state_str(new_state)); in kbase_arbiter_pm_vm_set_state()
144 arb_vm_state->vm_state = new_state; in kbase_arbiter_pm_vm_set_state()
145 if (new_state != KBASE_VM_STATE_INITIALIZING_WITH_GPU && in kbase_arbiter_pm_vm_set_state()
146 new_state != KBASE_VM_STATE_INITIALIZING) in kbase_arbiter_pm_vm_set_state()
147 KBASE_KTRACE_ADD(kbdev, ARB_VM_STATE, NULL, new_state); in kbase_arbiter_pm_vm_set_state()
/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/lwip_sack/include/lwip/
Dnd6.h122 void nd6_adjust_mld_membership(struct netif *netif, s8_t addr_idx, u8_t new_state);
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/gmac/
Dsunxi-gmac.c1370 int new_state = 0; in sunxi_gmac_adjust_link() local
1381 new_state = 1; in sunxi_gmac_adjust_link()
1390 new_state = 1; in sunxi_gmac_adjust_link()
1395 new_state = 1; in sunxi_gmac_adjust_link()
1399 if (new_state) in sunxi_gmac_adjust_link()
1403 new_state = 1; in sunxi_gmac_adjust_link()
1410 if (new_state) in sunxi_gmac_adjust_link()
/device/board/isoftstone/yangfan/kernel/src/driv/gpu/bridge/
Ddw-hdmi-qp.c1839 struct drm_connector_state *new_state = in dw_hdmi_color_changed() local
1846 if (new_state->colorspace != old_state->colorspace) in dw_hdmi_color_changed()
1853 const struct drm_connector_state *new_state) in hdr_metadata_equal() argument
1856 struct drm_property_blob *new_blob = new_state->hdr_output_metadata; in hdr_metadata_equal()
1872 struct drm_connector_state *new_state = in dw_hdmi_connector_atomic_check() local
1874 struct drm_crtc *crtc = new_state->crtc; in dw_hdmi_connector_atomic_check()
1938 if (!hdr_metadata_equal(old_state, new_state) || in dw_hdmi_connector_atomic_check()
/device/board/unionman/unionpi_tiger/kernel/build/
Dlinux-5.10.patch1476 - const struct drm_connector_state *new_state)
1479 - struct drm_property_blob *new_blob = new_state->hdr_output_metadata;
1497 - if (!hdr_metadata_equal(old_state, new_state)) {
1498 + if (!drm_connector_atomic_hdr_metadata_equal(old_state, new_state)) {
2182 + * @new_state: new connector state to compare
2192 + struct drm_connector_state *new_state)
2195 + struct drm_property_blob *new_blob = new_state->hdr_output_metadata;
2744 + struct drm_plane_state *new_state = drm_atomic_get_new_plane_state(state->state,
2746 + struct drm_rect dest = drm_plane_state_dest(new_state);
2748 + struct drm_framebuffer *fb = new_state->fb;
[all …]

12