/drivers/net/ethernet/mellanox/mlx4/ |
H A D | profile.c | 84 struct mlx4_resource *profile; local 88 profile = kcalloc(MLX4_RES_NUM, sizeof(*profile), GFP_KERNEL); 89 if (!profile) 92 profile[MLX4_RES_QP].size = dev_cap->qpc_entry_sz; 93 profile[MLX4_RES_RDMARC].size = dev_cap->rdmarc_entry_sz; 94 profile[MLX4_RES_ALTC].size = dev_cap->altc_entry_sz; 95 profile[MLX4_RES_AUXC].size = dev_cap->aux_entry_sz; 96 profile[MLX4_RES_SRQ].size = dev_cap->srq_entry_sz; 97 profile[MLX4_RES_C [all...] |
H A D | Makefile | 4 mr.o pd.o port.o profile.o qp.o reset.o sense.o srq.o resource_tracker.o
|
H A D | en_main.c | 100 struct mlx4_en_profile *params = &mdev->profile; 230 /* Build device profile according to supplied module parameters */ 244 mdev->profile.prof[i].rx_ring_num = 250 mdev->profile.prof[i].rx_ring_num = rounddown_pow_of_two( 275 if (mlx4_en_init_netdev(mdev, i, &mdev->profile.prof[i]))
|
/drivers/infiniband/hw/mthca/ |
H A D | mthca_profile.c | 79 struct mthca_resource *profile; local 83 profile = kzalloc(MTHCA_RES_NUM * sizeof *profile, GFP_KERNEL); 84 if (!profile) 87 profile[MTHCA_RES_QP].size = dev_lim->qpc_entry_sz; 88 profile[MTHCA_RES_EEC].size = dev_lim->eec_entry_sz; 89 profile[MTHCA_RES_SRQ].size = dev_lim->srq_entry_sz; 90 profile[MTHCA_RES_CQ].size = dev_lim->cqc_entry_sz; 91 profile[MTHCA_RES_EQP].size = dev_lim->eqpc_entry_sz; 92 profile[MTHCA_RES_EEE [all...] |
H A D | mthca_main.c | 293 struct mthca_profile profile; local 320 profile = hca_profile; 321 profile.num_uar = dev_lim.uar_size / PAGE_SIZE; 322 profile.uarc_size = 0; 324 profile.num_srq = dev_lim.max_srqs; 326 size = mthca_make_profile(mdev, &profile, &dev_lim, &init_hca); 578 struct mthca_profile profile; local 610 profile = hca_profile; 611 profile.num_uar = dev_lim.uar_size / PAGE_SIZE; 612 profile [all...] |
/drivers/s390/block/ |
H A D | dasd_ioctl.c | 239 * Reset device profile information 243 dasd_profile_reset(&block->profile); 248 * Return device profile information 259 spin_lock_bh(&block->profile.lock); 260 if (block->profile.data) { 261 data->dasd_io_reqs = block->profile.data->dasd_io_reqs; 262 data->dasd_io_sects = block->profile.data->dasd_io_sects; 263 memcpy(data->dasd_io_secs, block->profile.data->dasd_io_secs, 265 memcpy(data->dasd_io_times, block->profile.data->dasd_io_times, 267 memcpy(data->dasd_io_timps, block->profile [all...] |
H A D | dasd.c | 128 spin_lock_init(&device->profile.lock); 166 spin_lock_init(&block->profile.lock); 259 dasd_profile_init(&block->profile, block->debugfs_dentry); 261 dasd_profile_on(&device->block->profile); 266 dasd_profile_init(&device->profile, device->debugfs_dentry); 286 dasd_profile_exit(&device->block->profile); 296 dasd_profile_exit(&device->profile); 669 if (dasd_global_profile_level || block->profile.data) 680 spin_lock(&block->profile.lock); 681 if (block->profile 838 dasd_profile_reset(struct dasd_profile *profile) argument 859 dasd_profile_on(struct dasd_profile *profile) argument 878 dasd_profile_off(struct dasd_profile *profile) argument 990 struct dasd_profile *profile; local 1008 struct dasd_profile *profile = inode->i_private; local 1072 dasd_profile_init(struct dasd_profile *profile, struct dentry *base_dentry) argument 1090 dasd_profile_exit(struct dasd_profile *profile) argument 1164 dasd_profile_init(struct dasd_profile *profile, struct dentry *base_dentry) argument 1170 dasd_profile_exit(struct dasd_profile *profile) argument 1175 dasd_profile_on(struct dasd_profile *profile) argument [all...] |
H A D | dasd_proc.c | 159 rc = dasd_profile_on(&device->block->profile); 177 dasd_profile_off(&device->block->profile); 192 dasd_profile_reset(&device->block->profile);
|
/drivers/hid/ |
H A D | hid-roccat-arvo.h | 35 /* selected profile is persistent */ 66 uint8_t profile; member in struct:arvo_roccat_report
|
H A D | hid-roccat-isku.c | 120 unsigned long profile; local 128 retval = strict_strtoul(buf, 10, &profile); 132 if (profile > 4) 137 retval = isku_set_actual_profile(usb_dev, profile); 143 isku_profile_activated(isku, profile); 146 roccat_report.data1 = profile + 1; 148 roccat_report.profile = profile + 1; 420 roccat_report.profile = isku->actual_profile + 1;
|
H A D | hid-roccat-arvo.c | 159 unsigned long profile; local 162 retval = strict_strtoul(buf, 10, &profile); 166 if (profile < 1 || profile > 5) 170 temp_buf.actual_profile = profile; 176 arvo->actual_profile = profile; 384 roccat_report.profile = arvo->actual_profile;
|
H A D | hid-roccat-kovaplus.c | 324 unsigned long profile; local 332 retval = strict_strtoul(buf, 10, &profile); 336 if (profile >= 5) 340 retval = kovaplus_set_actual_profile(usb_dev, profile); 346 kovaplus_profile_activated(kovaplus, profile); 349 roccat_report.profile = profile + 1; 351 roccat_report.data1 = profile + 1; 647 roccat_report.profile = kovaplus->actual_profile + 1;
|
H A D | hid-roccat-koneplus.h | 30 * value is profile number in range 0-4 for requesting settings and buttons 88 uint8_t profile; /* range 0-4 */ member in struct:koneplus_macro 171 /* data1 = new profile range 1-5 */ 202 uint8_t profile; member in struct:koneplus_roccat_report
|
H A D | hid-roccat-isku.h | 135 uint8_t profile; member in struct:isku_roccat_report
|
H A D | hid-roccat-kovaplus.h | 26 /* write; value = profile number range 0-4 */ 28 /* write; value = profile number range 0-4 */ 129 uint8_t profile; member in struct:kovaplus_roccat_report
|
H A D | hid-roccat-koneplus.c | 422 unsigned long profile; local 430 retval = strict_strtoul(buf, 10, &profile); 434 if (profile > 4) 439 retval = koneplus_set_actual_profile(usb_dev, profile); 445 koneplus_profile_activated(koneplus, profile); 448 roccat_report.data1 = profile + 1; 450 roccat_report.profile = profile + 1; 742 roccat_report.profile = koneplus->actual_profile + 1;
|
/drivers/devfreq/ |
H A D | devfreq.c | 97 err = devfreq->profile->target(devfreq->dev.parent, &freq); 164 if (devfreq->profile->exit) 165 devfreq->profile->exit(devfreq->dev.parent); 324 * @profile: device-specific profile to run devfreq. 330 struct devfreq_dev_profile *profile, 337 if (!dev || !profile || !governor) { 367 devfreq->profile = profile; 369 devfreq->previous_freq = profile 329 devfreq_add_device(struct device *dev, struct devfreq_dev_profile *profile, const struct devfreq_governor *governor, void *data) argument [all...] |
H A D | governor_simpleondemand.c | 23 int err = df->profile->get_dev_status(df->dev.parent, &stat);
|
/drivers/isdn/hardware/eicon/ |
H A D | capifunc.c | 589 a->profile.Number = card->Id; 590 a->profile.Channels = card->d.channels; 592 a->profile.Global_Options = 0x71; 594 a->profile.Global_Options |= 0x6; 596 a->profile.Global_Options |= 0x8; 598 a->profile.Global_Options |= 0x80; /* Line Interconnect */ 600 a->profile.Global_Options |= 0x100; 602 a->profile.B1_Protocols = 0xdf; 603 a->profile.B2_Protocols = 0x1fdb; 604 a->profile [all...] |
/drivers/net/wireless/iwmc3200wifi/ |
H A D | main.c | 161 struct iwm_umac_profile *profile = NULL; local 180 profile = kmalloc(sizeof(struct iwm_umac_profile), GFP_KERNEL); 181 if (profile) 182 memcpy(profile, iwm->umac_profile, sizeof(*profile)); 184 IWM_ERR(iwm, "Couldn't alloc memory for profile\n"); 200 kfree(profile); 204 if (profile) { 205 IWM_DBG_MLME(iwm, DBG, "Resend UMAC profile\n"); 206 memcpy(iwm->umac_profile, profile, sizeo 549 iwm_init_default_profile(struct iwm_priv *iwm, struct iwm_umac_profile *profile) argument [all...] |
/drivers/oprofile/ |
H A D | timer_int.c | 14 #include <linux/profile.h>
|
/drivers/gpu/drm/radeon/ |
H A D | radeon_pm.c | 89 if (rdev->pm.profile == PM_PROFILE_AUTO) { 104 switch (rdev->pm.profile) { 364 int cp = rdev->pm.profile; 384 rdev->pm.profile = PM_PROFILE_DEFAULT; 386 rdev->pm.profile = PM_PROFILE_AUTO; 388 rdev->pm.profile = PM_PROFILE_LOW; 390 rdev->pm.profile = PM_PROFILE_MID; 392 rdev->pm.profile = PM_PROFILE_HIGH; 417 (pm == PM_METHOD_DYNPM) ? "dynpm" : "profile"); 435 } else if (strncmp("profile", bu [all...] |
/drivers/isdn/hysdn/ |
H A D | hycapi.c | 720 ctrl->profile.ncontroller = card->myid; 721 ctrl->profile.nbchannel = card->bchans; 722 ctrl->profile.goptions = GLOBAL_OPTION_INTERNAL_CONTROLLER | 724 ctrl->profile.support1 = B1_PROT_64KBIT_HDLC | 727 ctrl->profile.support2 = B2_PROT_ISO7776 | 730 ctrl->profile.support3 = B3_PROT_TRANSPARENT |
|
/drivers/media/video/s5p-mfc/ |
H A D | s5p_mfc_common.h | 256 enum v4l2_mpeg_video_h264_profile profile; member in struct:s5p_mfc_h264_enc_params 290 enum v4l2_mpeg_video_mpeg4_profile profile; member in struct:s5p_mfc_mpeg4_enc_params
|
/drivers/scsi/lpfc/ |
H A D | lpfc_sli.h | 138 uint8_t profile; /* profile associated with ring */ member in struct:lpfc_sli_ring_mask 211 /* Structure used for configuring rings to a specific profile or rctl / type */ 215 uint32_t headerLen; /* 0 if not profile 4 or 5 */ 217 uint32_t profile; /* Selection profile 0=all, 7=logentry */ member in struct:lpfc_hbq_init
|