/kernel/linux/linux-6.6/drivers/dma/ |
H A D | st_fdma.c | 84 nbytes = fchan->fdesc->node[0].desc->nbytes; in st_fdma_xfer_desc() 86 ch_cmd = fchan->fdesc->node[0].pdesc | FDMA_CH_CMD_STA_START; in st_fdma_xfer_desc() 144 list_del(&fchan->fdesc->vdesc.node); in st_fdma_irq_handler() 232 dma_pool_free(fdesc->fchan->node_pool, fdesc->node[i].desc, in st_fdma_free_desc() 233 fdesc->node[i].pdesc); in st_fdma_free_desc() 243 fdesc = kzalloc(struct_size(fdesc, node, sg_len), GFP_NOWAIT); in st_fdma_alloc_desc() 250 fdesc->node[i].desc = dma_pool_alloc(fchan->node_pool, in st_fdma_alloc_desc() 251 GFP_NOWAIT, &fdesc->node[i].pdesc); in st_fdma_alloc_desc() 252 if (!fdesc->node[i].desc) in st_fdma_alloc_desc() 259 dma_pool_free(fchan->node_pool, fdesc->node[ in st_fdma_alloc_desc() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/mediatek/ |
H A D | mtk_drm_drv.c | 357 struct device_node *node; in mtk_drm_get_all_drm_priv() local 362 for_each_child_of_node(phandle->parent, node) { in mtk_drm_get_all_drm_priv() 365 of_id = of_match_node(mtk_drm_of_ids, node); in mtk_drm_get_all_drm_priv() 369 pdev = of_find_device_by_node(node); in mtk_drm_get_all_drm_priv() 781 struct device_node *node; in mtk_drm_probe() local 822 for_each_child_of_node(phandle->parent, node) { in mtk_drm_probe() 827 of_id = of_match_node(mtk_ddp_comp_dt_ids, node); in mtk_drm_probe() 831 if (!of_device_is_available(node)) { in mtk_drm_probe() 833 node); in mtk_drm_probe() 842 id = of_alias_get_id(node, "mute in mtk_drm_probe() [all...] |
/kernel/linux/linux-5.10/drivers/clk/mediatek/ |
H A D | clk-mt8516.c | 677 static void __init mtk_topckgen_init(struct device_node *node) in mtk_topckgen_init() argument 683 base = of_iomap(node, 0); in mtk_topckgen_init() 693 mtk_clk_register_gates(node, top_clks, ARRAY_SIZE(top_clks), clk_data); in mtk_topckgen_init() 701 r = of_clk_add_provider(node, of_clk_src_onecell_get, clk_data); in mtk_topckgen_init() 708 static void __init mtk_infracfg_init(struct device_node *node) in mtk_infracfg_init() argument 714 base = of_iomap(node, 0); in mtk_infracfg_init() 725 r = of_clk_add_provider(node, of_clk_src_onecell_get, clk_data); in mtk_infracfg_init() 787 static void __init mtk_apmixedsys_init(struct device_node *node) in mtk_apmixedsys_init() argument 793 base = of_iomap(node, 0); in mtk_apmixedsys_init() 801 mtk_clk_register_plls(node, pll in mtk_apmixedsys_init() [all...] |
/kernel/linux/linux-5.10/drivers/android/ |
H A D | binder_trace.h | 140 TP_PROTO(struct binder_transaction *t, struct binder_node *node, 142 TP_ARGS(t, node, rdata), 153 __entry->node_debug_id = node->debug_id; 154 __entry->node_ptr = node->ptr; 158 TP_printk("transaction=%d node=%d src_ptr=0x%016llx ==> dest_ref=%d dest_desc=%d", 165 TP_PROTO(struct binder_transaction *t, struct binder_node *node, 167 TP_ARGS(t, node, rdata), 180 __entry->node_debug_id = node->debug_id; 181 __entry->node_ptr = node->ptr; 183 TP_printk("transaction=%d node [all...] |
/kernel/linux/linux-5.10/arch/powerpc/platforms/powermac/ |
H A D | bootx_init.c | 90 unsigned long node, in bootx_early_getprop() 93 struct bootx_dt_node *np = (struct bootx_dt_node *)(base + node); in bootx_early_getprop() 217 unsigned long node, in bootx_scan_dt_build_strings() 220 struct bootx_dt_node *np = (struct bootx_dt_node *)(base + node); in bootx_scan_dt_build_strings() 240 bootx_node_chosen = node; in bootx_scan_dt_build_strings() 242 if (node == bootx_info->dispDeviceRegEntryOffset) { in bootx_scan_dt_build_strings() 275 unsigned long node, in bootx_scan_dt_build_struct() 278 struct bootx_dt_node *np = (struct bootx_dt_node *)(base + node); in bootx_scan_dt_build_struct() 285 /* get the node's full name */ in bootx_scan_dt_build_struct() 318 if (node in bootx_scan_dt_build_struct() 89 bootx_early_getprop(unsigned long base, unsigned long node, char *prop) bootx_early_getprop() argument 216 bootx_scan_dt_build_strings(unsigned long base, unsigned long node, unsigned long *mem_end) bootx_scan_dt_build_strings() argument 274 bootx_scan_dt_build_struct(unsigned long base, unsigned long node, unsigned long *mem_end) bootx_scan_dt_build_struct() argument [all...] |
/kernel/linux/linux-5.10/arch/powerpc/platforms/chrp/ |
H A D | setup.c | 254 * the the built-in serial node. Instead, a /failsafe node is created. 258 struct device_node *node; in chrp_init() local 266 node = of_find_node_by_path("/"); in chrp_init() 267 if (!node) in chrp_init() 269 property = of_get_property(node, "model", NULL); in chrp_init() 278 of_node_put(node); in chrp_init() 279 node = of_find_node_by_path(property); in chrp_init() 280 if (!node) in chrp_init() 282 if (!of_node_is_type(node, "seria in chrp_init() [all...] |
/kernel/linux/linux-5.10/block/ |
H A D | blk-mq-tag.c | 468 bool round_robin, int node) in bt_alloc() 471 node); in bt_alloc() 475 int node, int alloc_policy) in blk_mq_init_bitmap_tags() 480 if (bt_alloc(&tags->__bitmap_tags, depth, round_robin, node)) in blk_mq_init_bitmap_tags() 483 round_robin, node)) in blk_mq_init_bitmap_tags() 500 int i, node = set->numa_node; in blk_mq_init_shared_sbitmap() local 502 if (bt_alloc(&set->__bitmap_tags, depth, round_robin, node)) in blk_mq_init_shared_sbitmap() 505 round_robin, node)) in blk_mq_init_shared_sbitmap() 529 int node, unsigned int flags) in blk_mq_init_tags() 539 tags = kzalloc_node(sizeof(*tags), GFP_KERNEL, node); in blk_mq_init_tags() 467 bt_alloc(struct sbitmap_queue *bt, unsigned int depth, bool round_robin, int node) bt_alloc() argument 474 blk_mq_init_bitmap_tags(struct blk_mq_tags *tags, int node, int alloc_policy) blk_mq_init_bitmap_tags() argument 527 blk_mq_init_tags(unsigned int total_tags, unsigned int reserved_tags, int node, unsigned int flags) blk_mq_init_tags() argument [all...] |
/kernel/linux/linux-5.10/drivers/base/ |
H A D | component.c | 62 struct list_head node; member 72 struct list_head node; member 154 list_for_each_entry(m, &masters, node) in __master_find() 166 list_for_each_entry(c, &component_list, node) { in find_component() 273 list_for_each_entry(m, &masters, node) { in try_to_bring_up_masters() 442 list_del(&master->node); in free_master() 490 list_add(&master->node, &masters); in component_master_add_with_match() 683 list_add_tail(&component->node, &component_list); in __component_add() 689 list_del(&component->node); in __component_add() 762 list_for_each_entry(c, &component_list, node) in component_del() [all...] |
/kernel/linux/linux-5.10/drivers/clocksource/ |
H A D | timer-atmel-tcb.c | 375 static int __init tcb_clksrc_init(struct device_node *node) in tcb_clksrc_init() argument 391 tc.regs = of_iomap(node->parent, 0); in tcb_clksrc_init() 395 t0_clk = of_clk_get_by_name(node->parent, "t0_clk"); in tcb_clksrc_init() 399 tc.slow_clk = of_clk_get_by_name(node->parent, "slow_clk"); in tcb_clksrc_init() 404 tc.clk[1] = of_clk_get_by_name(node->parent, "t1_clk"); in tcb_clksrc_init() 407 tc.clk[2] = of_clk_get_by_name(node->parent, "t2_clk"); in tcb_clksrc_init() 411 tc.irq[2] = of_irq_get(node->parent, 2); in tcb_clksrc_init() 413 tc.irq[2] = of_irq_get(node->parent, 0); in tcb_clksrc_init() 418 match = of_match_node(atmel_tcb_of_match, node->parent); in tcb_clksrc_init() 451 clksrc.name = kbasename(node in tcb_clksrc_init() [all...] |
/kernel/linux/linux-5.10/drivers/bus/fsl-mc/ |
H A D | fsl-mc-allocator.c | 76 INIT_LIST_HEAD(&resource->node); in fsl_mc_resource_pool_add_device() 77 list_add_tail(&resource->node, &res_pool->free_list); in fsl_mc_resource_pool_add_device() 131 if (list_empty(&resource->node)) { in fsl_mc_resource_pool_remove_device() 139 list_del_init(&resource->node); in fsl_mc_resource_pool_remove_device() 197 struct fsl_mc_resource, node); in fsl_mc_resource_allocate() 215 list_del_init(&resource->node); in fsl_mc_resource_allocate() 240 if (!list_empty(&resource->node)) in fsl_mc_resource_free() 243 list_add_tail(&resource->node, &res_pool->free_list); in fsl_mc_resource_free() 391 INIT_LIST_HEAD(&mc_dev_irq->resource.node); in fsl_mc_populate_irq_pool() 392 list_add_tail(&mc_dev_irq->resource.node, in fsl_mc_populate_irq_pool() [all...] |
/kernel/linux/linux-6.6/arch/powerpc/platforms/powermac/ |
H A D | bootx_init.c | 91 unsigned long node, in bootx_early_getprop() 94 struct bootx_dt_node *np = (struct bootx_dt_node *)(base + node); in bootx_early_getprop() 218 unsigned long node, in bootx_scan_dt_build_strings() 221 struct bootx_dt_node *np = (struct bootx_dt_node *)(base + node); in bootx_scan_dt_build_strings() 241 bootx_node_chosen = node; in bootx_scan_dt_build_strings() 243 if (node == bootx_info->dispDeviceRegEntryOffset) { in bootx_scan_dt_build_strings() 276 unsigned long node, in bootx_scan_dt_build_struct() 279 struct bootx_dt_node *np = (struct bootx_dt_node *)(base + node); in bootx_scan_dt_build_struct() 286 /* get the node's full name */ in bootx_scan_dt_build_struct() 319 if (node in bootx_scan_dt_build_struct() 90 bootx_early_getprop(unsigned long base, unsigned long node, char *prop) bootx_early_getprop() argument 217 bootx_scan_dt_build_strings(unsigned long base, unsigned long node, unsigned long *mem_end) bootx_scan_dt_build_strings() argument 275 bootx_scan_dt_build_struct(unsigned long base, unsigned long node, unsigned long *mem_end) bootx_scan_dt_build_struct() argument [all...] |
/kernel/linux/linux-6.6/arch/powerpc/platforms/chrp/ |
H A D | setup.c | 256 * to the built-in serial node. Instead, a /failsafe node is created. 260 struct device_node *node; in chrp_init() local 268 node = of_find_node_by_path("/"); in chrp_init() 269 if (!node) in chrp_init() 271 property = of_get_property(node, "model", NULL); in chrp_init() 280 of_node_put(node); in chrp_init() 281 node = of_find_node_by_path(property); in chrp_init() 282 if (!node) in chrp_init() 284 if (!of_node_is_type(node, "seria in chrp_init() [all...] |
/kernel/linux/linux-5.10/drivers/uio/ |
H A D | uio_fsl_elbc_gpcm.c | 250 static int get_of_data(struct fsl_elbc_gpcm *priv, struct device_node *node, in get_of_data() argument 259 ret = of_address_to_resource(node, 0, res); in get_of_data() 266 ret = of_property_read_u32(node, "reg", &priv->bank); in get_of_data() 273 ret = of_property_read_u32(node, "elbc-gpcm-br", reg_br); in get_of_data() 280 ret = of_property_read_u32(node, "elbc-gpcm-or", reg_or); in get_of_data() 288 if (of_property_read_string(node, "device_type", &type) == 0) in get_of_data() 292 *irq = irq_of_parse_and_map(node, 0); in get_of_data() 300 if (of_property_read_string(node, "uio_name", &dt_name) != 0) in get_of_data() 311 struct device_node *node = pdev->dev.of_node; in uio_fsl_elbc_gpcm_probe() local 334 ret = get_of_data(priv, node, in uio_fsl_elbc_gpcm_probe() [all...] |
/kernel/linux/linux-5.10/fs/ |
H A D | mbcache.c | 157 struct hlist_bl_node *node; in __entry_find() local 163 node = entry->e_hash_list.next; in __entry_find() 165 node = hlist_bl_first(head); in __entry_find() 166 while (node) { in __entry_find() 167 entry = hlist_bl_entry(node, struct mb_cache_entry, in __entry_find() 173 node = node->next; in __entry_find() 225 struct hlist_bl_node *node; in mb_cache_entry_get() local 231 hlist_bl_for_each_entry(entry, node, head, e_hash_list) { in mb_cache_entry_get() 252 struct hlist_bl_node *node; in mb_cache_entry_delete() local [all...] |
/kernel/linux/linux-5.10/kernel/power/ |
H A D | qos.c | 84 * @node: Target list entry. 89 * @action involving the @node list entry and @value on it. 91 * The recognized values of @action are PM_QOS_ADD_REQ (store @value in @node 92 * and add it to the list), PM_QOS_UPDATE_REQ (remove @node from the list, store 94 * @node from the list, ignore @value). 98 int pm_qos_update_target(struct pm_qos_constraints *c, struct plist_node *node, in pm_qos_update_target() argument 114 plist_del(node, &c->list); in pm_qos_update_target() 121 plist_del(node, &c->list); in pm_qos_update_target() 124 plist_node_init(node, new_value); in pm_qos_update_target() 125 plist_add(node, in pm_qos_update_target() [all...] |
/kernel/linux/linux-6.6/drivers/android/ |
H A D | binder_trace.h | 169 TP_PROTO(struct binder_transaction *t, struct binder_node *node, 171 TP_ARGS(t, node, rdata), 182 __entry->node_debug_id = node->debug_id; 183 __entry->node_ptr = node->ptr; 187 TP_printk("transaction=%d node=%d src_ptr=0x%016llx ==> dest_ref=%d dest_desc=%d", 194 TP_PROTO(struct binder_transaction *t, struct binder_node *node, 196 TP_ARGS(t, node, rdata), 209 __entry->node_debug_id = node->debug_id; 210 __entry->node_ptr = node->ptr; 212 TP_printk("transaction=%d node [all...] |
/kernel/linux/linux-6.6/drivers/uio/ |
H A D | uio_fsl_elbc_gpcm.c | 250 static int get_of_data(struct fsl_elbc_gpcm *priv, struct device_node *node, in get_of_data() argument 259 ret = of_address_to_resource(node, 0, res); in get_of_data() 266 ret = of_property_read_u32(node, "reg", &priv->bank); in get_of_data() 273 ret = of_property_read_u32(node, "elbc-gpcm-br", reg_br); in get_of_data() 280 ret = of_property_read_u32(node, "elbc-gpcm-or", reg_or); in get_of_data() 288 if (of_property_read_string(node, "device_type", &type) == 0) in get_of_data() 292 *irq = irq_of_parse_and_map(node, 0); in get_of_data() 300 if (of_property_read_string(node, "uio_name", &dt_name) != 0) in get_of_data() 311 struct device_node *node = pdev->dev.of_node; in uio_fsl_elbc_gpcm_probe() local 334 ret = get_of_data(priv, node, in uio_fsl_elbc_gpcm_probe() [all...] |
/kernel/linux/linux-6.6/drivers/video/backlight/ |
H A D | pwm_bl.c | 232 struct device_node *node = dev->of_node; in pwm_backlight_parse_dt() local 241 if (!node) in pwm_backlight_parse_dt() 250 of_property_read_u32(node, "post-pwm-on-delay-ms", in pwm_backlight_parse_dt() 252 of_property_read_u32(node, "pwm-off-delay-ms", &data->pwm_off_delay); in pwm_backlight_parse_dt() 258 prop = of_find_property(node, "brightness-levels", &length); in pwm_backlight_parse_dt() 271 ret = of_property_read_u32_array(node, "brightness-levels", in pwm_backlight_parse_dt() 277 ret = of_property_read_u32(node, "default-brightness-level", in pwm_backlight_parse_dt() 289 of_property_read_u32(node, "num-interpolated-steps", in pwm_backlight_parse_dt() 410 struct device_node *node = pb->dev->of_node; in pwm_backlight_initial_power_state() local 438 /* Not booted with device tree or no phandle link to the node */ in pwm_backlight_initial_power_state() [all...] |
/kernel/linux/linux-6.6/drivers/bus/fsl-mc/ |
H A D | fsl-mc-allocator.c | 76 INIT_LIST_HEAD(&resource->node); in fsl_mc_resource_pool_add_device() 77 list_add_tail(&resource->node, &res_pool->free_list); in fsl_mc_resource_pool_add_device() 137 if (list_empty(&resource->node)) { in fsl_mc_resource_pool_remove_device() 145 list_del_init(&resource->node); in fsl_mc_resource_pool_remove_device() 203 struct fsl_mc_resource, node); in fsl_mc_resource_allocate() 221 list_del_init(&resource->node); in fsl_mc_resource_allocate() 246 if (!list_empty(&resource->node)) in fsl_mc_resource_free() 249 list_add_tail(&resource->node, &res_pool->free_list); in fsl_mc_resource_free() 398 INIT_LIST_HEAD(&mc_dev_irq->resource.node); in fsl_mc_populate_irq_pool() 399 list_add_tail(&mc_dev_irq->resource.node, in fsl_mc_populate_irq_pool() [all...] |
/kernel/linux/linux-6.6/drivers/clocksource/ |
H A D | timer-atmel-tcb.c | 375 static int __init tcb_clksrc_init(struct device_node *node) in tcb_clksrc_init() argument 391 tc.regs = of_iomap(node->parent, 0); in tcb_clksrc_init() 395 t0_clk = of_clk_get_by_name(node->parent, "t0_clk"); in tcb_clksrc_init() 399 tc.slow_clk = of_clk_get_by_name(node->parent, "slow_clk"); in tcb_clksrc_init() 404 tc.clk[1] = of_clk_get_by_name(node->parent, "t1_clk"); in tcb_clksrc_init() 407 tc.clk[2] = of_clk_get_by_name(node->parent, "t2_clk"); in tcb_clksrc_init() 411 tc.irq[2] = of_irq_get(node->parent, 2); in tcb_clksrc_init() 413 tc.irq[2] = of_irq_get(node->parent, 0); in tcb_clksrc_init() 418 match = of_match_node(atmel_tcb_of_match, node->parent); in tcb_clksrc_init() 451 clksrc.name = kbasename(node in tcb_clksrc_init() [all...] |
/kernel/linux/linux-6.6/kernel/power/ |
H A D | qos.c | 84 * @node: Target list entry. 89 * @action involving the @node list entry and @value on it. 91 * The recognized values of @action are PM_QOS_ADD_REQ (store @value in @node 92 * and add it to the list), PM_QOS_UPDATE_REQ (remove @node from the list, store 94 * @node from the list, ignore @value). 98 int pm_qos_update_target(struct pm_qos_constraints *c, struct plist_node *node, in pm_qos_update_target() argument 114 plist_del(node, &c->list); in pm_qos_update_target() 121 plist_del(node, &c->list); in pm_qos_update_target() 124 plist_node_init(node, new_value); in pm_qos_update_target() 125 plist_add(node, in pm_qos_update_target() [all...] |
/kernel/linux/linux-6.6/net/tipc/ |
H A D | name_distr.c | 63 * @dest: destination node 84 * tipc_named_publish - tell other nodes about a new publication by this node 114 * tipc_named_withdraw - tell other nodes about a withdrawn publication by this node 143 * named_distribute - prepare name info for bulk distribution to another node 146 * @dnode: node to be updated 201 * tipc_named_node_up - tell specified node about all publications by this node 203 * @dnode: destination node 204 * @capabilities: peer node's capabilities 227 * tipc_publ_purge - remove publication associated with a failed node 279 tipc_update_nametbl(struct net *net, struct distr_item *i, u32 node, u32 dtype) tipc_update_nametbl() argument 371 u32 count, node; tipc_named_rcv() local [all...] |
/kernel/linux/linux-5.10/drivers/dma/sh/ |
H A D | rcar-dmac.c | 29 * @node: entry in the parent's chunks list 35 struct list_head node; member 61 * @node: entry in the channel's descriptors lists 78 struct list_head node; member 98 * @node: entry in the channel's pages list 103 struct list_head node; member 359 struct rcar_dmac_xfer_chunk, node); in rcar_dmac_chan_start_xfer() 481 list_add_tail(&desc->node, &chan->desc.pending); in rcar_dmac_tx_submit() 483 struct rcar_dmac_xfer_chunk, node); in rcar_dmac_tx_submit() 517 list_add_tail(&desc->node, in rcar_dmac_desc_alloc() [all...] |
/kernel/linux/linux-6.6/drivers/dma/sh/ |
H A D | rcar-dmac.c | 29 * @node: entry in the parent's chunks list 35 struct list_head node; member 61 * @node: entry in the channel's descriptors lists 78 struct list_head node; member 98 * @node: entry in the channel's pages list 103 struct list_head node; member 390 struct rcar_dmac_xfer_chunk, node); in rcar_dmac_chan_start_xfer() 512 list_add_tail(&desc->node, &chan->desc.pending); in rcar_dmac_tx_submit() 514 struct rcar_dmac_xfer_chunk, node); in rcar_dmac_tx_submit() 548 list_add_tail(&desc->node, in rcar_dmac_desc_alloc() [all...] |
/kernel/linux/linux-5.10/arch/arm/mach-omap2/ |
H A D | pm44xx.c | 34 struct list_head node; member 59 list_for_each_entry(pwrst, &pwrst_list, node) { in omap4_pm_suspend() 65 list_for_each_entry(pwrst, &pwrst_list, node) { in omap4_pm_suspend() 82 list_for_each_entry(pwrst, &pwrst_list, node) { in omap4_pm_suspend() 145 list_add(&pwrst->node, &pwrst_list); in pwrdms_setup()
|