Searched defs:bit (Results 1 - 25 of 357) sorted by relevance

1234567891011>>

/drivers/gpu/drm/nouveau/core/subdev/bios/
H A Dbit.c28 #include "subdev/bios/bit.h"
31 bit_entry(struct nouveau_bios *bios, u8 id, struct bit_entry *bit) argument
38 bit->id = nv_ro08(bios, entry + 0);
39 bit->version = nv_ro08(bios, entry + 1);
40 bit->length = nv_ro16(bios, entry + 2);
41 bit->offset = nv_ro16(bios, entry + 4);
/drivers/clk/qcom/
H A Dreset.h21 u8 bit; member in struct:qcom_reset_map
/drivers/hid/
H A Dhid-chicony.c26 #define ch_map_key_clear(c) hid_map_usage_clear(hi, usage, bit, max, \
30 unsigned long **bit, int *max)
28 ch_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) argument
H A Dhid-kensington.c21 #define ks_map_key(c) hid_map_usage(hi, usage, bit, max, EV_KEY, (c))
25 unsigned long **bit, int *max)
23 ks_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) argument
H A Dhid-lcpower.c21 #define ts_map_key_clear(c) hid_map_usage_clear(hi, usage, bit, max, \
25 unsigned long **bit, int *max)
23 ts_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) argument
H A Dhid-penmount.c23 struct hid_usage *usage, unsigned long **bit, int *max)
26 hid_map_usage(hi, usage, bit, max, EV_KEY, BTN_TOUCH);
21 penmount_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) argument
H A Dhid-topseed.c27 #define ts_map_key_clear(c) hid_map_usage_clear(hi, usage, bit, max, \
31 unsigned long **bit, int *max)
29 ts_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) argument
H A Dhid-twinhan.c61 #define th_map_key_clear(c) hid_map_usage_clear(hi, usage, bit, max, \
65 unsigned long **bit, int *max)
63 twinhan_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) argument
H A Dhid-belkin.c27 #define belkin_map_key_clear(c) hid_map_usage_clear(hi, usage, bit, max, \
31 unsigned long **bit, int *max)
29 belkin_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) argument
H A Dhid-cherry.c39 #define ch_map_key_clear(c) hid_map_usage_clear(hi, usage, bit, max, \
43 unsigned long **bit, int *max)
41 ch_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) argument
H A Dhid-ezkey.c25 #define ez_map_rel(c) hid_map_usage(hi, usage, bit, max, EV_REL, (c))
26 #define ez_map_key(c) hid_map_usage(hi, usage, bit, max, EV_KEY, (c))
30 unsigned long **bit, int *max)
28 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
H A Dhid-gyration.c25 #define gy_map_key_clear(c) hid_map_usage_clear(hi, usage, bit, max, \
29 unsigned long **bit, int *max)
27 gyration_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) argument
H A Dhid-monterey.c34 #define mr_map_key_clear(c) hid_map_usage_clear(hi, usage, bit, max, \
38 unsigned long **bit, int *max)
36 mr_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) argument
H A Dhid-petalynx.c38 #define pl_map_key_clear(c) hid_map_usage_clear(hi, usage, bit, max, \
42 unsigned long **bit, int *max)
40 pl_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) argument
H A Dhid-speedlink.c30 unsigned long **bit, int *max)
27 speedlink_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) argument
H A Dhid-sunplus.c36 #define sp_map_key_clear(c) hid_map_usage_clear(hi, usage, bit, max, \
40 unsigned long **bit, int *max)
38 sp_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) argument
H A Dhid-tivo.c22 #define tivo_map_key_clear(c) hid_map_usage_clear(hi, usage, bit, max, \
27 unsigned long **bit, int *max)
25 tivo_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) argument
H A Dhid-icade.c193 unsigned long **bit, int *max)
203 hid_map_usage(hi, usage, bit, max, EV_KEY, trans->to);
216 unsigned long **bit, int *max)
191 icade_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) argument
214 icade_input_mapped(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) argument
/drivers/media/pci/cx25821/
H A Dcx25821-biffuncs.h33 static inline u32 clearBitAtPos(u32 value, u8 bit) argument
35 return value & ~(1 << bit);
38 static inline u32 setBitAtPos(u32 sample, u8 bit) argument
40 sample |= (1 << bit);
H A Dcx25821-gpio.c30 int bit = pin_number; local
40 bit = pin_number - 31;
48 value = gpio_register | Set_GPIO_Bit(bit);
50 value = gpio_register & Clear_GPIO_Bit(bit);
59 int bit = pin_number; local
71 bit = pin_number - 31;
78 value &= Clear_GPIO_Bit(bit);
80 value |= Set_GPIO_Bit(bit);
/drivers/acpi/acpica/
H A Dutownerid.c109 * Found a free ID. The actual ID is the bit index plus one,
119 * Construct encoded ID from the index and bit position
121 * Note: Last [j].k (bit 255) is never used and is marked
175 u32 bit; local
204 bit = 1 << ACPI_MOD_32(owner_id);
208 if (acpi_gbl_owner_id_mask[index] & bit) {
209 acpi_gbl_owner_id_mask[index] ^= bit;
/drivers/staging/rtl8192e/rtl8192e/
H A Drtl_eeprom.c28 static void eprom_cs(struct net_device *dev, short bit) argument
30 if (bit)
53 static void eprom_w(struct net_device *dev, short bit) argument
55 if (bit)
68 short bit; local
70 bit = (read_nic_byte(dev, EPROM_CMD) & (1<<EPROM_R_SHIFT));
73 if (bit)
/drivers/staging/rtl8192u/
H A Dr8180_93cx6.c23 static void eprom_cs(struct net_device *dev, short bit) argument
28 if (bit)
56 static void eprom_w(struct net_device *dev, short bit) argument
61 if (bit)
73 u8 bit; local
75 read_nic_byte_E(dev, EPROM_CMD, &bit);
78 if (bit & EPROM_R_BIT)
/drivers/auxdisplay/
H A Dks0108.c64 * There are not bit definitions because they are not flags,
73 #define bit(n) (((unsigned char)1)<<(n)) macro
83 parport_write_control(ks0108_parport, byte ^ (bit(0) | bit(1) | bit(3)));
88 ks0108_writedata((state ? bit(0) : 0) | bit(1) | bit(2) | bit(3) | bit(
[all...]
/drivers/gpio/
H A Dgpio-mc9s08dz60.c38 static void mc9s_gpio_to_reg_and_bit(int offset, u8 *reg, u8 *bit) argument
41 *bit = offset % GPIO_NUM_PER_GROUP;
46 u8 reg, bit; local
50 mc9s_gpio_to_reg_and_bit(offset, &reg, &bit);
53 return (value >= 0) ? (value >> bit) & 0x1 : 0;
58 u8 reg, bit; local
61 mc9s_gpio_to_reg_and_bit(offset, &reg, &bit);
65 value |= 1 << bit;
67 value &= ~(1 << bit);

Completed in 3830 milliseconds

1234567891011>>