Home
last modified time | relevance | path

Searched refs:attributes (Results 1 – 25 of 55) sorted by relevance

123

/drivers/firmware/efi/
Dvars.c311 check_var_size(u32 attributes, unsigned long size) in check_var_size() argument
318 return fops->query_variable_store(attributes, size); in check_var_size()
652 int efivar_entry_set(struct efivar_entry *entry, u32 attributes, in efivar_entry_set() argument
667 status = check_var_size(attributes, size + ucs2_strsize(name, 1024)); in efivar_entry_set()
670 attributes, size, data); in efivar_entry_set()
690 u32 attributes, unsigned long size, void *data) in efivar_entry_set_nonblocking() argument
699 status = check_var_size(attributes, size + ucs2_strsize(name, 1024)); in efivar_entry_set_nonblocking()
705 status = ops->set_variable_nonblocking(name, &vendor, attributes, in efivar_entry_set_nonblocking()
729 int efivar_entry_set_safe(efi_char16_t *name, efi_guid_t vendor, u32 attributes, in efivar_entry_set_safe() argument
750 return efivar_entry_set_nonblocking(name, vendor, attributes, in efivar_entry_set_safe()
[all …]
Defivars.c206 unsigned long size, u32 attributes, u8 *data) in sanity_check() argument
218 if ((size <= 0) || (attributes == 0)){ in sanity_check()
223 if ((attributes & ~EFI_VARIABLE_MASK) != 0 || in sanity_check()
262 u32 attributes; in efivar_store_raw() local
273 attributes = compat->Attributes; in efivar_store_raw()
279 err = sanity_check(var, name, vendor, size, attributes, data); in efivar_store_raw()
290 attributes = new_var->Attributes; in efivar_store_raw()
296 err = sanity_check(var, name, vendor, size, attributes, data); in efivar_store_raw()
303 err = efivar_entry_set(entry, attributes, size, data, NULL); in efivar_store_raw()
394 static EFIVAR_ATTR(attributes, 0400, efivar_attr_read, NULL);
[all …]
/drivers/vme/
Dvme.c743 struct vme_dma_attr *attributes; in vme_dma_pattern_attribute() local
746 attributes = kmalloc(sizeof(struct vme_dma_attr), GFP_KERNEL); in vme_dma_pattern_attribute()
747 if (attributes == NULL) { in vme_dma_pattern_attribute()
758 attributes->type = VME_DMA_PATTERN; in vme_dma_pattern_attribute()
759 attributes->private = (void *)pattern_attr; in vme_dma_pattern_attribute()
764 return attributes; in vme_dma_pattern_attribute()
767 kfree(attributes); in vme_dma_pattern_attribute()
778 struct vme_dma_attr *attributes; in vme_dma_pci_attribute() local
783 attributes = kmalloc(sizeof(struct vme_dma_attr), GFP_KERNEL); in vme_dma_pci_attribute()
784 if (attributes == NULL) { in vme_dma_pci_attribute()
[all …]
Dvme_bridge.h81 u32 attributes; member
/drivers/iio/common/hid-sensors/
DKconfig12 HID sensor common processing for attributes and IIO triggers.
13 There are many attributes which can be shared among multiple
15 attributes.
23 Triggers will be send if all requested attributes were read.
DMakefile7 hid-sensor-iio-common-y := hid-sensor-attributes.o
/drivers/net/ethernet/amd/xgbe/
Dxgbe-drv.c967 if (XGMAC_GET_BITS(packet->attributes, TX_PACKET_ATTRIBUTES, PTP)) { in xgbe_prep_tx_tstamp()
971 XGMAC_SET_BITS(packet->attributes, in xgbe_prep_tx_tstamp()
980 if (!XGMAC_GET_BITS(packet->attributes, TX_PACKET_ATTRIBUTES, PTP)) in xgbe_prep_tx_tstamp()
994 if (!XGMAC_GET_BITS(packet->attributes, TX_PACKET_ATTRIBUTES, in xgbe_prep_tso()
1049 XGMAC_SET_BITS(packet->attributes, TX_PACKET_ATTRIBUTES, in xgbe_packet_info()
1051 XGMAC_SET_BITS(packet->attributes, TX_PACKET_ATTRIBUTES, in xgbe_packet_info()
1054 XGMAC_SET_BITS(packet->attributes, TX_PACKET_ATTRIBUTES, in xgbe_packet_info()
1066 XGMAC_SET_BITS(packet->attributes, TX_PACKET_ATTRIBUTES, in xgbe_packet_info()
1072 XGMAC_SET_BITS(packet->attributes, TX_PACKET_ATTRIBUTES, in xgbe_packet_info()
1648 incomplete = XGMAC_GET_BITS(packet->attributes, in xgbe_rx_poll()
[all …]
Dxgbe-dev.c1091 XGMAC_SET_BITS(packet->attributes, RX_PACKET_ATTRIBUTES, in xgbe_get_rx_tstamp()
1216 csum = XGMAC_GET_BITS(packet->attributes, TX_PACKET_ATTRIBUTES, in xgbe_pre_xmit()
1218 tso = XGMAC_GET_BITS(packet->attributes, TX_PACKET_ATTRIBUTES, in xgbe_pre_xmit()
1220 vlan = XGMAC_GET_BITS(packet->attributes, TX_PACKET_ATTRIBUTES, in xgbe_pre_xmit()
1300 if (XGMAC_GET_BITS(packet->attributes, TX_PACKET_ATTRIBUTES, PTP)) in xgbe_pre_xmit()
1442 XGMAC_SET_BITS(packet->attributes, RX_PACKET_ATTRIBUTES, in xgbe_dev_read()
1444 XGMAC_SET_BITS(packet->attributes, RX_PACKET_ATTRIBUTES, in xgbe_dev_read()
1450 XGMAC_SET_BITS(packet->attributes, RX_PACKET_ATTRIBUTES, CONTEXT, 0); in xgbe_dev_read()
1454 XGMAC_SET_BITS(packet->attributes, RX_PACKET_ATTRIBUTES, in xgbe_dev_read()
1462 XGMAC_SET_BITS(packet->attributes, RX_PACKET_ATTRIBUTES, in xgbe_dev_read()
[all …]
Dxgbe-desc.c394 tso = XGMAC_GET_BITS(packet->attributes, TX_PACKET_ATTRIBUTES, in xgbe_map_tx_skb()
396 vlan = XGMAC_GET_BITS(packet->attributes, TX_PACKET_ATTRIBUTES, in xgbe_map_tx_skb()
/drivers/mtd/
Dsm_ftl.c60 struct attribute **attributes; in sm_create_sysfs_attributes() local
85 attributes = kzalloc(sizeof(struct attribute *) * (NUM_ATTRIBUTES + 1), in sm_create_sysfs_attributes()
87 if (!attributes) in sm_create_sysfs_attributes()
89 attributes[0] = &vendor_attribute->dev_attr.attr; in sm_create_sysfs_attributes()
95 attr_group->attrs = attributes; in sm_create_sysfs_attributes()
98 kfree(attributes); in sm_create_sysfs_attributes()
109 struct attribute **attributes = ftl->disk_attributes->attrs; in sm_delete_sysfs_attributes() local
112 for (i = 0; attributes[i] ; i++) { in sm_delete_sysfs_attributes()
114 struct device_attribute *dev_attr = container_of(attributes[i], in sm_delete_sysfs_attributes()
/drivers/staging/speakup/
Dsynth.c409 if (synth->attributes.name in do_synth_init()
410 && sysfs_create_group(speakup_kobj, &(synth->attributes)) < 0) in do_synth_init()
431 if (synth->attributes.name) in synth_release()
432 sysfs_remove_group(speakup_kobj, &(synth->attributes)); in synth_release()
Dspeakup_dummy.c120 .attributes = {
Dspeakup_txprt.c118 .attributes = {
Dspeakup_bns.c118 .attributes = {
Dspeakup_acntsa.c121 .attributes = {
Dspeakup_spkout.c125 .attributes = {
Dspeakup_audptr.c126 .attributes = {
Dspk_types.h179 struct attribute_group attributes; member
/drivers/regulator/
Duserspace-consumer.c98 static struct attribute *attributes[] = { variable
105 .attrs = attributes,
/drivers/isdn/hardware/eicon/
Ddsp_defs.h141 word attributes; member
155 word attributes; member
/drivers/staging/iio/Documentation/
Ddevice.txt35 General device attributes. Typically used for the weird
65 Specification of device channels. Most attributes etc. are built
/drivers/usb/gadget/
Dandroid.c60 struct device_attribute **attributes; member
314 .attributes = ffs_function_attributes,
493 .attributes = acm_function_attributes,
748 .attributes = rndis_function_attributes,
838 .attributes = mass_storage_function_attributes,
933 .attributes = audio_source_function_attributes,
979 attrs = f->attributes; in android_init_functions()
/drivers/s390/block/
Ddasd_eckd.c264 data->attributes.operation = private->attrib.operation; in define_extent()
271 data->attributes.operation = private->attrib.operation; in define_extent()
276 data->attributes.operation = DASD_BYPASS_CACHE; in define_extent()
284 data->attributes.operation = DASD_BYPASS_CACHE; in define_extent()
293 data->attributes.mode = 0x3; /* ECKD */ in define_extent()
308 if (data->attributes.operation == DASD_SEQ_PRESTAGE || in define_extent()
309 data->attributes.operation == DASD_SEQ_ACCESS) { in define_extent()
539 dedata->attributes.operation = basepriv->attrib.operation; in prefix_LRE()
544 dedata->attributes.operation = basepriv->attrib.operation; in prefix_LRE()
552 dedata->attributes.operation = basepriv->attrib.operation; in prefix_LRE()
[all …]
/drivers/net/ethernet/mellanox/mlx4/
DKconfig21 If set to N, will not be able to configure QoS and ratelimit attributes.
/drivers/staging/iio/Documentation/dac/
Dmax51728 Via the iio sysfs interface, there are three attributes available: out1_raw,

123