Home
last modified time | relevance | path

Searched refs:dev (Results 18326 – 18350 of 26799) sorted by relevance

1...<<731732733734735736737738739740>>...1072

/openbmc/qemu/hw/timer/
H A Dsse-counter.c376 static void sse_counter_reset(DeviceState *dev) in sse_counter_reset() argument
378 SSECounter *s = SSE_COUNTER(dev); in sse_counter_reset()
431 static void sse_counter_realize(DeviceState *dev, Error **errp) in sse_counter_realize() argument
433 SSECounter *s = SSE_COUNTER(dev); in sse_counter_realize()
/openbmc/qemu/hw/m68k/
H A Dmcf5208.c251 DeviceState *dev; in mcf_fec_init() local
255 dev = qemu_create_nic_device(TYPE_MCF_FEC_NET, true, NULL); in mcf_fec_init()
256 if (!dev) { in mcf_fec_init()
260 s = SYS_BUS_DEVICE(dev); in mcf_fec_init()
/openbmc/qemu/hw/ssi/
H A Dxilinx_spi.c326 static void xilinx_spi_realize(DeviceState *dev, Error **errp) in xilinx_spi_realize() argument
328 SysBusDevice *sbd = SYS_BUS_DEVICE(dev); in xilinx_spi_realize()
329 XilinxSPI *s = XILINX_SPI(dev); in xilinx_spi_realize()
334 s->spi = ssi_create_bus(dev, "spi"); in xilinx_spi_realize()
/openbmc/qemu/docs/devel/migration/
H A Duadk-compression.rst78 If get error:"cannot find -lnuma", please install the libnuma-dev
115 Accelerator dev node permissions
118 UADK and char devices are created in dev directory. In order to access resources
123 $ sudo chmod 777 /dev/hisi_zip-*
/openbmc/qemu/hw/sparc/
H A Dsun4m_iommu.c357 SysBusDevice *dev = SYS_BUS_DEVICE(obj); in iommu_init() local
360 TYPE_SUN4M_IOMMU_MEMORY_REGION, OBJECT(dev), in iommu_init()
364 sysbus_init_irq(dev, &s->irq); in iommu_init()
368 sysbus_init_mmio(dev, &s->iomem); in iommu_init()
/openbmc/qemu/hw/display/
H A Dcg3.c294 static void cg3_realizefn(DeviceState *dev, Error **errp) in cg3_realizefn() argument
296 SysBusDevice *sbd = SYS_BUS_DEVICE(dev); in cg3_realizefn()
297 CG3State *s = CG3(dev); in cg3_realizefn()
319 s->con = graphic_console_init(dev, 0, &cg3_ops, s); in cg3_realizefn()
/openbmc/qemu/hw/nvram/
H A Dnpcm7xx_otp.c370 static void npcm7xx_otp_realize(DeviceState *dev, Error **errp) in npcm7xx_otp_realize() argument
372 NPCM7xxOTPClass *oc = NPCM7XX_OTP_GET_CLASS(dev); in npcm7xx_otp_realize()
373 NPCM7xxOTPState *s = NPCM7XX_OTP(dev); in npcm7xx_otp_realize()
374 SysBusDevice *sbd = SYS_BUS_DEVICE(dev); in npcm7xx_otp_realize()
/openbmc/qemu/hw/audio/
H A Dgus.c49 ISADevice dev; member
236 static void gus_realizefn (DeviceState *dev, Error **errp) in gus_realizefn() argument
238 ISADevice *d = ISA_DEVICE(dev); in gus_realizefn()
240 GUSState *s = GUS (dev); in gus_realizefn()
/openbmc/qemu/include/sysemu/
H A Dkvm.h392 uint64_t address, uint32_t data, PCIDevice *dev);
396 int vector, PCIDevice *dev);
488 int kvm_irqchip_add_msi_route(KVMRouteChange *c, int vector, PCIDevice *dev);
490 PCIDevice *dev);
/openbmc/linux/Documentation/driver-api/driver-model/
H A Dporting.rst102 struct device dev; /* Generic device interface */
112 #define to_pci_dev(n) container_of(n, struct pci_dev, dev)
118 return container_of(n, struct pci_dev, dev);
170 device_register(&dev->dev);
174 device_unregister(&dev->dev);
294 static int pci_device_remove(struct device * dev)
296 struct pci_dev * pci_dev = to_pci_dev(dev);
343 int (*match)(struct device * dev, struct device_driver * drv);
394 int (*hotplug) (struct device *dev, char **envp,
/openbmc/linux/drivers/media/i2c/
H A Dmax2175.c30 #define mxm_dbg(ctx, fmt, arg...) dev_dbg(&ctx->client->dev, fmt, ## arg)
31 #define mxm_err(ctx, fmt, arg...) dev_err(&ctx->client->dev, fmt, ## arg)
1287 np = of_parse_phandle(client->dev.of_node, "maxim,master", 0); in max2175_probe()
1293 fwnode = of_fwnode_handle(client->dev.of_node); in max2175_probe()
1302 dev_err(&client->dev, "invalid refout_load %u\n", in max2175_probe()
1308 clk = devm_clk_get(&client->dev, NULL); in max2175_probe()
1311 dev_err(&client->dev, "cannot get clock %d\n", ret); in max2175_probe()
1318 dev_err(&client->dev, "regmap init failed %d\n", ret); in max2175_probe()
1323 ctx = devm_kzalloc(&client->dev, sizeof(*ctx), GFP_KERNEL); in max2175_probe()
1333 dev_info(&client->dev, "xtal freq %luHz\n", ctx->xtal_freq); in max2175_probe()
[all …]
/openbmc/linux/drivers/usb/musb/
H A Dtusb6010.c33 struct device *dev; member
1225 struct musb_hdrc_platform_data *pdata = dev_get_platdata(&pdev->dev); in tusb_probe()
1231 glue = devm_kzalloc(&pdev->dev, sizeof(*glue), GFP_KERNEL); in tusb_probe()
1235 glue->dev = &pdev->dev; in tusb_probe()
1237 glue->enable = devm_gpiod_get(glue->dev, "enable", GPIOD_OUT_LOW); in tusb_probe()
1239 return dev_err_probe(glue->dev, PTR_ERR(glue->enable), in tusb_probe()
1241 glue->intpin = devm_gpiod_get(glue->dev, "int", GPIOD_IN); in tusb_probe()
1243 return dev_err_probe(glue->dev, PTR_ERR(glue->intpin), in tusb_probe()
1267 pinfo.parent = &pdev->dev; in tusb_probe()
1276 dev_err(&pdev->dev, "failed to register musb device: %d\n", ret); in tusb_probe()
/openbmc/linux/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_events.c367 kfd = pdd->dev; in kfd_kmap_event_page()
1164 void kfd_signal_vm_fault_event(struct kfd_node *dev, u32 pasid, in kfd_signal_vm_fault_event() argument
1177 user_gpu_id = kfd_process_get_user_gpu_id(p, dev->id); in kfd_signal_vm_fault_event()
1179 WARN_ONCE(1, "Could not get user_gpu_id from dev->id:%x\n", dev->id); in kfd_signal_vm_fault_event()
1219 void kfd_signal_reset_event(struct kfd_node *dev) in kfd_signal_reset_event() argument
1227 int reset_cause = atomic_read(&dev->sram_ecc_flag) ? in kfd_signal_reset_event()
1242 int user_gpu_id = kfd_process_get_user_gpu_id(p, dev->id); in kfd_signal_reset_event()
1245 WARN_ONCE(1, "Could not get user_gpu_id from dev->id:%x\n", dev->id); in kfd_signal_reset_event()
1275 void kfd_signal_poison_consumed_event(struct kfd_node *dev, u32 pasid) in kfd_signal_poison_consumed_event() argument
1287 user_gpu_id = kfd_process_get_user_gpu_id(p, dev->id); in kfd_signal_poison_consumed_event()
[all …]
/openbmc/linux/drivers/hid/
H A Dhid-asus.c580 drvdata->kbd_backlight = devm_kzalloc(&hdev->dev, in asus_kbd_register_leds()
596 ret = devm_led_classdev_register(&hdev->dev, &drvdata->kbd_backlight->cdev); in asus_kbd_register_leds()
599 devm_kfree(&hdev->dev, drvdata->kbd_backlight); in asus_kbd_register_leds()
740 drvdata->battery_desc.name = devm_kasprintf(&hdev->dev, GFP_KERNEL, in asus_battery_probe()
743 hdev->uniq : dev_name(&hdev->dev)); in asus_battery_probe()
749 drvdata->battery = devm_power_supply_register(&hdev->dev, in asus_battery_probe()
758 power_supply_powers(drvdata->battery, &hdev->dev); in asus_battery_probe()
1023 drvdata = devm_kzalloc(&hdev->dev, sizeof(*drvdata), GFP_KERNEL); in asus_probe()
1046 struct usb_interface *intf = to_usb_interface(hdev->dev.parent); in asus_probe()
1075 to_usb_interface(hdev->dev.parent)->altsetting; in asus_probe()
[all …]
/openbmc/ipmitool/lib/
H A Dipmi_sunoem.c257 if (dev == NULL) { in sunoem_led_get()
262 rqdata[0] = dev->dev_slave_addr; in sunoem_led_get()
264 rqdata[1] = dev->oem; in sunoem_led_get()
269 rqdata[3] = dev->oem; in sunoem_led_get()
270 rqdata[4] = dev->entity.id; in sunoem_led_get()
277 req.msg.lun = dev->lun; in sunoem_led_get()
307 if (dev == NULL) in sunoem_led_set()
313 rqdata[1] = dev->oem; in sunoem_led_set()
318 rqdata[3] = dev->oem; in sunoem_led_set()
320 rqdata[5] = dev->entity.id; in sunoem_led_set()
[all …]
/openbmc/linux/drivers/net/ethernet/intel/e1000/
H A De1000_main.c962 SET_NETDEV_DEV(netdev, &pdev->dev); in e1000_probe()
2107 dma_unmap_page(&pdev->dev, buffer_info->dma, in e1000_clean_rx_ring()
2876 buffer_info->dma = dma_map_single(&pdev->dev, in e1000_tx_map()
2952 dev_err(&pdev->dev, "TX DMA map failed\n"); in e1000_tx_map()
4168 dma_unmap_page(&pdev->dev, buffer_info->dma, in e1000_clean_jumbo_rx_irq()
4391 dma_unmap_single(&pdev->dev, buffer_info->dma, in e1000_clean_rx_irq()
4518 buffer_info->dma = dma_map_page(&pdev->dev, in e1000_alloc_jumbo_rx_buffers()
4612 buffer_info->dma = dma_map_single(&pdev->dev, in e1000_alloc_rx_buffers()
5141 struct pci_dev *pdev = to_pci_dev(dev); in e1000_suspend()
5145 device_set_wakeup_enable(dev, wake); in e1000_suspend()
[all …]
/openbmc/linux/drivers/gpu/drm/radeon/
H A Dr600.c298 struct drm_device *dev = encoder->dev; in dce3_program_fmt() local
299 struct radeon_device *rdev = dev->dev_private; in dce3_program_fmt()
953 struct drm_device *dev = rdev->ddev; in r600_hpd_init() local
1020 struct drm_device *dev = rdev->ddev; in r600_hpd_fini() local
1395 dev_warn(rdev->dev, "limiting VRAM\n"); in r600_vram_gtt_location()
1404 dev_warn(rdev->dev, "limiting VRAM\n"); in r600_vram_gtt_location()
1411 dev_warn(rdev->dev, "limiting VRAM\n"); in r600_vram_gtt_location()
1825 dev_info(rdev->dev, "GPU pci config reset\n"); in r600_gpu_pci_config_reset()
3050 dev_err(rdev->dev, "failed UVD (%d) init.\n", r); in r600_uvd_init()
3073 dev_err(rdev->dev, "failed UVD resume (%d).\n", r); in r600_uvd_start()
[all …]
/openbmc/linux/drivers/usb/host/
H A Dxhci.c1724 urb, urb->dev->devpath, in xhci_urb_dequeue()
2010 dev_warn(&udev->dev, in xhci_configure_endpoint_result()
2017 dev_warn(&udev->dev, in xhci_configure_endpoint_result()
2030 dev_warn(&udev->dev, in xhci_configure_endpoint_result()
2060 dev_warn(&udev->dev, in xhci_evaluate_context_result()
2065 dev_warn(&udev->dev, in xhci_evaluate_context_result()
2070 dev_warn(&udev->dev, in xhci_evaluate_context_result()
2075 dev_warn(&udev->dev, in xhci_evaluate_context_result()
4161 dev_warn(&udev->dev, in xhci_setup_device()
4838 if (intf->dev.driver) { in xhci_calculate_lpm_timeout()
[all …]
/openbmc/linux/drivers/net/ethernet/cavium/thunder/
H A Dnicvf_main.c575 dma_unmap_page_attrs(&nic->pdev->dev, dma_addr, in nicvf_xdp_rx()
606 dma_unmap_page_attrs(&nic->pdev->dev, dma_addr, in nicvf_xdp_rx()
960 struct net_device *netdev = napi->dev; in nicvf_poll()
1740 struct nicvf *nic = netdev_priv(dev); in nicvf_tx_timeout()
1834 struct net_device *dev = nic->netdev; in nicvf_xdp_setup() local
1843 if (prog && dev->mtu > MAX_XDP_MTU) { in nicvf_xdp_setup()
1845 dev->mtu); in nicvf_xdp_setup()
1857 netdev_warn(dev, in nicvf_xdp_setup()
2096 struct device *dev = &pdev->dev; in nicvf_probe() local
2145 SET_NETDEV_DEV(netdev, &pdev->dev); in nicvf_probe()
[all …]
/openbmc/linux/arch/sh/kernel/cpu/sh4a/
H A Dsetup-shx3.c46 .dev = {
69 .dev = {
92 .dev = {
111 .dev = {
132 .dev = {
/openbmc/linux/drivers/power/supply/
H A Dda9052-battery.c593 bat = devm_kzalloc(&pdev->dev, sizeof(struct da9052_battery), in da9052_bat_probe()
600 bat->da9052 = dev_get_drvdata(pdev->dev.parent); in da9052_bat_probe()
606 pdata = bat->da9052->dev->platform_data; in da9052_bat_probe()
618 dev_err(bat->da9052->dev, in da9052_bat_probe()
625 bat->psy = power_supply_register(&pdev->dev, &psy_desc, &psy_cfg); in da9052_bat_probe()
/openbmc/linux/drivers/net/ethernet/intel/fm10k/
H A Dfm10k.h106 struct device *dev; /* device for DMA mapping */ member
509 int fm10k_setup_tc(struct net_device *dev, u8 tc);
520 void fm10k_set_ethtool_ops(struct net_device *dev);
561 void fm10k_dcbnl_set_ops(struct net_device *dev);
563 static inline void fm10k_dcbnl_set_ops(struct net_device *dev) {} in fm10k_dcbnl_set_ops() argument
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/syslog-ng/files/
H A Dsyslog-ng.conf.sysvinit24 source s_src { unix-dgram("/dev/log"); internal();
72 destination d_console_all { file("/dev/tty10"); };
74 # The named pipe /dev/xconsole is for the nsole' utility. To use it,
77 # $ xconsole -file /dev/xconsole [...]
79 destination d_xconsole { pipe("/dev/xconsole"); };
/openbmc/openbmc/meta-arm/meta-arm-bsp/recipes-security/optee/files/optee-os/n1sdp/
H A D0001-plat-n1sdp-add-N1SDP-platform-support.patch30 --- /dev/null
77 --- /dev/null
136 --- /dev/null
174 --- /dev/null
229 --- /dev/null
/openbmc/qemu/hw/ufs/
H A Dlu.c380 static void ufs_lu_realize(DeviceState *dev, Error **errp) in ufs_lu_realize() argument
382 UfsLu *lu = DO_UPCAST(UfsLu, qdev, dev); in ufs_lu_realize()
383 BusState *s = qdev_get_parent_bus(dev); in ufs_lu_realize()
413 static void ufs_lu_unrealize(DeviceState *dev) in ufs_lu_unrealize() argument
415 UfsLu *lu = DO_UPCAST(UfsLu, qdev, dev); in ufs_lu_unrealize()

1...<<731732733734735736737738739740>>...1072