Home
last modified time | relevance | path

Searched refs:type (Results 1 – 25 of 4471) sorted by relevance

12345678910>>...179

/drivers/irqchip/
Dirq-s3c24xx.c50 unsigned int type; member
144 static int s3c_irq_type(struct irq_data *data, unsigned int type) in s3c_irq_type() argument
146 switch (type) { in s3c_irq_type()
159 pr_err("No such irq type %d", type); in s3c_irq_type()
170 unsigned int type) in s3c_irqext_type_set() argument
180 switch (type) in s3c_irqext_type_set()
207 pr_err("No such irq type %d", type); in s3c_irqext_type_set()
218 static int s3c_irqext_type(struct irq_data *data, unsigned int type) in s3c_irqext_type() argument
244 extint_offset, type); in s3c_irqext_type()
247 static int s3c_irqext0_type(struct irq_data *data, unsigned int type) in s3c_irqext0_type() argument
[all …]
/drivers/media/pci/saa7134/
Dsaa7134-cards.c74 .type = SAA7134_INPUT_COMPOSITE,
89 .type = SAA7134_INPUT_COMPOSITE1,
93 .type = SAA7134_INPUT_TV,
97 .type = SAA7134_INPUT_TV_MONO,
102 .type = SAA7134_INPUT_RADIO,
117 .type = SAA7134_INPUT_TV,
122 .type = SAA7134_INPUT_TV_MONO,
127 .type = SAA7134_INPUT_COMPOSITE1,
132 .type = SAA7134_INPUT_COMPOSITE2,
137 .type = SAA7134_INPUT_SVIDEO,
[all …]
/drivers/staging/lustre/lustre/osc/
Dosc_quota.c42 int type; in osc_quota_chkdq() local
44 for (type = 0; type < MAXQUOTAS; type++) { in osc_quota_chkdq()
47 oqi = cfs_hash_lookup(cli->cl_quota_hash[type], &qid[type]); in osc_quota_chkdq()
57 type == USRQUOTA ? "user" : "grout", qid[type]); in osc_quota_chkdq()
65 #define MD_QUOTA_FLAG(type) ((type == USRQUOTA) ? OBD_MD_FLUSRQUOTA \ argument
67 #define FL_QUOTA_FLAG(type) ((type == USRQUOTA) ? OBD_FL_NO_USRQUOTA \ argument
73 int type; in osc_quota_setdq() local
79 for (type = 0; type < MAXQUOTAS; type++) { in osc_quota_setdq()
82 if ((valid & MD_QUOTA_FLAG(type)) == 0) in osc_quota_setdq()
86 oqi = cfs_hash_lookup(cli->cl_quota_hash[type], &qid[type]); in osc_quota_setdq()
[all …]
/drivers/vfio/mdev/
Dmdev_sysfs.c28 struct mdev_type *type = to_mdev_type(kobj); in mdev_type_attr_show() local
32 ret = attr->show(kobj, type->parent->dev, buf); in mdev_type_attr_show()
41 struct mdev_type *type = to_mdev_type(kobj); in mdev_type_attr_store() local
45 ret = attr->store(&type->kobj, type->parent->dev, buf, count); in mdev_type_attr_store()
84 struct mdev_type *type = to_mdev_type(kobj); in mdev_type_release() local
87 kfree(type); in mdev_type_release()
98 struct mdev_type *type; in add_mdev_supported_type() local
106 type = kzalloc(sizeof(*type), GFP_KERNEL); in add_mdev_supported_type()
107 if (!type) in add_mdev_supported_type()
110 type->kobj.kset = parent->mdev_types_kset; in add_mdev_supported_type()
[all …]
/drivers/hwmon/
Dibmpowernv.c87 enum sensors type; member
111 if (sdata->type == TEMP) in show_sensor()
114 else if (sdata->type == POWER_INPUT) in show_sensor()
205 static const char *convert_opal_attr_name(enum sensors type, in convert_opal_attr_name() argument
215 if (type == TEMP) in convert_opal_attr_name()
217 else if (type == FAN) in convert_opal_attr_name()
231 enum sensors type, u32 *index) in parse_opal_node_name() argument
241 attr_name = convert_opal_attr_name(type, attr_suffix); in parse_opal_node_name()
250 enum sensors type; in get_sensor_type() local
253 for (type = 0; type < ARRAY_SIZE(legacy_compatibles); type++) { in get_sensor_type()
[all …]
/drivers/net/ethernet/netronome/nfp/
Dnfp_app.h115 enum tc_setup_type type, void *type_data);
145 const struct nfp_app_type *type; member
153 if (!app->type->init) in nfp_app_init()
155 return app->type->init(app); in nfp_app_init()
160 if (app->type->clean) in nfp_app_clean()
161 app->type->clean(app); in nfp_app_clean()
167 return app->type->vnic_alloc(app, nn, id); in nfp_app_vnic_alloc()
172 if (app->type->vnic_free) in nfp_app_vnic_free()
173 app->type->vnic_free(app, nn); in nfp_app_vnic_free()
178 if (!app->type->vnic_init) in nfp_app_vnic_init()
[all …]
/drivers/md/
Ddm-exception-store.c24 struct dm_exception_store_type *type; in __find_exception_store_type() local
26 list_for_each_entry(type, &_exception_store_types, list) in __find_exception_store_type()
27 if (!strcmp(name, type->name)) in __find_exception_store_type()
28 return type; in __find_exception_store_type()
35 struct dm_exception_store_type *type; in _get_exception_store_type() local
39 type = __find_exception_store_type(name); in _get_exception_store_type()
41 if (type && !try_module_get(type->module)) in _get_exception_store_type()
42 type = NULL; in _get_exception_store_type()
46 return type; in _get_exception_store_type()
75 struct dm_exception_store_type *type; in get_type() local
[all …]
/drivers/media/pci/cx88/
Dcx88-cards.c68 .type = CX88_VMUX_COMPOSITE1,
71 .type = CX88_VMUX_COMPOSITE2,
74 .type = CX88_VMUX_COMPOSITE3,
77 .type = CX88_VMUX_COMPOSITE4,
89 .type = CX88_VMUX_TELEVISION,
93 .type = CX88_VMUX_DEBUG,
97 .type = CX88_VMUX_COMPOSITE1,
101 .type = CX88_VMUX_SVIDEO,
106 .type = CX88_RADIO,
117 .type = CX88_VMUX_TELEVISION,
[all …]
/drivers/net/wireless/intel/iwlwifi/mvm/
Drs.h171 enum iwl_table_type type; member
181 #define is_type_legacy(type) (((type) == LQ_LEGACY_G) || \ argument
182 ((type) == LQ_LEGACY_A))
183 #define is_type_ht_siso(type) ((type) == LQ_HT_SISO) argument
184 #define is_type_ht_mimo2(type) ((type) == LQ_HT_MIMO2) argument
185 #define is_type_vht_siso(type) ((type) == LQ_VHT_SISO) argument
186 #define is_type_vht_mimo2(type) ((type) == LQ_VHT_MIMO2) argument
187 #define is_type_siso(type) (is_type_ht_siso(type) || is_type_vht_siso(type)) argument
188 #define is_type_mimo2(type) (is_type_ht_mimo2(type) || is_type_vht_mimo2(type)) argument
189 #define is_type_mimo(type) (is_type_mimo2(type)) argument
[all …]
/drivers/staging/media/atomisp/pci/atomisp2/css2400/css_2401_system/hrt/
Dvar.h43 #define HRT_TYPE_BYTES(cell, type) (HRT_TYPE_BITS(cell, type)/8) argument
45 #define HRT_INT_TYPE(type) HRTCAT(hrt_int_type_of_, type) argument
58 #define hrt_scalar_store(cell, type, var, data) \ argument
59 ((*(HRT_HOST_TYPE(type)*)_hrt_cell_get_crun_symbol(cell,var)) = (data))
60 #define hrt_scalar_load(cell, type, var) \ argument
61 ((*(HRT_HOST_TYPE(type)*)_hrt_cell_get_crun_symbol(cell,var)))
63 #define hrt_indexed_store(cell, type, array, index, data) \ argument
64 ((((HRT_HOST_TYPE(type)*)_hrt_cell_get_crun_indexed_symbol(cell,array))[index]) = (data))
65 #define hrt_indexed_load(cell, type, array, index) \ argument
66 (((HRT_HOST_TYPE(type)*)_hrt_cell_get_crun_indexed_symbol(cell,array))[index])
[all …]
/drivers/staging/media/atomisp/pci/atomisp2/css2400/css_2401_csi2p_system/hrt/
Dvar.h43 #define HRT_TYPE_BYTES(cell, type) (HRT_TYPE_BITS(cell, type)/8) argument
45 #define HRT_INT_TYPE(type) HRTCAT(hrt_int_type_of_, type) argument
58 #define hrt_scalar_store(cell, type, var, data) \ argument
59 ((*(HRT_HOST_TYPE(type)*)_hrt_cell_get_crun_symbol(cell,var)) = (data))
60 #define hrt_scalar_load(cell, type, var) \ argument
61 ((*(HRT_HOST_TYPE(type)*)_hrt_cell_get_crun_symbol(cell,var)))
63 #define hrt_indexed_store(cell, type, array, index, data) \ argument
64 ((((HRT_HOST_TYPE(type)*)_hrt_cell_get_crun_indexed_symbol(cell,array))[index]) = (data))
65 #define hrt_indexed_load(cell, type, array, index) \ argument
66 (((HRT_HOST_TYPE(type)*)_hrt_cell_get_crun_indexed_symbol(cell,array))[index])
[all …]
/drivers/media/tuners/
Dtuner-xc2028.c79 unsigned int type; member
87 unsigned int type; member
178 static void dump_firm_type_and_int_freq(unsigned int type, u16 int_freq) in dump_firm_type_and_int_freq() argument
180 if (type & BASE) in dump_firm_type_and_int_freq()
182 if (type & INIT1) in dump_firm_type_and_int_freq()
184 if (type & F8MHZ) in dump_firm_type_and_int_freq()
186 if (type & MTS) in dump_firm_type_and_int_freq()
188 if (type & D2620) in dump_firm_type_and_int_freq()
190 if (type & D2633) in dump_firm_type_and_int_freq()
192 if (type & DTV6) in dump_firm_type_and_int_freq()
[all …]
Dtuner-types.c71 .type = TUNER_PARAM_TYPE_PAL,
87 .type = TUNER_PARAM_TYPE_PAL,
103 .type = TUNER_PARAM_TYPE_NTSC,
120 .type = TUNER_PARAM_TYPE_SECAM,
137 .type = TUNER_PARAM_TYPE_PAL,
154 .type = TUNER_PARAM_TYPE_NTSC,
170 .type = TUNER_PARAM_TYPE_PAL,
186 .type = TUNER_PARAM_TYPE_NTSC,
202 .type = TUNER_PARAM_TYPE_NTSC,
213 .type = TUNER_PARAM_TYPE_PAL,
[all …]
Dxc4000.c66 unsigned int type; member
74 unsigned int type; member
523 if ((priv->cur_fw.type & (FM | DTV6 | DTV7 | DTV78 | DTV8)) == 0) { in xc_tune_channel()
561 static void dump_firm_type_and_int_freq(unsigned int type, u16 int_freq) in dump_firm_type_and_int_freq() argument
563 if (type & BASE) in dump_firm_type_and_int_freq()
565 if (type & INIT1) in dump_firm_type_and_int_freq()
567 if (type & F8MHZ) in dump_firm_type_and_int_freq()
569 if (type & MTS) in dump_firm_type_and_int_freq()
571 if (type & D2620) in dump_firm_type_and_int_freq()
573 if (type & D2633) in dump_firm_type_and_int_freq()
[all …]
/drivers/media/pci/saa7164/
Dsaa7164-cards.c62 .type = SAA7164_UNIT_EEPROM,
69 .type = SAA7164_UNIT_TUNER,
76 .type = SAA7164_UNIT_TUNER,
83 .type = SAA7164_UNIT_DIGITAL_DEMODULATOR,
90 .type = SAA7164_UNIT_DIGITAL_DEMODULATOR,
108 .type = SAA7164_UNIT_EEPROM,
115 .type = SAA7164_UNIT_TUNER,
122 .type = SAA7164_UNIT_DIGITAL_DEMODULATOR,
129 .type = SAA7164_UNIT_TUNER,
136 .type = SAA7164_UNIT_DIGITAL_DEMODULATOR,
[all …]
/drivers/clk/ti/
Dclk-3xxx-legacy.c30 .type = TI_CLK_FIXED,
40 .type = TI_CLK_FIXED,
50 .type = TI_CLK_FIXED,
60 .type = TI_CLK_FIXED,
70 .type = TI_CLK_FIXED,
80 .type = TI_CLK_FIXED,
102 .type = TI_CLK_MUX,
117 .type = TI_CLK_DIVIDER,
152 .type = TI_CLK_DPLL,
167 .type = TI_CLK_DIVIDER,
[all …]
/drivers/staging/media/atomisp/pci/atomisp2/css2400/css_2400_system/hrt/
Dvar.h43 #define HRT_TYPE_BYTES(cell, type) (HRT_TYPE_BITS(cell, type)/8) argument
45 #define HRT_INT_TYPE(type) HRTCAT(hrt_int_type_of_, type) argument
47 #define hrt_scalar_store(cell, type, var, data) \ argument
48 HRTCAT(hrt_mem_store_,HRT_TYPE_BITS(cell, type))(\
52 (HRT_INT_TYPE(type))(data))
54 #define hrt_scalar_load(cell, type, var) \ argument
55 (HRT_HOST_TYPE(type))(HRTCAT4(_hrt_mem_load_,HRT_PROC_TYPE(cell),_,type) ( \
60 #define hrt_indexed_store(cell, type, array, index, data) \ argument
61 HRTCAT(hrt_mem_store_,HRT_TYPE_BITS(cell, type))(\
64 (HRTCAT(HIVE_ADDR_,array))+((index)*HRT_TYPE_BYTES(cell, type)), \
[all …]
/drivers/platform/x86/
Dintel_punit_ipc.c48 IPC_TYPE type; member
53 static inline u32 ipc_read_status(IPC_DEV *ipcdev, IPC_TYPE type) in ipc_read_status() argument
55 return readl(ipcdev->base[type][BASE_IFACE]); in ipc_read_status()
58 static inline void ipc_write_cmd(IPC_DEV *ipcdev, IPC_TYPE type, u32 cmd) in ipc_write_cmd() argument
60 writel(cmd, ipcdev->base[type][BASE_IFACE]); in ipc_write_cmd()
63 static inline u32 ipc_read_data_low(IPC_DEV *ipcdev, IPC_TYPE type) in ipc_read_data_low() argument
65 return readl(ipcdev->base[type][BASE_DATA] + OFFSET_DATA_LOW); in ipc_read_data_low()
68 static inline u32 ipc_read_data_high(IPC_DEV *ipcdev, IPC_TYPE type) in ipc_read_data_high() argument
70 return readl(ipcdev->base[type][BASE_DATA] + OFFSET_DATA_HIGH); in ipc_read_data_high()
73 static inline void ipc_write_data_low(IPC_DEV *ipcdev, IPC_TYPE type, u32 data) in ipc_write_data_low() argument
[all …]
/drivers/media/usb/em28xx/
Dem28xx-cards.c642 .type = EM28XX_VMUX_COMPOSITE,
655 .type = EM28XX_VMUX_COMPOSITE,
659 .type = EM28XX_VMUX_SVIDEO,
677 .type = EM28XX_VMUX_COMPOSITE,
688 .type = EM28XX_VMUX_COMPOSITE,
692 .type = EM28XX_VMUX_SVIDEO,
703 .type = EM28XX_VMUX_TELEVISION,
707 .type = EM28XX_VMUX_COMPOSITE,
711 .type = EM28XX_VMUX_SVIDEO,
723 .type = EM28XX_VMUX_TELEVISION,
[all …]
/drivers/acpi/acpica/
Dexresolv.c151 switch (stack_desc->common.type) { in acpi_ex_resolve_object_to_value()
253 if ((stack_desc->reference.node->type == in acpi_ex_resolve_object_to_value()
255 || (stack_desc->reference.node->type == in acpi_ex_resolve_object_to_value()
299 stack_desc, stack_desc->common.type)); in acpi_ex_resolve_object_to_value()
344 acpi_object_type type; in acpi_ex_resolve_multiple() local
354 type = obj_desc->common.type; in acpi_ex_resolve_multiple()
359 type = ((struct acpi_namespace_node *)obj_desc)->type; in acpi_ex_resolve_multiple()
364 if (type == ACPI_TYPE_LOCAL_ALIAS) { in acpi_ex_resolve_multiple()
365 type = ((struct acpi_namespace_node *)obj_desc)->type; in acpi_ex_resolve_multiple()
371 switch (type) { in acpi_ex_resolve_multiple()
[all …]
/drivers/media/pci/cx18/
Dcx18-streams.c250 static void cx18_stream_init(struct cx18 *cx, int type) in cx18_stream_init() argument
252 struct cx18_stream *s = &cx->streams[type]; in cx18_stream_init()
259 s->type = type; in cx18_stream_init()
260 s->name = cx18_stream_info[type].name; in cx18_stream_init()
263 s->dma = cx18_stream_info[type].dma; in cx18_stream_init()
264 s->v4l2_dev_caps = cx18_stream_info[type].caps; in cx18_stream_init()
265 s->buffers = cx->stream_buffers[type]; in cx18_stream_init()
266 s->buf_size = cx->stream_buf_size[type]; in cx18_stream_init()
287 if (type == CX18_ENC_STREAM_TYPE_YUV) { in cx18_stream_init()
305 static int cx18_prep_dev(struct cx18 *cx, int type) in cx18_prep_dev() argument
[all …]
/drivers/media/pci/ivtv/
Divtv-streams.c161 static void ivtv_stream_init(struct ivtv *itv, int type) in ivtv_stream_init() argument
163 struct ivtv_stream *s = &itv->streams[type]; in ivtv_stream_init()
170 s->type = type; in ivtv_stream_init()
171 s->name = ivtv_stream_info[type].name; in ivtv_stream_init()
172 s->caps = ivtv_stream_info[type].v4l2_caps; in ivtv_stream_init()
174 if (ivtv_stream_info[type].pio) in ivtv_stream_init()
177 s->dma = ivtv_stream_info[type].dma; in ivtv_stream_init()
178 s->buf_size = itv->stream_buf_size[type]; in ivtv_stream_init()
180 s->buffers = (itv->options.kilobytes[type] * 1024 + s->buf_size - 1) / s->buf_size; in ivtv_stream_init()
191 static int ivtv_prep_dev(struct ivtv *itv, int type) in ivtv_prep_dev() argument
[all …]
/drivers/gpu/drm/nouveau/nvkm/core/
Dmm.c38 node->offset, node->length, node->type); in nvkm_mm_dump()
43 node->offset, node->length, node->type); in nvkm_mm_dump()
56 if (prev && prev->type == NVKM_MM_TYPE_NONE) { in nvkm_mm_free()
62 if (next && next->type == NVKM_MM_TYPE_NONE) { in nvkm_mm_free()
65 if (this->type == NVKM_MM_TYPE_NONE) in nvkm_mm_free()
71 if (this && this->type != NVKM_MM_TYPE_NONE) { in nvkm_mm_free()
78 this->type = NVKM_MM_TYPE_NONE; in nvkm_mm_free()
100 b->type = a->type; in region_head()
104 if (b->type == NVKM_MM_TYPE_NONE) in region_head()
111 nvkm_mm_head(struct nvkm_mm *mm, u8 heap, u8 type, u32 size_max, u32 size_min, in nvkm_mm_head() argument
[all …]
/drivers/media/platform/s5p-mfc/
Ds5p_mfc_enc.c42 .type = MFC_FMT_RAW,
50 .type = MFC_FMT_RAW,
58 .type = MFC_FMT_RAW,
67 .type = MFC_FMT_RAW,
75 .type = MFC_FMT_ENC,
84 .type = MFC_FMT_ENC,
93 .type = MFC_FMT_ENC,
102 .type = MFC_FMT_ENC,
115 formats[i].type == t) in find_format()
124 .type = V4L2_CTRL_TYPE_INTEGER,
[all …]
/drivers/net/ethernet/amd/
Ddeclance.c228 #define shift_off(off, type) \ argument
229 (type == ASIC_LANCE || type == PMAX_LANCE ? off << 1 : off)
231 #define lib_off(rt, type) \ argument
232 shift_off(offsetof(struct lance_init_block, rt), type)
234 #define lib_ptr(ib, rt, type) \ argument
235 ((volatile u16 *)((u8 *)(ib) + lib_off(rt, type)))
237 #define rds_off(rt, type) \ argument
238 shift_off(offsetof(struct lance_rx_desc, rt), type)
240 #define rds_ptr(rd, rt, type) \ argument
241 ((volatile u16 *)((u8 *)(rd) + rds_off(rt, type)))
[all …]

12345678910>>...179