Home
last modified time | relevance | path

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

12345678910>>...237

/Linux-v4.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 …]
Dfs_enet_pd.h41 static inline int fs_get_fec_index(enum fs_id id) in fs_get_fec_index() argument
43 if (id >= fsid_fec1 && id <= fsid_fec2) in fs_get_fec_index()
44 return id - fsid_fec1; in fs_get_fec_index()
48 static inline int fs_get_fcc_index(enum fs_id id) in fs_get_fcc_index() argument
50 if (id >= fsid_fcc1 && id <= fsid_fcc3) in fs_get_fcc_index()
51 return id - fsid_fcc1; in fs_get_fcc_index()
55 static inline int fs_get_scc_index(enum fs_id id) in fs_get_scc_index() argument
57 if (id >= fsid_scc1 && id <= fsid_scc4) in fs_get_scc_index()
58 return id - fsid_scc1; in fs_get_scc_index()
64 int id = fsid_fec1 + index - 1; in fs_fec_index2id() local
[all …]
/Linux-v4.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 …]
/Linux-v4.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 …]
/Linux-v4.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 …]
/Linux-v4.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 …]
/Linux-v4.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 …]
/Linux-v4.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 …]
/Linux-v4.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 …]
/Linux-v4.19/drivers/macintosh/
Dadbhid.c212 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-v4.19/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)
43 #define HPD_REG_LIST(id)\ argument
44 SRI(DC_HPD_CONTROL, HPD, id)
46 #define LE_COMMON_REG_LIST_BASE(id) \ argument
51 SRI(DIG_BE_CNTL, DIG, id), \
52 SRI(DIG_BE_EN_CNTL, DIG, id), \
53 SRI(DP_CONFIG, DP, id), \
54 SRI(DP_DPHY_CNTL, DP, id), \
[all …]
/Linux-v4.19/sound/usb/
Dmixer_maps.c28 int id; member
35 int id; member
41 u32 id; member
191 .id = 0x80,
200 .id = 14, /* Capture Source */
205 .id = 29, /* Digital Out Source */
210 .id = 31, /* Headphone Source */
372 .id = USB_ID(0x041e, 0x3000),
377 .id = USB_ID(0x041e, 0x3010),
381 .id = USB_ID(0x041e, 0x3020),
[all …]
/Linux-v4.19/arch/s390/include/asm/
Ddebug.h54 typedef int (debug_header_proc_t) (debug_info_t *id,
60 typedef int (debug_format_proc_t) (debug_info_t *id,
63 typedef int (debug_prolog_proc_t) (debug_info_t *id,
66 typedef int (debug_input_proc_t) (debug_info_t *id,
72 int debug_dflt_header_fn(debug_info_t *id, struct debug_view *view,
90 debug_entry_t *debug_event_common(debug_info_t *id, int level,
93 debug_entry_t *debug_exception_common(debug_info_t *id, int level,
105 void debug_unregister(debug_info_t *id);
107 void debug_set_level(debug_info_t *id, int new_level);
112 static inline bool debug_level_enabled(debug_info_t *id, int level) in debug_level_enabled() argument
[all …]
/Linux-v4.19/arch/s390/kernel/
Ddebug.c78 static int debug_prolog_level_fn(debug_info_t *id,
80 static int debug_input_level_fn(debug_info_t *id, struct debug_view *view,
83 static int debug_prolog_pages_fn(debug_info_t *id,
85 static int debug_input_pages_fn(debug_info_t *id, struct debug_view *view,
88 static int debug_input_flush_fn(debug_info_t *id, struct debug_view *view,
91 static int debug_hex_ascii_format_fn(debug_info_t *id, struct debug_view *view,
93 static int debug_raw_format_fn(debug_info_t *id,
96 static int debug_raw_header_fn(debug_info_t *id, struct debug_view *view,
99 static int debug_sprintf_format_fn(debug_info_t *id, struct debug_view *view,
451 if (act_entry->id.stck == 0LL) in debug_format_entry()
[all …]
/Linux-v4.19/drivers/gpu/drm/amd/display/include/
Dgrph_object_id.h221 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 …]
/Linux-v4.19/drivers/gpu/host1x/hw/
Dhw_host1x02_sync.h56 static inline u32 host1x_sync_syncpt_r(unsigned int id) in host1x_sync_syncpt_r() argument
58 return 0x400 + id * REGISTER_STRIDE; in host1x_sync_syncpt_r()
60 #define HOST1X_SYNC_SYNCPT(id) \ argument
61 host1x_sync_syncpt_r(id)
62 static inline u32 host1x_sync_syncpt_thresh_cpu0_int_status_r(unsigned int id) in host1x_sync_syncpt_thresh_cpu0_int_status_r() argument
64 return 0x40 + id * REGISTER_STRIDE; in host1x_sync_syncpt_thresh_cpu0_int_status_r()
66 #define HOST1X_SYNC_SYNCPT_THRESH_CPU0_INT_STATUS(id) \ argument
67 host1x_sync_syncpt_thresh_cpu0_int_status_r(id)
68 static inline u32 host1x_sync_syncpt_thresh_int_disable_r(unsigned int id) in host1x_sync_syncpt_thresh_int_disable_r() argument
70 return 0x60 + id * REGISTER_STRIDE; in host1x_sync_syncpt_thresh_int_disable_r()
[all …]
Dhw_host1x05_sync.h56 static inline u32 host1x_sync_syncpt_r(unsigned int id) in host1x_sync_syncpt_r() argument
58 return 0xf80 + id * REGISTER_STRIDE; in host1x_sync_syncpt_r()
60 #define HOST1X_SYNC_SYNCPT(id) \ argument
61 host1x_sync_syncpt_r(id)
62 static inline u32 host1x_sync_syncpt_thresh_cpu0_int_status_r(unsigned int id) in host1x_sync_syncpt_thresh_cpu0_int_status_r() argument
64 return 0xe80 + id * REGISTER_STRIDE; in host1x_sync_syncpt_thresh_cpu0_int_status_r()
66 #define HOST1X_SYNC_SYNCPT_THRESH_CPU0_INT_STATUS(id) \ argument
67 host1x_sync_syncpt_thresh_cpu0_int_status_r(id)
68 static inline u32 host1x_sync_syncpt_thresh_int_disable_r(unsigned int id) in host1x_sync_syncpt_thresh_int_disable_r() argument
70 return 0xf00 + id * REGISTER_STRIDE; in host1x_sync_syncpt_thresh_int_disable_r()
[all …]
Dhw_host1x01_sync.h56 static inline u32 host1x_sync_syncpt_r(unsigned int id) in host1x_sync_syncpt_r() argument
58 return 0x400 + id * REGISTER_STRIDE; in host1x_sync_syncpt_r()
60 #define HOST1X_SYNC_SYNCPT(id) \ argument
61 host1x_sync_syncpt_r(id)
62 static inline u32 host1x_sync_syncpt_thresh_cpu0_int_status_r(unsigned int id) in host1x_sync_syncpt_thresh_cpu0_int_status_r() argument
64 return 0x40 + id * REGISTER_STRIDE; in host1x_sync_syncpt_thresh_cpu0_int_status_r()
66 #define HOST1X_SYNC_SYNCPT_THRESH_CPU0_INT_STATUS(id) \ argument
67 host1x_sync_syncpt_thresh_cpu0_int_status_r(id)
68 static inline u32 host1x_sync_syncpt_thresh_int_disable_r(unsigned int id) in host1x_sync_syncpt_thresh_int_disable_r() argument
70 return 0x60 + id * REGISTER_STRIDE; in host1x_sync_syncpt_thresh_int_disable_r()
[all …]
Dhw_host1x04_sync.h56 static inline u32 host1x_sync_syncpt_r(unsigned int id) in host1x_sync_syncpt_r() argument
58 return 0xf80 + id * REGISTER_STRIDE; in host1x_sync_syncpt_r()
60 #define HOST1X_SYNC_SYNCPT(id) \ argument
61 host1x_sync_syncpt_r(id)
62 static inline u32 host1x_sync_syncpt_thresh_cpu0_int_status_r(unsigned int id) in host1x_sync_syncpt_thresh_cpu0_int_status_r() argument
64 return 0xe80 + id * REGISTER_STRIDE; in host1x_sync_syncpt_thresh_cpu0_int_status_r()
66 #define HOST1X_SYNC_SYNCPT_THRESH_CPU0_INT_STATUS(id) \ argument
67 host1x_sync_syncpt_thresh_cpu0_int_status_r(id)
68 static inline u32 host1x_sync_syncpt_thresh_int_disable_r(unsigned int id) in host1x_sync_syncpt_thresh_int_disable_r() argument
70 return 0xf00 + id * REGISTER_STRIDE; in host1x_sync_syncpt_thresh_int_disable_r()
[all …]
/Linux-v4.19/lib/
Didr.c40 unsigned int id = *nextid; in idr_alloc_u32() local
47 id = (id < base) ? 0 : id - base; in idr_alloc_u32()
48 radix_tree_iter_init(&iter, id); in idr_alloc_u32()
84 u32 id = start; in idr_alloc() local
90 ret = idr_alloc_u32(idr, ptr, &id, end > 0 ? end - 1 : INT_MAX, gfp); in idr_alloc()
94 return id; in idr_alloc()
122 u32 id = idr->idr_next; in idr_alloc_cyclic() local
125 if ((int)id < start) in idr_alloc_cyclic()
126 id = start; in idr_alloc_cyclic()
128 err = idr_alloc_u32(idr, ptr, &id, max, gfp); in idr_alloc_cyclic()
[all …]
/Linux-v4.19/drivers/soc/tegra/
Dpmc.c128 unsigned int id; member
135 enum tegra_io_pad id; member
242 static inline bool tegra_powergate_state(int id) in tegra_powergate_state() argument
244 if (id == TEGRA_POWERGATE_3D && pmc->soc->has_gpu_clamps) in tegra_powergate_state()
247 return (tegra_pmc_readl(PWRGATE_STATUS) & BIT(id)) != 0; in tegra_powergate_state()
250 static inline bool tegra_powergate_is_valid(int id) in tegra_powergate_is_valid() argument
252 return (pmc->soc && pmc->soc->powergates[id]); in tegra_powergate_is_valid()
255 static inline bool tegra_powergate_is_available(int id) in tegra_powergate_is_available() argument
257 return test_bit(id, pmc->powergates_available); in tegra_powergate_is_available()
283 static int tegra_powergate_set(unsigned int id, bool new_state) in tegra_powergate_set() argument
[all …]
/Linux-v4.19/sound/isa/ad1816a/
Dad1816a.c46 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */ variable
59 module_param_array(id, charp, NULL, 0444);
60 MODULE_PARM_DESC(id, "ID string for ad1816a based soundcard.");
68 { .id = "ADS7150", .devs = { { .id = "ADS7150" }, { .id = "ADS7151" } } },
70 { .id = "ADS7180", .devs = { { .id = "ADS7180" }, { .id = "ADS7181" } } },
72 { .id = "ADS7181", .devs = { { .id = "ADS7180" }, { .id = "ADS7181" } } },
74 { .id = "AZT1022", .devs = { { .id = "AZT1018" }, { .id = "AZT2002" } } },
76 { .id = "LWC1061", .devs = { { .id = "ADS7180" }, { .id = "ADS7181" } } },
78 { .id = "MDK1605", .devs = { { .id = "ADS7180" }, { .id = "ADS7181" } } },
80 { .id = "SMM7180", .devs = { { .id = "ADS7180" }, { .id = "ADS7181" } } },
[all …]
/Linux-v4.19/drivers/gpu/drm/msm/dsi/
Ddsi_manager.c41 #define IS_MASTER_DSI_LINK(id) (msm_dsim_glb.master_dsi_link_id == id) argument
43 static inline struct msm_dsi *dsi_mgr_get_dsi(int id) in dsi_mgr_get_dsi() argument
45 return msm_dsim_glb.dsi[id]; in dsi_mgr_get_dsi()
48 static inline struct msm_dsi *dsi_mgr_get_other_dsi(int id) in dsi_mgr_get_other_dsi() argument
50 return msm_dsim_glb.dsi[(id + 1) % DSI_MAX]; in dsi_mgr_get_other_dsi()
53 static int dsi_mgr_parse_dual_dsi(struct device_node *np, int id) in dsi_mgr_parse_dual_dsi() argument
66 msm_dsim->master_dsi_link_id = id; in dsi_mgr_parse_dual_dsi()
75 static int dsi_mgr_setup_components(int id) in dsi_mgr_setup_components() argument
77 struct msm_dsi *msm_dsi = dsi_mgr_get_dsi(id); in dsi_mgr_setup_components()
78 struct msm_dsi *other_dsi = dsi_mgr_get_other_dsi(id); in dsi_mgr_setup_components()
[all …]
/Linux-v4.19/arch/s390/kvm/
Dtrace-s390.h43 TP_PROTO(unsigned int id, struct kvm_vcpu *vcpu,
45 TP_ARGS(id, vcpu, sie_block),
48 __field(unsigned int, id)
54 __entry->id = id;
60 __entry->id, __entry->vcpu, __entry->sie_block)
64 TP_PROTO(unsigned int id),
65 TP_ARGS(id),
68 __field(unsigned int, id)
72 __entry->id = id;
75 TP_printk("destroy cpu %d", __entry->id)
[all …]

12345678910>>...237