/drivers/video/via/ |
H A D | via_aux_edid.c | 35 struct fb_monspecs *spec = drv->data; local 39 if (spec) { 40 fb_destroy_modedb(spec->modedb); 42 spec = kmalloc(sizeof(*spec), GFP_KERNEL); 43 if (!spec) 47 spec->version = spec->revision = 0; 49 fb_edid_to_monspecs(edid, spec); 50 valid = spec 64 struct fb_monspecs *spec = drv->data; local 81 struct fb_monspecs *spec = drv->data; local [all...] |
/drivers/net/wireless/rt2x00/ |
H A D | rt2x00config.c | 180 struct hw_mode_spec *spec = &rt2x00dev->spec; local 187 center_channel = spec->channels[conf->channel->hw_value].channel; 197 for (i = 0; i < spec->num_channels; i++) 198 if (spec->channels[i].channel == center_channel) 229 &rt2x00dev->spec.channels[hw_value], 233 &rt2x00dev->spec.channels_info[hw_value],
|
H A D | rt2x00dev.c | 828 struct hw_mode_spec *spec) 837 if (spec->supported_rates & SUPPORT_RATE_CCK) 839 if (spec->supported_rates & SUPPORT_RATE_OFDM) 842 channels = kcalloc(spec->num_channels, sizeof(*channels), GFP_KERNEL); 859 for (i = 0; i < spec->num_channels; i++) { 861 spec->channels[i].channel, 862 spec->channels_info[i].max_power, i); 870 if (spec->supported_bands & SUPPORT_BAND_2GHZ) { 878 &spec->ht, sizeof(spec 827 rt2x00lib_probe_hw_modes(struct rt2x00_dev *rt2x00dev, struct hw_mode_spec *spec) argument 924 struct hw_mode_spec *spec = &rt2x00dev->spec; local [all...] |
H A D | rt2400pci.c | 1566 struct hw_mode_spec *spec = &rt2x00dev->spec; local 1587 spec->supported_bands = SUPPORT_BAND_2GHZ; 1588 spec->supported_rates = SUPPORT_RATE_CCK; 1590 spec->num_channels = ARRAY_SIZE(rf_vals_b); 1591 spec->channels = rf_vals_b; 1596 info = kcalloc(spec->num_channels, sizeof(*info), GFP_KERNEL); 1600 spec->channels_info = info;
|
H A D | rt2500pci.c | 1859 struct hw_mode_spec *spec = &rt2x00dev->spec; local 1880 spec->supported_bands = SUPPORT_BAND_2GHZ; 1881 spec->supported_rates = SUPPORT_RATE_CCK | SUPPORT_RATE_OFDM; 1884 spec->num_channels = ARRAY_SIZE(rf_vals_bg_2522); 1885 spec->channels = rf_vals_bg_2522; 1887 spec->num_channels = ARRAY_SIZE(rf_vals_bg_2523); 1888 spec->channels = rf_vals_bg_2523; 1890 spec->num_channels = ARRAY_SIZE(rf_vals_bg_2524); 1891 spec [all...] |
H A D | rt2500usb.c | 1691 struct hw_mode_spec *spec = &rt2x00dev->spec; local 1719 spec->supported_bands = SUPPORT_BAND_2GHZ; 1720 spec->supported_rates = SUPPORT_RATE_CCK | SUPPORT_RATE_OFDM; 1723 spec->num_channels = ARRAY_SIZE(rf_vals_bg_2522); 1724 spec->channels = rf_vals_bg_2522; 1726 spec->num_channels = ARRAY_SIZE(rf_vals_bg_2523); 1727 spec->channels = rf_vals_bg_2523; 1729 spec->num_channels = ARRAY_SIZE(rf_vals_bg_2524); 1730 spec [all...] |
H A D | rt73usb.c | 2105 struct hw_mode_spec *spec = &rt2x00dev->spec; local 2132 spec->supported_bands = SUPPORT_BAND_2GHZ; 2133 spec->supported_rates = SUPPORT_RATE_CCK | SUPPORT_RATE_OFDM; 2136 spec->num_channels = ARRAY_SIZE(rf_vals_bg_2528); 2137 spec->channels = rf_vals_bg_2528; 2139 spec->supported_bands |= SUPPORT_BAND_5GHZ; 2140 spec->num_channels = ARRAY_SIZE(rf_vals_5226); 2141 spec->channels = rf_vals_5226; 2143 spec [all...] |
H A D | rt2800lib.c | 4483 struct hw_mode_spec *spec = &rt2x00dev->spec; local 4540 spec->supported_bands = SUPPORT_BAND_2GHZ; 4541 spec->supported_rates = SUPPORT_RATE_CCK | SUPPORT_RATE_OFDM; 4545 spec->num_channels = 14; 4546 spec->channels = rf_vals; 4549 spec->supported_bands |= SUPPORT_BAND_5GHZ; 4550 spec->num_channels = ARRAY_SIZE(rf_vals); 4551 spec->channels = rf_vals; 4560 spec [all...] |
H A D | rt61pci.c | 2751 struct hw_mode_spec *spec = &rt2x00dev->spec; local 2791 spec->supported_bands = SUPPORT_BAND_2GHZ; 2792 spec->supported_rates = SUPPORT_RATE_CCK | SUPPORT_RATE_OFDM; 2795 spec->num_channels = 14; 2796 spec->channels = rf_vals_noseq; 2798 spec->num_channels = 14; 2799 spec->channels = rf_vals_seq; 2803 spec->supported_bands |= SUPPORT_BAND_5GHZ; 2804 spec [all...] |
H A D | rt2x00.h | 818 struct hw_mode_spec spec; member in struct:rt2x00_dev
|
/drivers/net/ethernet/sfc/ |
H A D | filter.h | 102 static inline void efx_filter_init_rx(struct efx_filter_spec *spec, argument 107 spec->type = EFX_FILTER_UNSPEC; 108 spec->priority = priority; 109 spec->flags = EFX_FILTER_FLAG_RX | flags; 110 spec->dmaq_id = rxq_id; 113 static inline void efx_filter_init_tx(struct efx_filter_spec *spec, argument 116 spec->type = EFX_FILTER_UNSPEC; 117 spec->priority = EFX_FILTER_PRI_REQUIRED; 118 spec->flags = EFX_FILTER_FLAG_TX; 119 spec [all...] |
H A D | ethtool.c | 821 struct efx_filter_spec spec; local 827 rule->location, &spec); 831 if (spec.dmaq_id == 0xfff) 834 rule->ring_cookie = spec.dmaq_id; 836 if (spec.type == EFX_FILTER_MC_DEF || spec.type == EFX_FILTER_UC_DEF) { 839 if (spec.type == EFX_FILTER_MC_DEF) 844 rc = efx_filter_get_eth_local(&spec, &vid, mac_entry->h_dest); 856 rc = efx_filter_get_ipv4_local(&spec, &proto, 860 &spec, 955 struct efx_filter_spec spec; local [all...] |
H A D | filter.c | 56 struct efx_filter_spec *spec; member in struct:efx_filter_table 93 efx_filter_spec_table_id(const struct efx_filter_spec *spec) argument 102 EFX_BUG_ON_PARANOID(spec->type == EFX_FILTER_UNSPEC); 103 return (spec->type >> 2) + ((spec->flags & EFX_FILTER_FLAG_TX) ? 2 : 0); 108 const struct efx_filter_spec *spec) 110 if (spec->type == EFX_FILTER_UNSPEC) 113 return &state->table[efx_filter_spec_table_id(spec)]; 159 table->spec[EFX_FILTER_INDEX_UC_DEF].dmaq_id); 162 !!(table->spec[EFX_FILTER_INDEX_UC_DE 107 efx_filter_spec_table(struct efx_filter_state *state, const struct efx_filter_spec *spec) argument 207 __efx_filter_set_ipv4(struct efx_filter_spec *spec, __be32 host1, __be16 port1, __be32 host2, __be16 port2) argument 216 __efx_filter_get_ipv4(const struct efx_filter_spec *spec, __be32 *host1, __be16 *port1, __be32 *host2, __be16 *port2) argument 233 efx_filter_set_ipv4_local(struct efx_filter_spec *spec, u8 proto, __be32 host, __be16 port) argument 276 efx_filter_get_ipv4_local(const struct efx_filter_spec *spec, u8 *proto, __be32 *host, __be16 *port) argument 305 efx_filter_set_ipv4_full(struct efx_filter_spec *spec, u8 proto, __be32 host, __be16 port, __be32 rhost, __be16 rport) argument 333 efx_filter_get_ipv4_full(const struct efx_filter_spec *spec, u8 *proto, __be32 *host, __be16 *port, __be32 *rhost, __be16 *rport) argument 358 efx_filter_set_eth_local(struct efx_filter_spec *spec, u16 vid, const u8 *addr) argument 385 efx_filter_set_uc_def(struct efx_filter_spec *spec) argument 402 efx_filter_set_mc_def(struct efx_filter_spec *spec) argument 419 struct efx_filter_spec *spec = &table->spec[filter_idx]; local 427 efx_filter_get_eth_local(const struct efx_filter_spec *spec, u16 *vid, u8 *addr) argument 451 efx_filter_build(efx_oword_t *filter, struct efx_filter_spec *spec) argument 533 efx_filter_search(struct efx_filter_table *table, struct efx_filter_spec *spec, u32 key, bool for_insert, unsigned int *depth_required) argument 658 efx_filter_insert_filter(struct efx_nic *efx, struct efx_filter_spec *spec, bool replace) argument 765 struct efx_filter_spec *spec; local 816 struct efx_filter_spec *spec; local 1073 struct efx_filter_spec spec; local [all...] |
/drivers/acpi/ |
H A D | sbs.c | 109 u16 spec; member in struct:acpi_battery 146 return battery_scale((battery->spec & 0x0f00) >> 8); 151 return battery_scale((battery->spec & 0xf000) >> 12); 337 {0x1a, SMBUS_READ_WORD, offsetof(struct acpi_battery, spec)},
|
/drivers/md/ |
H A D | dm-ioctl.c | 1053 struct dm_target_spec *spec; local 1076 spec = (struct dm_target_spec *) outptr; 1078 spec->status = 0; 1079 spec->sector_start = ti->begin; 1080 spec->length = ti->len; 1081 strncpy(spec->target_type, ti->type->name, 1082 sizeof(spec->target_type)); 1104 spec->next = outptr - outbuf; 1164 struct dm_target_spec **spec, char **target_params) 1166 *spec 1163 next_target(struct dm_target_spec *last, uint32_t next, void *end, struct dm_target_spec **spec, char **target_params) argument 1180 struct dm_target_spec *spec = (struct dm_target_spec *) param; local [all...] |
/drivers/video/ |
H A D | sstfb.c | 1148 struct sst_spec *spec; local 1152 spec = &voodoo_spec[par->type]; 1191 gfx_clock = spec->default_gfx_clock; 1192 if ((gfxclk >10 ) && (gfxclk < spec->max_gfxclk)) { 1196 printk(KERN_WARNING "sstfb: %dMhz is way out of spec! Using default\n", gfxclk); 1326 struct sst_spec *spec; local 1346 spec = &voodoo_spec[par->type]; 1347 f_ddprintk("found device : %s\n", spec->name); 1385 strlcpy(fix->id, spec->name, sizeof(fix->id));
|
H A D | atafb.c | 2809 static void __init atafb_setup_ext(char *spec) argument 2825 p = strsep(&spec, ";"); 2832 p = strsep(&spec, ";"); 2839 p = strsep(&spec, ";"); 2847 p = strsep(&spec, ";"); 2861 p = strsep(&spec, ";"); 2866 p = strsep(&spec, ";"); 2872 p = strsep(&spec, ";"); 2876 p = strsep(&spec, ";"); 2885 p = strsep(&spec, ";"); 2926 atafb_setup_int(char *spec) argument 2962 atafb_setup_mcap(char *spec) argument 2999 atafb_setup_user(char *spec) argument [all...] |
H A D | amifb.c | 2310 static void __init amifb_setup_mcap(char *spec) argument 2320 if (!(p = strsep(&spec, ";")) || !*p) 2325 if (!(p = strsep(&spec, ";")) || !*p) 2330 if (!(p = strsep(&spec, ";")) || !*p) 2335 if (!(p = strsep(&spec, "")) || !*p)
|
/drivers/media/video/saa7164/ |
H A D | saa7164.h | 222 u32 spec; member in struct:saa7164_fw_status
|
/drivers/net/can/ |
H A D | janz-ican3.c | 249 u8 spec; member in struct:ican3_msg 637 msg.spec = MSG_CONNECTI; 648 msg.spec = MSG_DISCONNECT; 660 msg.spec = MSG_NEWHOSTIF; 681 msg.spec = MSG_INITFDPMQUEUE; 715 msg.spec = MSG_SETAFILMASK; 731 msg.spec = MSG_SETAFILMASK; 757 msg.spec = on ? MSG_CONREQ : MSG_COFFREQ; 768 msg.spec = MSG_HWCONF; 781 msg.spec [all...] |
/drivers/platform/x86/ |
H A D | asus-wmi.c | 177 int spec; member in struct:asus_wmi 1021 * bits or spec ... 1447 asus->spec = rv;
|
/drivers/atm/ |
H A D | firestream.h | 377 u32 spec; member in struct:fs_transmit_config
|
H A D | fore200e.h | 143 struct tpd_spec spec; /* tpd specification */ member in struct:tpd 679 struct bs_spec bs_spec[ BUFFER_SCHEME_NBR ][ BUFFER_MAGN_NBR ]; /* buffer supply queues spec */
|
/drivers/net/ethernet/marvell/ |
H A D | sky2.c | 365 u16 spec; local 368 spec = gm_phy_read(hw, port, PHY_MARV_FE_SPEC_2); 369 spec |= PHY_M_FESC_SEL_CL_A; 370 gm_phy_write(hw, port, PHY_MARV_FE_SPEC_2, spec); 2402 /* MTU size outside the spec */
|