Home
last modified time | relevance | path

Searched refs:value (Results 1 – 25 of 230) sorted by relevance

12345678910

/include/acpi/
Dacbuffer.h156 #define ACPI_PLD_SET_REVISION(dword,value) ACPI_SET_BITS (dword, 0, ACPI_7BIT_MASK, value) /* … argument
159 #define ACPI_PLD_SET_IGNORE_COLOR(dword,value) ACPI_SET_BITS (dword, 7, ACPI_1BIT_MASK, value) /* … argument
162 #define ACPI_PLD_SET_RED(dword,value) ACPI_SET_BITS (dword, 8, ACPI_8BIT_MASK, value) /* … argument
165 #define ACPI_PLD_SET_GREEN(dword,value) ACPI_SET_BITS (dword, 16, ACPI_8BIT_MASK, value) /*… argument
168 #define ACPI_PLD_SET_BLUE(dword,value) ACPI_SET_BITS (dword, 24, ACPI_8BIT_MASK, value) /*… argument
173 #define ACPI_PLD_SET_WIDTH(dword,value) ACPI_SET_BITS (dword, 0, ACPI_16BIT_MASK, value) /*… argument
176 #define ACPI_PLD_SET_HEIGHT(dword,value) ACPI_SET_BITS (dword, 16, ACPI_16BIT_MASK, value) /… argument
181 #define ACPI_PLD_SET_USER_VISIBLE(dword,value) ACPI_SET_BITS (dword, 0, ACPI_1BIT_MASK, value) /* … argument
184 #define ACPI_PLD_SET_DOCK(dword,value) ACPI_SET_BITS (dword, 1, ACPI_1BIT_MASK, value) /* … argument
187 #define ACPI_PLD_SET_LID(dword,value) ACPI_SET_BITS (dword, 2, ACPI_1BIT_MASK, value) /* … argument
[all …]
/include/linux/uwb/
Dwhci.h80 void le_writel(u32 value, void __iomem *addr) in le_writel() argument
82 iowrite32(value, addr); in le_writel()
96 void le_writeq(u64 value, void __iomem *addr) in le_writeq() argument
98 iowrite32(value, addr); in le_writeq()
99 iowrite32(value >> 32, addr + 4); in le_writeq()
107 u64 value; in le_readq() local
108 value = ioread32(addr); in le_readq()
109 value |= (u64)ioread32(addr + 4) << 32; in le_readq()
110 return value; in le_readq()
/include/soc/nps/
Dcommon.h76 u32 value; member
118 ({ struct global_id gid; gid.value = cpu; \
127 u32 value; member
136 u32 value; member
144 reg_address.value = NPS_HOST_REG_BASE; in nps_host_reg_non_cl()
148 return (void *)reg_address.value; in nps_host_reg_non_cl()
156 reg_address.value = NPS_HOST_REG_BASE; in nps_host_reg()
162 return (void *)reg_address.value; in nps_host_reg()
/include/linux/ssb/
Dssb_embedded.h12 u32 ssb_gpio_out(struct ssb_bus *bus, u32 mask, u32 value);
13 u32 ssb_gpio_outen(struct ssb_bus *bus, u32 mask, u32 value);
14 u32 ssb_gpio_control(struct ssb_bus *bus, u32 mask, u32 value);
15 u32 ssb_gpio_intmask(struct ssb_bus *bus, u32 mask, u32 value);
16 u32 ssb_gpio_polarity(struct ssb_bus *bus, u32 mask, u32 value);
Dssb_driver_extif.h182 u32 ssb_extif_gpio_out(struct ssb_extif *extif, u32 mask, u32 value);
183 u32 ssb_extif_gpio_outen(struct ssb_extif *extif, u32 mask, u32 value);
184 u32 ssb_extif_gpio_polarity(struct ssb_extif *extif, u32 mask, u32 value);
185 u32 ssb_extif_gpio_intmask(struct ssb_extif *extif, u32 mask, u32 value);
227 u32 value) in ssb_extif_gpio_out() argument
233 u32 value) in ssb_extif_gpio_outen() argument
239 u32 value) in ssb_extif_gpio_polarity() argument
245 u32 value) in ssb_extif_gpio_intmask() argument
/include/trace/events/
Dgpio.h37 TP_PROTO(unsigned gpio, int get, int value),
39 TP_ARGS(gpio, get, value),
44 __field(int, value)
50 __entry->value = value;
54 __entry->get ? "get" : "set", __entry->value)
/include/linux/
Dposix_acl_xattr.h35 void posix_acl_fix_xattr_from_user(void *value, size_t size);
36 void posix_acl_fix_xattr_to_user(void *value, size_t size);
38 static inline void posix_acl_fix_xattr_from_user(void *value, size_t size) in posix_acl_fix_xattr_from_user() argument
41 static inline void posix_acl_fix_xattr_to_user(void *value, size_t size) in posix_acl_fix_xattr_to_user() argument
47 const void *value, size_t size);
Digmp.h99 #define IGMPV3_MASK(value, nb) ((nb)>=32 ? (value) : ((1<<(nb))-1) & (value)) argument
100 #define IGMPV3_EXP(thresh, nbmant, nbexp, value) \ argument
101 ((value) < (thresh) ? (value) : \
102 ((IGMPV3_MASK(value, nbmant) | (1<<(nbmant))) << \
103 (IGMPV3_MASK((value) >> (nbmant), nbexp) + (nbexp))))
105 #define IGMPV3_QQIC(value) IGMPV3_EXP(0x80, 4, 3, value) argument
106 #define IGMPV3_MRC(value) IGMPV3_EXP(0x80, 4, 3, value) argument
Ddebugfs.h122 struct dentry *parent, u8 *value);
124 struct dentry *parent, u16 *value);
126 struct dentry *parent, u32 *value);
128 struct dentry *parent, u64 *value);
130 struct dentry *parent, unsigned long *value);
132 struct dentry *parent, u8 *value);
134 struct dentry *parent, u16 *value);
136 struct dentry *parent, u32 *value);
138 struct dentry *parent, u64 *value);
140 struct dentry *parent, size_t *value);
[all …]
Dinput.h36 __s32 value; member
170 int (*event)(struct input_dev *dev, unsigned int type, unsigned int code, int value);
288 void (*event)(struct input_handle *handle, unsigned int type, unsigned int code, int value);
291 bool (*filter)(struct input_handle *handle, unsigned int type, unsigned int code, int value);
384 void input_event(struct input_dev *dev, unsigned int type, unsigned int code, int value);
385 …d input_inject_event(struct input_handle *handle, unsigned int type, unsigned int code, int value);
387 static inline void input_report_key(struct input_dev *dev, unsigned int code, int value) in input_report_key() argument
389 input_event(dev, EV_KEY, code, !!value); in input_report_key()
392 static inline void input_report_rel(struct input_dev *dev, unsigned int code, int value) in input_report_rel() argument
394 input_event(dev, EV_REL, code, value); in input_report_rel()
[all …]
Dpci_hotplug.h67 int (*set_attention_status) (struct hotplug_slot *slot, u8 value);
68 int (*hardware_test) (struct hotplug_slot *slot, u32 value);
69 int (*get_power_status) (struct hotplug_slot *slot, u8 *value);
70 int (*get_attention_status) (struct hotplug_slot *slot, u8 *value);
71 int (*get_latch_status) (struct hotplug_slot *slot, u8 *value);
72 int (*get_adapter_status) (struct hotplug_slot *slot, u8 *value);
Dkexec.h241 #define VMCOREINFO_OSRELEASE(value) \ argument
242 vmcoreinfo_append_str("OSRELEASE=%s\n", value)
243 #define VMCOREINFO_PAGESIZE(value) \ argument
244 vmcoreinfo_append_str("PAGESIZE=%ld\n", value)
256 #define VMCOREINFO_LENGTH(name, value) \ argument
257 vmcoreinfo_append_str("LENGTH(%s)=%lu\n", #name, (unsigned long)value)
262 #define VMCOREINFO_PAGE_OFFSET(value) \ argument
263 vmcoreinfo_append_str("PAGE_OFFSET=%lx\n", (unsigned long)value)
264 #define VMCOREINFO_VMALLOC_START(value) \ argument
265 vmcoreinfo_append_str("VMALLOC_START=%lx\n", (unsigned long)value)
[all …]
Datmel-ssc.h319 #define SSC_BF(name, value) \ argument
320 (((value) & ((1 << SSC_##name##_SIZE) - 1)) \
322 #define SSC_BFEXT(name, value) \ argument
323 (((value) >> SSC_##name##_OFFSET) \
325 #define SSC_BFINS(name, value, old) \ argument
327 << SSC_##name##_OFFSET)) | SSC_BF(name, value))
331 #define ssc_writel(base, reg, value) __raw_writel((value), base + SSC_##reg) argument
/include/net/
Dmld.h76 #define MLDV2_MRC_EXP(value) (((value) >> 12) & 0x0007) argument
77 #define MLDV2_MRC_MAN(value) ((value) & 0x0fff) argument
88 #define MLDV2_QQIC_EXP(value) (((value) >> 4) & 0x07) argument
89 #define MLDV2_QQIC_MAN(value) ((value) & 0x0f) argument
Dbond_options.h81 u64 value; member
120 char *string, u64 value) in __bond_opt_init() argument
123 optval->value = ULLONG_MAX; in __bond_opt_init()
124 if (value == ULLONG_MAX) in __bond_opt_init()
127 optval->value = value; in __bond_opt_init()
129 #define bond_opt_initval(optval, value) __bond_opt_init(optval, NULL, value) argument
Dnetlink.h757 static inline int nla_put_u8(struct sk_buff *skb, int attrtype, u8 value) in nla_put_u8() argument
760 u8 tmp = value; in nla_put_u8()
771 static inline int nla_put_u16(struct sk_buff *skb, int attrtype, u16 value) in nla_put_u16() argument
773 u16 tmp = value; in nla_put_u16()
784 static inline int nla_put_be16(struct sk_buff *skb, int attrtype, __be16 value) in nla_put_be16() argument
786 __be16 tmp = value; in nla_put_be16()
797 static inline int nla_put_net16(struct sk_buff *skb, int attrtype, __be16 value) in nla_put_net16() argument
799 __be16 tmp = value; in nla_put_net16()
810 static inline int nla_put_le16(struct sk_buff *skb, int attrtype, __le16 value) in nla_put_le16() argument
812 __le16 tmp = value; in nla_put_le16()
[all …]
Ddsfield.h28 __u8 value) in ipv4_change_dsfield() argument
33 dsfield = (iph->tos & mask) | value; in ipv4_change_dsfield()
44 __u8 value) in ipv6_change_dsfield() argument
48 *p = (*p & htons((((u16)mask << 4) | 0xf00f))) | htons((u16)value << 4); in ipv6_change_dsfield()
/include/asm-generic/
Dgpio.h73 static inline int gpio_direction_output(unsigned gpio, int value) in gpio_direction_output() argument
75 return gpiod_direction_output_raw(gpio_to_desc(gpio), value); in gpio_direction_output()
87 static inline void gpio_set_value_cansleep(unsigned gpio, int value) in gpio_set_value_cansleep() argument
89 return gpiod_set_raw_value_cansleep(gpio_to_desc(gpio), value); in gpio_set_value_cansleep()
101 static inline void __gpio_set_value(unsigned gpio, int value) in __gpio_set_value() argument
103 return gpiod_set_raw_value(gpio_to_desc(gpio), value); in __gpio_set_value()
163 static inline void gpio_set_value_cansleep(unsigned gpio, int value) in gpio_set_value_cansleep() argument
166 __gpio_set_value(gpio, value); in gpio_set_value_cansleep()
Dio.h72 static inline void __raw_writeb(u8 value, volatile void __iomem *addr) in __raw_writeb() argument
74 *(volatile u8 __force *)addr = value; in __raw_writeb()
80 static inline void __raw_writew(u16 value, volatile void __iomem *addr) in __raw_writew() argument
82 *(volatile u16 __force *)addr = value; in __raw_writew()
88 static inline void __raw_writel(u32 value, volatile void __iomem *addr) in __raw_writel() argument
90 *(volatile u32 __force *)addr = value; in __raw_writel()
97 static inline void __raw_writeq(u64 value, volatile void __iomem *addr) in __raw_writeq() argument
99 *(volatile u64 __force *)addr = value; in __raw_writeq()
145 static inline void writeb(u8 value, volatile void __iomem *addr) in writeb() argument
147 __raw_writeb(value, addr); in writeb()
[all …]
Dbarrier.h112 #define __smp_store_mb(var, value) do { WRITE_ONCE(var, value); __smp_mb(); } while (0) argument
145 #define smp_store_mb(var, value) __smp_store_mb(var, value) argument
167 #define smp_store_mb(var, value) do { WRITE_ONCE(var, value); barrier(); } while (0) argument
204 #define virt_store_mb(var, value) __smp_store_mb(var, value) argument
/include/linux/platform_data/
Dpwm_omap_dmtimer.h67 int (*set_int_enable)(pwm_omap_dmtimer *timer, unsigned int value);
77 unsigned int value);
85 int (*write_counter)(pwm_omap_dmtimer *timer, unsigned int value);
87 int (*write_status)(pwm_omap_dmtimer *timer, unsigned int value);
/include/linux/input/
Dsparse-keymap.h42 u8 value; /* For KE_SW, ignored by KE_VSW */ member
57 unsigned int value, bool autorelease);
60 unsigned int value, bool autorelease);
/include/net/irda/
Dirlan_common.h107 #define IRLAN_STRING_PARAMETER_LEN(name, value) (1 + strlen((name)) + 2 \ argument
108 + strlen ((value)))
220 int irlan_insert_byte_param(struct sk_buff *skb, char *param, __u8 value);
221 int irlan_insert_short_param(struct sk_buff *skb, char *param, __u16 value);
222 int irlan_insert_string_param(struct sk_buff *skb, char *param, char *value);
223 int irlan_insert_array_param(struct sk_buff *skb, char *name, __u8 *value,
226 int irlan_extract_param(__u8 *buf, char *name, char *value, __u16 *len);
Dirias_object.h78 struct ias_value *value; /* Attribute value */ member
88 void irias_add_integer_attrib(struct ias_object *obj, char *name, int value,
90 void irias_add_string_attrib(struct ias_object *obj, char *name, char *value,
103 void irias_delete_value(struct ias_value *value);
/include/linux/mfd/
Ddbx500-prcmu.h257 int prcmu_abb_read(u8 slave, u8 reg, u8 *value, u8 size);
258 int prcmu_abb_write(u8 slave, u8 reg, u8 *value, u8 size);
259 int prcmu_abb_write_masked(u8 slave, u8 reg, u8 *value, u8 *mask, u8 size);
369 static inline void prcmu_write(unsigned int reg, u32 value) in prcmu_write() argument
371 db8500_prcmu_write(reg, value); in prcmu_write()
374 static inline void prcmu_write_masked(unsigned int reg, u32 mask, u32 value) in prcmu_write_masked() argument
376 db8500_prcmu_write_masked(reg, mask, value); in prcmu_write_masked()
422 static inline int prcmu_abb_read(u8 slave, u8 reg, u8 *value, u8 size) in prcmu_abb_read() argument
427 static inline int prcmu_abb_write(u8 slave, u8 reg, u8 *value, u8 size) in prcmu_abb_write() argument
432 static inline int prcmu_abb_write_masked(u8 slave, u8 reg, u8 *value, u8 *mask, in prcmu_abb_write_masked() argument
[all …]

12345678910