Home
last modified time | relevance | path

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

12

/openbmc/qemu/contrib/vhost-user-gpu/
H A Dvugbm.c195 if (!dev->inited) { in vugbm_device_destroy()
205 assert(!dev->inited); in vugbm_device_init()
219 dev->inited = true; in vugbm_device_init()
223 if (!dev->inited && g_file_test("/dev/udmabuf", G_FILE_TEST_EXISTS)) { in vugbm_device_init()
233 dev->inited = true; in vugbm_device_init()
237 if (!dev->inited) { in vugbm_device_init()
244 dev->inited = true; in vugbm_device_init()
246 assert(dev->inited); in vugbm_device_init()
H A Dvugbm.h25 bool inited; member
/openbmc/u-boot/fs/btrfs/
H A Dhash.c16 static int inited = 0; in btrfs_hash_init() local
18 if (!inited) { in btrfs_hash_init()
20 inited = 1; in btrfs_hash_init()
/openbmc/linux/drivers/net/ethernet/hisilicon/hns3/
H A Dhnae3.c51 unsigned int inited) in hnae3_set_client_init_flag() argument
58 hnae3_set_bit(ae_dev->flag, HNAE3_KNIC_CLIENT_INITED_B, inited); in hnae3_set_client_init_flag()
61 hnae3_set_bit(ae_dev->flag, HNAE3_ROCE_CLIENT_INITED_B, inited); in hnae3_set_client_init_flag()
72 int inited = 0; in hnae3_get_client_init_flag() local
76 inited = hnae3_get_bit(ae_dev->flag, in hnae3_get_client_init_flag()
80 inited = hnae3_get_bit(ae_dev->flag, in hnae3_get_client_init_flag()
87 return inited; in hnae3_get_client_init_flag()
/openbmc/linux/drivers/macintosh/
H A Dwindfarm_lm75_sensor.c37 unsigned int inited : 1; member
52 if (!lm->inited) { in wf_lm75_get()
63 lm->inited = 1; in wf_lm75_get()
137 lm->inited = 0; in wf_lm75_probe()
/openbmc/linux/drivers/phy/broadcom/
H A Dphy-brcm-usb.c59 bool inited; member
136 phy->inited = true; in brcm_usb_phy_init()
167 phy->inited = false; in brcm_usb_phy_exit()
590 if (priv->phys[BRCM_USB_PHY_3_0].inited) in brcm_usb_phy_suspend()
592 if (priv->phys[BRCM_USB_PHY_2_0].inited) in brcm_usb_phy_suspend()
603 if (priv->phys[BRCM_USB_PHY_3_0].inited) in brcm_usb_phy_suspend()
605 if (priv->phys[BRCM_USB_PHY_2_0].inited || in brcm_usb_phy_suspend()
634 if (priv->phys[BRCM_USB_PHY_2_0].inited) { in brcm_usb_phy_resume()
640 if (priv->phys[BRCM_USB_PHY_3_0].inited) { in brcm_usb_phy_resume()
/openbmc/linux/drivers/platform/x86/
H A Dlg-laptop.c69 static u32 inited; variable
258 inited |= INIT_SPARSE_KEYMAP; in wmi_input_setup()
262 inited |= INIT_INPUT_WMI_0; in wmi_input_setup()
267 inited |= INIT_INPUT_WMI_2; in wmi_input_setup()
278 if (inited & INIT_SPARSE_KEYMAP) { in acpi_notify()
655 if (inited & INIT_INPUT_WMI_2) in wmi_input_destroy()
658 if (inited & INIT_INPUT_WMI_0) in wmi_input_destroy()
661 if (inited & INIT_SPARSE_KEYMAP) in wmi_input_destroy()
664 inited &= ~(INIT_INPUT_WMI_0 | INIT_INPUT_WMI_2 | INIT_SPARSE_KEYMAP); in wmi_input_destroy()
/openbmc/linux/drivers/infiniband/hw/hns/
H A Dhns_roce_hem.c398 if (index->inited & HEM_INDEX_L1) { in free_mhop_hem()
404 if (index->inited & HEM_INDEX_L0) { in free_mhop_hem()
435 index->inited |= HEM_INDEX_L0; in alloc_mhop_hem()
448 index->inited |= HEM_INDEX_L1; in alloc_mhop_hem()
466 index->inited |= HEM_INDEX_BUF; in alloc_mhop_hem()
494 if (index->inited & HEM_INDEX_L0) { in set_mhop_hem()
502 if (index->inited & HEM_INDEX_L1) { in set_mhop_hem()
624 index->inited = HEM_INDEX_BUF; in clear_mhop_hem()
629 index->inited |= HEM_INDEX_L0; in clear_mhop_hem()
633 index->inited |= HEM_INDEX_L1; in clear_mhop_hem()
[all …]
/openbmc/u-boot/drivers/net/
H A Dnetconsole.c178 int inited = 0; in nc_send_packet() local
210 inited = 1; in nc_send_packet()
218 if (inited) { in nc_send_packet()
/openbmc/u-boot/drivers/input/
H A Dtegra-kbc.c47 unsigned char inited; /* 1 if keyboard has been inited */ member
158 if (!priv->inited) { in kbd_wait_for_fifo_init()
169 priv->inited = 1; in kbd_wait_for_fifo_init()
/openbmc/linux/fs/erofs/
H A Ddecompressor_deflate.c58 static bool inited; in z_erofs_load_deflate_config() local
70 if (!inited) { in z_erofs_load_deflate_config()
90 inited = true; in z_erofs_load_deflate_config()
/openbmc/qemu/util/
H A Dmodule.c46 static int inited; in init_lists() local
49 if (inited) { in init_lists()
59 inited = 1; in init_lists()
/openbmc/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dcommonring.c37 if (!commonring->inited) { in brcmf_commonring_config()
39 commonring->inited = true; in brcmf_commonring_config()
H A Dcommonring.h28 bool inited; member
/openbmc/u-boot/arch/sandbox/cpu/
H A Dsdl.c36 bool inited; member
63 if (!sdl.inited) { in sandbox_sdl_ensure_init()
72 sdl.inited = true; in sandbox_sdl_ensure_init()
/openbmc/u-boot/drivers/dfu/
H A Ddfu.c182 dfu->inited = 0; in dfu_transaction_cleanup()
189 if (dfu->inited) in dfu_transaction_initiate()
206 dfu->inited = 1; in dfu_transaction_initiate()
H A Ddfu_ram.c83 dfu->inited = 0; in dfu_fill_entity_ram()
H A Ddfu_sf.c150 dfu->inited = 0; in dfu_fill_entity_sf()
H A Ddfu_nand.c243 dfu->inited = 0; in dfu_fill_entity_nand()
H A Ddfu_mmc.c386 dfu->inited = 0; in dfu_fill_entity_mmc()
/openbmc/linux/sound/hda/
H A Dhdac_stream.c661 bool inited = false; in snd_hdac_stream_timecounter_init() local
666 azx_timecounter_init(s, inited, cycle_last); in snd_hdac_stream_timecounter_init()
667 if (!inited) { in snd_hdac_stream_timecounter_init()
668 inited = true; in snd_hdac_stream_timecounter_init()
/openbmc/linux/drivers/scsi/
H A Dst.h171 unsigned char inited; member
/openbmc/u-boot/include/
H A Ddfu.h138 unsigned int inited:1; member
/openbmc/linux/drivers/net/wireless/realtek/rtw88/
H A Dwow.c563 pno_req->inited = true; in rtw_wow_check_pno()
795 if (rtw_wow->pno_req.inited) in rtw_wow_vif_iter()
842 if (pno_req->inited) { in rtw_wow_clear_wakeups()
/openbmc/openbmc/meta-raspberrypi/recipes-graphics/userland/files/
H A D0016-Allow-multiple-wayland-compositor-state-data-per-pro.patch29 if (!process->inited) {

12