/kernel/linux/linux-5.10/include/linux/ |
D | ata.h | 554 #define ata_id_is_ata(id) (((id)[ATA_ID_CONFIG] & (1 << 15)) == 0) argument 555 #define ata_id_has_lba(id) ((id)[ATA_ID_CAPABILITY] & (1 << 9)) argument 556 #define ata_id_has_dma(id) ((id)[ATA_ID_CAPABILITY] & (1 << 8)) argument 557 #define ata_id_has_ncq(id) ((id)[ATA_ID_SATA_CAPABILITY] & (1 << 8)) argument 558 #define ata_id_queue_depth(id) (((id)[ATA_ID_QUEUE_DEPTH] & 0x1f) + 1) argument 559 #define ata_id_removable(id) ((id)[ATA_ID_CONFIG] & (1 << 7)) argument 560 #define ata_id_has_atapi_AN(id) \ argument 561 ((((id)[ATA_ID_SATA_CAPABILITY] != 0x0000) && \ 562 ((id)[ATA_ID_SATA_CAPABILITY] != 0xffff)) && \ 563 ((id)[ATA_ID_FEATURE_SUPP] & (1 << 5))) [all …]
|
/kernel/linux/linux-5.10/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 | 131 #define cdns_i2c_readreg(offset) readl_relaxed(id->membase + offset) 132 #define cdns_i2c_writereg(val, offset) writel_relaxed(val, id->membase + offset) 226 static void cdns_i2c_clear_bus_hold(struct cdns_i2c *id) in cdns_i2c_clear_bus_hold() argument 233 static inline bool cdns_is_holdquirk(struct cdns_i2c *id, bool hold_wrkaround) in cdns_is_holdquirk() argument 236 (id->curr_recv_count == CDNS_I2C_FIFO_DEPTH + 1)); in cdns_is_holdquirk() 240 static void cdns_i2c_set_mode(enum cdns_i2c_mode mode, struct cdns_i2c *id) in cdns_i2c_set_mode() argument 249 id->dev_mode = mode; in cdns_i2c_set_mode() 250 id->slave_state = CDNS_I2C_SLAVE_STATE_IDLE; in cdns_i2c_set_mode() 255 cdns_i2c_writereg(id->ctrl_reg_diva_divb | in cdns_i2c_set_mode() 268 cdns_i2c_writereg(id->ctrl_reg_diva_divb & in cdns_i2c_set_mode() [all …]
|
/kernel/liteos_m/testsuites/unittest/xts/cmsis/ |
D | cmsis_timer_func_test.c | 81 osTimerId_t id; variable 84 id = osTimerNew((osTimerFunc_t)CmsisTimerFunc001, osTimerOnce, &value, NULL); 85 ICUNIT_ASSERT_NOT_EQUAL(id, NULL, id); 86 (void)osTimerDelete(id); 99 osTimerId_t id; variable 102 id = osTimerNew((osTimerFunc_t)CmsisTimerFunc001, osTimerPeriodic, &value, NULL); 103 ICUNIT_ASSERT_NOT_EQUAL(id, NULL, id); 104 (void)osTimerDelete(id); 117 osTimerId_t id; variable 120 id = osTimerNew(NULL, osTimerOnce, &value, NULL); [all …]
|
D | cmsis_task_pri_func_test.c | 50 static void WaitThreadExit(osThreadId_t id, UINT16 const *exitFlag) in WaitThreadExit() argument 53 (void)osThreadSetPriority(id, PRIORITY_COUNT_MIN_1); in WaitThreadExit() 103 osThreadId_t id; variable 115 id = osThreadNew((osThreadFunc_t)CmsisThreadGetPriorityFunc001, NULL, &attr); 118 ICUNIT_ASSERT_NOT_EQUAL(id, NULL, id); 119 WaitThreadExit(id, &g_threadCreateExit2); 156 osThreadId_t id; variable 168 id = osThreadNew((osThreadFunc_t)CmsisThreadGetPriorityFunc001, NULL, &attr); 171 ICUNIT_ASSERT_NOT_EQUAL(id, NULL, id); 172 WaitThreadExit(id, &g_threadCreateExit2); [all …]
|
D | cmsis_task_func_test.c | 153 static void WaitThreadExit(osThreadId_t id, UINT16 const *exitFlag) in WaitThreadExit() argument 156 (void)osThreadSetPriority(id, PRIORITY_COUNT_MIN_1); in WaitThreadExit() 591 osThreadId_t id; variable 599 id = osThreadNew((osThreadFunc_t)CmsisThreadCreatFunc, NULL, &osAttr); 600 ICUNIT_ASSERT_EQUAL(id, NULL, id); 603 id = osThreadNew((osThreadFunc_t)CmsisThreadCreatFunc, NULL, &osAttr); 604 ICUNIT_ASSERT_EQUAL(id, NULL, id); 607 id = osThreadNew((osThreadFunc_t)CmsisThreadCreatFunc, NULL, &osAttr); 608 ICUNIT_ASSERT_EQUAL(id, NULL, id); 611 id = osThreadNew((osThreadFunc_t)CmsisThreadCreatFunc, NULL, &osAttr); [all …]
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/arch/powerpc/mm/nohash/ |
D | mmu_context.c | 109 static unsigned int steal_context_smp(unsigned int id) in steal_context_smp() argument 119 mm = context_mm[id]; in steal_context_smp() 125 id++; in steal_context_smp() 126 if (id > LAST_CONTEXT) in steal_context_smp() 127 id = FIRST_CONTEXT; in steal_context_smp() 130 pr_hardcont(" | steal %d from 0x%p", id, mm); in steal_context_smp() 133 mm->context.id = MMU_NO_CONTEXT; in steal_context_smp() 144 __set_bit(id, stale_map[i]); in steal_context_smp() 148 return id; in steal_context_smp() 169 unsigned int id; in steal_all_contexts() local [all …]
|
/kernel/linux/linux-5.10/drivers/clk/at91/ |
D | sam9x60.c | 77 u8 id; member 79 { .n = "ddrck", .p = "masterck", .id = 2 }, 80 { .n = "uhpck", .p = "usbck", .id = 6 }, 81 { .n = "pck0", .p = "prog0", .id = 8 }, 82 { .n = "pck1", .p = "prog1", .id = 9 }, 83 { .n = "qspick", .p = "masterck", .id = 19 }, 88 u8 id; member 90 { .n = "pioA_clk", .id = 2, }, 91 { .n = "pioB_clk", .id = 3, }, 92 { .n = "pioC_clk", .id = 4, }, [all …]
|
D | sama5d4.c | 40 u8 id; member 42 { .n = "ddrck", .p = "masterck", .id = 2 }, 43 { .n = "lcdck", .p = "masterck", .id = 3 }, 44 { .n = "smdck", .p = "smdclk", .id = 4 }, 45 { .n = "uhpck", .p = "usbck", .id = 6 }, 46 { .n = "udpck", .p = "usbck", .id = 7 }, 47 { .n = "pck0", .p = "prog0", .id = 8 }, 48 { .n = "pck1", .p = "prog1", .id = 9 }, 49 { .n = "pck2", .p = "prog2", .id = 10 }, 54 u8 id; member [all …]
|
D | sama5d2.c | 41 u8 id; member 43 { .n = "ddrck", .p = "masterck", .id = 2 }, 44 { .n = "lcdck", .p = "masterck", .id = 3 }, 45 { .n = "uhpck", .p = "usbck", .id = 6 }, 46 { .n = "udpck", .p = "usbck", .id = 7 }, 47 { .n = "pck0", .p = "prog0", .id = 8 }, 48 { .n = "pck1", .p = "prog1", .id = 9 }, 49 { .n = "pck2", .p = "prog2", .id = 10 }, 50 { .n = "iscck", .p = "masterck", .id = 18 }, 55 u8 id; member [all …]
|
D | sama5d3.c | 41 u8 id; member 43 { .n = "ddrck", .p = "masterck", .id = 2 }, 44 { .n = "lcdck", .p = "masterck", .id = 3 }, 45 { .n = "smdck", .p = "smdclk", .id = 4 }, 46 { .n = "uhpck", .p = "usbck", .id = 6 }, 47 { .n = "udpck", .p = "usbck", .id = 7 }, 48 { .n = "pck0", .p = "prog0", .id = 8 }, 49 { .n = "pck1", .p = "prog1", .id = 9 }, 50 { .n = "pck2", .p = "prog2", .id = 10 }, 55 u8 id; member [all …]
|
D | at91sam9260.c | 13 u8 id; member 18 u8 id; member 74 { .n = "uhpck", .p = "usbck", .id = 6 }, 75 { .n = "udpck", .p = "usbck", .id = 7 }, 76 { .n = "pck0", .p = "prog0", .id = 8 }, 77 { .n = "pck1", .p = "prog1", .id = 9 }, 81 { .n = "pioA_clk", .id = 2 }, 82 { .n = "pioB_clk", .id = 3 }, 83 { .n = "pioC_clk", .id = 4 }, 84 { .n = "adc_clk", .id = 5 }, [all …]
|
D | sama7g5.c | 224 u8 id; member 228 .id = 1, 236 .id = 2, 244 .id = 3, 251 .id = 4, 268 u8 id; member 270 { .n = "pck0", .p = "prog0", .id = 8, }, 271 { .n = "pck1", .p = "prog1", .id = 9, }, 272 { .n = "pck2", .p = "prog2", .id = 10, }, 273 { .n = "pck3", .p = "prog3", .id = 11, }, [all …]
|
D | at91sam9x5.c | 42 u8 id; member 44 { .n = "ddrck", .p = "masterck", .id = 2 }, 45 { .n = "smdck", .p = "smdclk", .id = 4 }, 46 { .n = "uhpck", .p = "usbck", .id = 6 }, 47 { .n = "udpck", .p = "usbck", .id = 7 }, 48 { .n = "pck0", .p = "prog0", .id = 8 }, 49 { .n = "pck1", .p = "prog1", .id = 9 }, 61 u8 id; member 65 { .n = "pioAB_clk", .id = 2, }, 66 { .n = "pioCD_clk", .id = 3, }, [all …]
|
/kernel/linux/linux-5.10/arch/arm/mach-pxa/include/mach/ |
D | hardware.h | 104 #define __cpu_is_pxa210(id) \ argument 106 unsigned int _id = (id) & 0xf3f0; \ 110 #define __cpu_is_pxa250(id) \ argument 112 unsigned int _id = (id) & 0xf3ff; \ 116 #define __cpu_is_pxa255(id) \ argument 118 unsigned int _id = (id) & 0xffff; \ 122 #define __cpu_is_pxa25x(id) \ argument 124 unsigned int _id = (id) & 0xf300; \ 128 #define __cpu_is_pxa210(id) (0) argument 129 #define __cpu_is_pxa250(id) (0) argument [all …]
|
/kernel/linux/linux-5.10/drivers/memory/tegra/ |
D | tegra20.c | 12 .id = 0x00, 15 .id = 0x01, 18 .id = 0x02, 21 .id = 0x03, 24 .id = 0x04, 27 .id = 0x05, 30 .id = 0x06, 33 .id = 0x07, 36 .id = 0x08, 39 .id = 0x09, [all …]
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/sound/usb/ |
D | mixer_maps.c | 14 int id; member 21 int id; member 27 u32 id; member 178 .id = 0x80, 187 .id = 14, /* Capture Source */ 192 .id = 29, /* Digital Out Source */ 197 .id = 31, /* Headphone Source */ 448 .id = USB_ID(0x041e, 0x3000), 453 .id = USB_ID(0x041e, 0x3010), 457 .id = USB_ID(0x041e, 0x3020), [all …]
|
/kernel/linux/linux-5.10/drivers/media/platform/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 …]
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/arch/s390/kernel/ |
D | debug.c | 79 static int debug_prolog_level_fn(debug_info_t *id, 81 static int debug_input_level_fn(debug_info_t *id, struct debug_view *view, 84 static int debug_prolog_pages_fn(debug_info_t *id, 86 static int debug_input_pages_fn(debug_info_t *id, struct debug_view *view, 89 static int debug_input_flush_fn(debug_info_t *id, struct debug_view *view, 92 static int debug_hex_ascii_format_fn(debug_info_t *id, struct debug_view *view, 94 static int debug_sprintf_format_fn(debug_info_t *id, struct debug_view *view, 422 debug_info_t *id; in debug_next_entry() local 424 id = p_info->debug_info_snap; in debug_next_entry() 430 if (!id->areas) in debug_next_entry() [all …]
|
/kernel/linux/linux-5.10/arch/s390/include/asm/ |
D | debug.h | 64 typedef int (debug_header_proc_t) (debug_info_t *id, 70 typedef int (debug_format_proc_t) (debug_info_t *id, 73 typedef int (debug_prolog_proc_t) (debug_info_t *id, 76 typedef int (debug_input_proc_t) (debug_info_t *id, 82 int debug_dflt_header_fn(debug_info_t *id, struct debug_view *view, 99 debug_entry_t *debug_event_common(debug_info_t *id, int level, 102 debug_entry_t *debug_exception_common(debug_info_t *id, int level, 114 void debug_unregister(debug_info_t *id); 116 void debug_set_level(debug_info_t *id, int new_level); 132 static inline bool debug_level_enabled(debug_info_t *id, int level) in debug_level_enabled() argument [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/include/ |
D | grph_object_id.h | 221 uint32_t id:8; member 230 uint32_t id, in dal_graphics_object_id_init() argument 235 id, enum_id, type, 0 in dal_graphics_object_id_init() 243 struct graphics_object_id id) in dal_graphics_object_id_to_uint() argument 245 return id.id + (id.enum_id << 0x8) + (id.type << 0xc); in dal_graphics_object_id_to_uint() 249 struct graphics_object_id id) in dal_graphics_object_id_get_controller_id() argument 251 if (id.type == OBJECT_TYPE_CONTROLLER) in dal_graphics_object_id_get_controller_id() 252 return (enum controller_id) id.id; in dal_graphics_object_id_get_controller_id() 257 struct graphics_object_id id) in dal_graphics_object_id_get_clock_source_id() argument 259 if (id.type == OBJECT_TYPE_CLOCK_SOURCE) in dal_graphics_object_id_get_clock_source_id() [all …]
|