Searched refs:pulse (Results 1 - 6 of 6) sorted by relevance

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/usb/misc/
H A Dphidgetservo.c74 int pulse[4]; member in struct:phidget_servo
97 * pulse = 0 - 4095
100 * pulse = angle * 10.6 + 243.8
102 servo->pulse[servo_no] = ((degrees*60 + minutes)*106 + 2438*60)/600;
110 * low = lower 8 bits pulse
111 * high = higher 4 bits pulse
129 buffer[0] = servo->pulse[0] & 0xff;
130 buffer[1] = (servo->pulse[0] >> 8 & 0x0f)
131 | (servo->pulse[1] >> 4 & 0xf0);
132 buffer[2] = servo->pulse[
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/ffmpeg-0.5.1/libavcodec/
H A Daacenc.c30 * add sane pulse detection
279 * Encode pulse data.
281 static void encode_pulses(AACEncContext *s, Pulse *pulse) argument
285 put_bits(&s->pb, 1, !!pulse->num_pulse);
286 if(!pulse->num_pulse) return;
288 put_bits(&s->pb, 2, pulse->num_pulse - 1);
289 put_bits(&s->pb, 6, pulse->start);
290 for(i = 0; i < pulse->num_pulse; i++){
291 put_bits(&s->pb, 5, pulse->pos[i]);
292 put_bits(&s->pb, 4, pulse
[all...]
H A Daac.c720 * Decode pulse data; reference: table 4.7.
722 static int decode_pulses(Pulse * pulse, GetBitContext * gb, const uint16_t * swb_offset, int num_swb) { argument
724 pulse->num_pulse = get_bits(gb, 2) + 1;
728 pulse->pos[0] = swb_offset[pulse_swb];
729 pulse->pos[0] += get_bits(gb, 5);
730 if (pulse->pos[0] > 1023)
732 pulse->amp[0] = get_bits(gb, 4);
733 for (i = 1; i < pulse->num_pulse; i++) {
734 pulse->pos[i] = get_bits(gb, 5) + pulse
811 decode_spectrum_and_dequant(AACContext * ac, float coef[1024], GetBitContext * gb, float sf[120], int pulse_present, const Pulse * pulse, const IndividualChannelStream * ics, enum BandType band_type[120]) argument
1020 Pulse pulse; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/avr32/mach-at32ap/
H A Dhsmc.c36 u32 setup, pulse, cycle, mode; local
57 pulse = (HSMC_BF(NWE_PULSE, ns2cyc(config->nwe_pulse))
108 pr_debug("smc cs%d: setup/%08x pulse/%08x cycle/%08x mode/%08x\n",
109 cs, setup, pulse, cycle, mode);
113 hsmc_writel(hsmc, PULSE0 + offset, pulse);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/sn/
H A Dioc3.c34 static inline unsigned mcr_pack(unsigned pulse, unsigned sample) argument
36 return (pulse << 10) | (sample << 2);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/
H A Dioc3-eth.c226 static inline u32 mcr_pack(u32 pulse, u32 sample) argument
228 return (pulse << 10) | (sample << 2);

Completed in 67 milliseconds