/drivers/isdn/hardware/eicon/ |
H A D | debug_if.h | 53 int diva_get_driver_info(dword id, byte *data, int data_length); 54 int diva_get_driver_dbg_mask(dword id, byte *data); 55 int diva_set_driver_dbg_mask(dword id, dword mask);
|
H A D | debuglib.c | 43 (myDriverDebugHandle.id, DLI_##name, format, ap); \ 58 (myDriverDebugHandle.id, (unsigned long)msgID, ap); 90 myDriverDebugHandle.id = -1; 147 (*(myDriverDebugHandle.dbg_irq))(myDriverDebugHandle.id, 150 (*(myDriverDebugHandle.dbg_old))(myDriverDebugHandle.id, x, ap);
|
/drivers/mmc/core/ |
H A D | sdio_bus.c | 63 const struct sdio_device_id *id) 65 if (id->class != (__u8)SDIO_ANY_ID && id->class != func->class) 67 if (id->vendor != (__u16)SDIO_ANY_ID && id->vendor != func->vendor) 69 if (id->device != (__u16)SDIO_ANY_ID && id->device != func->device) 71 return id; 128 const struct sdio_device_id *id; local 131 id 62 sdio_match_one(struct sdio_func *func, const struct sdio_device_id *id) argument [all...] |
/drivers/oprofile/ |
H A D | oprofile_perf.c | 37 int id; local 40 for (id = 0; id < num_counters; ++id) 41 if (perf_events[cpu][id] == event) 44 if (id != num_counters) 45 oprofile_add_sample(regs, id); 255 int cpu, id; local 259 for (id = 0; id < num_counter [all...] |
/drivers/pci/ |
H A D | pci.h | 174 * PCI device id structure 175 * @id: single PCI device id structure to match 181 pci_match_one_device(const struct pci_device_id *id, const struct pci_dev *dev) argument 183 if ((id->vendor == PCI_ANY_ID || id->vendor == dev->vendor) && 184 (id->device == PCI_ANY_ID || id->device == dev->device) && 185 (id->subvendor == PCI_ANY_ID || id [all...] |
/drivers/regulator/ |
H A D | fixed-helper.c | 21 * @id: platform device id 25 struct platform_device *regulator_register_fixed(int id, argument 45 data->pdev.id = id;
|
H A D | wm831x-dcdc.c | 501 int id; local 507 id = (pdata->wm831x_num * 10) + 1; 509 id = 0; 510 id = pdev->id - id; 512 dev_dbg(&pdev->dev, "Probing DCDC%d\n", id + 1); 514 if (pdata == NULL || pdata->dcdc[id] == NULL) 534 snprintf(dcdc->name, sizeof(dcdc->name), "DCDC%d", id + 1); 536 dcdc->desc.id 711 int id; local 844 int id = pdev->id % ARRAY_SIZE(pdata->dcdc); local 949 int id = pdev->id % ARRAY_SIZE(pdata->epe); local [all...] |
H A D | wm8994-regulator.c | 215 .id = 1, 223 .id = 2, 235 int id = pdev->id % ARRAY_SIZE(pdata->ldo); local 239 dev_dbg(&pdev->dev, "Probing LDO%d\n", id + 1); 252 if (pdata->ldo[id].enable && gpio_is_valid(pdata->ldo[id].enable)) { 253 ldo->enable = pdata->ldo[id].enable; 271 ldo->regulator = regulator_register(&wm8994_ldo_desc[id], &pdev->dev, 272 pdata->ldo[id] [all...] |
/drivers/video/omap2/dss/ |
H A D | dss_features.h | 32 /* DSS has feature id */ 67 /* DSS register field id */ 106 const char *dss_feat_get_clk_source_name(enum omap_dss_clk_source id); 111 bool dss_has_feature(enum dss_feat_id id); 112 void dss_feat_get_reg_field(enum dss_feat_reg_field id, u8 *start, u8 *end);
|
/drivers/media/video/cx18/ |
H A D | cx18-ioctl.c | 151 struct cx18_open_id *id = fh2id(fh); local 152 struct cx18 *cx = id->cx; 153 struct cx18_stream *s = &cx->streams[id->type]; 161 if (id->type == CX18_ENC_STREAM_TYPE_YUV) { 224 struct cx18_open_id *id = fh2id(fh); local 225 struct cx18 *cx = id->cx; 232 if (id->type == CX18_ENC_STREAM_TYPE_YUV) { 273 struct cx18_open_id *id = fh2id(fh); local 274 struct cx18 *cx = id->cx; 276 struct cx18_stream *s = &cx->streams[id 311 struct cx18_open_id *id = fh2id(fh); local 341 struct cx18_open_id *id = fh2id(fh); local 467 struct cx18_open_id *id = fh2id(fh); local 532 struct cx18_open_id *id = fh2id(fh); local 582 struct cx18_open_id *id = fh2id(fh); local 623 struct cx18_open_id *id = fh2id(fh); local 646 struct cx18_open_id *id = fh2id(fh); local 682 struct cx18_open_id *id = fh2id(fh); local 876 cx18_vb_queue(struct cx18_open_id *id) argument 897 struct cx18_open_id *id = file->private_data; local 918 struct cx18_open_id *id = file->private_data; local 936 struct cx18_open_id *id = file->private_data; local 950 struct cx18_open_id *id = file->private_data; local 963 struct cx18_open_id *id = file->private_data; local 976 struct cx18_open_id *id = file->private_data; local 990 struct cx18_open_id *id = fh2id(fh); local 1149 struct cx18_open_id *id = file2id(filp); local [all...] |
H A D | cx18-fileops.c | 43 int cx18_claim_stream(struct cx18_open_id *id, int type) argument 45 struct cx18 *cx = id->cx; 58 if (s->id == id->open_id) { 62 if (s->id == -1 && type == CX18_ENC_STREAM_TYPE_VBI) { 66 s->id = id->open_id; 74 s->id = id->open_id; 108 s->id 496 cx18_start_capture(struct cx18_open_id *id) argument 588 struct cx18_open_id *id = file2id(filp); local 612 struct cx18_open_id *id = file2id(filp); local 654 struct cx18_open_id *id = file->private_data; local 704 cx18_stop_capture(struct cx18_open_id *id, int gop_end) argument 748 struct cx18_open_id *id = fh2id(fh); local [all...] |
/drivers/s390/scsi/ |
H A D | zfcp_qdio.c | 38 static void zfcp_qdio_handler_error(struct zfcp_qdio *qdio, char *id, argument 47 zfcp_erp_adapter_shutdown(adapter, 0, id); 52 ZFCP_STATUS_COMMON_ERP_FAILED, id); 298 static void zfcp_qdio_setup_init_data(struct qdio_initialize *id, argument 301 memset(id, 0, sizeof(*id)); 302 id->cdev = qdio->adapter->ccw_device; 303 id->q_format = QDIO_ZFCP_QFMT; 304 memcpy(id->adapter_name, dev_name(&id [all...] |
/drivers/input/ |
H A D | ff-core.c | 112 int id; local 139 if (effect->id == -1) { 140 for (id = 0; id < ff->max_effects; id++) 141 if (!ff->effect_owners[id]) 144 if (id >= ff->max_effects) { 149 effect->id = id; 153 id [all...] |
/drivers/usb/otg/ |
H A D | otg_fsm.c | 242 VDBG("fsm->id = %d\n", fsm->id); 243 if (fsm->id) 249 if (!fsm->id) 257 if (!fsm->id || fsm->b_srp_done) 261 if (!fsm->id || !fsm->b_sess_vld) 270 else if (!fsm->id || !fsm->b_sess_vld) 278 if (!fsm->id || !fsm->b_sess_vld) 284 if (fsm->id) 290 if (fsm->id || fs [all...] |
/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_gmrid_manager.c | 55 int id; local 75 ret = ida_get_new(&gman->gmr_ida, &id); 76 if (unlikely(ret == 0 && id >= gman->max_gmr_ids)) { 77 ida_remove(&gman->gmr_ida, id); 85 mem->start = id; 152 "id manager.\n", prefix);
|
/drivers/infiniband/hw/cxgb3/ |
H A D | iwch.h | 153 void *handle, u32 id) 163 ret = idr_get_new_above(idr, handle, id, &newid); 164 BUG_ON(newid != id); 171 static inline void remove_handle(struct iwch_dev *rhp, struct idr *idr, u32 id) argument 174 idr_remove(idr, id); 152 insert_handle(struct iwch_dev *rhp, struct idr *idr, void *handle, u32 id) argument
|
/drivers/dio/ |
H A D | dio.c | 61 int id; member in struct:dioname 94 static const char *dio_getname(int id) argument 99 if (names[i].id == id) 117 int scode, id; local 153 id = DIO_ENCODE_ID(prid, secid); 155 id = prid; 157 if (id == deviceid) { 247 dev->id = DIO_ENCODE_ID(prid, secid); 249 dev->id [all...] |
/drivers/sn/ |
H A D | ioc3.c | 406 int handled = 1, id; local 413 if(ioc3_ethernet && idd->active[ioc3_ethernet->id] && 421 for(id=0;id<IOC3_MAX_SUBMODULES;id++) { 422 if(idd->active[id] && ioc3_submodules[id] 423 && (pending & ioc3_submodules[id]->irq_mask) 424 && ioc3_submodules[id]->intr) { 425 write_ireg(idd, ioc3_submodules[id] 610 int ret, id; local 760 int id; local [all...] |
/drivers/acpi/ |
H A D | processor_thermal.c | 73 int id = topology_physical_package_id(cpu); local 76 if (topology_physical_package_id(i) == id) 210 max_state += cpufreq_get_max_state(pr->id); 240 *cur_state = cpufreq_get_cur_state(pr->id); 258 max_pstate = cpufreq_get_max_state(pr->id); 266 cpufreq_set_cur_state(pr->id, state); 268 cpufreq_set_cur_state(pr->id, max_pstate);
|
/drivers/hid/ |
H A D | hid-magicmouse.c | 79 * occurring, single_touch_id corresponds with the tracking id of the touch used. 165 int id; local 175 } else if ((id = magicmouse_firm_touch(msc)) >= 0) { 176 int x = msc->touches[id].x; 198 int id, x, y, size, orientation, touch_major, touch_minor, state, down; local 200 if (input->id.product == USB_DEVICE_ID_APPLE_MAGICMOUSE) { 201 id = (tdata[6] << 2 | tdata[5] >> 6) & 0xf; 211 id = (tdata[7] << 2 | tdata[6] >> 6) & 0xf; 223 msc->tracking_ids[raw_id] = id; 224 msc->touches[id] 497 magicmouse_probe(struct hid_device *hdev, const struct hid_device_id *id) argument [all...] |
/drivers/usb/gadget/ |
H A D | gmidi.c | 58 static char *id = SNDRV_DEFAULT_STR1; variable 59 module_param(id, charp, S_IRUGO); 60 MODULE_PARM_DESC(id, "ID string for the USB MIDI Gadget adapter."); 136 return f_midi_bind_config(c, index, id, 149 strings_dev[STRING_MANUFACTURER_IDX].id = status; 155 strings_dev[STRING_PRODUCT_IDX].id = status; 162 strings_dev[STRING_DESCRIPTION_IDX].id = status;
|
/drivers/media/video/ |
H A D | v4l2-ctrls.c | 64 const char * const *v4l2_ctrl_get_menu(u32 id) argument 375 switch (id) { 449 const char *v4l2_ctrl_get_name(u32 id) argument 451 switch (id) { 653 void v4l2_ctrl_fill(u32 id, const char **name, enum v4l2_ctrl_type *type, argument 656 *name = v4l2_ctrl_get_name(id); 659 switch (id) { 778 switch (id) { 845 ev->id = ctrl->id; 1203 find_private_ref( struct v4l2_ctrl_handler *hdl, u32 id) argument 1225 find_ref(struct v4l2_ctrl_handler *hdl, u32 id) argument 1252 find_ref_lock( struct v4l2_ctrl_handler *hdl, u32 id) argument 1266 v4l2_ctrl_find(struct v4l2_ctrl_handler *hdl, u32 id) argument 1280 u32 id = ctrl->id; local 1342 v4l2_ctrl_new(struct v4l2_ctrl_handler *hdl, const struct v4l2_ctrl_ops *ops, u32 id, const char *name, enum v4l2_ctrl_type type, s32 min, s32 max, u32 step, s32 def, u32 flags, const char * const *qmenu, void *priv) argument 1460 v4l2_ctrl_new_std(struct v4l2_ctrl_handler *hdl, const struct v4l2_ctrl_ops *ops, u32 id, s32 min, s32 max, u32 step, s32 def) argument 1479 v4l2_ctrl_new_std_menu(struct v4l2_ctrl_handler *hdl, const struct v4l2_ctrl_ops *ops, u32 id, s32 max, s32 mask, s32 def) argument 1752 u32 id = qc->id & V4L2_CTRL_ID_MASK; local 1903 u32 id = c->id & V4L2_CTRL_ID_MASK; local [all...] |
/drivers/leds/ |
H A D | leds-bd2802.c | 112 static inline int bd2802_is_rgb_off(struct bd2802_led *led, enum led_ids id, argument 117 return !led->led[id].r; 119 return !led->led[id].g; 121 return !led->led[id].b; 128 static inline int bd2802_is_led_off(struct bd2802_led *led, enum led_ids id) argument 130 if (led->led[id].r || led->led[id].g || led->led[id].b) 147 static inline u8 bd2802_get_base_offset(enum led_ids id, enum led_colors color) argument 149 return id * BD2802_LED_OFFSE 152 bd2802_get_reg_addr(enum led_ids id, enum led_colors color, u8 reg_offset) argument 175 bd2802_update_state(struct bd2802_led *led, enum led_ids id, enum led_colors color, enum led_bits led_bit) argument 239 bd2802_enable(struct bd2802_led *led, enum led_ids id) argument 253 bd2802_set_on(struct bd2802_led *led, enum led_ids id, enum led_colors color) argument 272 bd2802_set_blink(struct bd2802_led *led, enum led_ids id, enum led_colors color) argument 291 bd2802_turn_on(struct bd2802_led *led, enum led_ids id, enum led_colors color, enum led_bits led_bit) argument 306 bd2802_turn_off(struct bd2802_led *led, enum led_ids id, enum led_colors color) argument 673 bd2802_probe(struct i2c_client *client, const struct i2c_device_id *id) argument [all...] |
/drivers/hwmon/pmbus/ |
H A D | adm1275.c | 57 int id; member in struct:adm1275_data 89 if (data->id != adm1075) { 97 if (data->id != adm1075) { 105 if (data->id != adm1075) { 121 if (data->id == adm1275) { 132 if (data->id == adm1275) 201 if (data->id != adm1075) { 229 const struct i2c_device_id *id) 267 if (id->driver_data != mid->driver_data) 270 id 228 adm1275_probe(struct i2c_client *client, const struct i2c_device_id *id) argument [all...] |
/drivers/input/touchscreen/ |
H A D | elo.c | 61 int id; member in struct:elo 154 if (elo->id == 2) { 207 switch (elo->id) { 272 dev->id.version = (packet[5] << 8) | packet[4]; 323 elo->id = serio->id.id; 332 input_dev->id.bustype = BUS_RS232; 333 input_dev->id.vendor = SERIO_ELO; 334 input_dev->id [all...] |