Home
last modified time | relevance | path

Searched refs:node_type (Results 1 – 25 of 76) sorted by relevance

1234

/openbmc/u-boot/drivers/usb/common/
H A Dfsl-dt-fixup.c36 int *node_offset, const char **node_type) in fdt_usb_get_node_type() argument
46 *node_type = compat_usb_fsl[i]; in fdt_usb_get_node_type()
60 const char *node_type = NULL; in fdt_fixup_usb_mode_phy_type() local
65 &node_offset, &node_type); in fdt_fixup_usb_mode_phy_type()
74 prop_mode, node_type, fdt_strerror(err)); in fdt_fixup_usb_mode_phy_type()
82 prop_type, node_type, fdt_strerror(err)); in fdt_fixup_usb_mode_phy_type()
93 const char *node_type = NULL; in fsl_fdt_fixup_usb_erratum() local
97 &node_offset, &node_type); in fsl_fdt_fixup_usb_erratum()
101 if (!strcmp(node_type, FSL_USB2_MPH) || !strcmp(node_type, FSL_USB2_DR)) in fsl_fdt_fixup_usb_erratum()
104 node_name = node_type; in fsl_fdt_fixup_usb_erratum()
[all …]
/openbmc/linux/drivers/pci/hotplug/
H A Drpadlpar_core.c77 static struct device_node *find_dlpar_node(char *drc_name, int *node_type) in find_dlpar_node() argument
83 *node_type = NODE_TYPE_SLOT; in find_dlpar_node()
89 *node_type = NODE_TYPE_PHB; in find_dlpar_node()
95 *node_type = NODE_TYPE_VIO; in find_dlpar_node()
288 int node_type; in dlpar_add_slot() local
295 dn = find_dlpar_node(drc_name, &node_type); in dlpar_add_slot()
301 switch (node_type) { in dlpar_add_slot()
423 int node_type; in dlpar_remove_slot() local
429 dn = find_dlpar_node(drc_name, &node_type); in dlpar_remove_slot()
435 switch (node_type) { in dlpar_remove_slot()
/openbmc/u-boot/lib/efi_loader/
H A Defi_device_path_utilities.c183 uint8_t node_type, uint8_t node_sub_type, uint16_t node_length) in create_device_node() argument
185 EFI_ENTRY("%u, %u, %u", node_type, node_sub_type, node_length); in create_device_node()
186 return EFI_EXIT(efi_dp_create_device_node(node_type, node_sub_type, in create_device_node()
/openbmc/linux/fs/ubifs/
H A Dlpt_commit.c991 static int make_node_dirty(struct ubifs_info *c, int node_type, int node_num, in make_node_dirty() argument
994 switch (node_type) { in make_node_dirty()
1012 static int get_lpt_node_len(const struct ubifs_info *c, int node_type) in get_lpt_node_len() argument
1014 switch (node_type) { in get_lpt_node_len()
1054 int pos = 0, node_type; in get_lpt_node_type() local
1056 node_type = ubifs_unpack_bits(c, &addr, &pos, UBIFS_LPT_TYPE_BITS); in get_lpt_node_type()
1058 return node_type; in get_lpt_node_type()
1072 int pos = 0, node_type, node_len; in is_a_node() local
1077 node_type = ubifs_unpack_bits(c, &addr, &pos, UBIFS_LPT_TYPE_BITS); in is_a_node()
1078 if (node_type == UBIFS_LPT_NOT_A_NODE) in is_a_node()
[all …]
H A Dscan.c77 dbg_ntype(ch->node_type), lnum, offs); in ubifs_scan_a_node()
82 if (ch->node_type == UBIFS_PAD_NODE) { in ubifs_scan_a_node()
193 snod->type = ch->node_type; in ubifs_add_snod()
198 switch (ch->node_type) { in ubifs_add_snod()
H A Dio.c264 type = ch->node_type; in ubifs_check_node()
339 ch->node_type = UBIFS_PAD_NODE; in ubifs_pad()
746 dbg_ntype(((struct ubifs_ch *)buf)->node_type), in ubifs_wbuf_write_nolock()
963 lnum, offs, dbg_ntype(((struct ubifs_ch *)buf)->node_type), len, in ubifs_write_node_hmac()
1056 if (type != ch->node_type) { in ubifs_read_node_wbuf()
1058 ch->node_type, type); in ubifs_read_node_wbuf()
1112 if (type != ch->node_type) { in ubifs_read_node()
1114 ch->node_type, type); in ubifs_read_node()
H A Djournal.c452 ino->ch.node_type = UBIFS_INO_NODE; in pack_inode()
590 dent->ch.node_type = UBIFS_DENT_NODE; in ubifs_jnl_update()
596 dent->ch.node_type = UBIFS_XENT_NODE; in ubifs_jnl_update()
757 data->ch.node_type = UBIFS_DATA_NODE; in ubifs_jnl_write_data()
1095 dent1->ch.node_type = UBIFS_DENT_NODE; in ubifs_jnl_xrename()
1111 dent2->ch.node_type = UBIFS_DENT_NODE; in ubifs_jnl_xrename()
1286 dent->ch.node_type = UBIFS_DENT_NODE; in ubifs_jnl_rename()
1301 dent2->ch.node_type = UBIFS_DENT_NODE; in ubifs_jnl_rename()
1585 trun->ch.node_type = UBIFS_TRUN_NODE; in ubifs_jnl_truncate()
1754 xent->ch.node_type = UBIFS_XENT_NODE; in ubifs_jnl_delete_xattr()
H A Dsb.c193 sup->ch.node_type = UBIFS_SB_NODE; in create_default_filesystem()
227 mst->ch.node_type = UBIFS_MST_NODE; in create_default_filesystem()
279 idx->ch.node_type = UBIFS_IDX_NODE; in create_default_filesystem()
293 ino->ch.node_type = UBIFS_INO_NODE; in create_default_filesystem()
320 cs->ch.node_type = UBIFS_CS_NODE; in create_default_filesystem()
H A Dlog.c229 ref->ch.node_type = UBIFS_REF_NODE; in ubifs_add_bud_to_log()
373 cs->ch.node_type = UBIFS_CS_NODE; in ubifs_log_start_commit()
403 ref->ch.node_type = UBIFS_REF_NODE; in ubifs_log_start_commit()
/openbmc/u-boot/fs/ubifs/
H A Dlpt_commit.c1034 static int make_node_dirty(struct ubifs_info *c, int node_type, int node_num, in make_node_dirty() argument
1037 switch (node_type) { in make_node_dirty()
1055 static int get_lpt_node_len(const struct ubifs_info *c, int node_type) in get_lpt_node_len() argument
1057 switch (node_type) { in get_lpt_node_len()
1097 int pos = 0, node_type; in get_lpt_node_type() local
1099 node_type = ubifs_unpack_bits(&addr, &pos, UBIFS_LPT_TYPE_BITS); in get_lpt_node_type()
1101 return node_type; in get_lpt_node_type()
1115 int pos = 0, node_type, node_len; in is_a_node() local
1120 node_type = ubifs_unpack_bits(&addr, &pos, UBIFS_LPT_TYPE_BITS); in is_a_node()
1121 if (node_type == UBIFS_LPT_NOT_A_NODE) in is_a_node()
[all …]
H A Dscan.c81 dbg_ntype(ch->node_type), lnum, offs); in ubifs_scan_a_node()
86 if (ch->node_type == UBIFS_PAD_NODE) { in ubifs_scan_a_node()
198 snod->type = ch->node_type; in ubifs_add_snod()
203 switch (ch->node_type) { in ubifs_add_snod()
H A Dio.c257 type = ch->node_type; in ubifs_check_node()
330 ch->node_type = UBIFS_PAD_NODE; in ubifs_pad()
687 dbg_ntype(((struct ubifs_ch *)buf)->node_type), in ubifs_wbuf_write_nolock()
870 lnum, offs, dbg_ntype(((struct ubifs_ch *)buf)->node_type), len, in ubifs_write_node()
941 if (type != ch->node_type) { in ubifs_read_node_wbuf()
943 ch->node_type, type); in ubifs_read_node_wbuf()
997 if (type != ch->node_type) { in ubifs_read_node()
999 ch->node_type, type); in ubifs_read_node()
H A Dsb.c164 sup->ch.node_type = UBIFS_SB_NODE; in create_default_filesystem()
206 mst->ch.node_type = UBIFS_MST_NODE; in create_default_filesystem()
272 idx->ch.node_type = UBIFS_IDX_NODE; in create_default_filesystem()
294 ino->ch.node_type = UBIFS_INO_NODE; in create_default_filesystem()
329 cs->ch.node_type = UBIFS_CS_NODE; in create_default_filesystem()
H A Dlog.c231 ref->ch.node_type = UBIFS_REF_NODE; in ubifs_add_bud_to_log()
367 cs->ch.node_type = UBIFS_CS_NODE; in ubifs_log_start_commit()
389 ref->ch.node_type = UBIFS_REF_NODE; in ubifs_log_start_commit()
/openbmc/linux/drivers/net/ethernet/apm/xgene/
H A Dxgene_enet_cle.c55 buf[j++] = SET_VAL(CLE_TYPE, kn->node_type); in xgene_cle_kn_to_hw()
77 buf[j++] = SET_VAL(CLE_DN_TYPE, dn->node_type) | in xgene_cle_dn_to_hw()
199 .node_type = EWDN,
235 .node_type = EWDN,
283 .node_type = EWDN,
368 .node_type = EWDN,
453 .node_type = EWDN,
539 .node_type = EWDN,
807 kn.node_type = KN; in xgene_enet_cle_init()
H A Dxgene_enet_cle.h211 u8 node_type; member
228 u8 node_type; member
/openbmc/linux/drivers/media/test-drivers/vivid/
H A Dvivid-core.c898 unsigned node_type, in vivid_detect_feature_set() argument
915 if (node_type & 0x20007) { in vivid_detect_feature_set()
937 if (node_type & 0x40300) { in vivid_detect_feature_set()
963 dev->has_vid_cap = node_type & 0x0001; in vivid_detect_feature_set()
967 dev->has_raw_vbi_cap = node_type & 0x0004; in vivid_detect_feature_set()
968 dev->has_sliced_vbi_cap = node_type & 0x0008; in vivid_detect_feature_set()
973 dev->has_meta_cap = node_type & 0x20000; in vivid_detect_feature_set()
990 dev->has_vid_out = node_type & 0x0100; in vivid_detect_feature_set()
994 dev->has_raw_vbi_out = node_type & 0x0400; in vivid_detect_feature_set()
995 dev->has_sliced_vbi_out = node_type & 0x0800; in vivid_detect_feature_set()
[all …]
/openbmc/linux/drivers/hid/amd-sfh-hid/
H A Damd_sfh_client.c75 u8 report_id, node_type; in amd_sfh_work() local
83 node_type = req_node->report_type; in amd_sfh_work()
88 if (node_type == HID_FEATURE_REPORT) { in amd_sfh_work()
98 } else if (node_type == HID_INPUT_REPORT) { in amd_sfh_work()
/openbmc/linux/drivers/hwtracing/stm/
H A Dcore.c375 const struct config_item_type *node_type; member
414 pe->node_type = get_policy_node_type(pdrv->policy_attr); in stm_register_protocol()
415 if (!pe->node_type) in stm_register_protocol()
443 if (pe->node_type) { in stm_unregister_protocol()
444 kfree(pe->node_type->ct_attrs); in stm_unregister_protocol()
445 kfree(pe->node_type); in stm_unregister_protocol()
468 const struct config_item_type **node_type) in stm_lookup_protocol() argument
477 *node_type = pe->node_type; in stm_lookup_protocol()
/openbmc/linux/kernel/bpf/
H A Dbpf_lru_list.c510 u8 node_type = READ_ONCE(node->type); in bpf_common_lru_push_free() local
513 if (WARN_ON_ONCE(node_type == BPF_LRU_LIST_T_FREE) || in bpf_common_lru_push_free()
514 WARN_ON_ONCE(node_type == BPF_LRU_LOCAL_LIST_T_FREE)) in bpf_common_lru_push_free()
517 if (node_type == BPF_LRU_LOCAL_LIST_T_PENDING) { in bpf_common_lru_push_free()
/openbmc/linux/net/rds/
H A Dib.c134 if (device->node_type != RDMA_NODE_IB_CA) in rds_ib_add_one()
479 cm_id->device->node_type != RDMA_NODE_IB_CA) in rds_ib_laddr_check()
484 cm_id->device ? cm_id->device->node_type : -1); in rds_ib_laddr_check()
/openbmc/linux/scripts/gdb/linux/
H A Dradixtree.py26 node_type = node.type
/openbmc/linux/include/rdma/
H A Dopa_smi.h79 u8 node_type; member
/openbmc/linux/drivers/infiniband/hw/irdma/
H A Dws.c20 enum irdma_ws_node_type node_type, in irdma_alloc_node() argument
44 if (node_type == WS_NODE_TYPE_LEAF) { in irdma_alloc_node()
/openbmc/linux/drivers/infiniband/hw/mana/
H A Ddevice.c72 dev->ib_dev.node_type = RDMA_NODE_IB_CA; in mana_ib_probe()

1234