/device/qemu/drivers/uart/ |
H A D | uart.c | 309 static int32_t UartGetConfigFromHcs(struct UartPl011Port *port, const struct DeviceResourceNode *node) in UartGetConfigFromHcs() argument 318 if (iface->GetUint32(node, "num", &udd->num, 0) != HDF_SUCCESS) { in UartGetConfigFromHcs() 322 if (iface->GetUint32(node, "baudrate", &udd->baudrate, 0) != HDF_SUCCESS) { in UartGetConfigFromHcs() 326 if (iface->GetUint32(node, "fifoRxEn", &tmp, 0) != HDF_SUCCESS) { in UartGetConfigFromHcs() 331 if (iface->GetUint32(node, "fifoTxEn", &tmp, 0) != HDF_SUCCESS) { in UartGetConfigFromHcs() 336 if (iface->GetUint32(node, "flags", &udd->flags, 0) != HDF_SUCCESS) { in UartGetConfigFromHcs() 340 if (iface->GetUint32(node, "regPbase", ®Pbase, 0) != HDF_SUCCESS) { in UartGetConfigFromHcs() 344 if (iface->GetUint32(node, "iomemCount", &iomemCount, 0) != HDF_SUCCESS) { in UartGetConfigFromHcs() 349 if (iface->GetUint32(node, "interrupt", &port->irqNum, 0) != HDF_SUCCESS) { in UartGetConfigFromHcs()
|
/device/soc/hisilicon/hi3751v350/sdk_linux/source/common/drv/osal/ |
H A D | osal_proc.c | 229 osal_proc_entry *node = NULL; in osal_proc_find_node() local 231 osal_list_for_each_entry(node, list, node) { in osal_proc_find_node() 232 if (osal_strncmp(node->name, strlen(node->name), name, strlen(name)) == 0) { in osal_proc_find_node() 233 return node; in osal_proc_find_node() 287 osal_list_add_tail(&(dir_proc->node), list); in osal_proc_create_dir() 346 osal_list_add_tail(&(sentry->node), list); in osal_proc_create_entry() 369 osal_list_del(&(dir_proc->node)); in osal_proc_destory_node()
|
/device/soc/rockchip/common/vendor/drivers/media/platform/rockchip/cif/ |
H A D | cif-luma.c | 428 struct rkcif_luma_node *node = &luma_vdev->vnode; in rkcif_register_luma_vdev() local 429 struct video_device *vdev = &node->vdev; in rkcif_register_luma_vdev() 438 mutex_init(&node->vlock); in rkcif_register_luma_vdev() 443 vdev->lock = &node->vlock; in rkcif_register_luma_vdev() 445 vdev->queue = &node->buf_queue; in rkcif_register_luma_vdev() 452 node->pad.flags = MEDIA_PAD_FL_SINK; in rkcif_register_luma_vdev() 453 ret = media_entity_pads_init(&vdev->entity, 0, &node->pad); in rkcif_register_luma_vdev() 486 struct rkcif_luma_node *node = &luma_vdev->vnode; in rkcif_unregister_luma_vdev() local 487 struct video_device *vdev = &node->vdev; in rkcif_unregister_luma_vdev()
|
/device/soc/rockchip/rk3588/kernel/drivers/media/platform/rockchip/cif/ |
H A D | cif-luma.c | 448 struct rkcif_luma_node *node = &luma_vdev->vnode; in rkcif_register_luma_vdev() local 449 struct video_device *vdev = &node->vdev; in rkcif_register_luma_vdev() 458 mutex_init(&node->vlock); in rkcif_register_luma_vdev() 463 vdev->lock = &node->vlock; in rkcif_register_luma_vdev() 465 vdev->queue = &node->buf_queue; in rkcif_register_luma_vdev() 472 node->pad.flags = MEDIA_PAD_FL_SINK; in rkcif_register_luma_vdev() 473 ret = media_entity_pads_init(&vdev->entity, 0, &node->pad); in rkcif_register_luma_vdev() 512 struct rkcif_luma_node *node = &luma_vdev->vnode; in rkcif_unregister_luma_vdev() local 513 struct video_device *vdev = &node->vdev; in rkcif_unregister_luma_vdev()
|
/device/soc/rockchip/rk3588/kernel/drivers/video/rockchip/rga3/ |
H A D | rga_debugger.c | 261 struct rga_debugger_node *node = priv->private; in rga_debugger_write() local 263 if (node->info_ent->write) in rga_debugger_write() 264 return node->info_ent->write(file, ubuf, len, offp); in rga_debugger_write() 272 struct rga_debugger_node *node = inode->i_private; in rga_debugfs_open() local 274 return single_open(file, node->info_ent->show, node); in rga_debugfs_open() 303 /* Delete all debugfs node in this directory */ in rga_debugfs_remove_files() 323 pr_err("Cannot alloc node path /sys/kernel/debug/%pd/%s\n", in rga_debugfs_create_files() 402 struct rga_debugger_node *node = PDE_DATA(inode); in rga_procfs_open() local 404 return single_open(file, node in rga_procfs_open() [all...] |
/kernel/linux/common_modules/tzdriver/core/ |
H A D | reserved_mempool.c | 47 struct list_head node;
member 249 list_for_each_entry(pos, head, node)
in show_res_mem_info() 350 list_add_tail(&res_page->node, &area->page_list);
in zone_init() 414 pos = list_first_entry(head, struct reserved_page_t, node);
in reserved_mem_alloc() 423 list_add_tail(&new_page->node, &g_res_zone->free_areas[j].page_list);
in reserved_mem_alloc() 425 list_del(&pos->node);
in reserved_mem_alloc() 460 list_del(&buddy->node);
in buddy_merge() 472 list_add_tail(&self->node,
in buddy_merge() 520 list_add_tail(&max_order_page->node,
in reserved_mem_free()
|
/kernel/linux/linux-5.10/arch/mips/loongson64/ |
H A D | smp.c | 503 register long cpuid, core, node, count; in loongson3_type1_play_dead() local 540 " andi %[node], %[cpuid], 0xc \n" in loongson3_type1_play_dead() 541 " dsll %[node], 42 \n" /* get node id */ in loongson3_type1_play_dead() 542 " or %[base], %[base], %[node] \n" in loongson3_type1_play_dead() 555 : [core] "=&r" (core), [node] "=&r" (node), in loongson3_type1_play_dead() 565 register long cpuid, core, node, count; in loongson3_type2_play_dead() local 602 " andi %[node], %[cpuid], 0xc \n" in loongson3_type2_play_dead() 603 " dsll %[node], 4 in loongson3_type2_play_dead() 629 register long cpuid, core, node, count; loongson3_type3_play_dead() local [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/dpaa2/ |
H A D | dpaa2-mac.c | 61 static int dpaa2_mac_get_if_mode(struct device_node *node, in dpaa2_mac_get_if_mode() argument 67 err = of_get_phy_mode(node, &if_mode); in dpaa2_mac_get_if_mode() 261 struct device_node *node; in dpaa2_pcs_create() local 263 node = of_parse_phandle(dpmac_node, "pcs-handle", 0); in dpaa2_pcs_create() 264 if (!node) { in dpaa2_pcs_create() 266 netdev_warn(mac->net_dev, "pcs-handle node not found\n"); in dpaa2_pcs_create() 270 if (!of_device_is_available(node)) { in dpaa2_pcs_create() 271 netdev_err(mac->net_dev, "pcs-handle node not available\n"); in dpaa2_pcs_create() 272 of_node_put(node); in dpaa2_pcs_create() 276 mdiodev = of_mdio_find_device(node); in dpaa2_pcs_create() [all...] |
/kernel/linux/linux-5.10/drivers/soc/fsl/dpio/ |
H A D | dpio-service.c | 24 struct list_head node; member 78 d = list_entry(dpio_list.next, struct dpaa2_io, node); in service_select() 79 list_del(&d->node); in service_select() 80 list_add_tail(&d->node, &dpio_list); in service_select() 138 INIT_LIST_HEAD(&obj->node); in dpaa2_io_create() 151 list_add_tail(&obj->node, &dpio_list); in dpaa2_io_create() 174 list_del(&d->node); in dpaa2_io_down() 277 list_add(&ctx->node, &d->notifications); in dpaa2_io_service_register() 309 list_del(&ctx->node); in dpaa2_io_service_deregister()
|
/kernel/linux/linux-5.10/fs/xfs/ |
H A D | xfs_attr_list.c | 207 struct xfs_da_intnode *node; in xfs_attr_node_list_lookup() local 225 node = bp->b_addr; in xfs_attr_node_list_lookup() 226 magic = be16_to_cpu(node->hdr.info.magic); in xfs_attr_node_list_lookup() 233 node, sizeof(*node)); in xfs_attr_node_list_lookup() 237 xfs_da3_node_hdr_from_disk(mp, &nodehdr, node); in xfs_attr_node_list_lookup() 243 /* Check the level from the root node. */ in xfs_attr_node_list_lookup() 289 struct xfs_da_intnode *node; in xfs_attr_node_list() local 313 node = bp->b_addr; in xfs_attr_node_list() 314 switch (be16_to_cpu(node in xfs_attr_node_list() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/tilcdc/ |
H A D | tilcdc_drv.c | 173 struct device_node *node = dev->of_node; in tilcdc_init() local 221 if (of_property_read_u32(node, "max-bandwidth", &priv->max_bandwidth)) in tilcdc_init() 226 if (of_property_read_u32(node, "max-width", &priv->max_width)) in tilcdc_init() 231 if (of_property_read_u32(node, "max-pixelclock", in tilcdc_init() 267 of_property_read_string(node, "blue-and-red-wiring", &str); in tilcdc_init() 402 struct drm_info_node *node = (struct drm_info_node *) m->private; in tilcdc_regs_show() local 403 struct drm_device *dev = node->minor->dev; in tilcdc_regs_show() 423 struct drm_info_node *node = (struct drm_info_node *) m->private; in tilcdc_mm_show() local 424 struct drm_device *dev = node->minor->dev; in tilcdc_mm_show()
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | maple_tree.h | 44 * The node->parent of the root node has bit 0 set and the rest of the pointer 52 * bit in the node type. This is possible by using bit 1 to indicate if bit 2 93 * Non-leaf nodes store the type of the node pointed to (enum maple_type in bits 118 * each node. 121 * in this node, also called gaps. This optimises the tree for allocating a 208 * stored in a node. Bits 3-6 are used to store enum maple_type. 273 * 4. Leaf Range nodes All nodes consist of a number of node slots, 352 * If state->node has bit 0 set then it references a tree location which is not 353 * a node (e 384 struct maple_enode *node; /* The node containing this entry */ global() member 395 struct maple_node *node; /* Decoded mas->node */ global() member [all...] |
/kernel/linux/linux-6.6/fs/xfs/ |
H A D | xfs_attr_list.c | 207 struct xfs_da_intnode *node; in xfs_attr_node_list_lookup() local 225 node = bp->b_addr; in xfs_attr_node_list_lookup() 226 magic = be16_to_cpu(node->hdr.info.magic); in xfs_attr_node_list_lookup() 233 node, sizeof(*node)); in xfs_attr_node_list_lookup() 237 xfs_da3_node_hdr_from_disk(mp, &nodehdr, node); in xfs_attr_node_list_lookup() 243 /* Check the level from the root node. */ in xfs_attr_node_list_lookup() 289 struct xfs_da_intnode *node; in xfs_attr_node_list() local 313 node = bp->b_addr; in xfs_attr_node_list() 314 switch (be16_to_cpu(node in xfs_attr_node_list() [all...] |
/kernel/linux/linux-6.6/drivers/remoteproc/ |
H A D | remoteproc_coredump.c | 30 list_for_each_entry_safe(entry, tmp, &rproc->dump_segments, node) { in rproc_coredump_cleanup() 31 list_del(&entry->node); in rproc_coredump_cleanup() 59 list_add_tail(&segment->node, &rproc->dump_segments); in rproc_coredump_add_segment() 98 list_add_tail(&segment->node, &rproc->dump_segments); in rproc_coredump_add_custom_segment() 140 list_for_each_entry(segment, segments, node) { in rproc_coredump_find_segment() 258 list_for_each_entry(segment, &rproc->dump_segments, node) { in rproc_coredump() 294 list_for_each_entry(segment, &rproc->dump_segments, node) { in rproc_coredump() 381 list_for_each_entry(segment, &rproc->dump_segments, node) { in rproc_coredump_using_sections() 434 list_for_each_entry(segment, &rproc->dump_segments, node) { in rproc_coredump_using_sections()
|
/kernel/linux/linux-6.6/drivers/powercap/ |
H A D | arm_scmi_powercap.c | 31 struct list_head node; member 271 list_for_each_entry(spz, &pr->registered_zones[i], node) in scmi_powercap_unregister_all_zones() 304 list_del(&spz->node); in scmi_powercap_register_zone() 314 list_move(&spz->node, &pr->registered_zones[spz->height]); in scmi_powercap_register_zone() 315 dev_dbg(spz->dev, "Registered node %s - parent %s - height:%d\n", in scmi_powercap_register_zone() 319 list_del(&spz->node); in scmi_powercap_register_zone() 322 "Error registering node:%s - parent:%s - h:%d - ret:%d\n", in scmi_powercap_register_zone() 378 struct scmi_powercap_zone, node); in scmi_zones_register() 407 node); in scmi_zones_register() 471 INIT_LIST_HEAD(&spz->node); in scmi_powercap_probe() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/tilcdc/ |
H A D | tilcdc_drv.c | 202 struct device_node *node = dev->of_node; in tilcdc_init() local 280 of_property_read_string(node, "blue-and-red-wiring", &str); in tilcdc_init() 303 if (of_property_read_u32(node, "max-bandwidth", &priv->max_bandwidth)) in tilcdc_init() 308 if (of_property_read_u32(node, "max-width", &priv->max_width)) { in tilcdc_init() 317 if (of_property_read_u32(node, "max-pixelclock", in tilcdc_init() 434 struct drm_info_node *node = (struct drm_info_node *) m->private; in tilcdc_regs_show() local 435 struct drm_device *dev = node->minor->dev; in tilcdc_regs_show() 455 struct drm_info_node *node = (struct drm_info_node *) m->private; in tilcdc_mm_show() local 456 struct drm_device *dev = node->minor->dev; in tilcdc_mm_show()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/vc4/ |
H A D | vc4_drv.c | 292 struct device_node *node; in vc4_drm_bind() local 305 node = of_find_matching_node_and_match(NULL, vc4_dma_range_matches, in vc4_drm_bind() 307 if (node) { in vc4_drm_bind() 308 ret = of_dma_configure(dev, node, true); in vc4_drm_bind() 309 of_node_put(node); in vc4_drm_bind() 344 node = of_find_compatible_node(NULL, NULL, "raspberrypi,bcm2835-firmware"); in vc4_drm_bind() 345 if (node) { in vc4_drm_bind() 346 firmware = rpi_firmware_get(node); in vc4_drm_bind() 347 of_node_put(node); in vc4_drm_bind()
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/ |
H A D | linked_list_fail.c | 80 CHECK(kptr, push_front, &f->head, &b->node); 81 CHECK(kptr, push_back, &f->head, &b->node); 143 CHECK(kptr_kptr, op, &f1->lock, &f2->head, &b->node); \ 149 CHECK(global_kptr, op, &glock, &f1->head, &b->node); \ 154 CHECK(map_kptr, op, &v->lock, &f2->head, &b->node); \ 159 CHECK(inner_map_kptr, op, &iv->lock, &f2->head, &b->node); \ 444 bpf_list_push_front(&ghead, &b->node); in incorrect_value_type() 489 bpf_list_push_front(&ghead, &f->node); in incorrect_node_off2() 556 bpf_list_push_front((void *)&f->head + 1, &b->node); in incorrect_head_off1()
|
/device/board/hisilicon/hispark_taurus/audio_drivers/soc/src/ |
H A D | hi3516_dai_adapter.c | 69 const struct DeviceResourceNode *node = device->property; in DaiGetServiceName() local 70 if (node == NULL) { in DaiGetServiceName() 71 AUDIO_DRIVER_LOG_ERR("drs node is nullptr."); in DaiGetServiceName() 80 int32_t ret = drsOps->GetString(node, "serviceName", &g_hi3516DaiData.drvDaiName, 0); in DaiGetServiceName()
|
/kernel/linux/linux-5.10/drivers/clk/mediatek/ |
H A D | clk-mt2712-bdp.c | 65 struct device_node *node = pdev->dev.of_node; in clk_mt2712_bdp_probe() local 69 mtk_clk_register_gates(node, bdp_clks, ARRAY_SIZE(bdp_clks), in clk_mt2712_bdp_probe() 72 r = of_clk_add_provider(node, of_clk_src_onecell_get, clk_data); in clk_mt2712_bdp_probe()
|
H A D | clk-mt2712-vdec.c | 57 struct device_node *node = pdev->dev.of_node; in clk_mt2712_vdec_probe() local 61 mtk_clk_register_gates(node, vdec_clks, ARRAY_SIZE(vdec_clks), in clk_mt2712_vdec_probe() 64 r = of_clk_add_provider(node, of_clk_src_onecell_get, clk_data); in clk_mt2712_vdec_probe()
|
H A D | clk-mt2701-vdec.c | 59 struct device_node *node = pdev->dev.of_node; in clk_mt2701_vdec_probe() local 63 mtk_clk_register_gates(node, vdec_clks, ARRAY_SIZE(vdec_clks), in clk_mt2701_vdec_probe() 66 r = of_clk_add_provider(node, of_clk_src_onecell_get, clk_data); in clk_mt2701_vdec_probe()
|
H A D | clk-mt6779-aud.c | 99 struct device_node *node = pdev->dev.of_node; in clk_mt6779_aud_probe() local 103 mtk_clk_register_gates(node, audio_clks, ARRAY_SIZE(audio_clks), in clk_mt6779_aud_probe() 106 return of_clk_add_provider(node, of_clk_src_onecell_get, clk_data); in clk_mt6779_aud_probe()
|
/kernel/linux/linux-5.10/arch/sparc/prom/ |
H A D | memory.c | 35 phandle node; in prom_meminit_v2() local 38 node = prom_searchsiblings(prom_getchild(prom_root_node), "memory"); in prom_meminit_v2() 39 size = prom_getproperty(node, "available", (char *) reg, sizeof(reg)); in prom_meminit_v2()
|
/kernel/linux/linux-5.10/drivers/ata/ |
H A D | ahci_octeon.c | 34 struct device_node *node = dev->of_node; in ahci_octeon_probe() local 62 if (!node) { in ahci_octeon_probe() 63 dev_err(dev, "no device node, failed to add octeon sata\n"); in ahci_octeon_probe() 67 ret = of_platform_populate(node, NULL, NULL, dev); in ahci_octeon_probe()
|