/linux-master/lib/dim/ |
H A D | Makefile | 5 obj-$(CONFIG_DIMLIB) += dim.o 7 dim-y := dim.o net_dim.o rdma_dim.o
|
H A D | dim.c | 6 #include <linux/dim.h> 8 bool dim_on_top(struct dim *dim) argument 10 switch (dim->tune_state) { 15 return (dim->steps_left > 1) && (dim->steps_right == 1); 17 return (dim->steps_right > 1) && (dim->steps_left == 1); 22 void dim_turn(struct dim *dim) argument 40 dim_park_on_top(struct dim *dim) argument 49 dim_park_tired(struct dim *dim) argument [all...] |
H A D | rdma_dim.c | 6 #include <linux/dim.h> 8 static int rdma_dim_step(struct dim *dim) argument 10 if (dim->tune_state == DIM_GOING_RIGHT) { 11 if (dim->profile_ix == (RDMA_DIM_PARAMS_NUM_PROFILES - 1)) 13 dim->profile_ix++; 14 dim->steps_right++; 16 if (dim->tune_state == DIM_GOING_LEFT) { 17 if (dim->profile_ix == 0) 19 dim 44 rdma_dim_decision(struct dim_stats *curr_stats, struct dim *dim) argument 76 rdma_dim(struct dim *dim, u64 completions) argument [all...] |
H A D | net_dim.c | 6 #include <linux/dim.h> 104 static int net_dim_step(struct dim *dim) argument 106 if (dim->tired == (NET_DIM_PARAMS_NUM_PROFILES * 2)) 109 switch (dim->tune_state) { 114 if (dim->profile_ix == (NET_DIM_PARAMS_NUM_PROFILES - 1)) 116 dim->profile_ix++; 117 dim->steps_right++; 120 if (dim->profile_ix == 0) 122 dim 131 net_dim_exit_parking(struct dim *dim) argument 165 net_dim_decision(struct dim_stats *curr_stats, struct dim *dim) argument 218 net_dim(struct dim *dim, struct dim_sample end_sample) argument [all...] |
/linux-master/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt_dim.c | 10 #include <linux/dim.h> 16 struct dim *dim = container_of(work, struct dim, work); local 17 struct bnxt_cp_ring_info *cpr = container_of(dim, 19 dim); 24 net_dim_get_rx_moderation(dim->mode, dim->profile_ix); 30 dim->state = DIM_START_MEASURE;
|
H A D | bnxt_debugfs.c | 14 #include <linux/dim.h> 24 struct dim *dim = filep->private_data; local 30 if (!dim) 40 dim->state, 41 dim->profile_ix, 42 dim->mode, 43 dim->tune_state, 44 dim->steps_right, 45 dim 64 debugfs_dim_ring_init(struct dim *dim, int ring_idx, struct dentry *dd) argument [all...] |
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_dim.c | 33 #include <linux/dim.h> 37 mlx5e_complete_dim_work(struct dim *dim, struct dim_cq_moder moder, argument 41 dim->state = DIM_START_MEASURE; 46 struct dim *dim = container_of(work, struct dim, work); local 47 struct mlx5e_rq *rq = container_of(dim, struct mlx5e_rq, dim); 49 net_dim_get_rx_moderation(dim 56 struct dim *dim = container_of(work, struct dim, work); local [all...] |
/linux-master/include/linux/ |
H A D | dim.h | 86 * struct dim - Main structure for dynamic interrupt moderation (DIM). 94 * @priv: A pointer to the struct that points to dim 102 struct dim { struct 196 * @dim: DIM context 202 bool dim_on_top(struct dim *dim); 206 * @dim: DIM context 211 void dim_turn(struct dim *dim); 215 * @dim [all...] |
/linux-master/drivers/net/ethernet/intel/ice/ |
H A D | ice_trace.h | 64 TP_PROTO(struct ice_q_vector *q_vector, struct dim *dim), 65 TP_ARGS(q_vector, dim), 67 __field(struct dim *, dim) 71 __entry->dim = dim; 74 TP_printk("netdev: %s Rx-Q: %d dim-state: %d dim-profile: %d dim [all...] |
/linux-master/drivers/infiniband/core/ |
H A D | cq.c | 41 struct dim *dim = container_of(w, struct dim, work); local 42 struct ib_cq *cq = dim->priv; 44 u16 usec = rdma_dim_prof[dim->profile_ix].usec; 45 u16 comps = rdma_dim_prof[dim->profile_ix].comps; 47 dim->state = DIM_START_MEASURE; 55 struct dim *dim; local 61 dim 154 struct dim *dim = cq->dim; local [all...] |
/linux-master/drivers/infiniband/hw/qib/ |
H A D | qib_user_sdma.h | 43 unsigned long dim);
|
/linux-master/drivers/leds/ |
H A D | leds-aw200xx.c | 111 int dim; member in struct:aw200xx_led 131 int dim = led->dim; local 133 if (dim < 0) 136 return sysfs_emit(buf, "%d\n", dim); 146 int dim; local 150 dim = -1; 152 ret = kstrtoint(buf, 0, &dim); 156 if (dim > AW200XX_DIM_MAX) 162 if (dim > 183 ATTRIBUTE_GROUPS(dim); variable 190 int dim; local [all...] |
H A D | leds-lp3944.c | 98 * @dim: either LP3944_DIM0 or LP3944_DIM1 101 static int lp3944_dim_set_period(struct i2c_client *client, u8 dim, u16 period) argument 107 if (dim == LP3944_DIM0) 109 else if (dim == LP3944_DIM1) 129 * @dim: either LP3944_DIM0 or LP3944_DIM1 132 static int lp3944_dim_set_dutycycle(struct i2c_client *client, u8 dim, argument 139 if (dim == LP3944_DIM0) 141 else if (dim == LP3944_DIM1)
|
/linux-master/include/uapi/linux/netfilter/ |
H A D | xt_set.h | 23 __u8 dim; member in struct:xt_set_info_v0::__anon13087::__anon13088 43 __u8 dim; member in struct:xt_set_info
|
/linux-master/drivers/media/test-drivers/vicodec/ |
H A D | codec-fwht.h | 64 #define vic_round_dim(dim, div) (round_up((dim) / (div), 8) * (div))
|
/linux-master/net/netfilter/ |
H A D | xt_set.c | 41 .dim = d, \ 58 ADT_OPT(opt, xt_family(par), info->match_set.u.compat.dim, 72 info->u.compat.dim = IPSET_DIM_ZERO; 76 info->u.compat.dim++; 78 info->u.compat.flags |= (1 << info->u.compat.dim); 122 ADT_OPT(opt, xt_family(par), info->match_set.dim, 146 if (info->match_set.dim > IPSET_DIM_MAX) { 170 ADT_OPT(opt, xt_family(par), info->match_set.dim, 193 ADT_OPT(opt, xt_family(par), info->match_set.dim, 216 ADT_OPT(add_opt, xt_family(par), info->add_set.u.compat.dim, [all...] |
/linux-master/drivers/staging/media/atomisp/pci/isp/kernels/sdis/sdis_1.0/ |
H A D | ia_css_sdis.host.c | 139 hor_num_3a = dvs_binary->dis.coef.dim.width; 140 ver_num_3a = dvs_binary->dis.coef.dim.height; 190 dis->grid.dim.width = 192 dis->grid.dim.height = 199 dis->coef.dim.width = 202 dis->coef.dim.height = 210 dis->proj.dim.width = 212 dis->proj.dim.height = 215 dis->proj.dim.width = 218 dis->proj.dim [all...] |
/linux-master/drivers/staging/media/atomisp/pci/isp/kernels/sdis/common/ |
H A D | ia_css_sdis_common_types.h | 39 struct ia_css_dvs_grid_dim dim; /* Dimensions */ member in struct:ia_css_sdis_info::__anon128
|
/linux-master/drivers/net/ethernet/broadcom/ |
H A D | bcmsysport.c | 637 ec->use_adaptive_rx_coalesce = priv->dim.use_dim; 674 if (ec->use_adaptive_rx_coalesce && !priv->dim.use_dim) { 675 moder = net_dim_get_def_rx_moderation(priv->dim.dim.mode); 680 priv->dim.use_dim = ec->use_adaptive_rx_coalesce; 879 priv->dim.packets = processed; 880 priv->dim.bytes = processed_bytes; 1053 if (priv->dim.use_dim) { 1054 dim_update_sample(priv->dim.event_ctr, priv->dim 1125 struct dim *dim = container_of(work, struct dim, work); local 1484 struct bcm_sysport_net_dim *dim = &priv->dim; local 1495 struct bcm_sysport_net_dim *dim = &priv->dim; local [all...] |
/linux-master/tools/perf/ |
H A D | builtin-c2c.c | 442 struct c2c_dimension *dim; member in struct:c2c_fmt 465 struct c2c_dimension *dim; local 468 dim = c2c_fmt->dim; 470 if (dim == &dim_symbol || dim == &dim_srcline) 471 return symbol_width(hists, dim->se); 473 return dim->se ? hists__col_len(hists, dim->se->se_width_idx) : 474 c2c_fmt->dim 482 struct c2c_dimension *dim; local 1908 struct c2c_dimension *dim = dimensions[i]; local 1921 struct c2c_dimension *dim = c2c_fmt->dim; local 1938 struct c2c_dimension *dim = c2c_fmt->dim; local 1947 struct c2c_dimension *dim = c2c_fmt->dim; local 1956 struct c2c_dimension *dim = get_dimension(name); local 2002 struct c2c_dimension *dim; local 2171 struct c2c_dimension *dim; local [all...] |
/linux-master/drivers/soc/fsl/dpio/ |
H A D | dpio-service.c | 15 #include <linux/dim.h> 34 struct dim rx_dim; 114 struct dim *dim = container_of(w, struct dim, work); local 116 net_dim_get_rx_moderation(dim->mode, dim->profile_ix); 117 struct dpaa2_io *d = container_of(dim, struct dpaa2_io, rx_dim); 120 dim->state = DIM_START_MEASURE;
|
/linux-master/net/sched/ |
H A D | em_ipset.c | 81 opt.dim = set->dim;
|
/linux-master/drivers/net/ethernet/marvell/octeontx2/nic/ |
H A D | otx2_txrx.h | 116 struct dim dim; member in struct:otx2_cq_poll
|
/linux-master/drivers/net/ethernet/broadcom/genet/ |
H A D | bcmgenet.c | 832 ec->use_adaptive_rx_coalesce |= ring->dim.use_dim; 835 ec->use_adaptive_rx_coalesce |= ring->dim.use_dim; 866 if (ec->use_adaptive_rx_coalesce && !ring->dim.use_dim) { 867 moder = net_dim_get_def_rx_moderation(ring->dim.dim.mode); 872 ring->dim.use_dim = ec->use_adaptive_rx_coalesce; 2384 ring->dim.bytes = bytes_processed; 2385 ring->dim.packets = rxpktprocessed; 2405 if (ring->dim.use_dim) { 2406 dim_update_sample(ring->dim 2416 struct dim *dim = container_of(work, struct dim, work); local 2596 struct bcmgenet_net_dim *dim = &ring->dim; local 2607 struct bcmgenet_net_dim *dim = &ring->dim; local [all...] |
/linux-master/drivers/net/ethernet/amazon/ena/ |
H A D | ena_netdev.h | 10 #include <linux/dim.h> 129 struct dim dim; member in struct:ena_napi
|