Home
last modified time | relevance | path

Searched refs:ID (Results 1 – 25 of 797) sorted by relevance

12345678910>>...32

/linux/drivers/staging/media/atomisp/pci/hive_isp_css_common/host/
H A Dirq.c25 const irq_ID_t ID);
28 const irq_ID_t ID);
60 const irq_ID_t ID) in irq_clear_all() argument
64 assert(ID < N_IRQ_ID); in irq_clear_all()
65 assert(IRQ_N_CHANNEL[ID] <= HRT_DATA_WIDTH); in irq_clear_all()
67 if (IRQ_N_CHANNEL[ID] < HRT_DATA_WIDTH) { in irq_clear_all()
68 mask = ~((~(hrt_data)0) >> IRQ_N_CHANNEL[ID]); in irq_clear_all()
71 irq_reg_store(ID, in irq_clear_all()
80 const irq_ID_t ID, in irq_enable_channel() argument
83 unsigned int mask = irq_reg_load(ID, in irq_enable_channel()
[all …]
H A Dfifo_monitor.c44 const fifo_monitor_ID_t ID,
49 const fifo_monitor_ID_t ID,
54 const fifo_monitor_ID_t ID, in fifo_channel_get_state() argument
63 state->src_valid = fifo_monitor_status_valid(ID, in fifo_channel_get_state()
66 state->fifo_accept = fifo_monitor_status_accept(ID, in fifo_channel_get_state()
69 state->fifo_valid = fifo_monitor_status_valid(ID, in fifo_channel_get_state()
72 state->sink_accept = fifo_monitor_status_accept(ID, in fifo_channel_get_state()
77 state->src_valid = fifo_monitor_status_valid(ID, in fifo_channel_get_state()
80 state->fifo_accept = fifo_monitor_status_accept(ID, in fifo_channel_get_state()
83 state->fifo_valid = fifo_monitor_status_valid(ID, in fifo_channel_get_state()
[all …]
H A Dinput_formatter.c60 const input_formatter_ID_t ID) in input_formatter_rst() argument
65 assert(ID < N_INPUT_FORMATTER_ID); in input_formatter_rst()
67 addr = HIVE_IF_SRST_ADDRESS[ID]; in input_formatter_rst()
68 rst = HIVE_IF_SRST_MASK[ID]; in input_formatter_rst()
74 if (!HIVE_IF_BIN_COPY[ID]) { in input_formatter_rst()
75 input_formatter_reg_store(ID, addr, rst); in input_formatter_rst()
82 const input_formatter_ID_t ID) in input_formatter_get_alignment() argument
84 assert(ID < N_INPUT_FORMATTER_ID); in input_formatter_get_alignment()
86 return input_formatter_alignment[ID]; in input_formatter_get_alignment()
90 const input_formatter_ID_t ID, in input_formatter_set_fifo_blocking_mode() argument
[all …]
H A Dsp_private.h26 const sp_ID_t ID, in sp_ctrl_store() argument
30 assert(ID < N_SP_ID); in sp_ctrl_store()
31 assert(SP_CTRL_BASE[ID] != (hrt_address)-1); in sp_ctrl_store()
32 ia_css_device_store_uint32(SP_CTRL_BASE[ID] + reg * sizeof(hrt_data), value); in sp_ctrl_store()
37 const sp_ID_t ID, in sp_ctrl_load() argument
40 assert(ID < N_SP_ID); in sp_ctrl_load()
41 assert(SP_CTRL_BASE[ID] != (hrt_address)-1); in sp_ctrl_load()
42 return ia_css_device_load_uint32(SP_CTRL_BASE[ID] + reg * sizeof(hrt_data)); in sp_ctrl_load()
46 const sp_ID_t ID, in sp_ctrl_getbit() argument
50 hrt_data val = sp_ctrl_load(ID, reg); in sp_ctrl_getbit()
[all …]
H A Dgp_device.c24 const gp_device_ID_t ID, in gp_device_get_state() argument
27 assert(ID < N_GP_DEVICE_ID); in gp_device_get_state()
30 state->syncgen_enable = gp_device_reg_load(ID, in gp_device_get_state()
32 state->syncgen_free_running = gp_device_reg_load(ID, in gp_device_get_state()
34 state->syncgen_pause = gp_device_reg_load(ID, in gp_device_get_state()
36 state->nr_frames = gp_device_reg_load(ID, in gp_device_get_state()
38 state->syngen_nr_pix = gp_device_reg_load(ID, in gp_device_get_state()
40 state->syngen_nr_pix = gp_device_reg_load(ID, in gp_device_get_state()
42 state->syngen_nr_lines = gp_device_reg_load(ID, in gp_device_get_state()
44 state->syngen_hblank_cycles = gp_device_reg_load(ID, in gp_device_get_state()
[all …]
H A Disp_private.h31 const isp_ID_t ID, in isp_ctrl_store() argument
35 assert(ID < N_ISP_ID); in isp_ctrl_store()
36 assert(ISP_CTRL_BASE[ID] != (hrt_address) - 1); in isp_ctrl_store()
38 ia_css_device_store_uint32(ISP_CTRL_BASE[ID] + reg * sizeof(hrt_data), value); in isp_ctrl_store()
40 hrt_master_port_store_32(ISP_CTRL_BASE[ID] + reg * sizeof(hrt_data), value); in isp_ctrl_store()
46 const isp_ID_t ID, in isp_ctrl_load() argument
49 assert(ID < N_ISP_ID); in isp_ctrl_load()
50 assert(ISP_CTRL_BASE[ID] != (hrt_address) - 1); in isp_ctrl_load()
52 return ia_css_device_load_uint32(ISP_CTRL_BASE[ID] + reg * sizeof(hrt_data)); in isp_ctrl_load()
54 return hrt_master_port_uload_32(ISP_CTRL_BASE[ID] + reg * sizeof(hrt_data)); in isp_ctrl_load()
[all …]
H A Devent_fifo_private.h27 STORAGE_CLASS_EVENT_C void event_wait_for(const event_ID_t ID) in event_wait_for() argument
29 assert(ID < N_EVENT_ID); in event_wait_for()
30 assert(event_source_addr[ID] != ((hrt_address) - 1)); in event_wait_for()
31 (void)ia_css_device_load_uint32(event_source_addr[ID]); in event_wait_for()
35 STORAGE_CLASS_EVENT_C void cnd_event_wait_for(const event_ID_t ID, in cnd_event_wait_for() argument
39 event_wait_for(ID); in cnd_event_wait_for()
43 STORAGE_CLASS_EVENT_C hrt_data event_receive_token(const event_ID_t ID) in event_receive_token() argument
45 assert(ID < N_EVENT_ID); in event_receive_token()
46 assert(event_source_addr[ID] != ((hrt_address) - 1)); in event_receive_token()
47 return ia_css_device_load_uint32(event_source_addr[ID]); in event_receive_token()
[all …]
H A Dinput_system.c44 static void receiver_rst(const rx_ID_t ID);
45 static void input_system_network_rst(const input_system_ID_t ID);
48 const input_system_ID_t ID,
53 const input_system_ID_t ID,
58 const input_system_ID_t ID,
63 const input_system_ID_t ID,
82 static void gp_device_rst(const gp_device_ID_t ID);
84 static void input_selector_cfg_for_sensor(const gp_device_ID_t ID);
86 static void input_switch_rst(const gp_device_ID_t ID);
89 const gp_device_ID_t ID,
[all …]
H A Disp.c28 const isp_ID_t ID, in cnd_isp_irq_enable() argument
32 isp_ctrl_setbit(ID, ISP_IRQ_READY_REG, ISP_IRQ_READY_BIT); in cnd_isp_irq_enable()
34 isp_ctrl_setbit(ID, ISP_IRQ_CLEAR_REG, ISP_IRQ_CLEAR_BIT); in cnd_isp_irq_enable()
36 isp_ctrl_clearbit(ID, ISP_IRQ_READY_REG, in cnd_isp_irq_enable()
45 unsigned int isp_is_ready(isp_ID_t ID) in isp_is_ready() argument
47 assert(ID < N_ISP_ID); in isp_is_ready()
48 return isp_ctrl_getbit(ID, ISP_SC_REG, ISP_IDLE_BIT); in isp_is_ready()
52 unsigned int isp_is_sleeping(isp_ID_t ID) in isp_is_sleeping() argument
54 assert(ID < N_ISP_ID); in isp_is_sleeping()
55 return isp_ctrl_getbit(ID, ISP_SC_REG, ISP_SLEEPING_BIT); in isp_is_sleeping()
[all …]
H A Dfifo_monitor_private.h33 const fifo_monitor_ID_t ID, in fifo_switch_set() argument
37 assert(ID == FIFO_MONITOR0_ID); in fifo_switch_set()
38 assert(FIFO_MONITOR_BASE[ID] != (hrt_address) - 1); in fifo_switch_set()
40 (void)ID; in fifo_switch_set()
48 const fifo_monitor_ID_t ID, in fifo_switch_get() argument
51 assert(ID == FIFO_MONITOR0_ID); in fifo_switch_get()
52 assert(FIFO_MONITOR_BASE[ID] != (hrt_address) - 1); in fifo_switch_get()
54 (void)ID; in fifo_switch_get()
60 const fifo_monitor_ID_t ID, in fifo_monitor_reg_store() argument
64 assert(ID < N_FIFO_MONITOR_ID); in fifo_monitor_reg_store()
[all …]
/linux/drivers/staging/media/atomisp/pci/css_2401_system/host/
H A Dpixelgen_private.h33 const pixelgen_ID_t ID, in pixelgen_ctrl_reg_load() argument
36 assert(ID < N_PIXELGEN_ID); in pixelgen_ctrl_reg_load()
37 assert(PIXELGEN_CTRL_BASE[ID] != (hrt_address) - 1); in pixelgen_ctrl_reg_load()
38 return ia_css_device_load_uint32(PIXELGEN_CTRL_BASE[ID] + reg * sizeof( in pixelgen_ctrl_reg_load()
47 const pixelgen_ID_t ID, in pixelgen_ctrl_reg_store() argument
51 assert(ID < N_PIXELGEN_ID); in pixelgen_ctrl_reg_store()
52 assert(PIXELGEN_CTRL_BASE[ID] != (hrt_address)-1); in pixelgen_ctrl_reg_store()
54 ia_css_device_store_uint32(PIXELGEN_CTRL_BASE[ID] + reg * sizeof(hrt_data), in pixelgen_ctrl_reg_store()
70 const pixelgen_ID_t ID, in pixelgen_ctrl_get_state() argument
74 pixelgen_ctrl_reg_load(ID, _PXG_COM_ENABLE_REG_IDX); in pixelgen_ctrl_get_state()
[all …]
H A Dcsi_rx_private.h38 const csi_rx_frontend_ID_t ID, in csi_rx_fe_ctrl_reg_load() argument
41 assert(ID < N_CSI_RX_FRONTEND_ID); in csi_rx_fe_ctrl_reg_load()
42 assert(CSI_RX_FE_CTRL_BASE[ID] != (hrt_address)-1); in csi_rx_fe_ctrl_reg_load()
43 return ia_css_device_load_uint32(CSI_RX_FE_CTRL_BASE[ID] + reg * sizeof( in csi_rx_fe_ctrl_reg_load()
52 const csi_rx_frontend_ID_t ID, in csi_rx_fe_ctrl_reg_store() argument
56 assert(ID < N_CSI_RX_FRONTEND_ID); in csi_rx_fe_ctrl_reg_store()
57 assert(CSI_RX_FE_CTRL_BASE[ID] != (hrt_address)-1); in csi_rx_fe_ctrl_reg_store()
59 ia_css_device_store_uint32(CSI_RX_FE_CTRL_BASE[ID] + reg * sizeof(hrt_data), in csi_rx_fe_ctrl_reg_store()
68 const csi_rx_backend_ID_t ID, in csi_rx_be_ctrl_reg_load() argument
71 assert(ID < N_CSI_RX_BACKEND_ID); in csi_rx_be_ctrl_reg_load()
[all …]
H A Disys_stream2mmio_private.h44 const stream2mmio_ID_t ID, in stream2mmio_get_state() argument
53 for (i = STREAM2MMIO_SID0_ID; i < N_STREAM2MMIO_SID_PROCS[ID]; i++) { in stream2mmio_get_state()
54 stream2mmio_get_sid_state(ID, i, &state->sid_state[i]); in stream2mmio_get_state()
63 const stream2mmio_ID_t ID, in stream2mmio_get_sid_state() argument
68 stream2mmio_reg_load(ID, sid_id, STREAM2MMIO_ACKNOWLEDGE_REG_ID); in stream2mmio_get_sid_state()
71 stream2mmio_reg_load(ID, sid_id, STREAM2MMIO_PIX_WIDTH_ID_REG_ID); in stream2mmio_get_sid_state()
74 stream2mmio_reg_load(ID, sid_id, STREAM2MMIO_START_ADDR_REG_ID); in stream2mmio_get_sid_state()
77 stream2mmio_reg_load(ID, sid_id, STREAM2MMIO_END_ADDR_REG_ID); in stream2mmio_get_sid_state()
80 stream2mmio_reg_load(ID, sid_id, STREAM2MMIO_STRIDE_REG_ID); in stream2mmio_get_sid_state()
83 stream2mmio_reg_load(ID, sid_id, STREAM2MMIO_NUM_ITEMS_REG_ID); in stream2mmio_get_sid_state()
[all …]
/linux/drivers/staging/media/atomisp/pci/
H A Disp2401_input_system_private.h27 static inline hrt_data ibuf_ctrl_reg_load(const ibuf_ctrl_ID_t ID, in ibuf_ctrl_reg_load() argument
30 assert(ID < N_IBUF_CTRL_ID); in ibuf_ctrl_reg_load()
31 assert(IBUF_CTRL_BASE[ID] != (hrt_address)-1); in ibuf_ctrl_reg_load()
32 return ia_css_device_load_uint32(IBUF_CTRL_BASE[ID] + reg * sizeof(hrt_data)); in ibuf_ctrl_reg_load()
36 static inline void ibuf_ctrl_reg_store(const ibuf_ctrl_ID_t ID, in ibuf_ctrl_reg_store() argument
40 assert(ID < N_IBUF_CTRL_ID); in ibuf_ctrl_reg_store()
41 assert(IBUF_CTRL_BASE[ID] != (hrt_address)-1); in ibuf_ctrl_reg_store()
43 ia_css_device_store_uint32(IBUF_CTRL_BASE[ID] + reg * sizeof(hrt_data), value); in ibuf_ctrl_reg_store()
47 static inline void ibuf_ctrl_get_proc_state(const ibuf_ctrl_ID_t ID, in ibuf_ctrl_get_proc_state() argument
57 ibuf_ctrl_reg_load(ID, reg_bank_offset + _IBUF_CNTRL_NUM_ITEMS_PER_STORE); in ibuf_ctrl_get_proc_state()
[all …]
H A Disp2400_input_system_private.h26 const input_system_ID_t ID, in input_system_reg_store() argument
30 assert(ID < N_INPUT_SYSTEM_ID); in input_system_reg_store()
31 assert(INPUT_SYSTEM_BASE[ID] != (hrt_address)-1); in input_system_reg_store()
32 ia_css_device_store_uint32(INPUT_SYSTEM_BASE[ID] + reg * sizeof(hrt_data), in input_system_reg_store()
38 const input_system_ID_t ID, in input_system_reg_load() argument
41 assert(ID < N_INPUT_SYSTEM_ID); in input_system_reg_load()
42 assert(INPUT_SYSTEM_BASE[ID] != (hrt_address)-1); in input_system_reg_load()
43 return ia_css_device_load_uint32(INPUT_SYSTEM_BASE[ID] + reg * sizeof( in input_system_reg_load()
48 const rx_ID_t ID, in receiver_reg_store() argument
52 assert(ID < N_RX_ID); in receiver_reg_store()
[all …]
/linux/rust/kernel/
H A Dlist.rs38 pub struct List<T: ?Sized + ListItem<ID>, const ID: u64 = 0> {
40 _ty: PhantomData<ListArc<T, ID>>,
45 unsafe impl<T, const ID: u64> Send for List<T, ID>
47 ListArc<T, ID>: Send,
48 T: ?Sized + ListItem<ID>,
53 unsafe impl<T, const ID: u64> Sync for List<T, ID>
55 ListArc<T, ID>: Sync,
56 T: ?Sized + ListItem<ID>,
68 pub unsafe trait ListItem<const ID: u64 = 0>: ListArcSafe<ID> {
82 unsafe fn view_links(me: *const Self) -> *mut ListLinks<ID>; in view_links() argument
[all …]
H A Dworkqueue.rs178 pub fn enqueue<W, const ID: u64>(&self, w: W) -> W::EnqueueOutput in enqueue()
180 W: RawWorkItem<ID> + Send + 'static, in enqueue()
271 pub unsafe trait RawWorkItem<const ID: u64> {
315 pub unsafe trait WorkItemPointer<const ID: u64>: RawWorkItem<ID> {
330 pub trait WorkItem<const ID: u64 = 0> {
333 type Pointer: WorkItemPointer<ID>;
351 pub struct Work<T: ?Sized, const ID: u64 = 0> {
360 unsafe impl<T: ?Sized, const ID: u64> Send for Work<T, ID> {}
364 unsafe impl<T: ?Sized, const ID: u64> Sync for Work<T, ID> {}
366 impl<T: ?Sized, const ID: u64> Work<T, ID> {
[all …]
/linux/drivers/scsi/aic7xxx/
H A Daic7xxx_osm_pci.c47 #define ID(x) ID_C(x, PCI_CLASS_STORAGE_SCSI) macro
51 ID(ID_AHA_2902_04_10_15_20C_30C),
53 ID(ID_AHA_2930CU),
54 ID(ID_AHA_1480A & ID_DEV_VENDOR_MASK),
55 ID(ID_AHA_2940AU_0 & ID_DEV_VENDOR_MASK),
56 ID(ID_AHA_2940AU_CN & ID_DEV_VENDOR_MASK),
57 ID(ID_AHA_2930C_VAR & ID_DEV_VENDOR_MASK),
59 ID(ID_AHA_2940),
60 ID(ID_AHA_3940),
61 ID(ID_AHA_398X),
[all …]
H A Daiclib.h163 ID(x), \
164 ID((x) | 0x0001000000000000ull), \
165 ID((x) | 0x0002000000000000ull), \
166 ID((x) | 0x0003000000000000ull), \
167 ID((x) | 0x0004000000000000ull), \
168 ID((x) | 0x0005000000000000ull), \
169 ID((x) | 0x0006000000000000ull), \
170 ID((x) | 0x0007000000000000ull), \
171 ID((x) | 0x0008000000000000ull), \
172 ID((x) | 0x0009000000000000ull), \
[all …]
/linux/rust/kernel/list/
H A Darc.rs33 pub trait ListArcSafe<const ID: u64 = 0> {
57 pub unsafe trait TryNewListArc<const ID: u64 = 0>: ListArcSafe<ID> {
162 pub struct ListArc<T, const ID: u64 = 0>
164 T: ListArcSafe<ID> + ?Sized,
169 impl<T: ListArcSafe<ID>, const ID: u64> ListArc<T, ID> {
201 impl<T, const ID: u64> From<UniqueArc<T>> for ListArc<T, ID>
203 T: ListArcSafe<ID> + ?Sized,
212 impl<T, const ID: u64> From<Pin<UniqueArc<T>>> for ListArc<T, ID>
214 T: ListArcSafe<ID> + ?Sized,
228 impl<T, const ID: u64> ListArc<T, ID>
[all …]
/linux/drivers/gpu/drm/i915/
H A Dintel_device_info.c127 #define ID(id) (id) macro
130 INTEL_HSW_ULT_GT1_IDS(ID),
131 INTEL_HSW_ULT_GT2_IDS(ID),
132 INTEL_HSW_ULT_GT3_IDS(ID),
133 INTEL_BDW_ULT_GT1_IDS(ID),
134 INTEL_BDW_ULT_GT2_IDS(ID),
135 INTEL_BDW_ULT_GT3_IDS(ID),
136 INTEL_BDW_ULT_RSVD_IDS(ID),
137 INTEL_SKL_ULT_GT1_IDS(ID),
138 INTEL_SKL_ULT_GT2_IDS(ID),
[all …]
/linux/Documentation/translations/zh_CN/core-api/
H A Didr.rst18 ID分配
27 符、进程ID、网络协议中的数据包标识符、SCSI标记和设备实例编号。IDR和IDA为这个问题
28 提供了一个合理的解决方案,以避免每个人都自创。IDR提供将ID映射到指针的能力,而IDA
29 仅提供ID分配,因此内存效率更高。
39 您可以调用idr_alloc()来分配一个未使用的ID。通过调用idr_find()查询与该ID相关的指针,
40 并通过调用idr_remove()释放该ID
42 如果需要更改与一个ID相关联的指针,可以调用idr_replace()。这样做的一个常见原因是通
43 过将 ``NULL`` 指针传递给分配函数来保留ID;用保留的ID初始化对象,最后将初始化的对
46 一些用户需要分配大于 ``INT_MAX`` 的ID。到目前为止,所有这些用户都满足 ``UINT_MAX``
47 的限制,他们使用idr_alloc_u32()。如果您需要超出u32的ID,我们将与您合作以满足您的
[all …]
/linux/drivers/pinctrl/cirrus/
H A Dpinctrl-lochnagar.c52 #define LN_PIN_GPIO(REV, ID, NAME, REG, SHIFT, INVERT) \ argument
53 static const struct lochnagar_pin lochnagar##REV##_##ID##_pin = { \
58 #define LN_PIN_SAIF(REV, ID, NAME) \ argument
59 static const struct lochnagar_pin lochnagar##REV##_##ID##_pin = \
62 #define LN_PIN_AIF(REV, ID) \ argument
63 LN_PIN_SAIF(REV, ID##_BCLK, LN_##ID##_STR"-bclk"); \
64 LN_PIN_SAIF(REV, ID##_LRCLK, LN_##ID##_STR"-lrclk"); \
65 LN_PIN_SAIF(REV, ID##_RXDAT, LN_##ID##_STR"-rxdat"); \
66 LN_PIN_SAIF(REV, ID##_TXDAT, LN_##ID##_STR"-txdat")
68 #define LN1_PIN_GPIO(ID, NAME, REG, SHIFT, INVERT) \ argument
[all …]
/linux/drivers/staging/media/atomisp/pci/hive_isp_css_include/host/
H A Disp_public.h30 const isp_ID_t ID,
42 const isp_ID_t ID,
55 const isp_ID_t ID,
67 const isp_ID_t ID,
80 const isp_ID_t ID,
93 const isp_ID_t ID,
107 const isp_ID_t ID,
122 const isp_ID_t ID,
137 const isp_ID_t ID,
151 const isp_ID_t ID,
[all …]
H A Dsp_public.h30 const sp_ID_t ID,
42 const sp_ID_t ID,
55 const sp_ID_t ID,
67 const sp_ID_t ID,
80 const sp_ID_t ID,
93 const sp_ID_t ID,
107 const sp_ID_t ID,
122 const sp_ID_t ID,
137 const sp_ID_t ID,
151 const sp_ID_t ID,
[all …]

12345678910>>...32