/kernel/linux/linux-5.10/drivers/memory/tegra/ |
D | tegra30.c | 51 .def = 0x4e, 65 .def = 0x4e, 79 .def = 0x4e, 93 .def = 0x4e, 107 .def = 0x4e, 121 .def = 0x4e, 135 .def = 0x4e, 149 .def = 0x4e, 163 .def = 0x17, 177 .def = 0x09, [all …]
|
D | tegra210.c | 27 .def = 0xc2, 41 .def = 0xc6, 55 .def = 0x50, 69 .def = 0x50, 83 .def = 0x50, 97 .def = 0x50, 111 .def = 0x13, 125 .def = 0x04, 139 .def = 0x50, 153 .def = 0x50, [all …]
|
D | tegra114.c | 30 .def = 0x4e, 44 .def = 0x4e, 58 .def = 0x4e, 72 .def = 0x4e, 86 .def = 0x4e, 100 .def = 0x4e, 114 .def = 0x33, 128 .def = 0x09, 142 .def = 0x09, 156 .def = 0x04, [all …]
|
D | tegra124.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 …]
|
/kernel/linux/linux-5.10/drivers/media/usb/pwc/ |
D | pwc-v4l.c | 154 int r, def; in pwc_init_controls() local 162 r = pwc_get_u8_ctrl(pdev, GET_LUM_CTL, BRIGHTNESS_FORMATTER, &def); in pwc_init_controls() 163 if (r || def > 127) in pwc_init_controls() 164 def = 63; in pwc_init_controls() 166 V4L2_CID_BRIGHTNESS, 0, 127, 1, def); in pwc_init_controls() 168 r = pwc_get_u8_ctrl(pdev, GET_LUM_CTL, CONTRAST_FORMATTER, &def); in pwc_init_controls() 169 if (r || def > 63) in pwc_init_controls() 170 def = 31; in pwc_init_controls() 172 V4L2_CID_CONTRAST, 0, 63, 1, def); in pwc_init_controls() 180 &def); in pwc_init_controls() [all …]
|
/kernel/linux/linux-5.10/net/netlabel/ |
D | netlabel_domainhash.c | 75 if (ptr->def.type == NETLBL_NLTYPE_ADDRSELECT) { in netlbl_domhsh_free_entry() 77 &ptr->def.addrsel->list4) { in netlbl_domhsh_free_entry() 83 &ptr->def.addrsel->list6) { in netlbl_domhsh_free_entry() 88 kfree(ptr->def.addrsel); in netlbl_domhsh_free_entry() 226 type = map4->def.type; in netlbl_domhsh_audit_add() 227 cipsov4 = map4->def.cipso; in netlbl_domhsh_audit_add() 234 type = map6->def.type; in netlbl_domhsh_audit_add() 235 calipso = map6->def.calipso; in netlbl_domhsh_audit_add() 240 type = entry->def.type; in netlbl_domhsh_audit_add() 241 cipsov4 = entry->def.cipso; in netlbl_domhsh_audit_add() [all …]
|
D | netlabel_mgmt.c | 91 entry->def.type = nla_get_u32(info->attrs[NLBL_MGMT_A_PROTOCOL]); in netlbl_mgmt_add_common() 108 switch (entry->def.type) { in netlbl_mgmt_add_common() 125 entry->def.cipso = cipsov4; in netlbl_mgmt_add_common() 137 entry->def.calipso = calipso; in netlbl_mgmt_add_common() 183 map->def.type = entry->def.type; in netlbl_mgmt_add_common() 185 map->def.cipso = cipsov4; in netlbl_mgmt_add_common() 192 entry->def.type = NETLBL_NLTYPE_ADDRSELECT; in netlbl_mgmt_add_common() 193 entry->def.addrsel = addrmap; in netlbl_mgmt_add_common() 234 map->def.type = entry->def.type; in netlbl_mgmt_add_common() 236 map->def.calipso = calipso; in netlbl_mgmt_add_common() [all …]
|
/kernel/linux/linux-5.10/tools/perf/util/ |
D | bpf_map.c | 12 static bool bpf_map_def__is_per_cpu(const struct bpf_map_def *def) in bpf_map_def__is_per_cpu() argument 14 return def->type == BPF_MAP_TYPE_PERCPU_HASH || in bpf_map_def__is_per_cpu() 15 def->type == BPF_MAP_TYPE_PERCPU_ARRAY || in bpf_map_def__is_per_cpu() 16 def->type == BPF_MAP_TYPE_LRU_PERCPU_HASH || in bpf_map_def__is_per_cpu() 17 def->type == BPF_MAP_TYPE_PERCPU_CGROUP_STORAGE; in bpf_map_def__is_per_cpu() 20 static void *bpf_map_def__alloc_value(const struct bpf_map_def *def) in bpf_map_def__alloc_value() argument 22 if (bpf_map_def__is_per_cpu(def)) in bpf_map_def__alloc_value() 23 return malloc(round_up(def->value_size, 8) * sysconf(_SC_NPROCESSORS_CONF)); in bpf_map_def__alloc_value() 25 return malloc(def->value_size); in bpf_map_def__alloc_value() 30 const struct bpf_map_def *def = bpf_map__def(map); in bpf_map__fprintf() local [all …]
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/scripts/kconfig/ |
D | confdata.c | 234 static int conf_set_sym_val(struct symbol *sym, int def, int def_flags, char *p) in conf_set_sym_val() argument 241 sym->def[def].tri = mod; in conf_set_sym_val() 248 sym->def[def].tri = yes; in conf_set_sym_val() 253 sym->def[def].tri = no; in conf_set_sym_val() 257 if (def != S_DEF_AUTO) in conf_set_sym_val() 272 if (def != S_DEF_AUTO) in conf_set_sym_val() 280 sym->def[def].val = xstrdup(p); in conf_set_sym_val() 283 if (def != S_DEF_AUTO) in conf_set_sym_val() 350 int conf_read_simple(const char *name, int def) in conf_read_simple() argument 394 def_flags = SYMBOL_DEF << def; in conf_read_simple() [all …]
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/drivers/infiniband/core/ |
D | uverbs_uapi.c | 59 const struct uapi_definition *def, in uapi_create_write() argument 67 if (def->write.is_ex) in uapi_create_write() 68 method_key |= uapi_key_write_ex_method(def->write.command_num); in uapi_create_write() 70 method_key |= uapi_key_write_method(def->write.command_num); in uapi_create_write() 77 if (WARN_ON(exists && (def->write.is_ex != method_elm->is_ex))) in uapi_create_write() 80 method_elm->is_ex = def->write.is_ex; in uapi_create_write() 81 method_elm->handler = def->func_write; in uapi_create_write() 82 if (def->write.is_ex) in uapi_create_write() 84 BIT_ULL(def->write.command_num)); in uapi_create_write() 87 BIT_ULL(def->write.command_num)); in uapi_create_write() [all …]
|
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/fw/ |
D | img.c | 60 u8 iwl_fw_lookup_cmd_ver(const struct iwl_fw *fw, u8 grp, u8 cmd, u8 def) in iwl_fw_lookup_cmd_ver() argument 67 return def; in iwl_fw_lookup_cmd_ver() 73 return def; in iwl_fw_lookup_cmd_ver() 78 return def; in iwl_fw_lookup_cmd_ver() 82 u8 iwl_fw_lookup_notif_ver(const struct iwl_fw *fw, u8 grp, u8 cmd, u8 def) in iwl_fw_lookup_notif_ver() argument 89 return def; in iwl_fw_lookup_notif_ver() 95 return def; in iwl_fw_lookup_notif_ver() 100 return def; in iwl_fw_lookup_notif_ver()
|
/kernel/linux/linux-5.10/arch/powerpc/mm/nohash/ |
D | tlb.c | 453 struct mmu_psize_def *def; in setup_page_sizes() local 456 def = &mmu_psize_defs[psize]; in setup_page_sizes() 457 shift = def->shift; in setup_page_sizes() 466 def->flags |= MMU_PAGE_SIZE_DIRECT; in setup_page_sizes() 492 struct mmu_psize_def *def = &mmu_psize_defs[psize]; in setup_page_sizes() local 494 if (!def->shift) in setup_page_sizes() 497 if (tlb1ps & (1U << (def->shift - 10))) { in setup_page_sizes() 498 def->flags |= MMU_PAGE_SIZE_DIRECT; in setup_page_sizes() 501 def->flags |= MMU_PAGE_SIZE_INDIRECT; in setup_page_sizes() 515 struct mmu_psize_def *def = &mmu_psize_defs[psize]; in setup_page_sizes() local [all …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/atheros/atl1e/ |
D | atl1e_param.c | 93 int def; member 110 *value = opt->def; in atl1e_validate_option() 155 *value = opt->def; in atl1e_validate_option() 185 .def = ATL1E_DEFAULT_TX_DESC_CNT, in atl1e_check_options() 195 adapter->tx_ring.count = (u16)opt.def; in atl1e_check_options() 204 .def = ATL1E_DEFAULT_RX_MEM_SIZE, in atl1e_check_options() 214 adapter->rx_ring.page_size = (u32)opt.def * 1024; in atl1e_check_options() 224 .def = INT_MOD_DEFAULT_CNT, in atl1e_check_options() 234 adapter->hw.imt = (u16)(opt.def); in atl1e_check_options() 243 .def = MEDIA_TYPE_AUTO_SENSOR, in atl1e_check_options() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/ |
D | athub_v2_0.c | 38 uint32_t def, data; in athub_v2_0_update_medium_grain_clock_gating() local 40 def = data = RREG32_SOC15(ATHUB, 0, mmATHUB_MISC_CNTL); in athub_v2_0_update_medium_grain_clock_gating() 47 if (def != data) in athub_v2_0_update_medium_grain_clock_gating() 55 uint32_t def, data; in athub_v2_0_update_medium_grain_light_sleep() local 57 def = data = RREG32_SOC15(ATHUB, 0, mmATHUB_MISC_CNTL); in athub_v2_0_update_medium_grain_light_sleep() 65 if (def != data) in athub_v2_0_update_medium_grain_light_sleep()
|
D | athub_v2_1.c | 37 uint32_t def, data; in athub_v2_1_update_medium_grain_clock_gating() local 39 def = data = RREG32_SOC15(ATHUB, 0, mmATHUB_MISC_CNTL); in athub_v2_1_update_medium_grain_clock_gating() 46 if (def != data) in athub_v2_1_update_medium_grain_clock_gating() 54 uint32_t def, data; in athub_v2_1_update_medium_grain_light_sleep() local 56 def = data = RREG32_SOC15(ATHUB, 0, mmATHUB_MISC_CNTL); in athub_v2_1_update_medium_grain_light_sleep() 64 if(def != data) in athub_v2_1_update_medium_grain_light_sleep()
|
D | athub_v1_0.c | 35 uint32_t def, data; in athub_update_medium_grain_clock_gating() local 37 def = data = RREG32_SOC15(ATHUB, 0, mmATHUB_MISC_CNTL); in athub_update_medium_grain_clock_gating() 44 if (def != data) in athub_update_medium_grain_clock_gating() 51 uint32_t def, data; in athub_update_medium_grain_light_sleep() local 53 def = data = RREG32_SOC15(ATHUB, 0, mmATHUB_MISC_CNTL); in athub_update_medium_grain_light_sleep() 61 if(def != data) in athub_update_medium_grain_light_sleep()
|
D | nbio_v6_1.c | 148 uint32_t def, data; in nbio_v6_1_update_medium_grain_clock_gating() local 150 def = data = RREG32_PCIE(smnCPM_CONTROL); in nbio_v6_1_update_medium_grain_clock_gating() 169 if (def != data) in nbio_v6_1_update_medium_grain_clock_gating() 176 uint32_t def, data; in nbio_v6_1_update_medium_grain_light_sleep() local 178 def = data = RREG32_PCIE(smnPCIE_CNTL2); in nbio_v6_1_update_medium_grain_light_sleep() 189 if (def != data) in nbio_v6_1_update_medium_grain_light_sleep() 246 uint32_t def, data; in nbio_v6_1_init_registers() local 248 def = data = RREG32_PCIE(smnPCIE_CONFIG_CNTL); in nbio_v6_1_init_registers() 252 if (def != data) in nbio_v6_1_init_registers() 255 def = data = RREG32_PCIE(smnPCIE_CI_CNTL); in nbio_v6_1_init_registers() [all …]
|
/kernel/linux/linux-5.10/drivers/iio/magnetometer/ |
D | ak8975.c | 356 const struct ak_def *def; member 469 regval = (data->cntl_cache & ~data->def->ctrl_masks[CNTL_MODE]) | in ak8975_set_mode() 470 data->def->ctrl_modes[mode]; in ak8975_set_mode() 472 data->def->ctrl_regs[CNTL], regval); in ak8975_set_mode() 545 client, data->def->ctrl_regs[ASA_BASE], in ak8975_setup() 568 data->raw_to_gauss[0] = data->def->raw_to_gauss(data->asa[0]); in ak8975_setup() 569 data->raw_to_gauss[1] = data->def->raw_to_gauss(data->asa[1]); in ak8975_setup() 570 data->raw_to_gauss[2] = data->def->raw_to_gauss(data->asa[2]); in ak8975_setup() 593 ret = i2c_smbus_read_byte_data(client, data->def->ctrl_regs[ST1]); in wait_conversion_complete_gpio() 611 data->def->ctrl_regs[ST1]); in wait_conversion_complete_polled() [all …]
|
/kernel/linux/linux-5.10/samples/bpf/ |
D | bpf_load.c | 280 numa_node = maps[i].def.map_flags & BPF_F_NUMA_NODE ? in load_maps() 281 maps[i].def.numa_node : -1; in load_maps() 283 if (maps[i].def.type == BPF_MAP_TYPE_ARRAY_OF_MAPS || in load_maps() 284 maps[i].def.type == BPF_MAP_TYPE_HASH_OF_MAPS) { in load_maps() 285 int inner_map_fd = map_fd[maps[i].def.inner_map_idx]; in load_maps() 287 map_fd[i] = bpf_create_map_in_map_node(maps[i].def.type, in load_maps() 289 maps[i].def.key_size, in load_maps() 291 maps[i].def.max_entries, in load_maps() 292 maps[i].def.map_flags, in load_maps() 295 map_fd[i] = bpf_create_map_node(maps[i].def.type, in load_maps() [all …]
|
/kernel/linux/linux-5.10/tools/testing/selftests/vDSO/ |
D | parse_vdso.c | 182 ELF(Verdef) *def = vdso_info.verdef; in vdso_match_version() 184 if ((def->vd_flags & VER_FLG_BASE) == 0 in vdso_match_version() 185 && (def->vd_ndx & 0x7fff) == ver) in vdso_match_version() 188 if (def->vd_next == 0) in vdso_match_version() 191 def = (ELF(Verdef) *)((char *)def + def->vd_next); in vdso_match_version() 195 ELF(Verdaux) *aux = (ELF(Verdaux)*)((char *)def + def->vd_aux); in vdso_match_version() 196 return def->vd_hash == hash in vdso_match_version()
|
/kernel/linux/linux-5.10/drivers/media/usb/pvrusb2/ |
D | pvrusb2-cx2584x-v4l.c | 32 const struct routing_scheme_item *def; member 56 .def = routing_scheme0, 83 .def = routing_schemegv, 100 .def = routing_schemeav400, 124 .def = routing_scheme160xxx, 154 vid_input = sp->def[hdw->input_val].vid; in pvr2_cx25840_subdev_update() 155 aud_input = sp->def[hdw->input_val].aud; in pvr2_cx25840_subdev_update()
|
/kernel/linux/linux-5.10/security/apparmor/ |
D | match.c | 409 #define match_char(state, def, base, next, check, C) \ argument 414 (state) = (def)[(state)]; \ 442 u16 *def = DEFAULT_TABLE(dfa); in aa_dfa_match_len() local 456 match_char(state, def, base, next, check, in aa_dfa_match_len() 461 match_char(state, def, base, next, check, (u8) *str++); in aa_dfa_match_len() 482 u16 *def = DEFAULT_TABLE(dfa); in aa_dfa_match() local 497 match_char(state, def, base, next, check, in aa_dfa_match() 502 match_char(state, def, base, next, check, (u8) *str++); in aa_dfa_match() 521 u16 *def = DEFAULT_TABLE(dfa); in aa_dfa_next() local 530 match_char(state, def, base, next, check, equiv[(u8) c]); in aa_dfa_next() [all …]
|