Home
last modified time | relevance | path

Searched refs:id (Results 1 – 25 of 7408) sorted by relevance

12345678910>>...297

/kernel/linux/linux-4.19/include/linux/
Data.h570 #define ata_id_is_ata(id) (((id)[ATA_ID_CONFIG] & (1 << 15)) == 0) argument
571 #define ata_id_has_lba(id) ((id)[ATA_ID_CAPABILITY] & (1 << 9)) argument
572 #define ata_id_has_dma(id) ((id)[ATA_ID_CAPABILITY] & (1 << 8)) argument
573 #define ata_id_has_ncq(id) ((id)[ATA_ID_SATA_CAPABILITY] & (1 << 8)) argument
574 #define ata_id_queue_depth(id) (((id)[ATA_ID_QUEUE_DEPTH] & 0x1f) + 1) argument
575 #define ata_id_removable(id) ((id)[ATA_ID_CONFIG] & (1 << 7)) argument
576 #define ata_id_has_atapi_AN(id) \ argument
577 ((((id)[ATA_ID_SATA_CAPABILITY] != 0x0000) && \
578 ((id)[ATA_ID_SATA_CAPABILITY] != 0xffff)) && \
579 ((id)[ATA_ID_FEATURE_SUPP] & (1 << 5)))
[all …]
/kernel/linux/linux-5.10/include/linux/
Data.h554 #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/
Di2c-sh7760.c114 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 …]
Di2c-cadence.c131 #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/linux/linux-4.19/drivers/i2c/busses/
Di2c-sh7760.c114 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 …]
Di2c-cadence.c122 #define cdns_i2c_readreg(offset) readl_relaxed(id->membase + offset)
123 #define cdns_i2c_writereg(val, offset) writel_relaxed(val, id->membase + offset)
181 static void cdns_i2c_clear_bus_hold(struct cdns_i2c *id) in cdns_i2c_clear_bus_hold() argument
188 static inline bool cdns_is_holdquirk(struct cdns_i2c *id, bool hold_wrkaround) in cdns_is_holdquirk() argument
191 (id->curr_recv_count == CDNS_I2C_FIFO_DEPTH + 1)); in cdns_is_holdquirk()
209 struct cdns_i2c *id = ptr; in cdns_i2c_isr() local
228 if (id->recv_count > id->curr_recv_count) in cdns_i2c_isr()
231 hold_quirk = (id->quirks & CDNS_I2C_BROKEN_HOLD_BIT) && updatetx; in cdns_i2c_isr()
234 if (id->p_recv_buf && in cdns_i2c_isr()
245 if ((id->recv_count < CDNS_I2C_FIFO_DEPTH) && in cdns_i2c_isr()
[all …]
/kernel/linux/linux-4.19/arch/powerpc/mm/
Dmmu_context_nohash.c113 static unsigned int steal_context_smp(unsigned int id) in steal_context_smp() argument
123 mm = context_mm[id]; in steal_context_smp()
129 id++; in steal_context_smp()
130 if (id > LAST_CONTEXT) in steal_context_smp()
131 id = FIRST_CONTEXT; in steal_context_smp()
134 pr_hardcont(" | steal %d from 0x%p", id, mm); in steal_context_smp()
137 mm->context.id = MMU_NO_CONTEXT; in steal_context_smp()
148 __set_bit(id, stale_map[i]); in steal_context_smp()
152 return id; in steal_context_smp()
173 unsigned int id; in steal_all_contexts() local
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/bios/
Dbios_parser_common.c63 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-4.19/drivers/gpu/drm/amd/display/dc/bios/
Dbios_parser_common.c63 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/
Dmmu_context.c109 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/
Dsam9x60.c77 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 …]
Dsama5d4.c40 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 …]
Dsama5d2.c41 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 …]
Dsama5d3.c41 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 …]
Dat91sam9260.c13 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 …]
/kernel/linux/linux-4.19/arch/arm/mach-pxa/include/mach/
Dhardware.h107 #define __cpu_is_pxa210(id) \ argument
109 unsigned int _id = (id) & 0xf3f0; \
113 #define __cpu_is_pxa250(id) \ argument
115 unsigned int _id = (id) & 0xf3ff; \
119 #define __cpu_is_pxa255(id) \ argument
121 unsigned int _id = (id) & 0xffff; \
125 #define __cpu_is_pxa25x(id) \ argument
127 unsigned int _id = (id) & 0xf300; \
131 #define __cpu_is_pxa210(id) (0) argument
132 #define __cpu_is_pxa250(id) (0) argument
[all …]
/kernel/linux/linux-5.10/arch/arm/mach-pxa/include/mach/
Dhardware.h104 #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-4.19/drivers/media/platform/s3c-camif/
Dcamif-regs.h66 #define CIGCTRL_IRQ_CLR(id) (1 << (19 - (id))) argument
72 #define S3C_CAMIF_REG_CIYSA(id, n) (0x18 + (id) * 0x54 + (n) * 4) argument
74 #define S3C_CAMIF_REG_CICBSA(id, n) (0x28 + (id) * 0x54 + (n) * 4) argument
76 #define S3C_CAMIF_REG_CICRSA(id, n) (0x38 + (id) * 0x54 + (n) * 4) argument
79 #define S3C_CAMIF_REG_CITRGFMT(id, _offs) (0x48 + (id) * (0x34 + (_offs))) argument
99 #define S3C_CAMIF_REG_CICTRL(id, _offs) (0x4c + (id) * (0x34 + (_offs))) argument
112 #define S3C_CAMIF_REG_CISCPRERATIO(id, _offs) (0x50 + (id) * (0x34 + (_offs))) argument
115 #define S3C_CAMIF_REG_CISCPREDST(id, _offs) (0x54 + (id) * (0x34 + (_offs))) argument
118 #define S3C_CAMIF_REG_CISCCTRL(id, _offs) (0x58 + (id) * (0x34 + (_offs))) argument
148 #define S3C_CAMIF_REG_CITAREA(id, _offs) (0x5c + (id) * (0x34 + (_offs))) argument
[all …]
/kernel/linux/linux-5.10/drivers/memory/tegra/
Dtegra20.c12 .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-4.19/drivers/memory/tegra/
Dtegra20.c15 .id = 0x00,
18 .id = 0x01,
21 .id = 0x02,
24 .id = 0x03,
27 .id = 0x04,
30 .id = 0x05,
33 .id = 0x06,
36 .id = 0x07,
39 .id = 0x08,
42 .id = 0x09,
[all …]
/kernel/linux/linux-5.10/tools/perf/arch/x86/util/
Dunwind-libunwind.c14 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-4.19/tools/perf/arch/x86/util/
Dunwind-libunwind.c14 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/drivers/gpu/drm/amd/display/dc/dce/
Ddce_link_encoder.h39 #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/sound/usb/
Dmixer_maps.c14 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 */
433 .id = USB_ID(0x041e, 0x3000),
438 .id = USB_ID(0x041e, 0x3010),
442 .id = USB_ID(0x041e, 0x3020),
[all …]
/kernel/linux/linux-5.10/drivers/media/platform/s3c-camif/
Dcamif-regs.h65 #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 …]

12345678910>>...297