| /Linux-v4.19/drivers/memory/tegra/ |
| D | tegra30.c | 33 .def = 0x4e, 47 .def = 0x4e, 61 .def = 0x4e, 75 .def = 0x4e, 89 .def = 0x4e, 103 .def = 0x4e, 117 .def = 0x4e, 131 .def = 0x4e, 145 .def = 0x17, 159 .def = 0x09, [all …]
|
| D | tegra210.c | 30 .def = 0xc2, 44 .def = 0xc6, 58 .def = 0x50, 72 .def = 0x50, 86 .def = 0x50, 100 .def = 0x50, 114 .def = 0x13, 128 .def = 0x04, 142 .def = 0x50, 156 .def = 0x50, [all …]
|
| D | tegra114.c | 33 .def = 0x4e, 47 .def = 0x4e, 61 .def = 0x4e, 75 .def = 0x4e, 89 .def = 0x4e, 103 .def = 0x4e, 117 .def = 0x33, 131 .def = 0x09, 145 .def = 0x09, 159 .def = 0x04, [all …]
|
| D | tegra124.c | 75 .def = 0xc2, 89 .def = 0xc6, 103 .def = 0x50, 117 .def = 0x50, 131 .def = 0x50, 145 .def = 0x50, 159 .def = 0x13, 173 .def = 0x04, 187 .def = 0x50, 201 .def = 0x50, [all …]
|
| /Linux-v4.19/drivers/media/usb/pwc/ |
| D | pwc-v4l.c | 166 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-v4.19/net/netlabel/ |
| D | netlabel_domainhash.c | 89 if (ptr->def.type == NETLBL_NLTYPE_ADDRSELECT) { in netlbl_domhsh_free_entry() 91 &ptr->def.addrsel->list4) { in netlbl_domhsh_free_entry() 97 &ptr->def.addrsel->list6) { in netlbl_domhsh_free_entry() 238 type = map4->def.type; in netlbl_domhsh_audit_add() 239 cipsov4 = map4->def.cipso; in netlbl_domhsh_audit_add() 246 type = map6->def.type; in netlbl_domhsh_audit_add() 247 calipso = map6->def.calipso; in netlbl_domhsh_audit_add() 252 type = entry->def.type; in netlbl_domhsh_audit_add() 253 cipsov4 = entry->def.cipso; in netlbl_domhsh_audit_add() 254 calipso = entry->def.calipso; in netlbl_domhsh_audit_add() [all …]
|
| D | netlabel_mgmt.c | 104 entry->def.type = nla_get_u32(info->attrs[NLBL_MGMT_A_PROTOCOL]); in netlbl_mgmt_add_common() 121 switch (entry->def.type) { in netlbl_mgmt_add_common() 138 entry->def.cipso = cipsov4; in netlbl_mgmt_add_common() 150 entry->def.calipso = calipso; in netlbl_mgmt_add_common() 195 map->def.type = entry->def.type; in netlbl_mgmt_add_common() 197 map->def.cipso = cipsov4; in netlbl_mgmt_add_common() 206 entry->def.type = NETLBL_NLTYPE_ADDRSELECT; in netlbl_mgmt_add_common() 207 entry->def.addrsel = addrmap; in netlbl_mgmt_add_common() 247 map->def.type = entry->def.type; in netlbl_mgmt_add_common() 249 map->def.calipso = calipso; in netlbl_mgmt_add_common() [all …]
|
| /Linux-v4.19/scripts/ |
| D | namespace.pl | 82 my %def = (); # all definitions for each name 319 if (!exists($def{$name})) { 320 $def{$name} = []; 322 push(@{$def{$name}}, $fullname); 352 my $def = $def{$name}; 353 for ($j = 0; $j < $#{$def{$name}}; ++$j) { 354 if ($def{$name}[$j] eq $object) { 355 splice(@{$def{$name}}, $j, 1); 365 foreach my $name (keys(%def)) { 366 if ($#{$def{$name}} > 0) { [all …]
|
| /Linux-v4.19/drivers/net/ethernet/intel/e1000e/ |
| D | param.c | 145 int def; member 168 *value = opt->def; in e1000_validate_option() 213 *value = opt->def; in e1000_validate_option() 245 .def = DEFAULT_TIDV, in e1000e_check_options() 255 adapter->tx_int_delay = opt.def; in e1000e_check_options() 265 .def = DEFAULT_TADV, in e1000e_check_options() 275 adapter->tx_abs_int_delay = opt.def; in e1000e_check_options() 285 .def = DEFAULT_RDTR, in e1000e_check_options() 291 opt.def = BURST_RDTR; in e1000e_check_options() 298 adapter->rx_int_delay = opt.def; in e1000e_check_options() [all …]
|
| /Linux-v4.19/scripts/kconfig/ |
| D | confdata.c | 162 static int conf_set_sym_val(struct symbol *sym, int def, int def_flags, char *p) in conf_set_sym_val() argument 169 sym->def[def].tri = mod; in conf_set_sym_val() 176 sym->def[def].tri = yes; in conf_set_sym_val() 181 sym->def[def].tri = no; in conf_set_sym_val() 185 if (def != S_DEF_AUTO) in conf_set_sym_val() 208 if (def != S_DEF_AUTO) in conf_set_sym_val() 217 sym->def[def].val = xstrdup(p); in conf_set_sym_val() 220 if (def != S_DEF_AUTO) in conf_set_sym_val() 287 int conf_read_simple(const char *name, int def) in conf_read_simple() argument 331 def_flags = SYMBOL_DEF << def; in conf_read_simple() [all …]
|
| D | conf.c | 83 static int conf_askvalue(struct symbol *sym, const char *def) in conf_askvalue() argument 94 printf("%s\n", def); in conf_askvalue() 104 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-v4.19/drivers/net/ethernet/intel/ixgb/ |
| D | ixgb_param.c | 161 int def; member 181 *value = opt->def; in ixgb_validate_option() 221 *value = opt->def; in ixgb_validate_option() 249 .def = DEFAULT_TXD, in ixgb_check_options() 259 tx_ring->count = opt.def; in ixgb_check_options() 268 .def = DEFAULT_RXD, in ixgb_check_options() 278 rx_ring->count = opt.def; in ixgb_check_options() 287 .def = OPTION_ENABLED in ixgb_check_options() 295 adapter->rx_csum = opt.def; in ixgb_check_options() 312 .def = ixgb_fc_tx_pause, in ixgb_check_options() [all …]
|
| /Linux-v4.19/drivers/net/ethernet/intel/e1000/ |
| D | e1000_param.c | 170 int def; member 188 *value = opt->def; in e1000_validate_option() 229 *value = opt->def; in e1000_validate_option() 265 .def = E1000_DEFAULT_TXD, in e1000_check_options() 278 tx_ring->count = opt.def; in e1000_check_options() 293 .def = E1000_DEFAULT_RXD, in e1000_check_options() 307 rx_ring->count = opt.def; in e1000_check_options() 317 .def = OPTION_ENABLED in e1000_check_options() 325 adapter->rx_csum = opt.def; in e1000_check_options() 342 .def = E1000_FC_DEFAULT, in e1000_check_options() [all …]
|
| /Linux-v4.19/drivers/net/ethernet/atheros/atl1e/ |
| D | atl1e_param.c | 106 int def; member 123 *value = opt->def; in atl1e_validate_option() 168 *value = opt->def; in atl1e_validate_option() 198 .def = ATL1E_DEFAULT_TX_DESC_CNT, in atl1e_check_options() 208 adapter->tx_ring.count = (u16)opt.def; in atl1e_check_options() 217 .def = ATL1E_DEFAULT_RX_MEM_SIZE, in atl1e_check_options() 227 adapter->rx_ring.page_size = (u32)opt.def * 1024; in atl1e_check_options() 237 .def = INT_MOD_DEFAULT_CNT, in atl1e_check_options() 247 adapter->hw.imt = (u16)(opt.def); in atl1e_check_options() 256 .def = MEDIA_TYPE_AUTO_SENSOR, in atl1e_check_options() [all …]
|
| /Linux-v4.19/arch/powerpc/mm/ |
| D | tlb_nohash.c | 465 struct mmu_psize_def *def; in setup_page_sizes() local 468 def = &mmu_psize_defs[psize]; in setup_page_sizes() 469 shift = def->shift; in setup_page_sizes() 478 def->flags |= MMU_PAGE_SIZE_DIRECT; in setup_page_sizes() 504 struct mmu_psize_def *def = &mmu_psize_defs[psize]; in setup_page_sizes() local 506 if (tlb1ps & (1U << (def->shift - 10))) { in setup_page_sizes() 507 def->flags |= MMU_PAGE_SIZE_DIRECT; in setup_page_sizes() 510 def->flags |= MMU_PAGE_SIZE_INDIRECT; in setup_page_sizes() 524 struct mmu_psize_def *def = &mmu_psize_defs[psize]; in setup_page_sizes() local 526 if (tlb0ps & (1U << (def->shift - 10))) in setup_page_sizes() [all …]
|
| /Linux-v4.19/drivers/iio/magnetometer/ |
| D | ak8975.c | 372 const struct ak_def *def; member 473 regval = (data->cntl_cache & ~data->def->ctrl_masks[CNTL_MODE]) | in ak8975_set_mode() 474 data->def->ctrl_modes[mode]; in ak8975_set_mode() 476 data->def->ctrl_regs[CNTL], regval); in ak8975_set_mode() 551 client, data->def->ctrl_regs[ASA_BASE], in ak8975_setup() 574 data->raw_to_gauss[0] = data->def->raw_to_gauss(data->asa[0]); in ak8975_setup() 575 data->raw_to_gauss[1] = data->def->raw_to_gauss(data->asa[1]); in ak8975_setup() 576 data->raw_to_gauss[2] = data->def->raw_to_gauss(data->asa[2]); in ak8975_setup() 599 ret = i2c_smbus_read_byte_data(client, data->def->ctrl_regs[ST1]); in wait_conversion_complete_gpio() 617 data->def->ctrl_regs[ST1]); in wait_conversion_complete_polled() [all …]
|
| /Linux-v4.19/samples/bpf/ |
| D | bpf_load.c | 264 numa_node = maps[i].def.map_flags & BPF_F_NUMA_NODE ? in load_maps() 265 maps[i].def.numa_node : -1; in load_maps() 267 if (maps[i].def.type == BPF_MAP_TYPE_ARRAY_OF_MAPS || in load_maps() 268 maps[i].def.type == BPF_MAP_TYPE_HASH_OF_MAPS) { in load_maps() 269 int inner_map_fd = map_fd[maps[i].def.inner_map_idx]; in load_maps() 271 map_fd[i] = bpf_create_map_in_map_node(maps[i].def.type, in load_maps() 273 maps[i].def.key_size, in load_maps() 275 maps[i].def.max_entries, in load_maps() 276 maps[i].def.map_flags, in load_maps() 279 map_fd[i] = bpf_create_map_node(maps[i].def.type, in load_maps() [all …]
|
| /Linux-v4.19/tools/testing/selftests/vDSO/ |
| D | parse_vdso.c | 204 ELF(Verdef) *def = vdso_info.verdef; in vdso_match_version() 206 if ((def->vd_flags & VER_FLG_BASE) == 0 in vdso_match_version() 207 && (def->vd_ndx & 0x7fff) == ver) in vdso_match_version() 210 if (def->vd_next == 0) in vdso_match_version() 213 def = (ELF(Verdef) *)((char *)def + def->vd_next); in vdso_match_version() 217 ELF(Verdaux) *aux = (ELF(Verdaux)*)((char *)def + def->vd_aux); in vdso_match_version() 218 return def->vd_hash == hash in vdso_match_version()
|
| /Linux-v4.19/security/apparmor/ |
| D | match.c | 374 #define match_char(state, def, base, next, check, C) \ argument 379 (state) = (def)[(state)]; \ 407 u16 *def = DEFAULT_TABLE(dfa); in aa_dfa_match_len() local 421 match_char(state, def, base, next, check, in aa_dfa_match_len() 426 match_char(state, def, base, next, check, (u8) *str++); in aa_dfa_match_len() 447 u16 *def = DEFAULT_TABLE(dfa); in aa_dfa_match() local 462 match_char(state, def, base, next, check, in aa_dfa_match() 467 match_char(state, def, base, next, check, (u8) *str++); in aa_dfa_match() 486 u16 *def = DEFAULT_TABLE(dfa); in aa_dfa_next() local 495 match_char(state, def, base, next, check, equiv[(u8) c]); in aa_dfa_next() [all …]
|
| /Linux-v4.19/drivers/media/usb/pvrusb2/ |
| D | pvrusb2-cx2584x-v4l.c | 42 const struct routing_scheme_item *def; member 66 .def = routing_scheme0, 93 .def = routing_schemegv, 110 .def = routing_schemeav400, 139 vid_input = sp->def[hdw->input_val].vid; in pvr2_cx25840_subdev_update() 140 aud_input = sp->def[hdw->input_val].aud; in pvr2_cx25840_subdev_update()
|
| D | pvrusb2-ctrl.c | 30 if (val >= cptr->info->def.type_enum.count) return -ERANGE; in pvr2_ctrl_range_check() 33 lim = cptr->info->def.type_int.min_value; in pvr2_ctrl_range_check() 38 lim = cptr->info->def.type_int.max_value; in pvr2_ctrl_range_check() 63 mask &= cptr->info->def.type_bitmask.valid_bits; in pvr2_ctrl_set_mask_value() 109 ret = cptr->info->def.type_int.max_value; in pvr2_ctrl_get_max() 125 ret = cptr->info->def.type_int.min_value; in pvr2_ctrl_get_min() 155 ret = cptr->info->def.type_enum.count; in pvr2_ctrl_get_cnt() 169 ret = cptr->info->def.type_bitmask.valid_bits; in pvr2_ctrl_get_mask() 203 names = cptr->info->def.type_enum.value_names; in pvr2_ctrl_get_valname() 218 names = cptr->info->def.type_bitmask.bit_names; in pvr2_ctrl_get_valname() [all …]
|
| /Linux-v4.19/arch/s390/tools/ |
| D | gen_facilities.c | 115 static void print_facility_list(struct facility_def *def) in print_facility_list() argument 124 for (i = 0; def->bits[i] != -1; i++) { in print_facility_list() 125 bit = 63 - (def->bits[i] & 63); in print_facility_list() 126 dword = def->bits[i] / 64; in print_facility_list() 136 printf("#define %s ", def->name); in print_facility_list()
|
| /Linux-v4.19/drivers/gpu/drm/amd/amdgpu/ |
| D | nbio_v7_0.c | 147 uint32_t def, data; in nbio_v7_0_update_medium_grain_clock_gating() local 153 def = data = RREG32_PCIE(smnNBIF_MGCG_CTRL_LCLK); in nbio_v7_0_update_medium_grain_clock_gating() 160 if (def != data) in nbio_v7_0_update_medium_grain_clock_gating() 164 def = data = nbio_7_0_read_syshub_ind_mmr(adev, ixSYSHUB_MMREG_IND_SYSHUB_MGCG_CTRL_SOCCLK); in nbio_v7_0_update_medium_grain_clock_gating() 171 if (def != data) in nbio_v7_0_update_medium_grain_clock_gating() 175 def = data = nbio_7_0_read_syshub_ind_mmr(adev, ixSYSHUB_MMREG_IND_SYSHUB_MGCG_CTRL_SHUBCLK); in nbio_v7_0_update_medium_grain_clock_gating() 182 if (def != data) in nbio_v7_0_update_medium_grain_clock_gating() 189 uint32_t def, data; in nbio_v7_0_update_medium_grain_light_sleep() local 191 def = data = RREG32_PCIE(smnPCIE_CNTL2); in nbio_v7_0_update_medium_grain_light_sleep() 202 if (def != data) in nbio_v7_0_update_medium_grain_light_sleep()
|
| D | nbio_v6_1.c | 150 uint32_t def, data; in nbio_v6_1_update_medium_grain_clock_gating() local 152 def = data = RREG32_PCIE(smnCPM_CONTROL); in nbio_v6_1_update_medium_grain_clock_gating() 171 if (def != data) in nbio_v6_1_update_medium_grain_clock_gating() 178 uint32_t def, data; in nbio_v6_1_update_medium_grain_light_sleep() local 180 def = data = RREG32_PCIE(smnPCIE_CNTL2); in nbio_v6_1_update_medium_grain_light_sleep() 191 if (def != data) in nbio_v6_1_update_medium_grain_light_sleep() 265 uint32_t def, data; in nbio_v6_1_init_registers() local 267 def = data = RREG32_PCIE(smnPCIE_CONFIG_CNTL); in nbio_v6_1_init_registers() 271 if (def != data) in nbio_v6_1_init_registers()
|
| /Linux-v4.19/sound/drivers/ |
| D | ml403-ac97cr.c | 170 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 …]
|