/Linux-v4.19/include/linux/ |
D | net_dim.h | 191 static inline bool net_dim_on_top(struct net_dim *dim) in net_dim_on_top() argument 193 switch (dim->tune_state) { in net_dim_on_top() 198 return (dim->steps_left > 1) && (dim->steps_right == 1); in net_dim_on_top() 200 return (dim->steps_right > 1) && (dim->steps_left == 1); in net_dim_on_top() 204 static inline void net_dim_turn(struct net_dim *dim) in net_dim_turn() argument 206 switch (dim->tune_state) { in net_dim_turn() 211 dim->tune_state = NET_DIM_GOING_LEFT; in net_dim_turn() 212 dim->steps_left = 0; in net_dim_turn() 215 dim->tune_state = NET_DIM_GOING_RIGHT; in net_dim_turn() 216 dim->steps_right = 0; in net_dim_turn() [all …]
|
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_dim.c | 37 mlx5e_complete_dim_work(struct net_dim *dim, struct net_dim_cq_moder moder, in mlx5e_complete_dim_work() argument 41 dim->state = NET_DIM_START_MEASURE; in mlx5e_complete_dim_work() 46 struct net_dim *dim = container_of(work, struct net_dim, work); in mlx5e_rx_dim_work() local 47 struct mlx5e_rq *rq = container_of(dim, struct mlx5e_rq, dim); in mlx5e_rx_dim_work() 49 net_dim_get_rx_moderation(dim->mode, dim->profile_ix); in mlx5e_rx_dim_work() 51 mlx5e_complete_dim_work(dim, cur_moder, rq->mdev, &rq->cq.mcq); in mlx5e_rx_dim_work() 56 struct net_dim *dim = container_of(work, struct net_dim, work); in mlx5e_tx_dim_work() local 57 struct mlx5e_txqsq *sq = container_of(dim, struct mlx5e_txqsq, dim); in mlx5e_tx_dim_work() 59 net_dim_get_tx_moderation(dim->mode, dim->profile_ix); in mlx5e_tx_dim_work() 61 mlx5e_complete_dim_work(dim, cur_moder, sq->cq.mdev, &sq->cq.mcq); in mlx5e_tx_dim_work()
|
D | en_txrx.c | 58 net_dim(&sq->dim, dim_sample); in mlx5e_handle_tx_dim() 71 net_dim(&rq->dim, dim_sample); in mlx5e_handle_rx_dim()
|
D | en.h | 362 struct net_dim dim; /* Adaptive Moderation */ member 570 struct net_dim dim; /* Dynamic Interrupt Moderation */ member
|
/Linux-v4.19/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_debugfs.c | 24 struct net_dim *dim = filep->private_data; in debugfs_dim_read() local 30 if (!dim) in debugfs_dim_read() 40 dim->state, in debugfs_dim_read() 41 dim->profile_ix, in debugfs_dim_read() 42 dim->mode, in debugfs_dim_read() 43 dim->tune_state, in debugfs_dim_read() 44 dim->steps_right, in debugfs_dim_read() 45 dim->steps_left, in debugfs_dim_read() 46 dim->tired); in debugfs_dim_read() 64 static struct dentry *debugfs_dim_ring_init(struct net_dim *dim, int ring_idx, in debugfs_dim_ring_init() argument [all …]
|
D | bnxt_dim.c | 16 struct net_dim *dim = container_of(work, struct net_dim, in bnxt_dim_work() local 18 struct bnxt_cp_ring_info *cpr = container_of(dim, in bnxt_dim_work() 20 dim); in bnxt_dim_work() 25 net_dim_get_rx_moderation(dim->mode, dim->profile_ix); in bnxt_dim_work() 31 dim->state = NET_DIM_START_MEASURE; in bnxt_dim_work()
|
/Linux-v4.19/net/netfilter/ |
D | xt_set.c | 45 .dim = d, \ 62 ADT_OPT(opt, xt_family(par), info->match_set.u.compat.dim, in set_match_v0() 76 info->u.compat.dim = IPSET_DIM_ZERO; in compat_flags() 80 info->u.compat.dim++; in compat_flags() 82 info->u.compat.flags |= (1 << info->u.compat.dim); in compat_flags() 126 ADT_OPT(opt, xt_family(par), info->match_set.dim, in set_match_v1() 150 if (info->match_set.dim > IPSET_DIM_MAX) { in set_match_v1_checkentry() 174 ADT_OPT(opt, xt_family(par), info->match_set.dim, in set_match_v3() 197 ADT_OPT(opt, xt_family(par), info->match_set.dim, in set_match_v4() 220 ADT_OPT(add_opt, xt_family(par), info->add_set.u.compat.dim, in set_target_v0() [all …]
|
/Linux-v4.19/tools/perf/ |
D | builtin-c2c.c | 401 struct c2c_dimension *dim; member 424 struct c2c_dimension *dim; in c2c_width() local 427 dim = c2c_fmt->dim; in c2c_width() 429 if (dim == &dim_symbol || dim == &dim_srcline) in c2c_width() 430 return symbol_width(hists, dim->se); in c2c_width() 432 return dim->se ? hists__col_len(hists, dim->se->se_width_idx) : in c2c_width() 433 c2c_fmt->dim->width; in c2c_width() 441 struct c2c_dimension *dim; in c2c_header() local 446 dim = c2c_fmt->dim; in c2c_header() 448 if (dim->se) { in c2c_header() [all …]
|
/Linux-v4.19/drivers/leds/ |
D | leds-lp3944.c | 105 static int lp3944_dim_set_period(struct i2c_client *client, u8 dim, u16 period) in lp3944_dim_set_period() argument 111 if (dim == LP3944_DIM0) in lp3944_dim_set_period() 113 else if (dim == LP3944_DIM1) in lp3944_dim_set_period() 136 static int lp3944_dim_set_dutycycle(struct i2c_client *client, u8 dim, in lp3944_dim_set_dutycycle() argument 143 if (dim == LP3944_DIM0) in lp3944_dim_set_dutycycle() 145 else if (dim == LP3944_DIM1) in lp3944_dim_set_dutycycle()
|
/Linux-v4.19/drivers/net/ethernet/broadcom/ |
D | bcmsysport.c | 620 ec->use_adaptive_rx_coalesce = priv->dim.use_dim; in bcm_sysport_get_coalesce() 656 if (ec->use_adaptive_rx_coalesce && !priv->dim.use_dim) { in bcm_sysport_set_coalesce() 657 moder = net_dim_get_def_rx_moderation(priv->dim.dim.mode); in bcm_sysport_set_coalesce() 662 priv->dim.use_dim = ec->use_adaptive_rx_coalesce; in bcm_sysport_set_coalesce() 861 priv->dim.packets = processed; in bcm_sysport_desc_rx() 862 priv->dim.bytes = processed_bytes; in bcm_sysport_desc_rx() 1035 if (priv->dim.use_dim) { in bcm_sysport_poll() 1036 net_dim_sample(priv->dim.event_ctr, priv->dim.packets, in bcm_sysport_poll() 1037 priv->dim.bytes, &dim_sample); in bcm_sysport_poll() 1038 net_dim(&priv->dim.dim, dim_sample); in bcm_sysport_poll() [all …]
|
D | bcmsysport.h | 711 struct net_dim dim; member 762 struct bcm_sysport_net_dim dim; member
|
/Linux-v4.19/drivers/net/ethernet/broadcom/genet/ |
D | bcmgenet.c | 620 ec->use_adaptive_rx_coalesce |= ring->dim.use_dim; in bcmgenet_get_coalesce() 623 ec->use_adaptive_rx_coalesce |= ring->dim.use_dim; in bcmgenet_get_coalesce() 654 if (ec->use_adaptive_rx_coalesce && !ring->dim.use_dim) { in bcmgenet_set_ring_rx_coalesce() 655 moder = net_dim_get_def_rx_moderation(ring->dim.dim.mode); in bcmgenet_set_ring_rx_coalesce() 660 ring->dim.use_dim = ec->use_adaptive_rx_coalesce; in bcmgenet_set_ring_rx_coalesce() 1890 ring->dim.bytes = bytes_processed; in bcmgenet_desc_rx() 1891 ring->dim.packets = rxpktprocessed; in bcmgenet_desc_rx() 1911 if (ring->dim.use_dim) { in bcmgenet_rx_poll() 1912 net_dim_sample(ring->dim.event_ctr, ring->dim.packets, in bcmgenet_rx_poll() 1913 ring->dim.bytes, &dim_sample); in bcmgenet_rx_poll() [all …]
|
D | bcmgenet.h | 584 struct net_dim dim; member 601 struct bcmgenet_net_dim dim; member
|
/Linux-v4.19/include/uapi/linux/netfilter/ |
D | xt_set.h | 23 __u8 dim; member 43 __u8 dim; member
|
/Linux-v4.19/net/sched/ |
D | em_ipset.c | 84 opt.dim = set->dim; in em_ipset_match()
|
/Linux-v4.19/Documentation/ABI/testing/ |
D | sysfs-class-backlight-driver-adp8870 | 25 Control the dim brightness for <ambient light zone> 28 This file will also show the dim brightness level stored for
|
/Linux-v4.19/drivers/infiniband/hw/qib/ |
D | qib_user_sdma.h | 43 unsigned long dim);
|
D | qib_user_sdma.c | 1379 unsigned long dim) in qib_user_sdma_writev() argument 1402 while (dim) { in qib_user_sdma_writev() 1407 iov, dim, &list, &mxp, &ndesc); in qib_user_sdma_writev() 1411 dim -= ret; in qib_user_sdma_writev()
|
/Linux-v4.19/Documentation/networking/ |
D | net_dim.txt | 95 Net DIM API exposes the main function net_dim(struct net_dim *dim, 141 struct net_dim *dim = container_of(work, struct net_dim, 147 dim->state = NET_DIM_START_MEASURE; 163 net_dim(&my_entity->dim, dim_sample); 172 INIT_WORK(&my_entity->dim.work, my_driver_do_dim_work);
|
/Linux-v4.19/drivers/infiniband/hw/hfi1/ |
D | trace_tx.h | 315 unsigned long dim), 316 TP_ARGS(dd, ctxt, subctxt, dim), 320 __field(unsigned long, dim) 325 __entry->dim = dim; 331 __entry->dim
|
D | file_ops.c | 307 unsigned long dim = from->nr_segs; in hfi1_write_iter() local 312 if (!iter_is_iovec(from) || !dim) in hfi1_write_iter() 315 trace_hfi1_sdma_request(fd->dd, fd->uctxt->ctxt, fd->subctxt, dim); in hfi1_write_iter() 320 while (dim) { in hfi1_write_iter() 326 dim, &count); in hfi1_write_iter() 331 dim -= count; in hfi1_write_iter()
|
D | user_sdma.h | 259 struct iovec *iovec, unsigned long dim,
|
/Linux-v4.19/Documentation/devicetree/bindings/leds/backlight/ |
D | arcxcnn_bl.txt | 16 - arc,dim-freq: PWM mode frequence setting (bits [3:0] used)
|
D | pm8941-wled.txt | 13 - qcom,ext-gen: bool; use externally generated modulator signal to dim
|
/Linux-v4.19/drivers/media/i2c/ |
D | imx274.c | 538 #define IMX274_ROUND(dim, step, flags) \ argument 540 ? roundup((dim), (step)) \ 542 ? rounddown((dim), (step)) \ 543 : rounddown((dim) + (step) / 2, (step))))
|