/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn32/ |
D | dcn32_resource.h | 197 #define ABM_DCN32_REG_LIST_RI(id) \ argument 199 SRI_ARR(DC_ABM1_HG_SAMPLE_RATE, ABM, id), \ 200 SRI_ARR(DC_ABM1_LS_SAMPLE_RATE, ABM, id), \ 201 SRI_ARR(BL1_PWM_BL_UPDATE_SAMPLE_RATE, ABM, id), \ 202 SRI_ARR(DC_ABM1_HG_MISC_CTRL, ABM, id), \ 203 SRI_ARR(DC_ABM1_IPCSC_COEFF_SEL, ABM, id), \ 204 SRI_ARR(BL1_PWM_CURRENT_ABM_LEVEL, ABM, id), \ 205 SRI_ARR(BL1_PWM_TARGET_ABM_LEVEL, ABM, id), \ 206 SRI_ARR(BL1_PWM_USER_LEVEL, ABM, id), \ 207 SRI_ARR(DC_ABM1_LS_MIN_MAX_PIXEL_VALUE_THRES, ABM, id), \ [all …]
|
/linux-6.6.21/include/linux/ |
D | ata.h | 563 #define ata_id_is_ata(id) (((id)[ATA_ID_CONFIG] & (1 << 15)) == 0) argument 564 #define ata_id_has_lba(id) ((id)[ATA_ID_CAPABILITY] & (1 << 9)) argument 565 #define ata_id_has_dma(id) ((id)[ATA_ID_CAPABILITY] & (1 << 8)) argument 566 #define ata_id_has_ncq(id) ((id)[ATA_ID_SATA_CAPABILITY] & (1 << 8)) argument 567 #define ata_id_queue_depth(id) (((id)[ATA_ID_QUEUE_DEPTH] & 0x1f) + 1) argument 568 #define ata_id_removable(id) ((id)[ATA_ID_CONFIG] & (1 << 7)) argument 569 #define ata_id_has_atapi_AN(id) \ argument 570 ((((id)[ATA_ID_SATA_CAPABILITY] != 0x0000) && \ 571 ((id)[ATA_ID_SATA_CAPABILITY] != 0xffff)) && \ 572 ((id)[ATA_ID_FEATURE_SUPP] & (1 << 5))) [all …]
|
/linux-6.6.21/drivers/i2c/busses/ |
D | i2c-sh7760.c | 114 struct cami2c *id = ptr; in sh7760_i2c_irq() local 115 struct i2c_msg *msg = id->msg; in sh7760_i2c_irq() 119 msr = IN32(id, I2CMSR); in sh7760_i2c_irq() 120 fsr = IN32(id, I2CFSR); in sh7760_i2c_irq() 124 OUT32(id, I2CMCR, 0); in sh7760_i2c_irq() 125 OUT32(id, I2CSCR, 0); in sh7760_i2c_irq() 126 OUT32(id, I2CSAR, 0); in sh7760_i2c_irq() 127 id->status |= IDS_DONE | IDS_ARBLOST; in sh7760_i2c_irq() 139 OUT32(id, I2CFCR, FCR_RFRST | FCR_TFRST); in sh7760_i2c_irq() 140 OUT32(id, I2CMCR, MCR_MIE | MCR_FSB); in sh7760_i2c_irq() [all …]
|
D | i2c-cadence.c | 134 #define cdns_i2c_readreg(offset) readl_relaxed(id->membase + offset) 135 #define cdns_i2c_writereg(val, offset) writel_relaxed(val, id->membase + offset) 237 static void cdns_i2c_clear_bus_hold(struct cdns_i2c *id) in cdns_i2c_clear_bus_hold() argument 244 static inline bool cdns_is_holdquirk(struct cdns_i2c *id, bool hold_wrkaround) in cdns_is_holdquirk() argument 247 (id->curr_recv_count == id->fifo_depth + 1)); in cdns_is_holdquirk() 251 static void cdns_i2c_set_mode(enum cdns_i2c_mode mode, struct cdns_i2c *id) in cdns_i2c_set_mode() argument 260 id->dev_mode = mode; in cdns_i2c_set_mode() 261 id->slave_state = CDNS_I2C_SLAVE_STATE_IDLE; in cdns_i2c_set_mode() 266 cdns_i2c_writereg(id->ctrl_reg_diva_divb | in cdns_i2c_set_mode() 279 cdns_i2c_writereg(id->ctrl_reg_diva_divb & in cdns_i2c_set_mode() [all …]
|
/linux-6.6.21/include/linux/soc/pxa/ |
D | cpu.h | 59 #define __cpu_is_pxa210(id) \ argument 61 unsigned int _id = (id) & 0xf3f0; \ 65 #define __cpu_is_pxa250(id) \ argument 67 unsigned int _id = (id) & 0xf3ff; \ 71 #define __cpu_is_pxa255(id) \ argument 73 unsigned int _id = (id) & 0xffff; \ 77 #define __cpu_is_pxa25x(id) \ argument 79 unsigned int _id = (id) & 0xf300; \ 83 #define __cpu_is_pxa210(id) (0) argument 84 #define __cpu_is_pxa250(id) (0) argument [all …]
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/bios/ |
D | bios_parser_common.c | 63 enum object_enum_id id; in enum_id_from_bios_object_id() local 67 id = ENUM_ID_1; in enum_id_from_bios_object_id() 70 id = ENUM_ID_2; in enum_id_from_bios_object_id() 73 id = ENUM_ID_3; in enum_id_from_bios_object_id() 76 id = ENUM_ID_4; in enum_id_from_bios_object_id() 79 id = ENUM_ID_5; in enum_id_from_bios_object_id() 82 id = ENUM_ID_6; in enum_id_from_bios_object_id() 85 id = ENUM_ID_7; in enum_id_from_bios_object_id() 88 id = ENUM_ID_UNKNOWN; in enum_id_from_bios_object_id() 92 return id; in enum_id_from_bios_object_id() [all …]
|
/linux-6.6.21/drivers/clk/at91/ |
D | sam9x60.c | 79 u8 id; member 85 { .n = "ddrck", .p = "masterck_div", .id = 2, .flags = CLK_IS_CRITICAL }, 86 { .n = "uhpck", .p = "usbck", .id = 6 }, 87 { .n = "pck0", .p = "prog0", .id = 8 }, 88 { .n = "pck1", .p = "prog1", .id = 9 }, 89 { .n = "qspick", .p = "masterck_div", .id = 19 }, 95 u8 id; member 97 { .n = "pioA_clk", .id = 2, }, 98 { .n = "pioB_clk", .id = 3, }, 99 { .n = "pioC_clk", .id = 4, }, [all …]
|
D | sama5d4.c | 43 u8 id; member 49 { .n = "ddrck", .p = "masterck_div", .id = 2, .flags = CLK_IS_CRITICAL }, 50 { .n = "lcdck", .p = "masterck_div", .id = 3 }, 51 { .n = "smdck", .p = "smdclk", .id = 4 }, 52 { .n = "uhpck", .p = "usbck", .id = 6 }, 53 { .n = "udpck", .p = "usbck", .id = 7 }, 54 { .n = "pck0", .p = "prog0", .id = 8 }, 55 { .n = "pck1", .p = "prog1", .id = 9 }, 56 { .n = "pck2", .p = "prog2", .id = 10 }, 61 u8 id; member [all …]
|
D | at91sam9260.c | 13 u8 id; member 18 u8 id; member 76 { .n = "uhpck", .p = "usbck", .id = 6 }, 77 { .n = "udpck", .p = "usbck", .id = 7 }, 78 { .n = "pck0", .p = "prog0", .id = 8 }, 79 { .n = "pck1", .p = "prog1", .id = 9 }, 83 { .n = "pioA_clk", .id = 2 }, 84 { .n = "pioB_clk", .id = 3 }, 85 { .n = "pioC_clk", .id = 4 }, 86 { .n = "adc_clk", .id = 5 }, [all …]
|
D | sama5d2.c | 44 u8 id; member 50 { .n = "ddrck", .p = "masterck_div", .id = 2, .flags = CLK_IS_CRITICAL }, 51 { .n = "lcdck", .p = "masterck_div", .id = 3 }, 52 { .n = "uhpck", .p = "usbck", .id = 6 }, 53 { .n = "udpck", .p = "usbck", .id = 7 }, 54 { .n = "pck0", .p = "prog0", .id = 8 }, 55 { .n = "pck1", .p = "prog1", .id = 9 }, 56 { .n = "pck2", .p = "prog2", .id = 10 }, 57 { .n = "iscck", .p = "masterck_div", .id = 18 }, 62 u8 id; member [all …]
|
D | sama5d3.c | 44 u8 id; member 50 { .n = "ddrck", .p = "masterck_div", .id = 2, .flags = CLK_IS_CRITICAL }, 51 { .n = "lcdck", .p = "masterck_div", .id = 3 }, 52 { .n = "smdck", .p = "smdclk", .id = 4 }, 53 { .n = "uhpck", .p = "usbck", .id = 6 }, 54 { .n = "udpck", .p = "usbck", .id = 7 }, 55 { .n = "pck0", .p = "prog0", .id = 8 }, 56 { .n = "pck1", .p = "prog1", .id = 9 }, 57 { .n = "pck2", .p = "prog2", .id = 10 }, 62 u8 id; member [all …]
|
/linux-6.6.21/arch/powerpc/mm/nohash/ |
D | mmu_context.c | 97 static unsigned int steal_context_smp(unsigned int id) in steal_context_smp() argument 107 mm = context_mm[id]; in steal_context_smp() 113 id++; in steal_context_smp() 114 if (id > LAST_CONTEXT) in steal_context_smp() 115 id = FIRST_CONTEXT; in steal_context_smp() 120 mm->context.id = MMU_NO_CONTEXT; in steal_context_smp() 131 __set_bit(id, stale_map[i]); in steal_context_smp() 135 return id; in steal_context_smp() 153 unsigned int id; in steal_all_contexts() local 155 for (id = FIRST_CONTEXT; id <= LAST_CONTEXT; id++) { in steal_all_contexts() [all …]
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dce/ |
D | dce_link_encoder.h | 39 #define AUX_REG_LIST(id)\ argument 40 SRI(AUX_CONTROL, DP_AUX, id), \ 41 SRI(AUX_DPHY_RX_CONTROL0, DP_AUX, id), \ 42 SRI(AUX_DPHY_RX_CONTROL1, DP_AUX, id) 44 #define HPD_REG_LIST(id)\ argument 45 SRI(DC_HPD_CONTROL, HPD, id) 47 #define LE_COMMON_REG_LIST_BASE(id) \ argument 52 SRI(DIG_BE_CNTL, DIG, id), \ 53 SRI(DIG_BE_EN_CNTL, DIG, id), \ 54 SRI(DP_CONFIG, DP, id), \ [all …]
|
/linux-6.6.21/drivers/memory/tegra/ |
D | tegra194.c | 14 .id = TEGRA194_MEMORY_CLIENT_PTCR, 24 .id = TEGRA194_MEMORY_CLIENT_MIU7R, 34 .id = TEGRA194_MEMORY_CLIENT_MIU7W, 44 .id = TEGRA194_MEMORY_CLIENT_HDAR, 54 .id = TEGRA194_MEMORY_CLIENT_HOST1XDMAR, 64 .id = TEGRA194_MEMORY_CLIENT_NVENCSRD, 74 .id = TEGRA194_MEMORY_CLIENT_SATAR, 84 .id = TEGRA194_MEMORY_CLIENT_MPCORER, 94 .id = TEGRA194_MEMORY_CLIENT_NVENCSWR, 104 .id = TEGRA194_MEMORY_CLIENT_HDAW, [all …]
|
/linux-6.6.21/tools/perf/arch/x86/util/ |
D | unwind-libunwind.c | 14 int id; in LIBUNWIND__ARCH_REG_ID() local 18 id = PERF_REG_X86_AX; in LIBUNWIND__ARCH_REG_ID() 21 id = PERF_REG_X86_DX; in LIBUNWIND__ARCH_REG_ID() 24 id = PERF_REG_X86_CX; in LIBUNWIND__ARCH_REG_ID() 27 id = PERF_REG_X86_BX; in LIBUNWIND__ARCH_REG_ID() 30 id = PERF_REG_X86_SI; in LIBUNWIND__ARCH_REG_ID() 33 id = PERF_REG_X86_DI; in LIBUNWIND__ARCH_REG_ID() 36 id = PERF_REG_X86_BP; in LIBUNWIND__ARCH_REG_ID() 39 id = PERF_REG_X86_SP; in LIBUNWIND__ARCH_REG_ID() 42 id = PERF_REG_X86_R8; in LIBUNWIND__ARCH_REG_ID() [all …]
|
/linux-6.6.21/sound/usb/ |
D | mixer_maps.c | 15 int id; member 22 int id; member 28 u32 id; member 178 .id = 0x80, 187 .id = 14, /* Capture Source */ 192 .id = 29, /* Digital Out Source */ 197 .id = 31, /* Headphone Source */ 497 .id = USB_ID(0x041e, 0x3000), 501 .id = USB_ID(0x041e, 0x3010), 505 .id = USB_ID(0x041e, 0x3020), [all …]
|
/linux-6.6.21/sound/soc/intel/boards/ |
D | sof_ssp_amp.c | 181 pcm->device = rtd->dai_link->id; in sof_hdmi_init() 200 int i, id = 0; in sof_card_dai_links_create() local 220 links[id].cpus = &cpus[id]; in sof_card_dai_links_create() 221 links[id].cpus->dai_name = devm_kasprintf(dev, GFP_KERNEL, in sof_card_dai_links_create() 223 if (!links[id].cpus->dai_name) in sof_card_dai_links_create() 225 links[id].name = devm_kasprintf(dev, GFP_KERNEL, "SSP%d-HDMI", port); in sof_card_dai_links_create() 226 if (!links[id].name) in sof_card_dai_links_create() 228 links[id].id = id; in sof_card_dai_links_create() 229 links[id].codecs = &asoc_dummy_dlc; in sof_card_dai_links_create() 230 links[id].num_codecs = 1; in sof_card_dai_links_create() [all …]
|
D | sof_cs42l42.c | 99 pcm->device = rtd->dai_link->id; in sof_hdmi_init() 302 int *id, int ssp_amp) in create_spk_amp_dai_links() argument 310 links[*id].name = devm_kasprintf(dev, GFP_KERNEL, "SSP%d-Codec", in create_spk_amp_dai_links() 312 if (!links[*id].name) { in create_spk_amp_dai_links() 317 links[*id].id = *id; in create_spk_amp_dai_links() 320 max_98357a_dai_link(&links[*id]); in create_spk_amp_dai_links() 322 max_98360a_dai_link(&links[*id]); in create_spk_amp_dai_links() 329 links[*id].platforms = platform_component; in create_spk_amp_dai_links() 330 links[*id].num_platforms = ARRAY_SIZE(platform_component); in create_spk_amp_dai_links() 331 links[*id].dpcm_playback = 1; in create_spk_amp_dai_links() [all …]
|
D | sof_nau8825.c | 78 pcm->device = rtd->dai_link->id; in sof_hdmi_init() 358 int i, id = 0; in sof_card_dai_links_create() local 368 links[id].name = devm_kasprintf(dev, GFP_KERNEL, in sof_card_dai_links_create() 370 if (!links[id].name) in sof_card_dai_links_create() 373 links[id].id = id; in sof_card_dai_links_create() 374 links[id].codecs = nau8825_component; in sof_card_dai_links_create() 375 links[id].num_codecs = ARRAY_SIZE(nau8825_component); in sof_card_dai_links_create() 376 links[id].platforms = platform_component; in sof_card_dai_links_create() 377 links[id].num_platforms = ARRAY_SIZE(platform_component); in sof_card_dai_links_create() 378 links[id].init = sof_nau8825_codec_init; in sof_card_dai_links_create() [all …]
|
/linux-6.6.21/drivers/media/platform/samsung/s3c-camif/ |
D | camif-regs.h | 65 #define CIGCTRL_IRQ_CLR(id) BIT(19 - (id)) argument 71 #define S3C_CAMIF_REG_CIYSA(id, n) (0x18 + (id) * 0x54 + (n) * 4) argument 73 #define S3C_CAMIF_REG_CICBSA(id, n) (0x28 + (id) * 0x54 + (n) * 4) argument 75 #define S3C_CAMIF_REG_CICRSA(id, n) (0x38 + (id) * 0x54 + (n) * 4) argument 78 #define S3C_CAMIF_REG_CITRGFMT(id, _offs) (0x48 + (id) * (0x34 + (_offs))) argument 98 #define S3C_CAMIF_REG_CICTRL(id, _offs) (0x4c + (id) * (0x34 + (_offs))) argument 111 #define S3C_CAMIF_REG_CISCPRERATIO(id, _offs) (0x50 + (id) * (0x34 + (_offs))) argument 114 #define S3C_CAMIF_REG_CISCPREDST(id, _offs) (0x54 + (id) * (0x34 + (_offs))) argument 117 #define S3C_CAMIF_REG_CISCCTRL(id, _offs) (0x58 + (id) * (0x34 + (_offs))) argument 147 #define S3C_CAMIF_REG_CITAREA(id, _offs) (0x5c + (id) * (0x34 + (_offs))) argument [all …]
|
/linux-6.6.21/drivers/gpu/drm/i915/display/ |
D | intel_dsb_regs.h | 13 #define DSBSL_INSTANCE(pipe, id) (_DSBSL_INSTANCE_BASE + \ argument 14 (pipe) * 0x1000 + (id) * 0x100) 15 #define DSB_HEAD(pipe, id) _MMIO(DSBSL_INSTANCE(pipe, id) + 0x0) argument 16 #define DSB_TAIL(pipe, id) _MMIO(DSBSL_INSTANCE(pipe, id) + 0x4) argument 17 #define DSB_CTRL(pipe, id) _MMIO(DSBSL_INSTANCE(pipe, id) + 0x8) argument 25 #define DSB_MMIOCTRL(pipe, id) _MMIO(DSBSL_INSTANCE(pipe, id) + 0xc) argument 31 #define DSB_POLLFUNC(pipe, id) _MMIO(DSBSL_INSTANCE(pipe, id) + 0x10) argument 37 #define DSB_DEBUG(pipe, id) _MMIO(DSBSL_INSTANCE(pipe, id) + 0x14) argument 38 #define DSB_POLLMASK(pipe, id) _MMIO(DSBSL_INSTANCE(pipe, id) + 0x1c) argument 39 #define DSB_STATUS(pipe, id) _MMIO(DSBSL_INSTANCE(pipe, id) + 0x24) argument [all …]
|
/linux-6.6.21/drivers/hwtracing/coresight/ |
D | coresight-trace-id.c | 38 #define DUMP_ID_CPU(cpu, id) pr_debug("%s called; cpu=%d, id=%d\n", __func__, cpu, id) argument 39 #define DUMP_ID(id) pr_debug("%s called; id=%d\n", __func__, id) argument 43 #define DUMP_ID(id) argument 44 #define DUMP_ID_CPU(cpu, id) argument 85 int id = 0; in coresight_trace_id_alloc_new_id() local 90 id = preferred_id; in coresight_trace_id_alloc_new_id() 94 id = coresight_trace_id_find_odd_id(id_map); in coresight_trace_id_alloc_new_id() 95 if (id) in coresight_trace_id_alloc_new_id() 103 id = find_next_zero_bit(id_map->used_ids, CORESIGHT_TRACE_ID_RES_TOP, 1); in coresight_trace_id_alloc_new_id() 104 if (id >= CORESIGHT_TRACE_ID_RES_TOP) in coresight_trace_id_alloc_new_id() [all …]
|
/linux-6.6.21/tools/power/x86/intel-speed-select/ |
D | isst-core.c | 63 int isst_is_punit_valid(struct isst_id *id) in isst_is_punit_valid() argument 66 return isst_ops->is_punit_valid(id); in isst_is_punit_valid() 106 int isst_read_pm_config(struct isst_id *id, int *cp_state, int *cp_cap) in isst_read_pm_config() argument 109 return isst_ops->read_pm_config(id, cp_state, cp_cap); in isst_read_pm_config() 112 int isst_get_ctdp_levels(struct isst_id *id, struct isst_pkg_ctdp *pkg_dev) in isst_get_ctdp_levels() argument 115 return isst_ops->get_config_levels(id, pkg_dev); in isst_get_ctdp_levels() 118 int isst_get_ctdp_control(struct isst_id *id, int config_index, in isst_get_ctdp_control() argument 122 return isst_ops->get_ctdp_control(id, config_index, ctdp_level); in isst_get_ctdp_control() 125 int isst_get_tdp_info(struct isst_id *id, int config_index, in isst_get_tdp_info() argument 129 return isst_ops->get_tdp_info(id, config_index, ctdp_level); in isst_get_tdp_info() [all …]
|
/linux-6.6.21/drivers/macintosh/ |
D | adbhid.c | 212 int id; member 237 static void init_trackpad(int id); 238 static void init_trackball(int id); 239 static void init_turbomouse(int id); 240 static void init_microspeed(int id); 241 static void init_ms_a3(int id); 268 int id = (data[0] >> 4) & 0x0f; in adbhid_keyboard_input() local 270 if (!adbhid[id]) { in adbhid_keyboard_input() 272 id, data[0], data[1], data[2], data[3]); in adbhid_keyboard_input() 279 adbhid_input_keycode(id, data[1], 0); in adbhid_keyboard_input() [all …]
|
/linux-6.6.21/security/integrity/ |
D | digsig.c | 42 static struct key *integrity_keyring_from_id(const unsigned int id) in integrity_keyring_from_id() argument 44 if (id >= INTEGRITY_KEYRING_MAX) in integrity_keyring_from_id() 47 if (!keyring[id]) { in integrity_keyring_from_id() 48 keyring[id] = in integrity_keyring_from_id() 49 request_key(&key_type_keyring, keyring_name[id], NULL); in integrity_keyring_from_id() 50 if (IS_ERR(keyring[id])) { in integrity_keyring_from_id() 51 int err = PTR_ERR(keyring[id]); in integrity_keyring_from_id() 52 pr_err("no %s keyring: %d\n", keyring_name[id], err); in integrity_keyring_from_id() 53 keyring[id] = NULL; in integrity_keyring_from_id() 58 return keyring[id]; in integrity_keyring_from_id() [all …]
|