Searched defs:source (Results 1 - 25 of 83) sorted by relevance

1234

/drivers/staging/line6/
H A Dtoneport.h29 int source; member in struct:usb_line6_toneport
/drivers/media/video/uvc/
H A Duvc_entity.c41 struct media_entity *source; local
52 source = (UVC_ENTITY_TYPE(remote) == UVC_TT_STREAMING)
55 if (source == NULL)
59 ret = media_entity_create_link(source, remote_pad,
/drivers/acpi/acpica/
H A Drsmisc.c11 * Redistribution and use in source and binary forms, with or without
14 * 1. Redistributions of source code must retain the above copyright
76 void *source; local
113 source = ACPI_ADD_PTR(void, aml, info->aml_offset);
140 ((ACPI_GET8(source) >> info->value) & 0x01);
148 ((ACPI_GET8(source) >> info->value) & 0x03);
156 ((ACPI_GET8(source) >> info->value) & 0x07);
161 item_count = ACPI_GET8(source);
180 item_count = ACPI_GET16(target) - ACPI_GET16(source);
189 item_count = ACPI_GET8(source);
473 void *source = NULL; local
[all...]
H A Dnsrepair.c11 * Redistribution and use in source and binary forms, with or without
14 * 1. Redistributions of source code must retain the above copyright
572 union acpi_operand_object **source; local
605 source = obj_desc->package.elements;
606 dest = source;
611 if (!*source) {
614 *dest = *source;
617 source++;
H A Dnsxfname.c12 * Redistribution and use in source and binary forms, with or without
15 * 1. Redistributions of source code must retain the above copyright
57 struct acpica_device_id *source,
223 * Source - Pointer to the source DEVICE_ID
232 struct acpica_device_id *source,
238 dest->length = source->length;
242 ACPI_MEMCPY(string_area, source->string, source->length);
243 return (string_area + source->length);
231 acpi_ns_copy_device_id(struct acpica_device_id *dest, struct acpica_device_id *source, char *string_area) argument
H A Dtbfadt.c11 * Redistribution and use in source and binary forms, with or without
14 * 1. Redistributions of source code must retain the above copyright
143 u16 source; member in struct:acpi_fadt_pm_info
664 fadt_pm_info_table[i].source);
H A Dnsrepair2.c12 * Redistribution and use in source and binary forms, with or without
15 * 1. Redistributions of source code must retain the above copyright
425 char *source; local
459 source = return_object->string.pointer;
460 if (*source == '*') {
461 source++;
477 for (dest = new_string->string.pointer; *source; dest++, source++) {
478 *dest = (char)ACPI_TOUPPER(*source);
H A Drsutils.c11 * Redistribution and use in source and binary forms, with or without
14 * 1. Redistributions of source code must retain the above copyright
119 * Source - Pointer to the source descriptor
132 acpi_rs_move_data(void *destination, void *source, u16 item_count, u8 move_type) argument
150 ACPI_MEMCPY(destination, source, item_count);
161 &ACPI_CAST_PTR(u16, source)[i]);
166 &ACPI_CAST_PTR(u32, source)[i]);
171 &ACPI_CAST_PTR(u64, source)[i]);
269 * Source - Pointer to the source string
278 static u16 acpi_rs_strcpy(char *destination, char *source) argument
[all...]
/drivers/dma/ipu/
H A Dipu_irq.c75 int source; member in struct:ipu_irq_map
91 if (irq_map[i].source == src)
114 reg |= (1UL << (map->source & 31));
137 reg &= ~(1UL << (map->source & 31));
158 ipu_write_reg(bank->ipu, 1UL << (map->source & 31), bank->status);
178 (1UL << (map->source & 31));
185 * ipu_irq_map() - map an IPU interrupt source to an IRQ number
186 * @source: interrupt source bit position (see below)
189 * The source paramete
197 ipu_irq_map(unsigned int source) argument
241 ipu_irq_unmap(unsigned int source) argument
[all...]
/drivers/video/via/
H A Dvia_clock.c229 static inline u8 set_clock_source_common(enum via_clksrc source, bool use_pll) argument
233 switch (source) {
260 static void set_primary_clock_source(enum via_clksrc source, bool use_pll) argument
262 u8 data = set_clock_source_common(source, use_pll) << 4;
266 static void set_secondary_clock_source(enum via_clksrc source, bool use_pll) argument
268 u8 data = set_clock_source_common(source, use_pll);
277 static void dummy_set_clock_source(enum via_clksrc source, bool use_pll) argument
279 printk(KERN_INFO "Using undocumented set clock source.\n%s", via_slap);
/drivers/acpi/
H A Dpci_irq.c133 const char *source; /* according to BIOS */ member in struct:prt_quirk
166 if (!prt->source)
174 !strcmp(prt->source, quirk->source) &&
175 strlen(prt->source) >= strlen(quirk->actual_source)) {
181 prt->source, quirk->actual_source);
182 strcpy(prt->source, quirk->actual_source);
213 * The 'source' field specifies the PCI interrupt link device used to
223 if (prt->source[0])
224 acpi_get_handle(handle, prt->source,
[all...]
/drivers/dma/
H A Dcoh901318_lli.c144 dma_addr_t source, unsigned int size,
149 dma_addr_t src = source;
272 /* increment source address */
142 coh901318_lli_fill_memcpy(struct coh901318_pool *pool, struct coh901318_lli *lli, dma_addr_t source, unsigned int size, dma_addr_t destination, u32 ctrl_chained, u32 ctrl_eom) argument
/drivers/media/
H A Dmedia-device.c157 if (entity->links[l].source->entity != entity)
160 media_device_kpad_to_upad(entity->links[l].source,
161 &link.source);
180 struct media_entity *source; local
187 /* Find the source and sink entities and link.
189 source = find_entity(mdev, ulink.source.entity);
192 if (source == NULL || sink == NULL)
195 if (ulink.source.index >= source
[all...]
H A Dmedia-entity.c31 * @num_pads: Total number of sink and source pads.
95 if (link->source->entity == entity)
98 return link->source->entity;
339 media_entity_create_link(struct media_entity *source, u16 source_pad, argument
345 BUG_ON(source == NULL || sink == NULL);
346 BUG_ON(source_pad >= source->num_pads);
349 link = media_entity_add_link(source);
353 link->source = &source->pads[source_pad];
362 source
421 struct media_entity *source, *sink; local
490 media_entity_find_link(struct media_pad *source, struct media_pad *sink) argument
[all...]
/drivers/net/wireless/iwmc3200wifi/
H A Dmain.c6 * Redistribution and use in source and binary forms, with or without
10 * * Redistributions of source code must retain the above copyright
399 u8 cmd_id, u8 source, u8 *buf, unsigned long buf_size)
412 notif->src = source;
429 u8 source)
434 if ((notif->cmd_id == cmd) && (notif->src == source)) {
444 u8 source, long timeout)
450 switch (source) {
465 ((notif = iwm_notif_find(iwm, cmd, source)) != NULL),
475 int iwm_notif_handle(struct iwm_priv *iwm, u32 cmd, u8 source, lon argument
398 iwm_notif_send(struct iwm_priv *iwm, struct iwm_wifi_cmd *cmd, u8 cmd_id, u8 source, u8 *buf, unsigned long buf_size) argument
428 iwm_notif_find(struct iwm_priv *iwm, u32 cmd, u8 source) argument
443 iwm_notif_wait(struct iwm_priv *iwm, u32 cmd, u8 source, long timeout) argument
[all...]
/drivers/power/
H A Dapm_power.c118 static int do_calculate_time(int status, enum apm_source source) argument
140 switch (source) {
166 printk(KERN_ERR "Unsupported source: %d\n", source);
213 static int calculate_capacity(enum apm_source source) argument
221 switch (source) {
247 printk(KERN_ERR "Unsupported source: %d\n", source);
/drivers/scsi/aic7xxx/aicasm/
H A Daicasm_gram.y9 * Redistribution and use in source and binary forms, with or without
12 * 1. Redistributions of source code must retain the above copyright
218 %type <sym_ref> reg_symbol address destination source opt_source
965 source: label
978 | ',' source
1245 T_BMOV destination ',' source ',' immediate ret ';'
1252 T_MOV destination ',' source ret ';'
1393 T_TEST source ',' immediate_or_a jz_jnz address ';'
1400 T_CMP source ',' immediate_or_a je_jne address ';'
1407 T_MOV source jmp_jc_jnc_cal
[all...]
/drivers/scsi/aic7xxx_old/
H A Dsequencer.h8 * Redistribution and use in source and binary forms, with or without
11 * 1. Redistributions of source code must retain the above copyright
43 source : 9, member in struct:ins_format1
53 source : 9, member in struct:ins_format2
63 source : 9, member in struct:ins_format3
75 source : 9, member in struct:ins_format1
85 source : 9, member in struct:ins_format2
94 source : 9, member in struct:ins_format3
/drivers/scsi/isci/
H A Dinit.c29 * Redistribution and use in source and binary forms, with or without
33 * * Redistributions of source code must retain the above copyright
463 char *source = "(platform)"; local
491 source = "(firmware)";
510 (orom->hdr.version & 0xf), source);
/drivers/video/pnx4008/
H A Dsdum.h83 u32 *source; member in struct:dumchannel_uf
/drivers/gpu/drm/i915/
H A Dintel_lvds.c217 static inline u32 panel_fitter_scaling(u32 source, u32 target) argument
226 u32 ratio = source * FACTOR / target;
260 * with the panel scaling set up to source from the H/VDisplay
/drivers/input/touchscreen/
H A Datmel-wm97xx.c162 u16 source; local
167 source = data & WM97XX_ADCSEL_MASK;
170 if (source == WM97XX_ADCSEL_X)
172 if (source == WM97XX_ADCSEL_Y)
175 if (!pressure && source == WM97XX_ADCSEL_Y) {
180 } else if (pressure && source == WM97XX_ADCSEL_PRES) {
/drivers/md/
H A Ddm-kcopyd.c221 struct dm_io_region source; member in struct:kcopyd_job
393 r = dm_io(&io_req, 1, &job->source, NULL);
490 if (unlikely(!job->source.count))
525 count = job->source.count - progress;
539 sub_job->source.sector += progress;
540 sub_job->source.count = count;
607 job->source = *from;
611 memset(&job->source, 0, sizeof job->source);
612 job->source
[all...]
/drivers/media/dvb/firewire/
H A Dfiredtv-fw.c195 int tcode, int destination, int source, int generation,
218 device->node_id == source &&
194 handle_fcp(struct fw_card *card, struct fw_request *request, int tcode, int destination, int source, int generation, unsigned long long offset, void *payload, size_t length, void *callback_data) argument
/drivers/media/dvb/ttpci/
H A Dav7110_v4l.c236 int source, sync, err; local
252 source = SAA7146_HPS_SOURCE_PORT_B;
259 msp_writereg(av7110, MSP_WR_DSP, 0x0008, 0x0000); // loudspeaker source
260 msp_writereg(av7110, MSP_WR_DSP, 0x0009, 0x0000); // headphone source
261 msp_writereg(av7110, MSP_WR_DSP, 0x000a, 0x0000); // SCART 1 source
291 source = SAA7146_HPS_SOURCE_PORT_A;
295 msp_writereg(av7110, MSP_WR_DSP, 0x0008, 0x0220); // loudspeaker source
296 msp_writereg(av7110, MSP_WR_DSP, 0x0009, 0x0220); // headphone source
297 msp_writereg(av7110, MSP_WR_DSP, 0x000a, 0x0220); // SCART 1 source
315 saa7146_set_hps_source_and_sync(dev, source, syn
[all...]

Completed in 592 milliseconds

1234