Home
last modified time | relevance | path

Searched refs:phandle (Results 1 – 25 of 1111) sorted by relevance

12345678910>>...45

/OK3568_Linux_fs/kernel/arch/sparc/include/asm/
H A Doplib_32.h34 extern phandle prom_root_node;
115 phandle prom_getchild(phandle parent_node);
120 phandle prom_getsibling(phandle node);
125 int prom_getproplen(phandle thisnode, const char *property);
130 int __must_check prom_getproperty(phandle thisnode, const char *property,
134 int prom_getint(phandle node, char *property);
137 int prom_getintdefault(phandle node, char *property, int defval);
140 int prom_getbool(phandle node, char *prop);
143 void prom_getstring(phandle node, char *prop, char *buf, int bufsize);
148 phandle prom_searchsiblings(phandle node_start, char *name);
[all …]
H A Doplib_64.h20 extern phandle prom_root_node;
28 extern phandle prom_chosen_node;
183 phandle prom_getchild(phandle parent_node);
188 phandle prom_getsibling(phandle node);
193 int prom_getproplen(phandle thisnode, const char *property);
198 int prom_getproperty(phandle thisnode, const char *property,
202 int prom_getint(phandle node, const char *property);
205 int prom_getintdefault(phandle node, const char *property, int defval);
208 int prom_getbool(phandle node, const char *prop);
211 void prom_getstring(phandle node, const char *prop, char *buf,
[all …]
H A Dopenprom.h32 phandle (*v2_inst2pkg)(int d); /* Convert ihandle to phandle */
174 phandle (*no_nextnode)(phandle node);
175 phandle (*no_child)(phandle node);
176 int (*no_proplen)(phandle node, const char *name);
177 int (*no_getprop)(phandle node, const char *name, char *val);
178 int (*no_setprop)(phandle node, const char *name, char *val, int len);
179 char * (*no_nextprop)(phandle node, char *name);
/OK3568_Linux_fs/kernel/arch/sparc/prom/
H A Dtree_64.c20 static phandle prom_node_to_node(const char *type, phandle node) in prom_node_to_node()
32 return (phandle) args[4]; in prom_node_to_node()
38 inline phandle __prom_getchild(phandle node) in __prom_getchild()
43 phandle prom_getchild(phandle node) in prom_getchild()
45 phandle cnode; in prom_getchild()
56 inline phandle prom_getparent(phandle node) in prom_getparent()
58 phandle cnode; in prom_getparent()
71 inline phandle __prom_getsibling(phandle node) in __prom_getsibling()
76 phandle prom_getsibling(phandle node) in prom_getsibling()
78 phandle sibnode; in prom_getsibling()
[all …]
H A Dtree_32.c24 static phandle __prom_getchild(phandle node) in __prom_getchild()
27 phandle cnode; in __prom_getchild()
40 phandle prom_getchild(phandle node) in prom_getchild()
42 phandle cnode; in prom_getchild()
56 static phandle __prom_getsibling(phandle node) in __prom_getsibling()
59 phandle cnode; in __prom_getsibling()
72 phandle prom_getsibling(phandle node) in prom_getsibling()
74 phandle sibnode; in prom_getsibling()
90 int prom_getproplen(phandle node, const char *prop) in prom_getproplen()
110 int prom_getproperty(phandle node, const char *prop, char *buffer, int bufsize) in prom_getproperty()
[all …]
/OK3568_Linux_fs/kernel/drivers/of/unittest-data/
H A Dtests-phandle.dtsi12 phandle-tests {
14 #phandle-cells = <0>;
18 #phandle-cells = <1>;
22 #phandle-cells = <2>;
26 #phandle-cells = <3>;
30 #phandle-cells = <2>;
31 phandle-map = <0 1 &provider1 3>,
37 phandle-map-mask = <0xff 0xf>;
38 phandle-map-pass-thru = <0x0 0xf0>;
42 phandle-list = <&provider1 1>,
[all …]
/OK3568_Linux_fs/kernel/drivers/of/
H A Dresolver.c22 static phandle live_tree_max_phandle(void) in live_tree_max_phandle()
25 phandle phandle; in live_tree_max_phandle() local
29 phandle = 0; in live_tree_max_phandle()
31 if (node->phandle != OF_PHANDLE_ILLEGAL && in live_tree_max_phandle()
32 node->phandle > phandle) in live_tree_max_phandle()
33 phandle = node->phandle; in live_tree_max_phandle()
37 return phandle; in live_tree_max_phandle()
45 phandle phandle; in adjust_overlay_phandles() local
48 if (overlay->phandle != 0 && overlay->phandle != OF_PHANDLE_ILLEGAL) in adjust_overlay_phandles()
49 overlay->phandle += phandle_delta; in adjust_overlay_phandles()
[all …]
H A Dpdt.c49 if (!of_pdt_prom_ops->pkg2path(dp->phandle, path, sizeof(path), &len)) { in of_pdt_build_full_name()
65 static struct property * __init of_pdt_build_one_prop(phandle node, char *prev, in of_pdt_build_one_prop()
112 static struct property * __init of_pdt_build_prop_list(phandle node) in of_pdt_build_prop_list()
130 static char * __init of_pdt_get_one_property(phandle node, const char *name) in of_pdt_get_one_property()
144 static struct device_node * __init of_pdt_create_node(phandle node, in of_pdt_create_node()
158 dp->phandle = node; in of_pdt_create_node()
170 phandle node) in of_pdt_build_tree()
200 void __init of_pdt_build_devicetree(phandle root_node, struct of_pdt_ops *ops) in of_pdt_build_devicetree()
209 of_pdt_prom_ops->getchild(of_root->phandle)); in of_pdt_build_devicetree()
/OK3568_Linux_fs/kernel/drivers/net/wireless/nxp/mlinux/
H A Dmoal_sdio_mmc.c185 static void woal_sdiommc_dump_fw_info(moal_handle *phandle);
1648 static rdwr_status woal_cmd52_rdwr_firmware(moal_handle *phandle, t_u8 doneflag) in woal_cmd52_rdwr_firmware() argument
1653 t_u8 dbg_dump_ctrl_reg = phandle->card_info->dump_fw_ctrl_reg; in woal_cmd52_rdwr_firmware()
1654 t_u8 debug_host_ready = phandle->card_info->dump_fw_host_ready; in woal_cmd52_rdwr_firmware()
1657 if (IS_SD9177(phandle->card_type)) { in woal_cmd52_rdwr_firmware()
1658 if (phandle->event_fw_dump) in woal_cmd52_rdwr_firmware()
1662 ret = woal_sdio_writeb(phandle, dbg_dump_ctrl_reg, debug_host_ready); in woal_cmd52_rdwr_firmware()
1668 if (IS_SD9177(phandle->card_type)) { in woal_cmd52_rdwr_firmware()
1669 if (phandle->event_fw_dump) in woal_cmd52_rdwr_firmware()
1674 ret = woal_sdio_readb(phandle, dbg_dump_ctrl_reg, &ctrl_data); in woal_cmd52_rdwr_firmware()
[all …]
H A Dmoal_pcie.c56 static void woal_pcie_reg_dbg(moal_handle *phandle);
146 static rdwr_status woal_pcie_rdwr_firmware(moal_handle *phandle, t_u8 doneflag,
1582 static int woal_pcie_dump_reg_info(moal_handle *phandle, t_u8 *buffer) in woal_pcie_dump_reg_info() argument
1588 pcie_service_card *card = (pcie_service_card *)phandle->card; in woal_pcie_dump_reg_info()
1601 mlan_pm_wakeup_card(phandle->pmlan_adapter, MTRUE); in woal_pcie_dump_reg_info()
1613 if (IS_PCIE8897(phandle->card_type) || in woal_pcie_dump_reg_info()
1614 IS_PCIE8997(phandle->card_type)) { in woal_pcie_dump_reg_info()
1624 if (IS_PCIE9098(phandle->card_type) || in woal_pcie_dump_reg_info()
1625 IS_PCIENW62X(phandle->card_type) || in woal_pcie_dump_reg_info()
1626 IS_PCIE9097(phandle->card_type)) { in woal_pcie_dump_reg_info()
[all …]
H A Dmoal_sta_cfg80211.c649 moal_memcpy_ext(priv->phandle, &handle->mon_if->band_chan_cfg, in woal_cfg80211_set_monitor_channel()
1121 moal_memcpy_ext(priv->phandle, misc_cfg->param.hostcmd.cmd, in woal_testmode_cmd()
1188 band = priv->phandle->band; in woal_send_domain_info_cmd_fw()
1197 priv->phandle->country_code[0], priv->phandle->country_code[1], in woal_send_domain_info_cmd_fw()
1198 band, priv->phandle->dfs_region); in woal_send_domain_info_cmd_fw()
1209 cfg_11d->param.domain_info.dfs_region = priv->phandle->dfs_region; in woal_send_domain_info_cmd_fw()
1210 if (is_cfg80211_special_region_code(priv->phandle->country_code)) { in woal_send_domain_info_cmd_fw()
1217 priv->phandle->country_code[0]; in woal_send_domain_info_cmd_fw()
1219 priv->phandle->country_code[1]; in woal_send_domain_info_cmd_fw()
1270 priv->phandle->country_code[0], priv->phandle->country_code[1], in woal_send_domain_info_cmd_fw()
[all …]
H A Dmoal_shim.c771 moal_handle *phandle = (moal_handle *)pmoal; local
774 phandle->tp_acnt.rx_intr_cnt++;
777 phandle->tp_acnt.rx_pending = rsvd1;
780 phandle->tp_acnt.rx_paused_cnt++;
783 phandle->tp_acnt.tx_intr_cnt++;
786 phandle->tp_acnt.rx_amsdu_cnt++;
787 phandle->tp_acnt.rx_amsdu_pkt_cnt += rsvd1;
790 phandle->tp_acnt.tx_amsdu_cnt++;
791 phandle->tp_acnt.tx_amsdu_pkt_cnt += rsvd1;
794 phandle->tp_acnt.rx_rdptr_full_cnt++;
[all …]
H A Dmoal_cfg80211.c209 moal_handle *handle = priv->phandle; in woal_get_active_intf_freq()
363 priv->phandle, priv->uap_wep_key[key_index].key, in woal_cfg80211_set_key()
417 moal_memcpy_ext(priv->phandle, in woal_cfg80211_set_key()
426 moal_memcpy_ext(priv->phandle, in woal_cfg80211_set_key()
434 moal_memcpy_ext(priv->phandle, in woal_cfg80211_set_key()
445 moal_memcpy_ext(priv->phandle, in woal_cfg80211_set_key()
453 moal_memcpy_ext(priv->phandle, in woal_cfg80211_set_key()
500 moal_memcpy_ext(priv->phandle, in woal_cfg80211_set_key()
900 if (priv->phandle->noa_duration && priv->phandle->card_info->go_noa) { in woal_cfg80211_init_p2p_go()
905 p2p_config.noa_duration = priv->phandle->noa_duration; in woal_cfg80211_init_p2p_go()
[all …]
H A Dmoal_main.c900 int cfg80211_wext = priv->phandle->params.cfg80211_wext; in woal_send_fw_dump_complete_event()
968 moal_connection_status_check_pmqos(priv->phandle);
1191 priv->phandle,
1201 priv->phandle,
1207 priv->phandle,
1282 moal_memcpy_ext(priv->phandle, priv->ip_addr, &ifa->ifa_address,
1287 if (!moal_extflg_isset(priv->phandle, EXT_HW_TEST) &&
1302 if (priv->phandle->fw_roam_enable &&
1303 (priv->phandle->fw_roam_enable != AUTO_RECONNECT) &&
1304 !moal_extflg_isset(priv->phandle, EXT_ROAMOFFLOAD_IN_HS)) {
[all …]
H A Dmoal_uap_cfg80211.c69 moal_memcpy_ext(priv->phandle, bss->param.deauth_param.mac_addr, in woal_deauth_station()
140 if (moal_extflg_isset(priv->phandle, EXT_HOST_MLME)) in woal_deauth_assoc_station()
469 priv->phandle, in woal_set_wmm_ies()
797 moal_memcpy_ext(priv->phandle, bss_cfg->rates, rate_ie + 1, in woal_set_uap_rates()
804 moal_memcpy_ext(priv->phandle, &bss_cfg->rates[rate_len], in woal_set_uap_rates()
867 int GoAgeoutTime = priv->phandle->params.GoAgeoutTime; in woal_cfg80211_beacon_config()
906 wiphy = priv->phandle->wiphy; in woal_cfg80211_beacon_config()
931 if (priv->phandle->params.uap_max_sta) in woal_cfg80211_beacon_config()
932 sys_config->max_sta_count = priv->phandle->params.uap_max_sta; in woal_cfg80211_beacon_config()
938 moal_memcpy_ext(priv->phandle, sys_config->mac_addr, priv->current_addr, in woal_cfg80211_beacon_config()
[all …]
H A Dmoal_ioctl.c456 priv->phandle->ioctl_timeout = MFALSE; in woal_wait_ioctl_complete()
473 spin_lock_irqsave(&priv->phandle->driver_lock, flags); in woal_wait_ioctl_complete()
476 priv->phandle->ioctl_timeout = MTRUE; in woal_wait_ioctl_complete()
492 spin_unlock_irqrestore(&priv->phandle->driver_lock, flags); in woal_wait_ioctl_complete()
633 if (!priv || !priv->phandle || !priv->phandle->pmlan_adapter || !req) { in woal_request_ioctl()
644 if (priv->phandle->surprise_removed == MTRUE || in woal_request_ioctl()
645 priv->phandle->driver_status) { in woal_request_ioctl()
651 if (priv->phandle->is_suspended == MTRUE) { in woal_request_ioctl()
667 priv->phandle->cac_period == MTRUE) { in woal_request_ioctl()
677 priv->phandle->cac_timer_jiffies - in woal_request_ioctl()
[all …]
/OK3568_Linux_fs/kernel/arch/sparc/kernel/
H A Ddevices.c34 static int check_cpu_node(phandle nd, int *cur_inst, in check_cpu_node()
35 int (*compare)(phandle, int, void *), void *compare_arg, in check_cpu_node() argument
36 phandle *prom_node, int *mid) in check_cpu_node()
54 static int __cpu_find_by(int (*compare)(phandle, int, void *), in __cpu_find_by() argument
55 void *compare_arg, phandle *prom_node, int *mid) in __cpu_find_by()
62 int err = check_cpu_node(dp->phandle, &cur_inst, in __cpu_find_by()
74 static int cpu_instance_compare(phandle nd, int instance, void *_arg) in cpu_instance_compare()
83 int cpu_find_by_instance(int instance, phandle *prom_node, int *mid) in cpu_find_by_instance()
89 static int cpu_mid_compare(phandle nd, int instance, void *_arg) in cpu_mid_compare()
101 int cpu_find_by_mid(int mid, phandle *prom_node) in cpu_find_by_mid()
[all …]
/OK3568_Linux_fs/kernel/include/linux/
H A Dof_pdt.h18 int (*nextprop)(phandle node, char *prev, char *buf);
21 int (*getproplen)(phandle node, const char *prop);
22 int (*getproperty)(phandle node, const char *prop, char *buf,
26 phandle (*getchild)(phandle parent);
27 phandle (*getsibling)(phandle node);
30 int (*pkg2path)(phandle node, char *buf, const int buflen, int *len);
36 extern void of_pdt_build_devicetree(phandle root_node, struct of_pdt_ops *ops);
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/sound/
H A Dtas571x.txt22 - clocks: clock phandle for the MCLK input
24 - AVDD-supply: regulator phandle for the AVDD supply (all chips)
25 - DVDD-supply: regulator phandle for the DVDD supply (all chips)
26 - HPVDD-supply: regulator phandle for the HPVDD supply (5717/5719)
27 - PVDD_AB-supply: regulator phandle for the PVDD_AB supply (5717/5719)
28 - PVDD_CD-supply: regulator phandle for the PVDD_CD supply (5717/5719)
29 - PVDD_A-supply: regulator phandle for the PVDD_A supply (5711)
30 - PVDD_B-supply: regulator phandle for the PVDD_B supply (5711)
31 - PVDD_C-supply: regulator phandle for the PVDD_C supply (5711)
32 - PVDD_D-supply: regulator phandle for the PVDD_D supply (5711)
[all …]
/OK3568_Linux_fs/kernel/arch/x86/platform/olpc/
H A Dolpc_dt.c22 static phandle __init olpc_dt_getsibling(phandle node) in olpc_dt_getsibling()
36 static phandle __init olpc_dt_getchild(phandle node) in olpc_dt_getchild()
52 static int __init olpc_dt_getproplen(phandle node, const char *prop) in olpc_dt_getproplen()
69 static int __init olpc_dt_getproperty(phandle node, const char *prop, in olpc_dt_getproperty()
90 static int __init olpc_dt_nextprop(phandle node, char *prev, char *buf) in olpc_dt_nextprop()
107 static int __init olpc_dt_pkg2path(phandle node, char *buf, in olpc_dt_pkg2path()
166 static phandle __init olpc_dt_finddevice(const char *path) in olpc_dt_finddevice()
168 phandle node; in olpc_dt_finddevice()
203 phandle node; in olpc_dt_get_board_revision()
219 static int __init olpc_dt_compatible_match(phandle node, const char *compat) in olpc_dt_compatible_match()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/mvl88w8977/mlinux/
H A Dmoal_shim.c1329 if (priv->phandle->scan_request) { in moal_recv_event()
1335 if (!priv->phandle->first_scan_done) { in moal_recv_event()
1336 priv->phandle->first_scan_done = in moal_recv_event()
1343 spin_lock_irqsave(&priv->phandle-> in moal_recv_event()
1345 if (priv->phandle->scan_request) { in moal_recv_event()
1347 phandle-> in moal_recv_event()
1350 priv->phandle->scan_request = in moal_recv_event()
1353 spin_unlock_irqrestore(&priv->phandle-> in moal_recv_event()
1371 if (priv->phandle->scan_pending_on_block == MTRUE) { in moal_recv_event()
1372 priv->phandle->scan_pending_on_block = MFALSE; in moal_recv_event()
[all …]
/OK3568_Linux_fs/u-boot/arch/x86/cpu/broadwell/
H A Dpinctrl_broadwell.c32 int phandle; member
57 int phandle = fdt_get_phandle(blob, node); in broadwell_pinctrl_read_configs() local
59 if (!phandle) in broadwell_pinctrl_read_configs()
67 conf->phandle = phandle; in broadwell_pinctrl_read_configs()
88 debug("config: phandle=%d\n", phandle); in broadwell_pinctrl_read_configs()
98 int conf_count, int phandle) in broadwell_pinctrl_lookup_phandle() argument
103 if (conf[i].phandle == phandle) in broadwell_pinctrl_lookup_phandle()
132 uint phandle = fdt32_to_cpu(prop[i * 3 + 1]); in broadwell_pinctrl_read_pins() local
141 phandle); in broadwell_pinctrl_read_pins()
144 phandle); in broadwell_pinctrl_read_pins()
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/phy/
H A Dsamsung-phy.txt12 - syscon - phandle to the PMU system controller
15 - samsung,pmu-syscon - phandle to the PMU system controller
16 - samsung,disp-sysreg - phandle to the DISP system registers controller
17 - samsung,cam0-sysreg - phandle to the CAM0 system registers controller
18 - samsung,cam1-sysreg - phandle to the CAM1 system registers controller
37 - samsung,pmu-syscon: phandle for PMU system controller interface, used to
53 - samsung,sysreg-phandle - handle to syscon used to control the system registers
54 - samsung,pmureg-phandle - handle to syscon used to control PMU registers
62 - vbus-supply: power-supply phandle for vbus power source
64 The first phandle argument in the PHY specifier identifies the PHY, its
[all …]
/OK3568_Linux_fs/kernel/drivers/char/tpm/
H A Dtpm2-space.c227 u32 phandle; in tpm2_map_to_phandle() local
234 phandle = space->context_tbl[i]; in tpm2_map_to_phandle()
235 *((__be32 *)handle) = cpu_to_be32(phandle); in tpm2_map_to_phandle()
354 static u32 tpm2_map_to_vhandle(struct tpm_space *space, u32 phandle, bool alloc) in tpm2_map_to_vhandle() argument
361 space->context_tbl[i] = phandle; in tpm2_map_to_vhandle()
364 } else if (space->context_tbl[i] == phandle) in tpm2_map_to_vhandle()
379 u32 phandle; in tpm2_map_response_header() local
397 phandle = be32_to_cpup((__be32 *)&rsp[TPM_HEADER_SIZE]); in tpm2_map_response_header()
398 phandle_type = phandle & 0xFF000000; in tpm2_map_response_header()
402 vhandle = tpm2_map_to_vhandle(space, phandle, true); in tpm2_map_response_header()
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/power/avs/
H A Dqcom,cpr.txt28 Definition: phandle to the reference clock
37 Value type: <phandle>
38 Definition: phandle to the vdd-apc-supply regulator
47 Value type: <phandle>
48 Definition: A phandle to the OPP table containing the
54 Value type: <phandle>
55 Definition: phandle to syscon for writing ACC settings
59 Value type: <phandle>
60 Definition: phandle to nvmem cells containing the data

12345678910>>...45