Home
last modified time | relevance | path

Searched refs:def (Results 1 – 25 of 131) sorted by relevance

123456

/linux-3.4.99/drivers/media/video/pwc/
Dpwc-v4l.c166 int r, def; in pwc_init_controls() local
174 r = pwc_get_u8_ctrl(pdev, GET_LUM_CTL, BRIGHTNESS_FORMATTER, &def); in pwc_init_controls()
175 if (r || def > 127) in pwc_init_controls()
176 def = 63; in pwc_init_controls()
178 V4L2_CID_BRIGHTNESS, 0, 127, 1, def); in pwc_init_controls()
180 r = pwc_get_u8_ctrl(pdev, GET_LUM_CTL, CONTRAST_FORMATTER, &def); in pwc_init_controls()
181 if (r || def > 63) in pwc_init_controls()
182 def = 31; in pwc_init_controls()
184 V4L2_CID_CONTRAST, 0, 63, 1, def); in pwc_init_controls()
192 &def); in pwc_init_controls()
[all …]
/linux-3.4.99/scripts/
Dnamespace.pl82 my %def = (); # all definitions for each name
317 if (!exists($def{$name})) {
318 $def{$name} = [];
320 push(@{$def{$name}}, $fullname);
350 my $def = $def{$name};
351 for ($j = 0; $j < $#{$def{$name}}; ++$j) {
352 if ($def{$name}[$j] eq $object) {
353 splice(@{$def{$name}}, $j, 1);
363 foreach my $name (keys(%def)) {
364 if ($#{$def{$name}} > 0) {
[all …]
/linux-3.4.99/scripts/kconfig/
Dconfdata.c120 static int conf_set_sym_val(struct symbol *sym, int def, int def_flags, char *p) in conf_set_sym_val() argument
127 sym->def[def].tri = mod; in conf_set_sym_val()
134 sym->def[def].tri = yes; in conf_set_sym_val()
139 sym->def[def].tri = no; in conf_set_sym_val()
172 sym->def[def].val = strdup(p); in conf_set_sym_val()
185 int conf_read_simple(const char *name, int def) in conf_read_simple() argument
231 def_flags = SYMBOL_DEF << def; in conf_read_simple()
241 if (sym->def[def].val) in conf_read_simple()
242 free(sym->def[def].val); in conf_read_simple()
245 sym->def[def].val = NULL; in conf_read_simple()
[all …]
Dconf.c82 static int conf_askvalue(struct symbol *sym, const char *def) in conf_askvalue() argument
93 printf("%s\n", def); in conf_askvalue()
103 printf("%s\n", def); in conf_askvalue()
120 printf("%s\n", def); in conf_askvalue()
132 const char *def; in conf_string() local
137 def = sym_get_string_value(sym); in conf_string()
139 printf("[%s] ", def); in conf_string()
140 if (!conf_askvalue(sym, def)) in conf_string()
149 def = NULL; in conf_string()
155 def = line; in conf_string()
[all …]
/linux-3.4.99/drivers/net/ethernet/intel/e1000e/
Dparam.c176 int def; member
194 *value = opt->def; in e1000_validate_option()
235 *value = opt->def; in e1000_validate_option()
264 .def = DEFAULT_TIDV, in e1000e_check_options()
274 adapter->tx_int_delay = opt.def; in e1000e_check_options()
283 .def = DEFAULT_TADV, in e1000e_check_options()
293 adapter->tx_abs_int_delay = opt.def; in e1000e_check_options()
302 .def = DEFAULT_RDTR, in e1000e_check_options()
312 adapter->rx_int_delay = opt.def; in e1000e_check_options()
321 .def = DEFAULT_RADV, in e1000e_check_options()
[all …]
/linux-3.4.99/drivers/net/ethernet/intel/ixgb/
Dixgb_param.c186 int def; member
206 *value = opt->def; in ixgb_validate_option()
246 *value = opt->def; in ixgb_validate_option()
274 .def = DEFAULT_TXD, in ixgb_check_options()
284 tx_ring->count = opt.def; in ixgb_check_options()
293 .def = DEFAULT_RXD, in ixgb_check_options()
303 rx_ring->count = opt.def; in ixgb_check_options()
312 .def = OPTION_ENABLED in ixgb_check_options()
320 adapter->rx_csum = opt.def; in ixgb_check_options()
337 .def = ixgb_fc_tx_pause, in ixgb_check_options()
[all …]
/linux-3.4.99/drivers/net/ethernet/intel/e1000/
De1000_param.c195 int def; member
213 *value = opt->def; in e1000_validate_option()
254 *value = opt->def; in e1000_validate_option()
291 .def = E1000_DEFAULT_TXD, in e1000_check_options()
304 tx_ring->count = opt.def; in e1000_check_options()
319 .def = E1000_DEFAULT_RXD, in e1000_check_options()
332 rx_ring->count = opt.def; in e1000_check_options()
342 .def = OPTION_ENABLED in e1000_check_options()
350 adapter->rx_csum = opt.def; in e1000_check_options()
367 .def = E1000_FC_DEFAULT, in e1000_check_options()
[all …]
/linux-3.4.99/fs/fscache/
Dcookie.c60 const struct fscache_cookie_def *def, in __fscache_acquire_cookie() argument
65 BUG_ON(!def); in __fscache_acquire_cookie()
68 parent ? (char *) parent->def->name : "<no-parent>", in __fscache_acquire_cookie()
69 def->name, netfs_data); in __fscache_acquire_cookie()
81 BUG_ON(!def->get_key); in __fscache_acquire_cookie()
82 BUG_ON(!def->name[0]); in __fscache_acquire_cookie()
84 BUG_ON(def->type == FSCACHE_COOKIE_TYPE_INDEX && in __fscache_acquire_cookie()
85 parent->def->type != FSCACHE_COOKIE_TYPE_INDEX); in __fscache_acquire_cookie()
101 cookie->def = def; in __fscache_acquire_cookie()
110 switch (cookie->def->type) { in __fscache_acquire_cookie()
[all …]
Dobject-list.c258 switch (obj->cookie->def->type) { in fscache_objlist_show()
267 obj->cookie->def->type); in fscache_objlist_show()
273 obj->cookie->def->name, in fscache_objlist_show()
278 if (obj->cookie->def->get_key && in fscache_objlist_show()
280 keylen = obj->cookie->def->get_key( in fscache_objlist_show()
284 if (obj->cookie->def->get_aux && in fscache_objlist_show()
286 auxlen = obj->cookie->def->get_aux( in fscache_objlist_show()
/linux-3.4.99/drivers/net/ethernet/atheros/atl1e/
Datl1e_param.c106 int def; member
122 *value = opt->def; in atl1e_validate_option()
167 *value = opt->def; in atl1e_validate_option()
197 .def = ATL1E_DEFAULT_TX_DESC_CNT, in atl1e_check_options()
207 adapter->tx_ring.count = (u16)opt.def; in atl1e_check_options()
216 .def = ATL1E_DEFAULT_RX_MEM_SIZE, in atl1e_check_options()
226 adapter->rx_ring.page_size = (u32)opt.def * 1024; in atl1e_check_options()
236 .def = INT_MOD_DEFAULT_CNT, in atl1e_check_options()
246 adapter->hw.imt = (u16)(opt.def); in atl1e_check_options()
255 .def = MEDIA_TYPE_AUTO_SENSOR, in atl1e_check_options()
[all …]
/linux-3.4.99/arch/powerpc/mm/
Dtlb_nohash.c427 struct mmu_psize_def *def; in setup_page_sizes() local
430 def = &mmu_psize_defs[psize]; in setup_page_sizes()
431 shift = def->shift; in setup_page_sizes()
440 def->flags |= MMU_PAGE_SIZE_DIRECT; in setup_page_sizes()
453 struct mmu_psize_def *def = &mmu_psize_defs[psize]; in setup_page_sizes() local
455 if (tlb0ps & (1U << (def->shift - 10))) in setup_page_sizes()
456 def->flags |= MMU_PAGE_SIZE_DIRECT; in setup_page_sizes()
478 struct mmu_psize_def *def = &mmu_psize_defs[psize]; in setup_page_sizes() local
480 if (ps == (def->shift - 10)) in setup_page_sizes()
481 def->flags |= MMU_PAGE_SIZE_INDIRECT; in setup_page_sizes()
[all …]
/linux-3.4.99/Documentation/vDSO/
Dparse_vdso.c191 Elf64_Verdef *def = vdso_info.verdef; in vdso_match_version() local
193 if ((def->vd_flags & VER_FLG_BASE) == 0 in vdso_match_version()
194 && (def->vd_ndx & 0x7fff) == ver) in vdso_match_version()
197 if (def->vd_next == 0) in vdso_match_version()
200 def = (Elf64_Verdef *)((char *)def + def->vd_next); in vdso_match_version()
204 Elf64_Verdaux *aux = (Elf64_Verdaux*)((char *)def + def->vd_aux); in vdso_match_version()
205 return def->vd_hash == hash in vdso_match_version()
/linux-3.4.99/drivers/media/video/pvrusb2/
Dpvrusb2-cx2584x-v4l.c47 const struct routing_scheme_item *def; member
71 .def = routing_scheme0,
98 .def = routing_schemegv,
115 .def = routing_schemeav400,
146 vid_input = sp->def[hdw->input_val].vid; in pvr2_cx25840_subdev_update()
147 aud_input = sp->def[hdw->input_val].aud; in pvr2_cx25840_subdev_update()
Dpvrusb2-ctrl.c34 if (val >= cptr->info->def.type_enum.count) return -ERANGE; in pvr2_ctrl_range_check()
37 lim = cptr->info->def.type_int.min_value; in pvr2_ctrl_range_check()
42 lim = cptr->info->def.type_int.max_value; in pvr2_ctrl_range_check()
67 mask &= cptr->info->def.type_bitmask.valid_bits; in pvr2_ctrl_set_mask_value()
113 ret = cptr->info->def.type_int.max_value; in pvr2_ctrl_get_max()
129 ret = cptr->info->def.type_int.min_value; in pvr2_ctrl_get_min()
159 ret = cptr->info->def.type_enum.count; in pvr2_ctrl_get_cnt()
173 ret = cptr->info->def.type_bitmask.valid_bits; in pvr2_ctrl_get_mask()
207 names = cptr->info->def.type_enum.value_names; in pvr2_ctrl_get_valname()
222 names = cptr->info->def.type_bitmask.bit_names; in pvr2_ctrl_get_valname()
[all …]
Dpvrusb2-video-v4l.c42 const int *def; member
57 .def = routing_scheme0,
69 .def = routing_scheme1,
100 input = sp->def[hdw->input_val]; in pvr2_saa7115_subdev_update()
Dpvrusb2-cs53l32a.c39 const int *def; member
52 .def = routing_scheme1,
81 input = sp->def[hdw->input_val]; in pvr2_cs53l32a_subdev_update()
Dpvrusb2-audio.c31 const int *def; member
52 .def = routing_scheme0,
74 input = sp->def[hdw->input_val]; in pvr2_msp3400_subdev_update()
/linux-3.4.99/drivers/net/ethernet/oki-semi/pch_gbe/
Dpch_gbe_param.c150 int def; member
232 *value = opt->def; in pch_gbe_validate_option()
273 *value = opt->def; in pch_gbe_validate_option()
291 .def = 0, in pch_gbe_check_copper_options()
303 .def = 0, in pch_gbe_check_copper_options()
316 .def = PCH_AUTONEG_ADVERTISE_DEFAULT, in pch_gbe_check_copper_options()
322 hw->phy.autoneg_advertised = opt.def; in pch_gbe_check_copper_options()
439 .def = PCH_GBE_DEFAULT_TXD, in pch_gbe_check_options()
455 .def = PCH_GBE_DEFAULT_RXD, in pch_gbe_check_options()
470 .def = PCH_GBE_DEFAULT_RX_CSUM in pch_gbe_check_options()
[all …]
/linux-3.4.99/sound/drivers/
Dml403-ac97cr.c170 u16 def; member
177 .def = 0x0D50},
181 .def = 0x8000},
185 .def = 0x8000},
189 .def = 0x8000},
193 .def = 0x0},
197 .def = 0x8008},
201 .def = 0x8008},
205 .def = 0x8808},
209 .def = 0x8808},
[all …]
/linux-3.4.99/security/apparmor/
Dmatch.c302 u16 *def = DEFAULT_TABLE(dfa); in aa_dfa_match_len() local
321 state = def[state]; in aa_dfa_match_len()
330 state = def[state]; in aa_dfa_match_len()
352 u16 *def = DEFAULT_TABLE(dfa); in aa_dfa_match() local
371 state = def[state]; in aa_dfa_match()
380 state = def[state]; in aa_dfa_match()
400 u16 *def = DEFAULT_TABLE(dfa); in aa_dfa_next() local
416 state = def[state]; in aa_dfa_next()
423 state = def[state]; in aa_dfa_next()
/linux-3.4.99/arch/parisc/kernel/
Dentry.S155 .macro def code macro
627 def 2
628 def 3
630 def 5
632 def 7
633 def 8
634 def 9
635 def 10
636 def 11
637 def 12
[all …]
/linux-3.4.99/fs/cachefiles/
Dinterface.c60 object->type = cookie->def->type; in cachefiles_alloc_object()
70 keylen = cookie->def->get_key(cookie->netfs_data, buffer + 2, 512); in cachefiles_alloc_object()
86 if (cookie->def->get_aux) { in cachefiles_alloc_object()
87 auxlen = cookie->def->get_aux(cookie->netfs_data, in cachefiles_alloc_object()
93 auxdata->type = cookie->def->type; in cachefiles_alloc_object()
146 object->fscache.cookie->def->type != FSCACHE_COOKIE_TYPE_INDEX) in cachefiles_lookup_object()
217 if (!cookie->def->get_aux) { in cachefiles_update_object()
228 auxlen = cookie->def->get_aux(cookie->netfs_data, auxdata->data, 511); in cachefiles_update_object()
232 auxdata->type = cookie->def->type; in cachefiles_update_object()
387 _object->cookie->def->get_attr(_object->cookie->netfs_data, &ni_size); in cachefiles_attr_changed()
Dxattr.c41 snprintf(type, 3, "%02x", object->fscache.cookie->def->type); in cachefiles_check_object_type()
118 _debug("SET %s #%u", object->fscache.cookie->def->name, auxdata->len); in cachefiles_set_object_xattr()
147 _debug("SET %s #%u", object->fscache.cookie->def->name, auxdata->len); in cachefiles_update_object_xattr()
210 if (object->fscache.cookie->def->check_aux) { in cachefiles_check_object_xattr()
217 object->fscache.cookie->def->name, dlen); in cachefiles_check_object_xattr()
/linux-3.4.99/fs/cifs/
Dasn1.c187 asn1_length_decode(struct asn1_ctx *ctx, unsigned int *def, unsigned int *len) in asn1_length_decode() argument
195 *def = 0; in asn1_length_decode()
197 *def = 1; in asn1_length_decode()
227 unsigned int def = 0; in asn1_header_decode() local
233 if (!asn1_length_decode(ctx, &def, &len)) in asn1_header_decode()
237 if (*con == ASN1_PRI && !def) in asn1_header_decode()
240 if (def) in asn1_header_decode()
/linux-3.4.99/drivers/net/ethernet/ibm/emac/
Dphy.c485 struct mii_phy_def *def; in emac_mii_phy_probe() local
502 for (i = 0; (def = mii_phy_table[i]) != NULL; i++) in emac_mii_phy_probe()
503 if ((id & def->phy_id_mask) == def->phy_id) in emac_mii_phy_probe()
506 if (!def) in emac_mii_phy_probe()
509 phy->def = def; in emac_mii_phy_probe()
512 phy->features = def->features; in emac_mii_phy_probe()

123456