/linux-master/drivers/net/ethernet/intel/igb/ |
H A D | igb_ethtool.c | 2190 struct ethtool_coalesce *ec, 2197 if ((ec->rx_coalesce_usecs > IGB_MAX_ITR_USECS) || 2198 ((ec->rx_coalesce_usecs > 3) && 2199 (ec->rx_coalesce_usecs < IGB_MIN_ITR_USECS)) || 2200 (ec->rx_coalesce_usecs == 2)) 2203 if ((ec->tx_coalesce_usecs > IGB_MAX_ITR_USECS) || 2204 ((ec->tx_coalesce_usecs > 3) && 2205 (ec->tx_coalesce_usecs < IGB_MIN_ITR_USECS)) || 2206 (ec->tx_coalesce_usecs == 2)) 2209 if ((adapter->flags & IGB_FLAG_QUEUE_PAIRS) && ec 2189 igb_set_coalesce(struct net_device *netdev, struct ethtool_coalesce *ec, struct kernel_ethtool_coalesce *kernel_coal, struct netlink_ext_ack *extack) argument 2247 igb_get_coalesce(struct net_device *netdev, struct ethtool_coalesce *ec, struct kernel_ethtool_coalesce *kernel_coal, struct netlink_ext_ack *extack) argument [all...] |
/linux-master/drivers/net/ethernet/broadcom/genet/ |
H A D | bcmgenet.c | 813 struct ethtool_coalesce *ec, 821 ec->tx_max_coalesced_frames = 824 ec->rx_max_coalesced_frames = 827 ec->rx_coalesce_usecs = 832 ec->use_adaptive_rx_coalesce |= ring->dim.use_dim; 835 ec->use_adaptive_rx_coalesce |= ring->dim.use_dim; 856 struct ethtool_coalesce *ec) 861 ring->rx_coalesce_usecs = ec->rx_coalesce_usecs; 862 ring->rx_max_coalesced_frames = ec->rx_max_coalesced_frames; 866 if (ec 812 bcmgenet_get_coalesce(struct net_device *dev, struct ethtool_coalesce *ec, struct kernel_ethtool_coalesce *kernel_coal, struct netlink_ext_ack *extack) argument 855 bcmgenet_set_ring_rx_coalesce(struct bcmgenet_rx_ring *ring, struct ethtool_coalesce *ec) argument 876 bcmgenet_set_coalesce(struct net_device *dev, struct ethtool_coalesce *ec, struct kernel_ethtool_coalesce *kernel_coal, struct netlink_ext_ack *extack) argument [all...] |
/linux-master/fs/bcachefs/ |
H A D | buckets.c | 16 #include "ec.h" 892 BTREE_ID_stripes, POS(0, p.ec.idx), 898 (u64) p.ec.idx); 905 (u64) p.ec.idx); 910 stripe_blockcount_set(&s->v, p.ec.block, 911 stripe_blockcount_get(&s->v, p.ec.block) + 928 struct gc_stripe *m = genradix_ptr_alloc(&c->gc_stripes, p.ec.idx, GFP_KERNEL); 931 (u64) p.ec.idx); 942 (u64) p.ec.idx, buf.buf); 948 m->block_sectors[p.ec [all...] |
H A D | alloc_foreground.h | 57 if (ob->ec)
|
/linux-master/drivers/gpu/drm/nouveau/nvkm/engine/fifo/ |
H A D | gf100.c | 538 const struct nvkm_enum *er, *ee, *ec, *ea; local 565 ec = nvkm_enum_find(fifo->func->mmu_fault->hubclient, info->client); 567 ec = nvkm_enum_find(fifo->func->mmu_fault->gpcclient, info->client); 596 info->client, ct, ec ? ec->name : "",
|
/linux-master/drivers/media/platform/verisilicon/ |
H A D | hantro_v4l2.c | 713 struct v4l2_encoder_cmd *ec) 718 ret = v4l2_m2m_ioctl_try_encoder_cmd(file, priv, ec); 726 ret = v4l2_m2m_ioctl_encoder_cmd(file, priv, ec); 730 if (ec->cmd == V4L2_ENC_CMD_STOP && 734 if (ec->cmd == V4L2_ENC_CMD_START) 712 vidioc_encoder_cmd(struct file *file, void *priv, struct v4l2_encoder_cmd *ec) argument
|
/linux-master/drivers/mtd/ubi/ |
H A D | debug.c | 86 pr_err("\tec %llu\n", (long long)be64_to_cpu(ec_hdr->ec)); 210 pr_err("\tec %d\n", aeb->ec); 529 erase_count = wl->ec;
|
/linux-master/drivers/net/ethernet/intel/e1000e/ |
H A D | ethtool.c | 2011 struct ethtool_coalesce *ec, 2018 ec->rx_coalesce_usecs = adapter->itr_setting; 2020 ec->rx_coalesce_usecs = 1000000 / adapter->itr_setting; 2026 struct ethtool_coalesce *ec, 2032 if ((ec->rx_coalesce_usecs > E1000_MAX_ITR_USECS) || 2033 ((ec->rx_coalesce_usecs > 4) && 2034 (ec->rx_coalesce_usecs < E1000_MIN_ITR_USECS)) || 2035 (ec->rx_coalesce_usecs == 2)) 2038 if (ec->rx_coalesce_usecs == 4) { 2041 } else if (ec 2010 e1000_get_coalesce(struct net_device *netdev, struct ethtool_coalesce *ec, struct kernel_ethtool_coalesce *kernel_coal, struct netlink_ext_ack *extack) argument 2025 e1000_set_coalesce(struct net_device *netdev, struct ethtool_coalesce *ec, struct kernel_ethtool_coalesce *kernel_coal, struct netlink_ext_ack *extack) argument [all...] |
/linux-master/drivers/pwm/ |
H A D | Makefile | 17 obj-$(CONFIG_PWM_CROS_EC) += pwm-cros-ec.o
|
/linux-master/drivers/media/i2c/ |
H A D | adv7511-v4l2.c | 1268 * ec = Extended Colorimetry 1274 u8 ec = HDMI_EXTENDED_COLORIMETRY_XV_YCC_601; local 1331 ec = y ? HDMI_EXTENDED_COLORIMETRY_OPYCC_601 : 1338 ec = HDMI_EXTENDED_COLORIMETRY_XV_YCC_601; 1345 ec = HDMI_EXTENDED_COLORIMETRY_XV_YCC_709; 1350 ec = y ? HDMI_EXTENDED_COLORIMETRY_S_YCC_601 : 1356 ec = 5; /* Not yet available in hdmi.h */ 1358 ec = 6; /* Not yet available in hdmi.h */ 1393 adv7511_wr_and_or(sd, 0x57, 0x83, (ec << 4) | (q << 2) | (itc << 7));
|
/linux-master/drivers/rtc/ |
H A D | Makefile | 44 obj-$(CONFIG_RTC_DRV_CROS_EC) += rtc-cros-ec.o 185 obj-$(CONFIG_RTC_DRV_WILCO_EC) += rtc-wilco-ec.o
|
/linux-master/drivers/net/ethernet/broadcom/ |
H A D | tg3.c | 9498 static void tg3_coal_tx_init(struct tg3 *tp, struct ethtool_coalesce *ec) argument 9503 tw32(HOSTCC_TXCOL_TICKS, ec->tx_coalesce_usecs); 9504 tw32(HOSTCC_TXMAX_FRAMES, ec->tx_max_coalesced_frames); 9505 tw32(HOSTCC_TXCOAL_MAXF_INT, ec->tx_max_coalesced_frames_irq); 9515 tw32(reg, ec->tx_coalesce_usecs); 9517 tw32(reg, ec->tx_max_coalesced_frames); 9519 tw32(reg, ec->tx_max_coalesced_frames_irq); 9530 static void tg3_coal_rx_init(struct tg3 *tp, struct ethtool_coalesce *ec) argument 9536 tw32(HOSTCC_RXCOL_TICKS, ec->rx_coalesce_usecs); 9537 tw32(HOSTCC_RXMAX_FRAMES, ec 9564 __tg3_set_coalesce(struct tg3 *tp, struct ethtool_coalesce *ec) argument 14112 tg3_get_coalesce(struct net_device *dev, struct ethtool_coalesce *ec, struct kernel_ethtool_coalesce *kernel_coal, struct netlink_ext_ack *extack) argument 14123 tg3_set_coalesce(struct net_device *dev, struct ethtool_coalesce *ec, struct kernel_ethtool_coalesce *kernel_coal, struct netlink_ext_ack *extack) argument 17630 struct ethtool_coalesce *ec = &tp->coal; local [all...] |
/linux-master/drivers/slimbus/ |
H A D | slimbus.h | 118 * @ec: Element code. Used for elemental access APIs. 132 u16 ec; member in struct:slim_msg_txn
|
H A D | messaging.c | 254 txn->ec = ((sl | (1 << 3)) | ((msg->start_offset & 0xFFF) << 4));
|
/linux-master/include/linux/ |
H A D | mpi.h | 160 /*-- ec.c --*/ 218 /* This structure is private to mpi/ec.c! */ 242 void (*subm)(MPI w, MPI u, MPI v, struct mpi_ec_ctx *ec);
|
/linux-master/arch/x86/platform/olpc/ |
H A D | olpc.c | 19 #include <linux/olpc-ec.h> 39 printk(KERN_ERR "olpc-ec: invalid argument to " 42 printk(KERN_DEBUG "olpc-ec: using %d ms delay for EC commands.\n", 75 printk(KERN_WARNING "olpc-ec: %d: waited %u ms for IBF!\n", 95 printk(KERN_WARNING "olpc-ec: %d: waited %u ms for OBF!\n", 120 printk(KERN_ERR "olpc-ec: timeout while attempting to " 126 printk(KERN_ERR "olpc-ec: timeout waiting for EC to " 141 pr_devel("olpc-ec: running cmd 0x%x\n", cmd); 145 printk(KERN_ERR "olpc-ec: timeout waiting for EC to read " 153 pr_devel("olpc-ec [all...] |
/linux-master/sound/pci/ctxfi/ |
H A D | cthardware.h | 155 int (*dai_srt_set_ec)(void *blk, unsigned int ec);
|
/linux-master/drivers/iio/accel/ |
H A D | cros_ec_accel_legacy.c | 7 * This driver uses the memory mapper cros-ec interface to communicate 27 #define DRV_NAME "cros-ec-accel-legacy" 225 if (state->ec->cmd_readmem != NULL)
|
/linux-master/drivers/hwtracing/coresight/ |
H A D | coresight-trbe.c | 650 int ec = get_trbe_ec(trbsr); local 659 if ((ec == TRBE_EC_STAGE1_ABORT) || (ec == TRBE_EC_STAGE2_ABORT)) 667 if ((is_trbe_wrap(trbsr) && (ec == TRBE_EC_OTHERS) && (bsc == TRBE_BSC_FILLED)) &&
|
/linux-master/drivers/acpi/ |
H A D | Makefile | 45 acpi-y += ec.o
|
/linux-master/fs/fat/ |
H A D | dir.c | 146 wchar_t ec; local 154 ec = *ip++; 155 charlen = nls->uni2char(ec, op, NLS_MAX_CHARSET_SIZE); 162 op = hex_byte_pack(op, ec >> 8); 163 op = hex_byte_pack(op, ec);
|
/linux-master/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_ethtool.c | 2394 struct ethtool_coalesce *ec, 2402 ec->rx_coalesce_usecs = adapter->rx_itr_setting; 2404 ec->rx_coalesce_usecs = adapter->rx_itr_setting >> 2; 2412 ec->tx_coalesce_usecs = adapter->tx_itr_setting; 2414 ec->tx_coalesce_usecs = adapter->tx_itr_setting >> 2; 2450 struct ethtool_coalesce *ec, 2462 if (ec->tx_coalesce_usecs) 2469 if ((ec->rx_coalesce_usecs > (IXGBE_MAX_EITR >> 2)) || 2470 (ec->tx_coalesce_usecs > (IXGBE_MAX_EITR >> 2))) 2473 if (ec 2393 ixgbe_get_coalesce(struct net_device *netdev, struct ethtool_coalesce *ec, struct kernel_ethtool_coalesce *kernel_coal, struct netlink_ext_ack *extack) argument 2449 ixgbe_set_coalesce(struct net_device *netdev, struct ethtool_coalesce *ec, struct kernel_ethtool_coalesce *kernel_coal, struct netlink_ext_ack *extack) argument [all...] |
/linux-master/drivers/platform/x86/ |
H A D | thinkpad_acpi.c | 475 .ec = TPACPI_MATCH_ANY, \ 481 .ec = TPACPI_MATCH_ANY, \ 487 .ec = TPACPI_MATCH_ANY, \ 493 .ec = TPID(__id1, __id2), \ 499 .ec = TPID(__id1, __id2), \ 505 u32 ec; member in struct:tpacpi_quirk 520 * The match criteria is: vendor, ec and bios must match. 531 (qlist->ec == thinkpad_id.ec_model || 532 qlist->ec == TPACPI_MATCH_ANY)) 572 TPACPI_HANDLE(ecrd, ec, "ECR [all...] |
/linux-master/drivers/net/ethernet/freescale/ |
H A D | fec_main.c | 3104 struct ethtool_coalesce *ec, 3113 ec->rx_coalesce_usecs = fep->rx_time_itr; 3114 ec->rx_max_coalesced_frames = fep->rx_pkts_itr; 3116 ec->tx_coalesce_usecs = fep->tx_time_itr; 3117 ec->tx_max_coalesced_frames = fep->tx_pkts_itr; 3123 struct ethtool_coalesce *ec, 3134 if (ec->rx_max_coalesced_frames > 255) { 3139 if (ec->tx_max_coalesced_frames > 255) { 3144 cycle = fec_enet_us_to_itr_clock(ndev, ec->rx_coalesce_usecs); 3150 cycle = fec_enet_us_to_itr_clock(ndev, ec 3103 fec_enet_get_coalesce(struct net_device *ndev, struct ethtool_coalesce *ec, struct kernel_ethtool_coalesce *kernel_coal, struct netlink_ext_ack *extack) argument 3122 fec_enet_set_coalesce(struct net_device *ndev, struct ethtool_coalesce *ec, struct kernel_ethtool_coalesce *kernel_coal, struct netlink_ext_ack *extack) argument [all...] |
/linux-master/sound/soc/intel/skylake/ |
H A D | skl-topology.c | 1335 struct soc_enum *ec = (struct soc_enum *)kcontrol->private_value; local 1338 if (!ec) 1341 if (is_set && ucontrol->value.enumerated.item[0] > ec->items) 1344 pipe_id = ec->dobj.private; 1454 struct soc_enum *ec = (struct soc_enum *)kcontrol->private_value; local 1455 u32 ch_type = *((u32 *)ec->dobj.private); 1494 struct soc_enum *ec = (struct soc_enum *)kcontrol->private_value; local 1495 u32 ch_type = *((u32 *)ec->dobj.private); 3079 struct snd_soc_tplg_enum_control *ec) 3084 if (ec 3078 skl_init_enum_data(struct device *dev, struct soc_enum *se, struct snd_soc_tplg_enum_control *ec) argument [all...] |