Searched refs:profile (Results 1 - 25 of 72) sorted by relevance

123

/drivers/infiniband/hw/mthca/
H A Dmthca_profile.c79 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 Dmthca_main.c293 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/net/ethernet/mellanox/mlx4/
H A Dprofile.c84 struct mlx4_resource *profile; local
89 profile = kcalloc(MLX4_RES_NUM, sizeof(*profile), GFP_KERNEL);
90 if (!profile)
111 profile[MLX4_RES_QP].size = dev_cap->qpc_entry_sz;
112 profile[MLX4_RES_RDMARC].size = dev_cap->rdmarc_entry_sz;
113 profile[MLX4_RES_ALTC].size = dev_cap->altc_entry_sz;
114 profile[MLX4_RES_AUXC].size = dev_cap->aux_entry_sz;
115 profile[MLX4_RES_SRQ].size = dev_cap->srq_entry_sz;
116 profile[MLX4_RES_C
[all...]
H A DMakefile4 mr.o pd.o port.o profile.o qp.o reset.o sense.o srq.o resource_tracker.o
/drivers/devfreq/
H A Ddevfreq.c80 for (lev = 0; lev < devfreq->profile->max_state; lev++)
81 if (freq == devfreq->profile->freq_table[lev])
116 devfreq->profile->max_state) + lev]++;
196 err = devfreq->profile->target(devfreq->dev.parent, &freq, flags);
200 if (devfreq->profile->freq_table)
227 msecs_to_jiffies(devfreq->profile->polling_ms));
243 if (devfreq->profile->polling_ms)
245 msecs_to_jiffies(devfreq->profile->polling_ms));
307 devfreq->profile->polling_ms)
309 msecs_to_jiffies(devfreq->profile
440 devfreq_add_device(struct device *dev, struct devfreq_dev_profile *profile, const char *governor_name, void *data) argument
574 devm_devfreq_add_device(struct device *dev, struct devfreq_dev_profile *profile, const char *governor_name, void *data) argument
[all...]
H A Dgovernor_simpleondemand.c25 int err = df->profile->get_dev_status(df->dev.parent, &stat);
/drivers/s390/block/
H A Ddasd_ioctl.c302 * Reset device profile information
306 dasd_profile_reset(&block->profile);
311 * Return device profile information
322 spin_lock_bh(&block->profile.lock);
323 if (block->profile.data) {
324 data->dasd_io_reqs = block->profile.data->dasd_io_reqs;
325 data->dasd_io_sects = block->profile.data->dasd_io_sects;
326 memcpy(data->dasd_io_secs, block->profile.data->dasd_io_secs,
328 memcpy(data->dasd_io_times, block->profile.data->dasd_io_times,
330 memcpy(data->dasd_io_timps, block->profile
[all...]
H A Ddasd.c127 spin_lock_init(&device->profile.lock);
165 spin_lock_init(&block->profile.lock);
260 dasd_profile_init(&block->profile, block->debugfs_dentry);
262 dasd_profile_on(&device->block->profile);
267 dasd_profile_init(&device->profile, device->debugfs_dentry);
295 dasd_profile_exit(&device->block->profile);
304 dasd_profile_exit(&device->profile);
694 if (dasd_global_profile_level || block->profile.data)
705 spin_lock(&block->profile.lock);
706 if (block->profile
864 dasd_profile_reset(struct dasd_profile *profile) argument
885 dasd_profile_on(struct dasd_profile *profile) argument
904 dasd_profile_off(struct dasd_profile *profile) argument
1016 struct dasd_profile *profile; local
1034 struct dasd_profile *profile = inode->i_private; local
1098 dasd_profile_init(struct dasd_profile *profile, struct dentry *base_dentry) argument
1116 dasd_profile_exit(struct dasd_profile *profile) argument
1184 dasd_profile_init(struct dasd_profile *profile, struct dentry *base_dentry) argument
1190 dasd_profile_exit(struct dasd_profile *profile) argument
1195 dasd_profile_on(struct dasd_profile *profile) argument
[all...]
H A Ddasd_proc.c158 rc = dasd_profile_on(&device->block->profile);
176 dasd_profile_off(&device->block->profile);
191 dasd_profile_reset(&device->block->profile);
/drivers/hid/
H A Dhid-roccat-arvo.h35 /* selected profile is persistent */
66 uint8_t profile; member in struct:arvo_roccat_report
H A Dhid-roccat-isku.c77 unsigned long profile; local
85 retval = kstrtoul(buf, 10, &profile);
89 if (profile > 4)
94 retval = isku_set_actual_profile(usb_dev, profile);
100 isku_profile_activated(isku, profile);
103 roccat_report.data1 = profile + 1;
105 roccat_report.profile = profile + 1;
395 roccat_report.profile = isku->actual_profile + 1;
H A Dhid-roccat-isku.h88 uint8_t profile; member in struct:isku_roccat_report
H A Dhid-roccat-arvo.c163 unsigned long profile; local
166 retval = kstrtoul(buf, 10, &profile);
170 if (profile < 1 || profile > 5)
174 temp_buf.actual_profile = profile;
180 arvo->actual_profile = profile;
392 roccat_report.profile = arvo->actual_profile;
H A Dhid-roccat-koneplus.c232 .attr = { .name = "profile" #number "_settings", .mode = 0440 }, \
238 .attr = { .name = "profile" #number "_buttons", .mode = 0440 }, \
262 unsigned long profile; local
270 retval = kstrtoul(buf, 10, &profile);
274 if (profile > 4)
279 retval = koneplus_set_actual_profile(usb_dev, profile);
285 koneplus_profile_activated(koneplus, profile);
288 roccat_report.data1 = profile + 1;
290 roccat_report.profile = profile
[all...]
H A Dhid-roccat-kovaplus.c260 .attr = { .name = "profile" #number "_settings", .mode = 0440 }, \
266 .attr = { .name = "profile" #number "_buttons", .mode = 0440 }, \
290 unsigned long profile; local
298 retval = kstrtoul(buf, 10, &profile);
302 if (profile >= 5)
306 retval = kovaplus_set_actual_profile(usb_dev, profile);
312 kovaplus_profile_activated(kovaplus, profile);
315 roccat_report.profile = profile + 1;
317 roccat_report.data1 = profile
[all...]
H A Dhid-roccat-koneplus.h82 /* data1 = new profile range 1-5 */
113 uint8_t profile; member in struct:koneplus_roccat_report
H A Dhid-roccat-kovaplus.h25 /* write; value = profile number range 0-4 */
27 /* write; value = profile number range 0-4 */
115 uint8_t profile; member in struct:kovaplus_roccat_report
H A Dhid-roccat-kone.c174 * Reads profile data from mouse and stores it in @buf
175 * @number: profile number to read
200 * Writes profile data to mouse.
201 * @number: profile number to write
206 struct kone_profile const *profile, int number)
216 kone_command_profile, number, (void *)profile,
358 struct kone_profile *profile; local
365 profile = &kone->profiles[*(uint *)(attr->private)];
368 difference = memcmp(buf, profile, sizeof(struct kone_profile));
374 memcpy(profile, bu
205 kone_set_profile(struct usb_device *usb_dev, struct kone_profile const *profile, int number) argument
[all...]
/drivers/isdn/hardware/eicon/
H A Dcapifunc.c589 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/oprofile/
H A Dtimer_int.c14 #include <linux/profile.h>
/drivers/net/wireless/brcm80211/brcmfmac/
H A Dwl_cfg80211.c1168 struct brcmf_cfg80211_profile *profile = &ifp->vif->profile; local
1252 profile->ssid.SSID_len = min_t(u32, params->ssid_len, 32);
1253 memcpy(profile->ssid.SSID, params->ssid, profile->ssid.SSID_len);
1254 memcpy(join_params.ssid_le.SSID, params->ssid, profile->ssid.SSID_len);
1255 join_params.ssid_le.SSID_len = cpu_to_le32(profile->ssid.SSID_len);
1263 memcpy(profile->bssid, params->bssid, ETH_ALEN);
1266 memset(profile->bssid, 0, ETH_ALEN);
1333 struct brcmf_cfg80211_profile *profile local
1358 struct brcmf_cfg80211_profile *profile = ndev_to_prof(ndev); local
1398 struct brcmf_cfg80211_profile *profile = ndev_to_prof(ndev); local
1475 struct brcmf_cfg80211_profile *profile = ndev_to_prof(ndev); local
1533 struct brcmf_cfg80211_profile *profile = ndev_to_prof(ndev); local
1612 struct brcmf_cfg80211_profile *profile = &ifp->vif->profile; local
1809 struct brcmf_cfg80211_profile *profile = &ifp->vif->profile; local
2159 struct brcmf_cfg80211_profile *profile = &ifp->vif->profile; local
2219 struct brcmf_cfg80211_profile *profile = &ifp->vif->profile; local
2540 struct brcmf_cfg80211_profile *profile = ndev_to_prof(ifp->ndev); local
4488 struct brcmf_cfg80211_profile *profile = &ifp->vif->profile; local
4549 struct brcmf_cfg80211_profile *profile = &ifp->vif->profile; local
4624 struct brcmf_cfg80211_profile *profile = &ifp->vif->profile; local
[all...]
H A Dwl_cfg80211.h123 * struct brcmf_cfg80211_profile - profile information.
180 * @profile: profile information.
190 struct brcmf_cfg80211_profile profile; member in struct:brcmf_cfg80211_vif
449 return &ifp->vif->profile;
/drivers/isdn/hysdn/
H A Dhycapi.c720 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/spi/
H A Dspi-bcm63xx-hsspi.c127 unsigned profile = spi->chip_select; local
132 bs->regs + HSSPI_PROFILE_CLK_CTRL_REG(profile));
134 reg = __raw_readl(bs->regs + HSSPI_PROFILE_SIGNAL_CTRL_REG(profile));
139 __raw_writel(reg, bs->regs + HSSPI_PROFILE_SIGNAL_CTRL_REG(profile));
/drivers/scsi/lpfc/
H A Dlpfc_sli.h149 uint8_t profile; /* profile associated with ring */ member in struct:lpfc_sli_ring_mask
236 /* Structure used for configuring rings to a specific profile or rctl / type */
240 uint32_t headerLen; /* 0 if not profile 4 or 5 */
242 uint32_t profile; /* Selection profile 0=all, 7=logentry */ member in struct:lpfc_hbq_init

Completed in 526 milliseconds

123