HomeSort by: relevance | last modified time | path
    Searched refs:dict (Results 1 - 25 of 145) sorted by relevancy

1 2 3 4 5 6

  /src/sys/dev/sysmon/
sysmon_envsys_util.c 46 sme_sensor_upbool(prop_dictionary_t dict, const char *key, bool val)
50 KASSERT(dict != NULL);
52 obj = prop_dictionary_get(dict, key);
55 if (!prop_dictionary_set_bool(dict, key, val)) {
62 if (!prop_dictionary_set_bool(dict, key, val)) {
73 sme_sensor_upint32(prop_dictionary_t dict, const char *key, int32_t val)
77 KASSERT(dict != NULL);
79 obj = prop_dictionary_get(dict, key);
82 if (!prop_dictionary_set_int32(dict, key, val)) {
89 if (!prop_dictionary_set_int32(dict, key, val))
    [all...]
  /src/common/lib/libprop/
prop_dictionary_util.c 45 prop_dictionary_get_dict(prop_dictionary_t dict, const char *key,
50 o = prop_dictionary_get(dict, key);
59 prop_dictionary_get_bool(prop_dictionary_t dict, const char *key, bool *valp)
63 b = prop_dictionary_get(dict, key);
73 prop_dictionary_set_bool(prop_dictionary_t dict, const char *key, bool val)
76 return prop_dictionary_set_and_rel(dict, key, prop_bool_create(val));
81 prop_dictionary_get_ ## name (prop_dictionary_t dict, \
86 prop_dictionary_get(dict, key), valp); \
113 prop_dictionary_set_signed_number(prop_dictionary_t dict, const char *key,
116 return prop_dictionary_set_and_rel(dict, key
    [all...]
  /src/sys/arch/evbmips/gdium/
autoconf.c 113 prop_dictionary_t dict; local in function:device_register
119 dict = device_properties(dev);
124 prop_dictionary_set_bool(dict, "is_console", 1);
125 prop_dictionary_set_uint32(dict, "width", 1024);
126 prop_dictionary_set_uint32(dict, "height", 600);
127 prop_dictionary_set_uint32(dict, "depth", 16);
128 prop_dictionary_set_uint32(dict, "linebytes", 2048);
129 prop_dictionary_set_uint32(dict, "address", 0x04000000);
  /src/sys/arch/evbmips/loongson/
autoconf.c 126 prop_dictionary_t dict; local in function:device_register
138 dict = device_properties(dev);
143 prop_dictionary_set_bool(dict, "is_console", 1);
144 prop_dictionary_set_uint32(dict, "width", 1024);
145 prop_dictionary_set_uint32(dict, "height", 600);
146 prop_dictionary_set_uint32(dict, "depth", 16);
147 prop_dictionary_set_uint32(dict, "linebytes", 2048);
148 prop_dictionary_set_bool(dict, "swapBR", 1);
  /src/usr.sbin/btdevctl/
print.c 79 static void cfg_bthidev(prop_dictionary_t dict);
80 static void cfg_btsco(prop_dictionary_t dict);
86 cfg_print(prop_dictionary_t dict)
91 obj = prop_dictionary_get(dict, BTDEVladdr);
97 obj = prop_dictionary_get(dict, BTDEVraddr);
103 obj = prop_dictionary_get(dict, BTDEVmode);
107 if (prop_dictionary_get_uint16(dict, BTDEVvendor, &v))
110 if (prop_dictionary_get_uint16(dict, BTDEVproduct, &v))
113 obj = prop_dictionary_get(dict, BTDEVtype);
121 cfg_bthidev(dict);
    [all...]
sdp.c 152 cfg_search(sdp_session_t ss, int i, prop_dictionary_t dict)
161 if (config_pnp(dict, &rec) == 0)
170 errno = (*cfgtype[i].handler)(dict, &rec);
181 prop_dictionary_t dict; local in function:cfg_query
185 dict = prop_dictionary_create();
186 if (dict == NULL)
195 if (!cfg_search(ss, i, dict))
199 return dict;
214 config_pnp(prop_dictionary_t dict, sdp_data_t *rec)
259 if (!prop_dictionary_set_uint16(dict, BTDEVvendor, (uint16_t)vendor)
    [all...]
  /src/sys/arch/prep/prep/
ibm_machdep.c 46 prop_dictionary_t dict, sub; local in function:pci_intr_fixup_ibm_6015
54 dict = prop_dictionary_create_with_capacity(16);
55 KASSERT(dict != NULL);
57 dict);
67 prop_dictionary_set(dict, "devfunc-12", sub);
79 prop_dictionary_set(dict, key, sub);
83 prop_object_release(dict);
  /src/share/dict/
Makefile 9 FILESDIR=${BINDIR}/dict
  /src/sys/arch/epoc32/epoc32/
autoconf.c 68 prop_dictionary_t dict = device_properties(dev); local in function:device_register
70 prop_dictionary_set_uint32(dict, "width", epoc32_fb_width);
71 prop_dictionary_set_uint32(dict, "height", epoc32_fb_height);
72 prop_dictionary_set_uint32(dict, "addr", epoc32_fb_addr);
  /src/sys/dev/
veriexec.c 102 veriexec_delete(prop_dictionary_t dict, struct lwp *l)
108 if (!prop_dictionary_get_string(dict, "file", &file))
127 veriexec_query(prop_dictionary_t dict, prop_dictionary_t rdict, struct lwp *l)
133 if (!prop_dictionary_get_string(dict, "file", &file))
151 prop_dictionary_t dict; local in function:veriexecioctl
190 error = prop_dictionary_copyin_ioctl(plistref, cmd, &dict);
194 error = veriexec_file_add(l, dict);
195 prop_object_release(dict);
199 error = prop_dictionary_copyin_ioctl(plistref, cmd, &dict);
203 error = veriexec_delete(dict, l)
    [all...]
  /src/sys/arch/macppc/macppc/
machdep.c 344 copy_disp_props(device_t dev, int node, prop_dictionary_t dict)
369 prop_dictionary_set_bool(dict, "is_console", 1);
370 if (!of_to_uint32_prop(dict, node, "width", "width")) {
373 prop_dictionary_set_uint32(dict, "width", temp);
375 if (!of_to_uint32_prop(dict, node, "height", "height")) {
378 prop_dictionary_set_uint32(dict, "height", temp);
380 of_to_uint32_prop(dict, node, "linebytes", "linebytes");
381 if (!of_to_uint32_prop(dict, node, "depth", "depth")) {
387 prop_dictionary_set_uint32(dict, "depth", 8);
389 if (!of_to_uint32_prop(dict, node, "address", "address"))
    [all...]
  /src/usr.bin/spell/spell/
spell.sh 29 DICT=/usr/share/dict/words
30 LOCAL_DICT=/usr/local/share/dict/words
31 STOP=/usr/share/dict/stop
32 LOCAL_STOP=/usr/local/share/dict/stop
33 AMERICAN=/usr/share/dict/american
34 BRITISH=/usr/share/dict/british
49 DICT="$DICT $LOCAL_DICT"
77 d) DICT="$OPTARG
    [all...]
Makefile 15 FILESDIR= /usr/share/dict
19 FILESDIR_${F}= /usr/share/dict/special
  /src/sys/arch/ibmnws/ibmnws/
autoconf.c 133 prop_dictionary_t dict; local in function:device_register
138 dict = device_properties(dev);
149 if (! prop_dictionary_set_uint32(dict, "width", 1024)) {
154 if (! prop_dictionary_set_uint32(dict, "height", 768)) {
159 if (! prop_dictionary_set_uint32(dict, "depth", 8)) {
164 if (! prop_dictionary_set_uint32(dict, "address", 0)) {
  /src/sys/arch/riscv/starfive/
jh7110_eqos.c 64 prop_dictionary_t dict = device_properties(sc->sc_dev); local in function:jh7110_parse_phyprops
67 prop_dictionary_set_bool(dict, "motorcomm,tx-clk-adj-enabled",
71 prop_dictionary_set_bool(dict, "motorcomm,tx-clk-100-inverted",
75 prop_dictionary_set_bool(dict, "motorcomm,tx-clk-1000-inverted",
82 prop_dictionary_set_uint32(dict,
87 prop_dictionary_set_uint32(dict,
92 prop_dictionary_set_uint32(dict,
97 prop_dictionary_set_uint32(dict,
  /src/tests/lib/libprop/
t_proplib.c 50 "<dict>\n"
57 " <dict>\n"
62 " </dict>\n"
63 " <dict>\n"
68 " </dict>\n"
69 " <dict>\n"
74 " </dict>\n"
80 "</dict>\n"
106 prop_dictionary_t dict; local in function:ATF_TC_BODY
109 dict = prop_dictionary_create()
221 prop_dictionary_t dict = prop_dictionary_internalize( local in function:ATF_TC_BODY
837 prop_dictionary_t dict; local in function:ATF_TC_BODY
    [all...]
  /src/sys/arch/evbppc/ev64260/
autoconf.c 128 prop_dictionary_t dict = device_properties(dev); local in function:device_register
177 prop_dictionary_set(dict, "prot", prot);
182 prop_dictionary_set(dict, "io-bus-tag", io_bs_tag);
187 prop_dictionary_set(dict, "mem-bus-tag", mem_bs_tag);
194 prop_dictionary_set(dict, "pci-chipset", pc);
197 prop_dictionary_set_uint64(dict, "iostart", 0x00000600);
198 prop_dictionary_set_uint64(dict, "ioend", 0x0000ffff);
199 prop_dictionary_set_uint64(dict, "memstart",
201 prop_dictionary_set_uint64(dict, "memend",
203 prop_dictionary_set_uint32(dict, "cache-line-size", 32)
    [all...]
  /src/sys/arch/iyonix/iyonix/
autoconf.c 139 prop_dictionary_t dict = device_properties(dev); local in function:device_register
170 prop_dictionary_set_bool(dict, "is_console", 1);
171 prop_dictionary_set_uint32(dict, "width",
173 prop_dictionary_set_uint32(dict, "height",
175 prop_dictionary_set_uint32(dict, "depth",
183 prop_dictionary_set_bool(dict, "is_bgr", 1);
184 prop_dictionary_set_uint32(dict, "address", fbaddr);
  /src/sys/dev/bluetooth/
bthub.c 109 prop_dictionary_t dict; local in function:bthub_attach
112 dict = device_properties(self);
114 prop_dictionary_set(dict, BTDEVladdr, obj);
151 prop_dictionary_t dict; local in function:bthubioctl
158 err = prop_dictionary_copyin_ioctl(data, cmd, &dict);
160 err = bthub_pioctl(devno, cmd, dict, flag, l);
161 prop_object_release(dict);
174 bthub_pioctl(dev_t devno, unsigned long cmd, prop_dictionary_t dict,
186 laddr = prop_dictionary_get(dict, BTDEVladdr);
206 raddr = prop_dictionary_get(dict, BTDEVraddr)
265 prop_dictionary_t dict = aux; local in function:bthub_print
    [all...]
  /src/sys/arch/evbarm/iyonix/
autoconf.c 139 prop_dictionary_t dict = device_properties(dev); local in function:device_register
171 prop_dictionary_set_uint32(dict, "width",
173 prop_dictionary_set_uint32(dict, "height",
175 prop_dictionary_set_uint32(dict, "depth",
183 prop_dictionary_set_bool(dict, "is_bgr", 1);
184 prop_dictionary_set_uint32(dict, "address", fbaddr);
  /src/sbin/fsck/
partutil.c 78 dict2geom(struct disk_geom *geo, prop_dictionary_t dict)
81 prop_dictionary_get_int64(dict, "sectors-per-unit",
83 prop_dictionary_get_uint32(dict, "sector-size", &geo->dg_secsize);
84 prop_dictionary_get_uint32(dict, "sectors-per-track",
86 prop_dictionary_get_uint32(dict, "tracks-per-cylinder",
88 prop_dictionary_get_uint32(dict, "cylinders-per-unit",
91 prop_dictionary_get_uint32(dict, "physical-sector-size",
93 prop_dictionary_get_uint32(dict, "aligned-sector",
  /src/sys/arch/sparc64/sparc64/
ofw_patch.c 105 prop_dictionary_t dict = device_properties(dev); local in function:add_gpio_props_v210
114 prop_dictionary_set(dict, "pins", pins);
123 prop_dictionary_set(dict, "pins", pins);
132 prop_dictionary_set(dict, "pins", pins);
142 prop_dictionary_t dict = device_properties(dev); local in function:add_gpio_props_e250
153 prop_dictionary_set(dict, "pins", pins);
162 prop_dictionary_set(dict, "pins", pins);
179 prop_dictionary_set(dict, "pins", pins);
193 prop_dictionary_set(dict, "pins", pins);
204 prop_dictionary_set(dict, "pins", pins)
215 prop_dictionary_t dict = device_properties(dev); local in function:add_drivebay_props
    [all...]
  /src/sys/arch/powerpc/ibm4xx/
ibm4xx_autoconf.c 74 prop_dictionary_t dict = device_properties(dev); local in function:ibm4xx_device_register
87 if (prop_dictionary_set(dict, "mac-address", pd) ==
96 prop_dictionary_set_uint32(dict, "mii-phy",
  /src/usr.sbin/hdaudioctl/
hdaudioctl.c 111 prop_dictionary_t dict; local in function:hdaudioctl_list
138 dict = (prop_dictionary_t)obj;
139 prop_dictionary_get_uint16(dict, "codecid", &codecid);
140 prop_dictionary_get_uint16(dict, "nid", &nid);
141 prop_dictionary_get_uint16(dict, "vendor-id", &vendor);
142 prop_dictionary_get_uint16(dict, "product-id", &product);
143 prop_dictionary_get_uint32(dict, "subsystem-id", &subsystem);
144 prop_dictionary_get_string(dict, "device", &device);
262 prop_dictionary_t request, response, dict; local in function:hdaudioctl_show
300 dict = (prop_dictionary_t)obj
    [all...]
  /src/sys/arch/arm/arm/
arm_cpu_topology.c 77 prop_dictionary_t dict; local in function:arm_cpu_do_topology
81 dict = device_properties(newci->ci_dev);
82 if (prop_dictionary_get_uint32(dict, "capacity_dmips_mhz",

Completed in 19 milliseconds

1 2 3 4 5 6