Home
last modified time | relevance | path

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

12345678910>>...15

/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/
Dnbio_v6_1.c167 uint32_t def, data; in nbio_v6_1_update_medium_grain_clock_gating() local
169 def = data = RREG32_PCIE(smnCPM_CONTROL); in nbio_v6_1_update_medium_grain_clock_gating()
188 if (def != data) in nbio_v6_1_update_medium_grain_clock_gating()
195 uint32_t def, data; in nbio_v6_1_update_medium_grain_light_sleep() local
197 def = data = RREG32_PCIE(smnPCIE_CNTL2); in nbio_v6_1_update_medium_grain_light_sleep()
208 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()
274 def = data = RREG32_PCIE(smnPCIE_CI_CNTL); in nbio_v6_1_init_registers()
[all …]
Dnbio_v2_3.c232 uint32_t def, data; in nbio_v2_3_update_medium_grain_clock_gating() local
237 def = data = RREG32_PCIE(smnCPM_CONTROL); in nbio_v2_3_update_medium_grain_clock_gating()
254 if (def != data) in nbio_v2_3_update_medium_grain_clock_gating()
261 uint32_t def, data; in nbio_v2_3_update_medium_grain_light_sleep() local
266 def = data = RREG32_PCIE(smnPCIE_CNTL2); in nbio_v2_3_update_medium_grain_light_sleep()
277 if (def != data) in nbio_v2_3_update_medium_grain_light_sleep()
334 uint32_t def, data; in nbio_v2_3_init_registers() local
336 def = data = RREG32_PCIE(smnPCIE_CONFIG_CNTL); in nbio_v2_3_init_registers()
340 if (def != data) in nbio_v2_3_init_registers()
355 uint32_t def, data; in nbio_v2_3_enable_aspm() local
[all …]
Dnbio_v4_3.c242 uint32_t def, data; in nbio_v4_3_update_medium_grain_clock_gating() local
247 def = data = RREG32_SOC15(NBIO, 0, regCPM_CONTROL); in nbio_v4_3_update_medium_grain_clock_gating()
264 if (def != data) in nbio_v4_3_update_medium_grain_clock_gating()
271 uint32_t def, data; in nbio_v4_3_update_medium_grain_light_sleep() local
277 def = data = RREG32_SOC15(NBIO, 0, regPCIE_CNTL2); in nbio_v4_3_update_medium_grain_light_sleep()
284 if (def != data) in nbio_v4_3_update_medium_grain_light_sleep()
366 uint32_t def, data; in nbio_v4_3_program_ltr() local
368 def = RREG32_SOC15(NBIO, 0, regRCC_EP_DEV0_0_EP_PCIE_TX_LTR_CNTL); in nbio_v4_3_program_ltr()
372 if (def != data) in nbio_v4_3_program_ltr()
375 def = data = RREG32_SOC15(NBIO, 0, regRCC_STRAP0_RCC_BIF_STRAP2); in nbio_v4_3_program_ltr()
[all …]
Dnbio_v7_4.c258 uint32_t def, data; in nbio_v7_4_update_medium_grain_light_sleep() local
260 def = data = RREG32_PCIE(smnPCIE_CNTL2); in nbio_v7_4_update_medium_grain_light_sleep()
271 if (def != data) in nbio_v7_4_update_medium_grain_light_sleep()
679 uint32_t def, data; in nbio_v7_4_program_ltr() local
683 def = data = RREG32_PCIE(smnRCC_BIF_STRAP2); in nbio_v7_4_program_ltr()
685 if (def != data) in nbio_v7_4_program_ltr()
688 def = data = RREG32_PCIE(smnRCC_EP_DEV0_0_EP_PCIE_TX_LTR_CNTL); in nbio_v7_4_program_ltr()
690 if (def != data) in nbio_v7_4_program_ltr()
693 def = data = RREG32_PCIE(smnBIF_CFG_DEV0_EPF0_DEVICE_CNTL2); in nbio_v7_4_program_ltr()
695 if (def != data) in nbio_v7_4_program_ltr()
[all …]
Dathub_v2_0.c37 uint32_t def, data; in athub_v2_0_update_medium_grain_clock_gating() local
42 def = data = RREG32_SOC15(ATHUB, 0, mmATHUB_MISC_CNTL); in athub_v2_0_update_medium_grain_clock_gating()
49 if (def != data) in athub_v2_0_update_medium_grain_clock_gating()
57 uint32_t def, data; in athub_v2_0_update_medium_grain_light_sleep() local
63 def = data = RREG32_SOC15(ATHUB, 0, mmATHUB_MISC_CNTL); in athub_v2_0_update_medium_grain_light_sleep()
70 if (def != data) in athub_v2_0_update_medium_grain_light_sleep()
Dathub_v2_1.c36 uint32_t def, data; in athub_v2_1_update_medium_grain_clock_gating() local
38 def = data = RREG32_SOC15(ATHUB, 0, mmATHUB_MISC_CNTL); in athub_v2_1_update_medium_grain_clock_gating()
45 if (def != data) in athub_v2_1_update_medium_grain_clock_gating()
53 uint32_t def, data; in athub_v2_1_update_medium_grain_light_sleep() local
55 def = data = RREG32_SOC15(ATHUB, 0, mmATHUB_MISC_CNTL); in athub_v2_1_update_medium_grain_light_sleep()
63 if(def != data) in athub_v2_1_update_medium_grain_light_sleep()
Dathub_v1_0.c35 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()
Dnbio_v7_2.c237 uint32_t def, data; in nbio_v7_2_update_medium_grain_clock_gating() local
239 def = data = RREG32_PCIE_PORT(SOC15_REG_OFFSET(NBIO, 0, regCPM_CONTROL)); in nbio_v7_2_update_medium_grain_clock_gating()
256 if (def != data) in nbio_v7_2_update_medium_grain_clock_gating()
263 uint32_t def, data; in nbio_v7_2_update_medium_grain_light_sleep() local
269 def = data = RREG32_PCIE_PORT(SOC15_REG_OFFSET(NBIO, 0, regPCIE_CNTL2)); in nbio_v7_2_update_medium_grain_light_sleep()
275 if (def != data) in nbio_v7_2_update_medium_grain_light_sleep()
278 def = data = RREG32_PCIE_PORT(SOC15_REG_OFFSET(NBIO, 0, in nbio_v7_2_update_medium_grain_light_sleep()
287 if (def != data) in nbio_v7_2_update_medium_grain_light_sleep()
292 def = data = RREG32_PCIE_PORT(SOC15_REG_OFFSET(NBIO, 0, regPCIE_CNTL2)); in nbio_v7_2_update_medium_grain_light_sleep()
302 if (def != data) in nbio_v7_2_update_medium_grain_light_sleep()
[all …]
/linux-6.6.21/drivers/memory/tegra/
Dtegra114.c23 .def = 0x0,
39 .def = 0x4e,
55 .def = 0x4e,
71 .def = 0x4e,
87 .def = 0x4e,
103 .def = 0x4e,
119 .def = 0x4e,
135 .def = 0x33,
151 .def = 0x09,
167 .def = 0x09,
[all …]
Dtegra210.c28 .def = 0x1e,
44 .def = 0x1e,
60 .def = 0x1e,
76 .def = 0x1e,
92 .def = 0x1e,
108 .def = 0x1e,
124 .def = 0x2e,
140 .def = 0x04,
156 .def = 0x1e,
172 .def = 0x1e,
[all …]
Dtegra124.c24 .def = 0x0,
40 .def = 0xc2,
56 .def = 0xc6,
72 .def = 0x50,
88 .def = 0x50,
104 .def = 0x50,
120 .def = 0x50,
136 .def = 0x13,
152 .def = 0x04,
168 .def = 0x50,
[all …]
Dtegra30.c45 .def = 0x0,
62 .def = 0x4e,
79 .def = 0x4e,
96 .def = 0x4e,
113 .def = 0x4e,
130 .def = 0x4e,
147 .def = 0x4e,
164 .def = 0x4e,
181 .def = 0x4e,
198 .def = 0x17,
[all …]
/linux-6.6.21/drivers/media/usb/pwc/
Dpwc-v4l.c154 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 …]
/linux-6.6.21/net/netlabel/
Dnetlabel_domainhash.c75 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 …]
Dnetlabel_mgmt.c91 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 …]
/linux-6.6.21/drivers/net/ethernet/intel/e1000e/
Dparam.c143 int def; member
166 *value = opt->def; in e1000_validate_option()
211 *value = opt->def; in e1000_validate_option()
243 .def = DEFAULT_TIDV, in e1000e_check_options()
253 adapter->tx_int_delay = opt.def; in e1000e_check_options()
263 .def = DEFAULT_TADV, in e1000e_check_options()
273 adapter->tx_abs_int_delay = opt.def; in e1000e_check_options()
283 .def = DEFAULT_RDTR, in e1000e_check_options()
289 opt.def = BURST_RDTR; in e1000e_check_options()
296 adapter->rx_int_delay = opt.def; in e1000e_check_options()
[all …]
/linux-6.6.21/sound/soc/codecs/
Drt9120.c432 { .reg = 0x02, .def = 0x02 },
433 { .reg = 0x03, .def = 0xf2 },
434 { .reg = 0x04, .def = 0x01 },
435 { .reg = 0x05, .def = 0xc0 },
436 { .reg = 0x06, .def = 0x28 },
437 { .reg = 0x07, .def = 0x04 },
438 { .reg = 0x08, .def = 0xff },
439 { .reg = 0x09, .def = 0x01 },
440 { .reg = 0x0a, .def = 0x01 },
441 { .reg = 0x0b, .def = 0x00 },
[all …]
/linux-6.6.21/drivers/net/ethernet/intel/e1000/
De1000_param.c168 int def; member
186 *value = opt->def; in e1000_validate_option()
227 *value = opt->def; in e1000_validate_option()
263 .def = E1000_DEFAULT_TXD, in e1000_check_options()
276 tx_ring->count = opt.def; in e1000_check_options()
291 .def = E1000_DEFAULT_RXD, in e1000_check_options()
305 rx_ring->count = opt.def; in e1000_check_options()
315 .def = OPTION_ENABLED in e1000_check_options()
323 adapter->rx_csum = opt.def; in e1000_check_options()
340 .def = E1000_FC_DEFAULT, in e1000_check_options()
[all …]
/linux-6.6.21/scripts/kconfig/
Dconfdata.c226 static int conf_set_sym_val(struct symbol *sym, int def, int def_flags, char *p) in conf_set_sym_val() argument
233 sym->def[def].tri = mod; in conf_set_sym_val()
240 sym->def[def].tri = yes; in conf_set_sym_val()
245 sym->def[def].tri = no; in conf_set_sym_val()
249 if (def != S_DEF_AUTO) in conf_set_sym_val()
255 if (def != S_DEF_AUTO) { in conf_set_sym_val()
274 sym->def[def].val = xstrdup(p); in conf_set_sym_val()
277 if (def != S_DEF_AUTO) in conf_set_sym_val()
344 int conf_read_simple(const char *name, int def) in conf_read_simple() argument
410 def_flags = SYMBOL_DEF << def; in conf_read_simple()
[all …]
Dconf.c121 int cnt, def; in randomize_choice_values() local
142 def = rand() % cnt; in randomize_choice_values()
146 if (def == cnt++) { in randomize_choice_values()
147 sym->def[S_DEF_USER].tri = yes; in randomize_choice_values()
148 csym->def[S_DEF_USER].val = sym; in randomize_choice_values()
150 sym->def[S_DEF_USER].tri = no; in randomize_choice_values()
238 sym->def[S_DEF_USER].tri = yes; in conf_set_all_new_symbols()
241 sym->def[S_DEF_USER].tri = mod; in conf_set_all_new_symbols()
244 sym->def[S_DEF_USER].tri = no; in conf_set_all_new_symbols()
247 sym->def[S_DEF_USER].tri = no; in conf_set_all_new_symbols()
[all …]
/linux-6.6.21/drivers/infiniband/core/
Duverbs_uapi.c59 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()
86 if (!def->write.is_ex && def->func_write) { in uapi_create_write()
[all …]
/linux-6.6.21/arch/powerpc/mm/nohash/
Dtlb.c419 struct mmu_psize_def *def; in setup_page_sizes() local
422 def = &mmu_psize_defs[psize]; in setup_page_sizes()
423 shift = def->shift; in setup_page_sizes()
432 def->flags |= MMU_PAGE_SIZE_DIRECT; in setup_page_sizes()
458 struct mmu_psize_def *def = &mmu_psize_defs[psize]; in setup_page_sizes() local
460 if (!def->shift) in setup_page_sizes()
463 if (tlb1ps & (1U << (def->shift - 10))) { in setup_page_sizes()
464 def->flags |= MMU_PAGE_SIZE_DIRECT; in setup_page_sizes()
467 def->flags |= MMU_PAGE_SIZE_INDIRECT; in setup_page_sizes()
481 struct mmu_psize_def *def = &mmu_psize_defs[psize]; in setup_page_sizes() local
[all …]
/linux-6.6.21/drivers/net/wireless/intel/iwlwifi/fw/
Dimg.c8 u8 iwl_fw_lookup_cmd_ver(const struct iwl_fw *fw, u32 cmd_id, u8 def) in iwl_fw_lookup_cmd_ver() argument
18 return def; in iwl_fw_lookup_cmd_ver()
24 return def; in iwl_fw_lookup_cmd_ver()
29 return def; in iwl_fw_lookup_cmd_ver()
33 u8 iwl_fw_lookup_notif_ver(const struct iwl_fw *fw, u8 grp, u8 cmd, u8 def) in iwl_fw_lookup_notif_ver() argument
40 return def; in iwl_fw_lookup_notif_ver()
46 return def; in iwl_fw_lookup_notif_ver()
51 return def; in iwl_fw_lookup_notif_ver()
/linux-6.6.21/drivers/net/ethernet/atheros/atl1e/
Datl1e_param.c93 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 …]
/linux-6.6.21/drivers/iio/magnetometer/
Dak8975.c383 const struct ak_def *def; member
502 regval = (data->cntl_cache & ~data->def->ctrl_masks[CNTL_MODE]) | in ak8975_set_mode()
503 data->def->ctrl_modes[mode]; in ak8975_set_mode()
505 data->def->ctrl_regs[CNTL], regval); in ak8975_set_mode()
578 client, data->def->ctrl_regs[ASA_BASE], in ak8975_setup()
601 data->raw_to_gauss[0] = data->def->raw_to_gauss(data->asa[0]); in ak8975_setup()
602 data->raw_to_gauss[1] = data->def->raw_to_gauss(data->asa[1]); in ak8975_setup()
603 data->raw_to_gauss[2] = data->def->raw_to_gauss(data->asa[2]); in ak8975_setup()
626 ret = i2c_smbus_read_byte_data(client, data->def->ctrl_regs[ST1]); in wait_conversion_complete_gpio()
644 data->def->ctrl_regs[ST1]); in wait_conversion_complete_polled()
[all …]

12345678910>>...15