/********************************************************************* * * Filename: qos.h * Version: 1.0 * Description: Quality of Service definitions * Status: Experimental. * Author: Dag Brattli * Created at: Fri Sep 19 23:21:09 1997 * Modified at: Thu Dec 2 13:51:54 1999 * Modified by: Dag Brattli * * Copyright (c) 1999 Dag Brattli, All Rights Reserved. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 2 of * the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, see . * ********************************************************************/ #ifndef IRDA_QOS_H #define IRDA_QOS_H #include #include #define PI_BAUD_RATE 0x01 #define PI_MAX_TURN_TIME 0x82 #define PI_DATA_SIZE 0x83 #define PI_WINDOW_SIZE 0x84 #define PI_ADD_BOFS 0x85 #define PI_MIN_TURN_TIME 0x86 #define PI_LINK_DISC 0x08 #define IR_115200_MAX 0x3f /* Baud rates (first byte) */ #define IR_2400 0x01 #define IR_9600 0x02 #define IR_19200 0x04 #define IR_38400 0x08 #define IR_57600 0x10 #define IR_115200 0x20 #define IR_576000 0x40 #define IR_1152000 0x80 /* Baud rates (second byte) */ #define IR_4000000 0x01 #define IR_16000000 0x02 /* Quality of Service information */ typedef struct { __u32 value; __u16 bits; /* LSB is first byte, MSB is second byte */ } qos_value_t; struct qos_info { magic_t magic; qos_value_t baud_rate; /* IR_11520O | ... */ qos_value_t max_turn_time; qos_value_t data_size; qos_value_t window_size; qos_value_t additional_bofs; qos_value_t min_turn_time; qos_value_t link_disc_time; qos_value_t power; }; extern int sysctl_max_baud_rate; extern int sysctl_max_inactive_time; void irda_init_max_qos_capabilies(struct qos_info *qos); void irda_qos_compute_intersection(struct qos_info *, struct qos_info *); __u32 irlap_max_line_capacity(__u32 speed, __u32 max_turn_time); void irda_qos_bits_to_value(struct qos_info *qos); /* So simple, how could we not inline those two ? * Note : one byte is 10 bits if you include start and stop bits * Jean II */ #define irlap_min_turn_time_in_bytes(speed, min_turn_time) ( \ speed * min_turn_time / 10000000 \ ) #define irlap_xbofs_in_usec(speed, xbofs) ( \ xbofs * 10000000 / speed \ ) #endif nclude?h=nds-private-remove&id=5f155c2563592b1908a7df2dcbd44893fde3e419'>include/drm
ModeNameSize
-rw-r--r--ati_pcigart.h692logplain
d---------bridge111logplain
-rw-r--r--drmP.h25776logplain
-rw-r--r--drm_agpsupport.h3867logplain
-rw-r--r--drm_atomic.h14443logplain
-rw-r--r--drm_atomic_helper.h10607logplain
-rw-r--r--drm_auth.h2260logplain
-rw-r--r--drm_blend.h2700logplain
-rw-r--r--drm_bridge.h7977logplain
-rw-r--r--drm_cache.h1763logplain
-rw-r--r--drm_color_mgmt.h2166logplain
-rw-r--r--drm_connector.h28975logplain
-rw-r--r--drm_crtc.h28999logplain
-rw-r--r--drm_crtc_helper.h3301logplain
-rw-r--r--drm_debugfs_crc.h2670logplain
-rw-r--r--drm_displayid.h2850logplain
-rw-r--r--drm_dp_dual_mode_helper.h4532logplain
-rw-r--r--drm_dp_helper.h30638logplain
-rw-r--r--drm_dp_mst_helper.h16260logplain
-rw-r--r--drm_drv.h14861logplain
-rw-r--r--drm_edid.h14335logplain
-rw-r--r--drm_encoder.h8160logplain
-rw-r--r--drm_encoder_slave.h6583logplain
-rw-r--r--drm_fb_cma_helper.h1929logplain
-rw-r--r--drm_fb_helper.h15125logplain
-rw-r--r--drm_fixed.h4825logplain
-rw-r--r--drm_flip_work.h3071logplain
-rw-r--r--drm_fourcc.h2748logplain
-rw-r--r--drm_framebuffer.h9623logplain
-rw-r--r--drm_gem.h8052logplain
-rw-r--r--drm_gem_cma_helper.h2286logplain
-rw-r--r--drm_global.h2011logplain
-rw-r--r--drm_hashtab.h3139logplain
-rw-r--r--drm_irq.h6323logplain
-rw-r--r--drm_legacy.h6933logplain
-rw-r--r--drm_mem_util.h2468logplain
-rw-r--r--drm_mipi_dsi.h10327logplain
-rw-r--r--drm_mm.h11462logplain
-rw-r--r--drm_mode_config.h23728logplain
-rw-r--r--drm_mode_object.h4911logplain
-rw-r--r--drm_modes.h17078logplain
-rw-r--r--drm_modeset_helper.h1576logplain
-rw-r--r--drm_modeset_helper_vtables.h41180logplain
-rw-r--r--drm_modeset_lock.h4241logplain
-rw-r--r--drm_of.h2034logplain
-rw-r--r--drm_os_linux.h2230logplain
-rw-r--r--drm_panel.h7079logplain
-rw-r--r--drm_pciids.h68035logplain
-rw-r--r--drm_plane.h19435logplain
-rw-r--r--drm_plane_helper.h3186logplain
-rw-r--r--drm_print.h3232logplain
-rw-r--r--drm_property.h11460logplain
-rw-r--r--drm_rect.h5103logplain
-rw-r--r--drm_simple_kms_helper.h4090logplain
-rw-r--r--drm_sysfs.h300logplain
-rw-r--r--drm_vma_manager.h7840logplain
-rw-r--r--gma_drm.h1033logplain
d---------i2c109logplain