Searched refs:bit (Results 126 - 150 of 1537) sorted by relevance

1234567891011>>

/linux-master/drivers/clk/sunxi-ng/
H A Dccu_reset.h14 u32 bit; member in struct:ccu_reset_map
/linux-master/drivers/acpi/acpica/
H A Dutownerid.c79 * Found a free ID. The actual ID is the bit index plus one,
89 * Construct encoded ID from the index and bit position
91 * Note: Last [j].k (bit 4095) is never used and is marked
145 u32 bit; local
174 bit = (u32)1 << ACPI_MOD_32(owner_id);
178 if (acpi_gbl_owner_id_mask[index] & bit) {
179 acpi_gbl_owner_id_mask[index] ^= bit;
/linux-master/drivers/reset/
H A Dreset-berlin.c58 unsigned int offset, bit; local
61 bit = reset_spec->args[1];
63 if (bit >= BERLIN_MAX_RESETS)
66 return (offset << 8) | bit;
/linux-master/arch/arm/mach-s3c/
H A Dpm.c44 unsigned long bit = 1L << IRQ_EINT_BIT(data->irq); local
46 if (!(s3c_irqwake_eintallow & bit))
53 s3c_irqwake_eintmask |= bit;
55 s3c_irqwake_eintmask &= ~bit;
/linux-master/arch/sh/boards/mach-dreamcast/
H A Dirq.c24 * triggered, its corresponding bit in the Event Status Registers (ESRs)
25 * is set, and that bit should be rewritten to the ESR to acknowledge that
28 * There are three 32-bit ESRs located at 0xa05f6900 - 0xa05f6908. Event
54 /* Return the hardware event's bit position within the EMR/ESR */
59 * (logically mapped to the corresponding bit for the hardware event).
62 /* Disable the hardware event by masking its bit in its EMR */
74 /* Enable the hardware event by setting its bit in its EMR */
86 /* Acknowledge a hardware event by writing its bit back to its ESR */
108 __u32 j, bit; local
130 /* Now scan and find the first set bit a
[all...]
/linux-master/drivers/media/platform/chips-media/coda/
H A DMakefile3 coda-vpu-objs := coda-common.o coda-bit.o coda-gdi.o coda-h264.o coda-mpeg2.o coda-mpeg4.o coda-jpeg.o
/linux-master/include/linux/
H A Dleds-expresswire.h35 void expresswire_set_bit(struct expresswire_common_props *props, bool bit);
/linux-master/tools/perf/trace/beauty/
H A Dpkey_alloc.c24 unsigned long bit = 1UL << (i - 1); local
26 if (!(flags & bit))
35 printed += scnprintf(bf + printed, size - printed, "0x%#", bit);
/linux-master/drivers/hid/
H A Dhid-ezkey.c22 #define ez_map_rel(c) hid_map_usage(hi, usage, bit, max, EV_REL, (c))
23 #define ez_map_key(c) hid_map_usage(hi, usage, bit, max, EV_KEY, (c))
27 unsigned long **bit, int *max)
25 ez_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) argument
/linux-master/arch/alpha/kernel/
H A Dirq_pyxis.c21 /* Note mask bit is true for ENABLED irqs. */
47 unsigned long bit = 1UL << (d->irq - 16); local
48 unsigned long mask = cached_irq_mask &= ~bit;
54 *(vulp)PYXIS_INT_REQ = bit;
78 * Now for every possible bit set, work through them and call
83 pld &= pld - 1; /* clear least bit set */
/linux-master/arch/alpha/lib/
H A Dstrncat.S41 $found: negq $2, $3 # clear all but least set bit
44 and $2, 0xf0, $3 # binary search for that set bit
72 addq $24, $24, $24 # end-of-count bit <<= 1
/linux-master/drivers/staging/media/atomisp/pci/hive_isp_css_include/host/
H A Dsp_public.h62 \param bit[in] The bit index to be checked
64 \return (SP[ID].sc[reg] & (1<<bit)) != 0
69 const unsigned int bit);
75 \param bit[in] The bit index to be set
77 \return none, SP[ID].sc[reg] |= (1<<bit)
82 const unsigned int bit);
88 \param bit[in] The bit inde
[all...]
H A Disp_public.h62 \param bit[in] The bit index to be checked
64 \return (ISP[ID].sc[reg] & (1<<bit)) != 0
69 const unsigned int bit);
75 \param bit[in] The bit index to be set
77 \return none, ISP[ID].sc[reg] |= (1<<bit)
82 const unsigned int bit);
88 \param bit[in] The bit inde
[all...]
/linux-master/arch/s390/tools/
H A Dgen_facilities.c3 * Simple program to generate defines out of facility lists that use the bit
4 * numbering scheme from the Princples of Operations: most significant bit
5 * has bit number 0.
123 unsigned int high, bit, dword, i; local
131 bit = 63 - (def->bits[i] & 63);
140 array[dword] |= 1ULL << bit;
/linux-master/kernel/trace/
H A Dfprobe.c64 int bit; local
73 bit = ftrace_test_recursion_trylock(ip, parent_ip);
74 if (bit < 0) {
79 ftrace_test_recursion_unlock(bit);
88 int bit; local
97 bit = ftrace_test_recursion_trylock(ip, parent_ip);
98 if (bit < 0) {
119 ftrace_test_recursion_unlock(bit);
127 int bit; local
138 bit
[all...]
/linux-master/drivers/leds/
H A Dleds-sunfire.c31 enum led_brightness led_val, u8 bit)
36 switch (bit) {
39 reg &= ~bit;
41 reg |= bit;
46 reg |= bit;
48 reg &= ~bit;
73 enum led_brightness led_val, u32 bit)
78 switch (bit) {
81 reg &= ~bit;
83 reg |= bit;
30 __clockboard_set(struct led_classdev *led_cdev, enum led_brightness led_val, u8 bit) argument
72 __fhc_set(struct led_classdev *led_cdev, enum led_brightness led_val, u32 bit) argument
[all...]
/linux-master/drivers/spi/
H A Dspi-butterfly.c70 u8 bit, byte = pp->lastbyte; local
72 bit = spi_sck_bit;
75 byte |= bit;
77 byte &= ~bit;
86 u8 bit, byte = pp->lastbyte; local
88 bit = spi_mosi_bit;
91 byte |= bit;
93 byte &= ~bit;
102 u8 bit; local
104 bit
[all...]
/linux-master/drivers/char/
H A Dpc8736x_gpio.c50 #define PC8736X_GPIO_CT 32 /* minors matching 4 8 bit ports */
155 int port, bit, val; local
158 bit = minor & 7;
160 val >>= bit; local
163 dev_dbg(&pdev->dev, "_gpio_get(%d from %x bit %d) == val %d\n",
164 minor, pc8736x_gpio_base + port_offset[port] + PORT_IN, bit,
172 int port, bit, curval; local
176 bit = minor & 7;
179 dev_dbg(&pdev->dev, "addr:%x cur:%x bit-pos:%d cur-bit
199 int port, bit; local
[all...]
/linux-master/drivers/clk/pxa/
H A Dclk-pxa25x.c116 bit, is_lp, flags) \
117 PXA_CKEN(dev_id, con_id, bit, parents, mult, div, mult, div, \
118 is_lp, CKEN, CKEN_ ## bit, flags)
119 #define PXA25X_PBUS95_CKEN(dev_id, con_id, bit, mult_hp, div_hp, delay) \
121 div_hp, bit, NULL, 0)
122 #define PXA25X_PBUS147_CKEN(dev_id, con_id, bit, mult_hp, div_hp, delay)\
124 div_hp, bit, NULL, 0)
125 #define PXA25X_OSC3_CKEN(dev_id, con_id, bit, mult_hp, div_hp, delay) \
127 div_hp, bit, NULL, 0)
129 #define PXA25X_CKEN_1RATE(dev_id, con_id, bit, parent
[all...]
/linux-master/drivers/media/tuners/
H A Dmxl5005s.c236 u16 addr[25]; /* Array of Tuner Register Address for each bit pos */
237 u16 bit[25]; /* Array of bit pos in Reg Addr for each bit pos */ member in struct:TunerControl
301 static void MXL_RegWriteBit(struct dvb_frontend *fe, u8 address, u8 bit,
730 state->Init_Ctrl[0].bit[0] = 7;
736 state->Init_Ctrl[1].bit[0] = 2;
742 state->Init_Ctrl[2].bit[0] = 1;
745 state->Init_Ctrl[2].bit[1] = 0;
751 state->Init_Ctrl[3].bit[
3549 MXL_RegWriteBit(struct dvb_frontend *fe, u8 address, u8 bit, u8 bitVal) argument
[all...]
/linux-master/sound/pci/oxygen/
H A Dxonar_lib.c95 u16 bit = ctl->private_value; local
99 !!(oxygen_read16(chip, OXYGEN_GPIO_DATA) & bit) ^ invert;
107 u16 bit = ctl->private_value; local
115 new_bits = old_bits | bit;
117 new_bits = old_bits & ~bit;
/linux-master/drivers/pinctrl/sunplus/
H A Dsppctl.h48 #define SPPCTL_SET_MOON_REG_BIT(bit) (BIT((bit) + SPPCTL_MOON_REG_MASK_SHIFT) | BIT(bit))
49 #define SPPCTL_CLR_MOON_REG_BIT(bit) BIT((bit) + SPPCTL_MOON_REG_MASK_SHIFT)
153 const u8 boff; /* bit offset */
154 const u8 blen; /* bit length */
/linux-master/arch/powerpc/platforms/pasemi/
H A Ddma_lib.c104 int bit; local
122 bit = find_next_bit(txch_free, MAX_TXCH, start);
123 if (bit >= limit)
125 if (!test_and_clear_bit(bit, txch_free))
128 return bit;
139 int bit; local
141 bit = find_first_bit(rxch_free, MAX_RXCH);
142 if (bit >= MAX_TXCH)
144 if (!test_and_clear_bit(bit, rxch_free))
147 return bit;
377 int bit; local
442 int bit; local
[all...]
/linux-master/drivers/gpio/
H A Dgpio-exar.c79 unsigned int bit = exar_offset_to_bit(exar_gpio, offset); local
81 if (regmap_test_bits(exar_gpio->regmap, addr, BIT(bit)))
91 unsigned int bit = exar_offset_to_bit(exar_gpio, offset); local
93 return !!(regmap_test_bits(exar_gpio->regmap, addr, BIT(bit)));
101 unsigned int bit = exar_offset_to_bit(exar_gpio, offset); local
104 regmap_set_bits(exar_gpio->regmap, addr, BIT(bit));
106 regmap_clear_bits(exar_gpio->regmap, addr, BIT(bit));
114 unsigned int bit = exar_offset_to_bit(exar_gpio, offset); local
117 regmap_clear_bits(exar_gpio->regmap, addr, BIT(bit));
126 unsigned int bit local
[all...]
/linux-master/arch/sh/drivers/
H A Dheartbeat.c15 * handled by this driver, rather than giving each LED bit position its
33 unsigned bit, unsigned int inverted)
37 new = (1 << hd->bit_pos[bit]);
62 static unsigned bit = 0, up = 1; local
64 heartbeat_toggle_bit(hd, bit, hd->flags & HEARTBEAT_INVERTED);
66 bit += up;
67 if ((bit == 0) || (bit == (hd->nr_bits)-1))
32 heartbeat_toggle_bit(struct heartbeat_data *hd, unsigned bit, unsigned int inverted) argument

Completed in 211 milliseconds

1234567891011>>