Searched refs:weight (Results 126 - 150 of 262) sorted by path

1234567891011

/linux-master/drivers/net/wireless/rsi/
H A Drsi_91x_core.c24 * the min weight.
38 common->min_weight = tx_qinfo[ii].weight;
64 tx_qinfo[ii].weight =
65 ((tx_qinfo[ii].weight > common->min_weight) ?
66 tx_qinfo[ii].weight - common->min_weight : 0);
69 tx_qinfo[ii].weight = tx_qinfo[ii].wme_params;
73 tx_qinfo[ii].weight = 0;
174 (common->tx_qinfo[ii].weight < common->min_weight)) &&
176 common->min_weight = common->tx_qinfo[ii].weight;
H A Drsi_91x_mgmt.c329 common->tx_qinfo[ii].weight = common->tx_qinfo[ii].wme_params;
H A Drsi_main.h161 s32 weight; member in struct:wmm_qinfo
/linux-master/drivers/net/wireless/ti/wl1251/
H A Dacx.h413 * The weight of the current RSSI sample, before adding the new
416 u8 weight; member in struct:acx_low_rssi
1465 int wl1251_acx_low_rssi(struct wl1251 *wl, s8 threshold, u8 weight,
/linux-master/drivers/net/xen-netback/
H A Dxenbus.c80 seq_printf(m, "NAPI state: %lx NAPI weight: %d TX queue len %u\n"
83 queue->napi.state, queue->napi.weight,
/linux-master/drivers/powercap/
H A Ddtpm.c93 pr_debug("Setting weight '%d' for '%s'\n",
94 child->weight, child->zone.name);
96 child->weight = DIV64_U64_ROUND_CLOSEST(
162 * Do some housecleaning and update the weight on the tree. The
200 * given the weight of the children.
247 power_limit * child->weight, 1024);
324 dtpm->weight = 1024;
/linux-master/drivers/s390/crypto/
H A Dzcrypt_api.c576 unsigned int weight)
583 atomic_add(weight, &zc->load);
584 atomic_add(weight, &zq->load);
593 unsigned int weight)
596 atomic_sub(weight, &zc->load);
597 atomic_sub(weight, &zq->load);
606 unsigned int weight,
611 weight += atomic_read(&zc->load);
613 if (weight == pref_weight)
616 return weight < pref_weigh
573 zcrypt_pick_queue(struct zcrypt_card *zc, struct zcrypt_queue *zq, struct module **pmod, unsigned int weight) argument
590 zcrypt_drop_queue(struct zcrypt_card *zc, struct zcrypt_queue *zq, struct module *mod, unsigned int weight) argument
604 zcrypt_card_compare(struct zcrypt_card *zc, struct zcrypt_card *pref_zc, unsigned int weight, unsigned int pref_weight) argument
619 zcrypt_queue_compare(struct zcrypt_queue *zq, struct zcrypt_queue *pref_zq, unsigned int weight, unsigned int pref_weight) argument
[all...]
/linux-master/drivers/scsi/cxlflash/
H A Dmain.c2853 * irqpoll_weight_show() - presents the current IRQ poll weight for the host
2855 * @attr: Device attribute representing the IRQ poll weight.
2857 * weight in ASCII.
2859 * An IRQ poll weight of 0 indicates polling is disabled.
2873 * irqpoll_weight_store() - sets the current IRQ poll weight for the host
2875 * @attr: Device attribute representing the IRQ poll weight.
2877 * weight in ASCII.
2880 * An IRQ poll weight of 0 indicates polling is disabled.
2892 u32 weight; local
2895 rc = kstrtouint(buf, 10, &weight);
[all...]
/linux-master/drivers/thermal/
H A Dgov_fair_share.c3 * fair_share.c - A simple weight based Thermal governor
55 * P2. weight[i]/total_weight:
75 total_weight += instance->weight;
91 dividend *= instance->weight;
H A Dgov_power_allocator.c411 u32 power_range, weight; local
433 weight = 1 << FRAC_BITS;
435 weight = instance->weight;
437 pa->weighted_req_power = frac_to_int(weight * pa->req_power);
657 params->total_weight += instance->weight;
H A Dthermal_core.c684 * @weight: The weight of the cooling device to be bound to the
698 unsigned int weight)
742 dev->weight = weight;
813 unsigned int weight)
819 upper, lower, weight);
694 thermal_bind_cdev_to_trip(struct thermal_zone_device *tz, const struct thermal_trip *trip, struct thermal_cooling_device *cdev, unsigned long upper, unsigned long lower, unsigned int weight) argument
809 thermal_zone_bind_cooling_device(struct thermal_zone_device *tz, int trip_index, struct thermal_cooling_device *cdev, unsigned long upper, unsigned long lower, unsigned int weight) argument
H A Dthermal_core.h216 unsigned int weight; /* The weight of the cooling device */ member in struct:thermal_instance
H A Dthermal_of.c328 int ret, weight = THERMAL_WEIGHT_DEFAULT; local
330 of_property_read_u32(map_np, "contribution", &weight);
352 weight);
H A Dthermal_sysfs.c917 return sprintf(buf, "%d\n", instance->weight);
924 int ret, weight; local
926 ret = kstrtoint(buf, 0, &weight);
932 /* Don't race with governors using the 'weight' value */
935 instance->weight = weight;
/linux-master/drivers/thermal/intel/int340x_thermal/
H A Dacpi_thermal_rel.h31 u64 weight;
89 u64 weight;
/linux-master/drivers/thunderbolt/
H A Dpath.c23 regs->weight, regs->priority, regs->initial_credits,
559 hop.weight = path->weight;
H A Dtb.h408 * @weight: Weight of the path inside the priority group
430 int weight:4; member in struct:tb_path
H A Dtb_regs.h515 u32 weight:4; member in struct:tb_regs_hop
H A Dtunnel.c270 path->weight = TB_PCI_WEIGHT;
1239 path->weight = TB_DP_AUX_WEIGHT;
1286 path->weight = TB_DP_VIDEO_WEIGHT;
1563 path->weight = TB_DMA_WEIGHT;
1597 path->weight = TB_DMA_WEIGHT;
1939 path->weight = TB_USB3_WEIGHT;
/linux-master/drivers/vhost/
H A Dvhost.c500 pkts >= dev->weight) {
535 int iov_limit, int weight, int byte_weight,
551 dev->weight = weight;
533 vhost_dev_init(struct vhost_dev *dev, struct vhost_virtqueue **vqs, int nvqs, int iov_limit, int weight, int byte_weight, bool use_worker, int (*msg_handler)(struct vhost_dev *dev, u32 asid, struct vhost_iotlb_msg *msg)) argument
H A Dvhost.h175 int weight; member in struct:vhost_dev
185 int nvqs, int iov_limit, int weight, int byte_weight,
/linux-master/fs/afs/
H A Dinternal.h476 u16 weight; /* Weight (as SRV) */ member in struct:afs_vlserver_entry
H A Dproc.c353 vlserver->name, entry->priority, entry->weight,
H A Dvl_list.c204 bs.weight = afs_extract_le16(&b);
212 bs.name_len, bs.priority, bs.weight,
294 /* Insertion-sort by priority and weight */
299 bs.weight > vllist->servers[j].weight)
312 vllist->servers[j].weight = bs.weight;
/linux-master/fs/bcachefs/
H A Dmean_and_variance.c24 * Create a struct and if it's the weighted variant set the w field (weight = 2^k).
34 * DO NOT change the weight after calling update.
107 * @weight: ewma weight
113 s64 x, bool initted, u8 weight)
116 u8 w = weight;
138 * @weight: ewma weight
141 u8 weight)
143 return fast_divpow2(s.mean, weight);
112 mean_and_variance_weighted_update(struct mean_and_variance_weighted *s, s64 x, bool initted, u8 weight) argument
140 mean_and_variance_weighted_get_mean(struct mean_and_variance_weighted s, u8 weight) argument
152 mean_and_variance_weighted_get_variance(struct mean_and_variance_weighted s, u8 weight) argument
165 mean_and_variance_weighted_get_stddev(struct mean_and_variance_weighted s, u8 weight) argument
[all...]

Completed in 370 milliseconds

1234567891011