Searched refs:features (Results 1 - 25 of 403) sorted by relevance

1234567891011>>

/drivers/input/tablet/
H A Dwacom_sys.c172 * features. This mean physical size of active area can be computed.
177 static void wacom_set_phy_from_res(struct wacom_features *features) argument
179 features->x_phy = (features->x_max * 100) / features->x_resolution;
180 features->y_phy = (features->y_max * 100) / features->y_resolution;
184 struct wacom_features *features)
188 if (features
183 wacom_parse_logical_collection(unsigned char *report, struct wacom_features *features) argument
237 wacom_parse_hid(struct usb_interface *intf, struct hid_descriptor *hid_desc, struct wacom_features *features) argument
403 wacom_query_tablet_data(struct usb_interface *intf, struct wacom_features *features) argument
449 wacom_retrieve_hid_descriptor(struct usb_interface *intf, struct wacom_features *features) argument
998 struct wacom_features *features; local
1134 struct wacom_features *features = &wacom->wacom_wac.features; local
[all...]
H A Dwacom_wac.c73 struct wacom_features *features = &wacom->features; local
88 if (features->pressure_max > 255)
90 pressure += (features->pressure_max + 1) / 2;
173 struct wacom_features *features = &wacom->features; local
194 pressure = features->pressure_max + pressure + 1;
206 struct wacom_features *features = &wacom->features; local
253 if (features
313 struct wacom_features *features = &wacom->features; local
446 struct wacom_features *features = &wacom->features; local
479 struct wacom_features *features = &wacom->features; local
798 struct wacom_features *features = &wacom->features; local
859 struct wacom_features *features = &wacom->features; local
1180 wacom_setup_device_quirks(struct wacom_features *features) argument
1225 struct wacom_features *features = &wacom_wac->features; local
[all...]
H A Dhanwang.c74 const struct hanwang_features *features; member in struct:hanwang
128 enum hanwang_tablet_type type = hanwang->features->type;
196 hanwang->features->pid);
299 hanwang->features = &features_array[i];
329 hanwang->data = usb_alloc_coherent(dev, hanwang->features->pkg_len,
348 strlcpy(hanwang->name, hanwang->features->name, sizeof(hanwang->name));
372 0, hanwang->features->max_x, 4, 0);
374 0, hanwang->features->max_y, 4, 0);
376 0, hanwang->features->max_tilt_x, 0, 0);
378 0, hanwang->features
[all...]
/drivers/isdn/hardware/eicon/
H A Dxdi_msg.h53 Start does set new set of features due to fact that we not know
54 if protocol features have changed
82 Set untranslated protocol code features
87 dword features; member in struct:_diva_xdi_um_cfg_cmd_data_set_features
92 dword features; member in struct:_diva_xdi_um_cfg_cmd_data_start
117 diva_xdi_um_cfg_cmd_data_set_features_t features; member in union:_diva_xdi_um_cfg_cmd_data
H A Dum_xdi.h13 dword features; member in struct:_diva_um_idi_adapter_features
21 #define DIVA_UM_IDI_GET_FEATURES 1 /* trigger features indication */
50 diva_um_idi_adapter_features_t features; member in union:_diva_um_idi_ind
55 #define DIVA_UM_IDI_IND_FEATURES 1 /* features indication */
/drivers/mfd/
H A Dtwl-core.c624 unsigned num_consumers, unsigned long features)
642 tmp->features |= features;
645 drv_data.features = features;
660 unsigned long features)
662 return add_regulator_linked(num, pdata, NULL, 0, features);
673 unsigned long features)
744 features);
750 features);
622 add_regulator_linked(int num, struct regulator_init_data *pdata, struct regulator_consumer_supply *consumers, unsigned num_consumers, unsigned long features) argument
659 add_regulator(int num, struct regulator_init_data *pdata, unsigned long features) argument
672 add_children(struct twl4030_platform_data *pdata, unsigned irq_base, unsigned long features) argument
[all...]
/drivers/net/ethernet/atheros/atlx/
H A Datlx.c215 static void __atlx_vlan_mode(netdev_features_t features, u32 *ctrl) argument
217 if (features & NETIF_F_HW_VLAN_RX) {
227 netdev_features_t features)
236 __atlx_vlan_mode(features, &ctrl);
244 atlx_vlan_mode(adapter->netdev, adapter->netdev->features);
248 netdev_features_t features)
254 if (features & NETIF_F_HW_VLAN_RX)
255 features |= NETIF_F_HW_VLAN_TX;
257 features &= ~NETIF_F_HW_VLAN_TX;
259 return features;
226 atlx_vlan_mode(struct net_device *netdev, netdev_features_t features) argument
247 atlx_fix_features(struct net_device *netdev, netdev_features_t features) argument
262 atlx_set_features(struct net_device *netdev, netdev_features_t features) argument
[all...]
/drivers/s390/block/
H A Ddasd_devmap.c37 * dasd_devmap_t is used to store the features and the relation
50 unsigned short features; member in struct:dasd_devmap
187 * Read colon separated list of dasd features. Currently there is
194 int features, len, rc; local
202 features = 0;
208 features |= DASD_FEATURE_READONLY;
210 features |= DASD_FEATURE_USEDIAG;
212 features |= DASD_FEATURE_USERAW;
214 features |= DASD_FEATURE_ERPLOG;
216 features |
315 int features, rc; local
409 dasd_add_busid(const char *bus_id, int features) argument
[all...]
/drivers/net/ethernet/ibm/emac/
H A Dphy.h45 u32 features; /* Ethtool SUPPORTED_* defines or member in struct:mii_phy_def
56 u32 features; /* Copied from mii_phy_def.features member in struct:mii_phy
H A Dphy.c147 if (phy->features &
227 if (phy->features &
511 /* Determine PHY features if needed */
512 phy->features = def->features;
513 if (!phy->features) {
516 phy->features |= SUPPORTED_Autoneg;
518 phy->features |= SUPPORTED_10baseT_Half;
520 phy->features |= SUPPORTED_10baseT_Full;
522 phy->features |
[all...]
/drivers/video/matrox/
H A Dmatroxfb_misc.h14 return matroxfb_PLL_calcclock(&minfo->features.pll, freq, fmax, in, feed, post);
/drivers/scsi/aic7xxx_old/
H A Daic7xxx.seq65 if ((p->features & AHC_CMD_CHAN) != 0) {
74 if ((p->features & AHC_QUEUE_REGS) == 0) {
78 if ((p->features & AHC_QUEUE_REGS) == 0) {
83 if ((p->features & AHC_TWIN) != 0) {
98 if ((p->features & AHC_QUEUE_REGS) != 0) {
140 if ((p->features & AHC_CMD_CHAN) != 0) {
165 if ((p->features & AHC_TWIN) != 0) {
172 if ((p->features & AHC_ULTRA2) != 0) {
199 if ((p->features & AHC_ULTRA) != 0) {
217 if ((p->features
[all...]
/drivers/scsi/aic7xxx/
H A Daic7xxx.seq78 if ((ahc->features & AHC_ULTRA2) != 0) {
82 if ((ahc->features & AHC_TWIN) != 0) {
88 if ((ahc->features & AHC_TWIN) != 0) {
95 if ((ahc->features & AHC_QUEUE_REGS) != 0) {
138 if ((ahc->features & AHC_QUEUE_REGS) != 0) {
167 if ((ahc->features & AHC_DT) == 0) {
199 if ((ahc->features & AHC_CMD_CHAN) != 0) {
212 if ((ahc->features & AHC_MULTI_TID) != 0) {
214 } else if ((ahc->features & AHC_ULTRA2) != 0) {
220 if ((ahc->features
[all...]
H A Daic7xxx_pci.c795 if ((ahc->features & AHC_ULTRA2) != 0)
811 if ((ahc->features & AHC_DT) != 0) {
828 if ((ahc->features & AHC_ULTRA2) != 0) {
866 if ((ahc->features & AHC_ULTRA) != 0) {
872 ahc->features &= ~AHC_ULTRA;
884 if ((ahc->features & AHC_ULTRA2) != 0) {
942 if ((ahc->features & AHC_DT) != 0) {
953 if ((ahc->features & AHC_MULTI_FUNC) != 0)
956 if ((ahc->features & AHC_ULTRA2) != 0)
988 if ((ahc->features
[all...]
/drivers/media/rc/
H A Dir-lirc-codec.c304 unsigned long features; local
318 features = LIRC_CAN_REC_MODE2;
320 features |= LIRC_CAN_SEND_PULSE;
322 features |= LIRC_CAN_SET_TRANSMITTER_MASK;
324 features |= LIRC_CAN_SET_SEND_CARRIER;
326 features |= LIRC_CAN_SET_SEND_DUTY_CYCLE;
330 features |= LIRC_CAN_SET_REC_CARRIER |
334 features |= LIRC_CAN_USE_WIDEBAND_RECEIVER;
337 features |= LIRC_CAN_MEASURE_CARRIER;
340 features |
[all...]
/drivers/net/ethernet/myricom/myri10ge/
H A Dmyri10ge_mcp_gen_header.h46 unsigned features; member in struct:mcp_gen_header
/drivers/xen/
H A Dfeatures.c2 * features.c
16 #include <xen/features.h>
/drivers/vhost/
H A Dtest.c234 static int vhost_test_set_features(struct vhost_test *n, u64 features) argument
237 if ((features & (1 << VHOST_F_LOG_ALL)) &&
242 n->dev.acked_features = features;
256 u64 features; local
264 features = VHOST_FEATURES;
265 if (copy_to_user(featurep, &features, sizeof features))
269 if (copy_from_user(&features, featurep, sizeof features))
271 if (features
[all...]
/drivers/net/phy/
H A Dsmsc.c69 .features = (PHY_BASIC_FEATURES | SUPPORTED_Pause
93 .features = (PHY_BASIC_FEATURES | SUPPORTED_Pause
117 .features = (PHY_BASIC_FEATURES | SUPPORTED_Pause
141 .features = (PHY_BASIC_FEATURES | SUPPORTED_Pause
165 .features = (PHY_BASIC_FEATURES | SUPPORTED_Pause
/drivers/scsi/sym53c8xx_2/
H A Dsym_fw.c119 if (!(np->features & FE_LED0)) {
163 if (!(np->features & FE_LED0)) {
203 if (!(np->features & FE_C10)) {
352 if (chip->features & FE_LDSTR)
355 else if (!(chip->features & (FE_PFEN|FE_NOPM|FE_DAC)))
436 !(np->features & FE_PFEN)) {
444 if (!(np->features & FE_WIDE))
452 if (!(np->features & FE_WIDE))
462 if (!(np->features & FE_WIDE))
471 if (!(np->features
[all...]
/drivers/virtio/
H A Dvirtio.c44 for (i = 0; i < ARRAY_SIZE(dev->features)*BITS_PER_LONG; i++)
46 test_bit(i, dev->features) ? '1' : '0');
55 __ATTR_RO(features),
121 /* Figure out what features the device supports. */
124 /* Features supported by both device and driver into dev->features. */
125 memset(dev->features, 0, sizeof(dev->features));
130 set_bit(f, dev->features);
133 /* Transport features always preserved to pass to finalize_features. */
136 set_bit(i, dev->features);
[all...]
/drivers/gpu/drm/
H A Ddrm_debugfs.c97 u32 features = files[i].driver_features; local
99 if (features != 0 &&
100 (dev->driver->driver_features & features) != features)
H A Ddrm_proc.c102 u32 features = files[i].driver_features; local
104 if (features != 0 &&
105 (dev->driver->driver_features & features) != features)
/drivers/isdn/mISDN/
H A DKconfig21 decryption. It may use hardware features if available.
34 It features:
/drivers/video/omap2/dss/
H A Ddss_features.c44 const enum dss_feat_id *features; member in struct:omap_dss_features
444 .features = omap2_dss_feat_list,
463 .features = omap3430_dss_feat_list,
481 .features = omap3630_dss_feat_list,
501 .features = omap4430_es1_0_dss_feat_list,
520 .features = omap4430_es2_0_1_2_dss_feat_list,
539 .features = omap4_dss_feat_list,
645 const enum dss_feat_id *features = omap_current_dss_features->features; local
649 if (features[
[all...]

Completed in 564 milliseconds

1234567891011>>