Home
last modified time | relevance | path

Searched refs:ec (Results 1 – 170 of 170) sorted by relevance

/linux-4.4.14/drivers/misc/echo/
Decho.c119 static inline void lms_adapt_bg(struct oslec_state *ec, int clean, int shift) in lms_adapt_bg() argument
136 offset2 = ec->curr_pos; in lms_adapt_bg()
137 offset1 = ec->taps - offset2; in lms_adapt_bg()
138 phist = &ec->fir_state_bg.history[offset2]; in lms_adapt_bg()
143 n = ec->taps; in lms_adapt_bg()
146 ec->fir_taps16[1][i] += (int16_t) ((exp + (1 << 14)) >> 15); in lms_adapt_bg()
190 static inline void lms_adapt_bg(struct oslec_state *ec, int clean, int shift) in lms_adapt_bg() argument
206 offset2 = ec->curr_pos; in lms_adapt_bg()
207 offset1 = ec->taps - offset2; in lms_adapt_bg()
209 for (i = ec->taps - 1; i >= offset1; i--) { in lms_adapt_bg()
[all …]
Doslec.h58 void oslec_free(struct oslec_state *ec);
64 void oslec_flush(struct oslec_state *ec);
71 void oslec_adaption_mode(struct oslec_state *ec, int adaption_mode);
73 void oslec_snapshot(struct oslec_state *ec);
83 int16_t oslec_update(struct oslec_state *ec, int16_t tx, int16_t rx);
92 int16_t oslec_hpf_tx(struct oslec_state *ec, int16_t tx);
/linux-4.4.14/arch/arm/mach-rpc/
Decard.c60 ecard_t *ec; member
119 struct expansion_card *ec = req->ec; in ecard_task_reset() local
122 res = ec->slot_no == 8 in ecard_task_reset()
123 ? &ec->resource[ECARD_RES_MEMC] in ecard_task_reset()
124 : ec->easi in ecard_task_reset()
125 ? &ec->resource[ECARD_RES_EASI] in ecard_task_reset()
126 : &ec->resource[ECARD_RES_IOCSYNC]; in ecard_task_reset()
128 ecard_loader_reset(res->start, ec->loader); in ecard_task_reset()
133 struct expansion_card *ec = req->ec; in ecard_task_readbytes() local
138 if (ec->slot_no == 8) { in ecard_task_readbytes()
[all …]
/linux-4.4.14/drivers/acpi/
Dec.c170 static int acpi_ec_query(struct acpi_ec *ec, u8 *data);
171 static void advance_transaction(struct acpi_ec *ec);
224 #define ec_dbg_ref(ec, fmt, ...) \ argument
225 ec_dbg_raw("%lu: " fmt, ec->reference_count, ## __VA_ARGS__)
231 static bool acpi_ec_started(struct acpi_ec *ec) in acpi_ec_started() argument
233 return test_bit(EC_FLAGS_STARTED, &ec->flags) && in acpi_ec_started()
234 !test_bit(EC_FLAGS_STOPPED, &ec->flags); in acpi_ec_started()
237 static bool acpi_ec_flushed(struct acpi_ec *ec) in acpi_ec_flushed() argument
239 return ec->reference_count == 1; in acpi_ec_flushed()
246 static inline u8 acpi_ec_read_status(struct acpi_ec *ec) in acpi_ec_read_status() argument
[all …]
Dsbshc.c25 struct acpi_ec *ec; member
244 extern int acpi_ec_add_query_handler(struct acpi_ec *ec, u8 query_bit,
272 hc->ec = acpi_driver_data(device->parent); in acpi_smbus_hc_add()
277 acpi_ec_add_query_handler(hc->ec, hc->query_bit, NULL, smbus_alarm, hc); in acpi_smbus_hc_add()
279 hc->ec, hc->offset, hc->query_bit); in acpi_smbus_hc_add()
284 extern void acpi_ec_remove_query_handler(struct acpi_ec *ec, u8 query_bit);
294 acpi_ec_remove_query_handler(hc->ec, hc->query_bit); in acpi_smbus_hc_remove()
Dec_sys.c108 static int acpi_ec_add_debugfs(struct acpi_ec *ec, unsigned int ec_device_count) in acpi_ec_add_debugfs() argument
136 if (!debugfs_create_file("io", mode, dev_dir, ec, &acpi_ec_io_ops)) in acpi_ec_add_debugfs()
Dinternal.h172 int acpi_ec_add_query_handler(struct acpi_ec *ec, u8 query_bit,
175 void acpi_ec_remove_query_handler(struct acpi_ec *ec, u8 query_bit);
DMakefile40 acpi-y += ec.o
DKconfig113 tristate "EC read/write access through /sys/kernel/debug/ec"
/linux-4.4.14/crypto/
Djitterentropy.c133 static __u64 jent_loop_shuffle(struct rand_data *ec, in jent_loop_shuffle() argument
146 if (ec) in jent_loop_shuffle()
147 time ^= ec->data; in jent_loop_shuffle()
202 static __u64 jent_fold_time(struct rand_data *ec, __u64 time, in jent_fold_time() argument
211 jent_loop_shuffle(ec, MAX_FOLD_LOOP_BIT, MIN_FOLD_LOOP_BIT); in jent_fold_time()
259 static unsigned int jent_memaccess(struct rand_data *ec, __u64 loop_cnt) in jent_memaccess() argument
267 jent_loop_shuffle(ec, MAX_ACC_LOOP_BIT, MIN_ACC_LOOP_BIT); in jent_memaccess()
269 if (NULL == ec || NULL == ec->mem) in jent_memaccess()
271 wrap = ec->memblocksize * ec->memblocks; in jent_memaccess()
280 for (i = 0; i < (ec->memaccessloops + acc_loop_cnt); i++) { in jent_memaccess()
[all …]
Djitterentropy-kcapi.c49 int jent_read_entropy(struct rand_data *ec, unsigned char *data,
/linux-4.4.14/drivers/edac/
Dmce_amd.c150 static bool f12h_mc0_mce(u16 ec, u8 xec) in f12h_mc0_mce() argument
154 if (MEM_ERROR(ec)) { in f12h_mc0_mce()
155 u8 ll = LL(ec); in f12h_mc0_mce()
161 pr_cont("Data/Tag %s error.\n", R4_MSG(ec)); in f12h_mc0_mce()
168 static bool f10h_mc0_mce(u16 ec, u8 xec) in f10h_mc0_mce() argument
170 if (R4(ec) == R4_GEN && LL(ec) == LL_L1) { in f10h_mc0_mce()
174 return f12h_mc0_mce(ec, xec); in f10h_mc0_mce()
177 static bool k8_mc0_mce(u16 ec, u8 xec) in k8_mc0_mce() argument
179 if (BUS_ERROR(ec)) { in k8_mc0_mce()
184 return f10h_mc0_mce(ec, xec); in k8_mc0_mce()
[all …]
Damd64_edac.c2199 u16 ec = EC(m->status); in decode_bus_error() local
2210 if (PP(ec) == NBSL_PP_OBS) in decode_bus_error()
/linux-4.4.14/drivers/ide/
Dicside.c87 static void icside_irqenable_arcin_v5 (struct expansion_card *ec, int irqnr) in icside_irqenable_arcin_v5() argument
89 struct icside_state *state = ec->irq_data; in icside_irqenable_arcin_v5()
97 static void icside_irqdisable_arcin_v5 (struct expansion_card *ec, int irqnr) in icside_irqdisable_arcin_v5() argument
99 struct icside_state *state = ec->irq_data; in icside_irqdisable_arcin_v5()
114 static void icside_irqenable_arcin_v6 (struct expansion_card *ec, int irqnr) in icside_irqenable_arcin_v6() argument
116 struct icside_state *state = ec->irq_data; in icside_irqenable_arcin_v6()
136 static void icside_irqdisable_arcin_v6 (struct expansion_card *ec, int irqnr) in icside_irqdisable_arcin_v6() argument
138 struct icside_state *state = ec->irq_data; in icside_irqdisable_arcin_v6()
149 static int icside_irqpending_arcin_v6(struct expansion_card *ec) in icside_irqpending_arcin_v6() argument
151 struct icside_state *state = ec->irq_data; in icside_irqpending_arcin_v6()
[all …]
Drapide.c32 static int rapide_probe(struct expansion_card *ec, const struct ecard_id *id) in rapide_probe() argument
39 ret = ecard_request_resources(ec); in rapide_probe()
43 base = ecardm_iomap(ec, ECARD_RES_MEMC, 0, 0); in rapide_probe()
50 rapide_setup_ports(&hw, base, base + 0x818, 1 << 6, ec->irq); in rapide_probe()
51 hw.dev = &ec->dev; in rapide_probe()
57 ecard_set_drvdata(ec, host); in rapide_probe()
61 ecard_release_resources(ec); in rapide_probe()
66 static void rapide_remove(struct expansion_card *ec) in rapide_remove() argument
68 struct ide_host *host = ecard_get_drvdata(ec); in rapide_remove()
70 ecard_set_drvdata(ec, NULL); in rapide_remove()
[all …]
/linux-4.4.14/drivers/platform/chrome/
Dcros_ec_dev.c46 static int ec_get_version(struct cros_ec_dev *ec, char *str, int maxlen) in ec_get_version() argument
60 msg->command = EC_CMD_GET_VERSION + ec->cmd_offset; in ec_get_version()
64 ret = cros_ec_cmd_xfer(ec->ec_dev, msg); in ec_get_version()
93 struct cros_ec_dev *ec = container_of(inode->i_cdev, in ec_device_open() local
95 filp->private_data = ec; in ec_device_open()
108 struct cros_ec_dev *ec = filp->private_data; in ec_device_read() local
117 ret = ec_get_version(ec, msg, sizeof(msg)); in ec_device_read()
131 static long ec_device_ioctl_xcmd(struct cros_ec_dev *ec, void __user *arg) in ec_device_ioctl_xcmd() argument
150 s_cmd->command += ec->cmd_offset; in ec_device_ioctl_xcmd()
151 ret = cros_ec_cmd_xfer(ec->ec_dev, s_cmd); in ec_device_ioctl_xcmd()
[all …]
Dcros_ec_lightbar.c95 static struct cros_ec_command *alloc_lightbar_cmd_msg(struct cros_ec_dev *ec) in alloc_lightbar_cmd_msg() argument
108 msg->command = EC_CMD_LIGHTBAR_CMD + ec->cmd_offset; in alloc_lightbar_cmd_msg()
115 static int get_lightbar_version(struct cros_ec_dev *ec, in get_lightbar_version() argument
123 msg = alloc_lightbar_cmd_msg(ec); in get_lightbar_version()
129 ret = cros_ec_cmd_xfer(ec->ec_dev, msg); in get_lightbar_version()
168 struct cros_ec_dev *ec = container_of(dev, in version_show() local
177 if (!get_lightbar_version(ec, &version, &flags)) in version_show()
191 struct cros_ec_dev *ec = container_of(dev, in brightness_store() local
197 msg = alloc_lightbar_cmd_msg(ec); in brightness_store()
208 ret = cros_ec_cmd_xfer(ec->ec_dev, msg); in brightness_store()
[all …]
Dcros_ec_sysfs.c75 struct cros_ec_dev *ec = container_of(dev, in store_ec_reboot() local
116 msg->command = EC_CMD_REBOOT_EC + ec->cmd_offset; in store_ec_reboot()
119 ret = cros_ec_cmd_xfer(ec->ec_dev, msg); in store_ec_reboot()
125 dev_dbg(ec->dev, "EC result %d\n", msg->result); in store_ec_reboot()
143 struct cros_ec_dev *ec = container_of(dev, in show_ec_version() local
152 msg->command = EC_CMD_GET_VERSION + ec->cmd_offset; in show_ec_version()
155 ret = cros_ec_cmd_xfer(ec->ec_dev, msg); in show_ec_version()
180 msg->command = EC_CMD_GET_BUILD_INFO + ec->cmd_offset; in show_ec_version()
182 ret = cros_ec_cmd_xfer(ec->ec_dev, msg); in show_ec_version()
196 msg->command = EC_CMD_GET_CHIP_INFO + ec->cmd_offset; in show_ec_version()
[all …]
Dcros_ec_lpc.c49 static int cros_ec_pkt_xfer_lpc(struct cros_ec_device *ec, in cros_ec_pkt_xfer_lpc() argument
59 ret = cros_ec_prepare_tx(ec, msg); in cros_ec_pkt_xfer_lpc()
63 outb(ec->dout[i], EC_LPC_ADDR_HOST_PACKET + i); in cros_ec_pkt_xfer_lpc()
65 request = (struct ec_host_request *)ec->dout; in cros_ec_pkt_xfer_lpc()
71 dev_warn(ec->dev, "EC responsed timed out\n"); in cros_ec_pkt_xfer_lpc()
78 ret = cros_ec_check_result(ec, msg); in cros_ec_pkt_xfer_lpc()
92 dev_err(ec->dev, in cros_ec_pkt_xfer_lpc()
107 dev_err(ec->dev, in cros_ec_pkt_xfer_lpc()
120 static int cros_ec_cmd_xfer_lpc(struct cros_ec_device *ec, in cros_ec_cmd_xfer_lpc() argument
130 dev_err(ec->dev, in cros_ec_cmd_xfer_lpc()
[all …]
Dcros_ec_vbc.c32 struct cros_ec_dev *ec = container_of(dev, struct cros_ec_dev, in vboot_context_read() local
34 struct cros_ec_device *ecdev = ec->ec_dev; in vboot_context_read()
73 struct cros_ec_dev *ec = container_of(dev, struct cros_ec_dev, in vboot_context_write() local
75 struct cros_ec_device *ecdev = ec->ec_dev; in vboot_context_write()
114 struct cros_ec_dev *ec = container_of(dev, struct cros_ec_dev, in cros_ec_vbc_is_visible() local
116 struct device_node *np = ec->ec_dev->dev->of_node; in cros_ec_vbc_is_visible()
/linux-4.4.14/arch/arm/include/asm/
Decard.h112 void (*irqenable)(ecard_t *ec, int irqnr);
113 void (*irqdisable)(ecard_t *ec, int irqnr);
114 int (*irqpending)(ecard_t *ec);
115 void (*fiqenable)(ecard_t *ec, int fiqnr);
116 void (*fiqdisable)(ecard_t *ec, int fiqnr);
117 int (*fiqpending)(ecard_t *ec);
129 #define ecard_resource_start(ec,nr) ((ec)->resource[nr].start) argument
130 #define ecard_resource_end(ec,nr) ((ec)->resource[nr].end) argument
131 #define ecard_resource_len(ec,nr) ((ec)->resource[nr].end - \ argument
132 (ec)->resource[nr].start + 1)
[all …]
/linux-4.4.14/drivers/platform/olpc/
Dolpc-ec.c68 struct olpc_ec_priv *ec = container_of(w, struct olpc_ec_priv, worker); in olpc_ec_worker() local
73 spin_lock_irqsave(&ec->cmd_q_lock, flags); in olpc_ec_worker()
74 if (!list_empty(&ec->cmd_q)) { in olpc_ec_worker()
75 desc = list_first_entry(&ec->cmd_q, struct ec_cmd_desc, node); in olpc_ec_worker()
78 spin_unlock_irqrestore(&ec->cmd_q_lock, flags); in olpc_ec_worker()
85 mutex_lock(&ec->cmd_lock); in olpc_ec_worker()
88 mutex_unlock(&ec->cmd_lock); in olpc_ec_worker()
94 schedule_work(&ec->worker); in olpc_ec_worker()
102 struct olpc_ec_priv *ec) in queue_ec_descriptor() argument
108 spin_lock_irqsave(&ec->cmd_q_lock, flags); in queue_ec_descriptor()
[all …]
DMakefile4 obj-$(CONFIG_OLPC) += olpc-ec.o
/linux-4.4.14/drivers/ata/
Dpata_icside.c63 struct expansion_card *ec; member
85 static void pata_icside_irqenable_arcin_v5 (struct expansion_card *ec, int irqnr) in pata_icside_irqenable_arcin_v5() argument
87 struct pata_icside_state *state = ec->irq_data; in pata_icside_irqenable_arcin_v5()
95 static void pata_icside_irqdisable_arcin_v5 (struct expansion_card *ec, int irqnr) in pata_icside_irqdisable_arcin_v5() argument
97 struct pata_icside_state *state = ec->irq_data; in pata_icside_irqdisable_arcin_v5()
112 static void pata_icside_irqenable_arcin_v6 (struct expansion_card *ec, int irqnr) in pata_icside_irqenable_arcin_v6() argument
114 struct pata_icside_state *state = ec->irq_data; in pata_icside_irqenable_arcin_v6()
126 static void pata_icside_irqdisable_arcin_v6 (struct expansion_card *ec, int irqnr) in pata_icside_irqdisable_arcin_v6() argument
128 struct pata_icside_state *state = ec->irq_data; in pata_icside_irqdisable_arcin_v6()
137 static int pata_icside_irqpending_arcin_v6(struct expansion_card *ec) in pata_icside_irqpending_arcin_v6() argument
[all …]
Dsata_mv.c2695 u32 ec = edma_err_cause & in mv_err_intr() local
2698 if (!ec) in mv_err_intr()
/linux-4.4.14/drivers/scsi/arm/
Dpowertec.c61 struct expansion_card *ec; member
73 powertecscsi_irqenable(struct expansion_card *ec, int irqnr) in powertecscsi_irqenable() argument
75 struct powertec_info *info = ec->irq_data; in powertecscsi_irqenable()
85 powertecscsi_irqdisable(struct expansion_card *ec, int irqnr) in powertecscsi_irqdisable() argument
87 struct powertec_info *info = ec->irq_data; in powertecscsi_irqdisable()
191 host->hostt->name, info->info.scsi.type, info->ec->slot_no, in powertecscsi_info()
258 struct expansion_card *ec = ECARD_DEV(dev); in powertecscsi_show_term() local
259 struct Scsi_Host *host = ecard_get_drvdata(ec); in powertecscsi_show_term()
268 struct expansion_card *ec = ECARD_DEV(dev); in powertecscsi_store_term() local
269 struct Scsi_Host *host = ecard_get_drvdata(ec); in powertecscsi_store_term()
[all …]
Dcumana_2.c78 struct expansion_card *ec; member
93 cumanascsi_2_irqenable(struct expansion_card *ec, int irqnr) in cumanascsi_2_irqenable() argument
95 struct cumanascsi2_info *info = ec->irq_data; in cumanascsi_2_irqenable()
105 cumanascsi_2_irqdisable(struct expansion_card *ec, int irqnr) in cumanascsi_2_irqdisable() argument
107 struct cumanascsi2_info *info = ec->irq_data; in cumanascsi_2_irqdisable()
303 host->hostt->name, info->info.scsi.type, info->ec->slot_no, in cumanascsi_2_info()
374 static int cumanascsi2_probe(struct expansion_card *ec, in cumanascsi2_probe() argument
382 ret = ecard_request_resources(ec); in cumanascsi2_probe()
386 base = ecardm_iomap(ec, ECARD_RES_MEMC, 0, 0); in cumanascsi2_probe()
399 ecard_set_drvdata(ec, host); in cumanascsi2_probe()
[all …]
Deesox.c73 struct expansion_card *ec; member
86 eesoxscsi_irqenable(struct expansion_card *ec, int irqnr) in eesoxscsi_irqenable() argument
88 struct eesoxscsi_info *info = (struct eesoxscsi_info *)ec->irq_data; in eesoxscsi_irqenable()
101 eesoxscsi_irqdisable(struct expansion_card *ec, int irqnr) in eesoxscsi_irqdisable() argument
103 struct eesoxscsi_info *info = (struct eesoxscsi_info *)ec->irq_data; in eesoxscsi_irqdisable()
388 host->hostt->name, info->info.scsi.type, info->ec->slot_no, in eesoxscsi_info()
443 struct expansion_card *ec = ECARD_DEV(dev); in eesoxscsi_show_term() local
444 struct Scsi_Host *host = ecard_get_drvdata(ec); in eesoxscsi_show_term()
452 struct expansion_card *ec = ECARD_DEV(dev); in eesoxscsi_store_term() local
453 struct Scsi_Host *host = ecard_get_drvdata(ec); in eesoxscsi_store_term()
[all …]
Darxescsi.c43 struct expansion_card *ec; member
217 host->hostt->name, info->info.scsi.type, info->ec->slot_no, in arxescsi_info()
252 static int arxescsi_probe(struct expansion_card *ec, const struct ecard_id *id) in arxescsi_probe() argument
259 ret = ecard_request_resources(ec); in arxescsi_probe()
263 base = ecardm_iomap(ec, ECARD_RES_MEMC, 0, 0); in arxescsi_probe()
276 info->ec = ec; in arxescsi_probe()
295 ec->irqaddr = base; in arxescsi_probe()
296 ec->irqmask = CSTATUS_IRQ; in arxescsi_probe()
302 ret = fas216_add(host, &ec->dev); in arxescsi_probe()
310 ecard_release_resources(ec); in arxescsi_probe()
[all …]
Doak.c120 static int oakscsi_probe(struct expansion_card *ec, const struct ecard_id *id) in oakscsi_probe() argument
125 ret = ecard_request_resources(ec); in oakscsi_probe()
135 priv(host)->base = ioremap(ecard_resource_start(ec, ECARD_RES_MEMC), in oakscsi_probe()
136 ecard_resource_len(ec, ECARD_RES_MEMC)); in oakscsi_probe()
147 ret = scsi_add_host(host, &ec->dev); in oakscsi_probe()
159 ecard_release_resources(ec); in oakscsi_probe()
164 static void oakscsi_remove(struct expansion_card *ec) in oakscsi_remove() argument
166 struct Scsi_Host *host = ecard_get_drvdata(ec); in oakscsi_remove()
168 ecard_set_drvdata(ec, NULL); in oakscsi_remove()
174 ecard_release_resources(ec); in oakscsi_remove()
Dcumana_1.c216 static int cumanascsi1_probe(struct expansion_card *ec, in cumanascsi1_probe() argument
222 ret = ecard_request_resources(ec); in cumanascsi1_probe()
232 priv(host)->base = ioremap(ecard_resource_start(ec, ECARD_RES_IOCSLOW), in cumanascsi1_probe()
233 ecard_resource_len(ec, ECARD_RES_IOCSLOW)); in cumanascsi1_probe()
234 priv(host)->dma = ioremap(ecard_resource_start(ec, ECARD_RES_MEMC), in cumanascsi1_probe()
235 ecard_resource_len(ec, ECARD_RES_MEMC)); in cumanascsi1_probe()
241 host->irq = ec->irq; in cumanascsi1_probe()
262 ret = scsi_add_host(host, &ec->dev); in cumanascsi1_probe()
276 ecard_release_resources(ec); in cumanascsi1_probe()
281 static void cumanascsi1_remove(struct expansion_card *ec) in cumanascsi1_remove() argument
[all …]
Dacornscsi.c2895 static int acornscsi_probe(struct expansion_card *ec, const struct ecard_id *id) in acornscsi_probe() argument
2901 ret = ecard_request_resources(ec); in acornscsi_probe()
2913 ashost->base = ecardm_iomap(ec, ECARD_RES_MEMC, 0, 0); in acornscsi_probe()
2914 ashost->fast = ecardm_iomap(ec, ECARD_RES_IOCFAST, 0, 0); in acornscsi_probe()
2918 host->irq = ec->irq; in acornscsi_probe()
2922 ec->irqaddr = ashost->fast + INT_REG; in acornscsi_probe()
2923 ec->irqmask = 0x0a; in acornscsi_probe()
2939 ret = scsi_add_host(host, &ec->dev); in acornscsi_probe()
2952 ecardm_iounmap(ec, ashost->fast); in acornscsi_probe()
2953 ecardm_iounmap(ec, ashost->base); in acornscsi_probe()
[all …]
/linux-4.4.14/drivers/net/ethernet/amd/xgbe/
Dxgbe-ethtool.c395 struct ethtool_coalesce *ec) in xgbe_get_coalesce() argument
399 memset(ec, 0, sizeof(struct ethtool_coalesce)); in xgbe_get_coalesce()
401 ec->rx_coalesce_usecs = pdata->rx_usecs; in xgbe_get_coalesce()
402 ec->rx_max_coalesced_frames = pdata->rx_frames; in xgbe_get_coalesce()
404 ec->tx_max_coalesced_frames = pdata->tx_frames; in xgbe_get_coalesce()
410 struct ethtool_coalesce *ec) in xgbe_set_coalesce() argument
418 if ((ec->rx_coalesce_usecs_irq) || in xgbe_set_coalesce()
419 (ec->rx_max_coalesced_frames_irq) || in xgbe_set_coalesce()
420 (ec->tx_coalesce_usecs) || in xgbe_set_coalesce()
421 (ec->tx_coalesce_usecs_irq) || in xgbe_set_coalesce()
[all …]
/linux-4.4.14/drivers/input/keyboard/
Dcros_ec_keyb.c59 struct cros_ec_device *ec; member
163 ret = cros_ec_cmd_xfer(ckdev->ec, msg); in cros_ec_keyb_get_state()
178 struct cros_ec_device *ec = ckdev->ec; in cros_ec_keyb_irq() local
182 if (device_may_wakeup(ec->dev)) in cros_ec_keyb_irq()
183 pm_wakeup_event(ec->dev, 0); in cros_ec_keyb_irq()
189 dev_err(ec->dev, "failed to get keyboard state: %d\n", ret); in cros_ec_keyb_irq()
197 struct cros_ec_device *ec = ckdev->ec; in cros_ec_keyb_open() local
199 return request_threaded_irq(ec->irq, NULL, cros_ec_keyb_irq, in cros_ec_keyb_open()
207 struct cros_ec_device *ec = ckdev->ec; in cros_ec_keyb_close() local
209 free_irq(ec->irq, ckdev); in cros_ec_keyb_close()
[all …]
/linux-4.4.14/drivers/mtd/ubi/
Dattach.c120 int lnum, int ec, int to_head, struct list_head *list) in add_to_list() argument
125 dbg_bld("add to free: PEB %d, EC %d", pnum, ec); in add_to_list()
127 dbg_bld("add to erase: PEB %d, EC %d", pnum, ec); in add_to_list()
129 dbg_bld("add to alien: PEB %d, EC %d", pnum, ec); in add_to_list()
141 aeb->ec = ec; in add_to_list()
160 static int add_corrupted(struct ubi_attach_info *ai, int pnum, int ec) in add_corrupted() argument
164 dbg_bld("add to corrupted: PEB %d, EC %d", pnum, ec); in add_corrupted()
172 aeb->ec = ec; in add_corrupted()
450 int ec, const struct ubi_vid_hdr *vid_hdr, int bitflips) in ubi_add_to_av() argument
463 pnum, vol_id, lnum, ec, sqnum, bitflips); in ubi_add_to_av()
[all …]
Dwl.c138 static int self_check_ec(struct ubi_device *ubi, int pnum, int ec);
163 if (e->ec < e1->ec) in wl_tree_add()
165 else if (e->ec > e1->ec) in wl_tree_add()
264 if (e->ec < e1->ec) in in_wl_tree()
266 else if (e->ec > e1->ec) in in_wl_tree()
298 dbg_wl("added PEB %d EC %d to the protection queue", e->pnum, e->ec); in prot_queue_add()
318 max = e->ec + diff; in find_wl_entry()
325 if (e1->ec >= max) in find_wl_entry()
361 if (last->ec - first->ec < WL_FREE_MAX_DIFF) { in find_mean_wl_entry()
400 dbg_wl("PEB %d EC %d", e->pnum, e->ec); in wl_get_wle()
[all …]
Dfastmap.c142 int pnum, int ec, int scrub) in add_aeb() argument
151 aeb->ec = ec; in add_aeb()
156 ai->ec_sum += aeb->ec; in add_aeb()
159 if (ai->max_ec < aeb->ec) in add_aeb()
160 ai->max_ec = aeb->ec; in add_aeb()
162 if (ai->min_ec > aeb->ec) in add_aeb()
163 ai->min_ec = aeb->ec; in add_aeb()
314 victim->ec = aeb->ec; in update_vol()
325 aeb->ec = new_aeb->ec; in update_vol()
513 unsigned long long ec = be64_to_cpu(ech->ec); in scan_pool() local
[all …]
Dubi-media.h161 __be64 ec; /* Warning: the current limit is 31-bit anyway! */ member
476 __be32 ec; member
Dfastmap-wl.c42 if (e->pnum < UBI_FM_MAX_START && e->ec < max_ec) { in find_anchor_wl_entry()
44 max_ec = e->ec; in find_anchor_wl_entry()
340 ubi_assert(e->ec >= 0); in ubi_wl_put_fm_peb()
Dio.c671 long long ec; in validate_ec_hdr() local
674 ec = be64_to_cpu(ec_hdr->ec); in validate_ec_hdr()
696 if (ec < 0 || ec > UBI_MAX_ERASECOUNTER) { in validate_ec_hdr()
697 ubi_err(ubi, "bad erase counter %lld", ec); in validate_ec_hdr()
Dubi.h181 int ec; member
647 int ec; member
786 int ec, const struct ubi_vid_hdr *vid_hdr, int bitflips);
Ddebug.c68 pr_err("\tec %llu\n", (long long)be64_to_cpu(ec_hdr->ec)); in ubi_dump_ec_hdr()
191 pr_err("\tec %d\n", aeb->ec); in ubi_dump_aeb()
Dvtbl.c340 err = ubi_add_to_av(ubi, ai, new_aeb->pnum, new_aeb->ec, vid_hdr, 0); in create_vtbl()
/linux-4.4.14/drivers/tty/serial/8250/
D8250_acorn.c42 serial_card_probe(struct expansion_card *ec, const struct ecard_id *id) in serial_card_probe() argument
56 bus_addr = ecard_resource_start(ec, type->type); in serial_card_probe()
57 info->vaddr = ecardm_iomap(ec, type->type, 0, 0); in serial_card_probe()
63 ecard_set_drvdata(ec, info); in serial_card_probe()
66 uart.port.irq = ec->irq; in serial_card_probe()
71 uart.port.dev = &ec->dev; in serial_card_probe()
83 static void serial_card_remove(struct expansion_card *ec) in serial_card_remove() argument
85 struct serial_card_info *info = ecard_get_drvdata(ec); in serial_card_remove()
88 ecard_set_drvdata(ec, NULL); in serial_card_remove()
/linux-4.4.14/drivers/net/ethernet/cisco/enic/
Denic_ethtool.c239 struct ethtool_coalesce *ec) in enic_coalesce_valid() argument
243 ec->rx_coalesce_usecs_high); in enic_coalesce_valid()
245 ec->rx_coalesce_usecs_low); in enic_coalesce_valid()
247 if (ec->rx_max_coalesced_frames || in enic_coalesce_valid()
248 ec->rx_coalesce_usecs_irq || in enic_coalesce_valid()
249 ec->rx_max_coalesced_frames_irq || in enic_coalesce_valid()
250 ec->tx_max_coalesced_frames || in enic_coalesce_valid()
251 ec->tx_coalesce_usecs_irq || in enic_coalesce_valid()
252 ec->tx_max_coalesced_frames_irq || in enic_coalesce_valid()
253 ec->stats_block_coalesce_usecs || in enic_coalesce_valid()
[all …]
/linux-4.4.14/Documentation/devicetree/bindings/i2c/
Di2c-cros-ec-tunnel.txt1 I2C bus that tunnels through the ChromeOS EC (cros-ec)
8 The node for this device should be under a cros-ec node like google,cros-ec-spi
9 or google,cros-ec-i2c.
13 - compatible: google,cros-ec-i2c-tunnel
21 cros-ec@0 {
22 compatible = "google,cros-ec-spi";
27 compatible = "google,cros-ec-i2c-tunnel";
/linux-4.4.14/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_ethtool.c659 struct ethtool_coalesce *ec) in stmmac_get_coalesce() argument
663 ec->tx_coalesce_usecs = priv->tx_coal_timer; in stmmac_get_coalesce()
664 ec->tx_max_coalesced_frames = priv->tx_coal_frames; in stmmac_get_coalesce()
667 ec->rx_coalesce_usecs = stmmac_riwt2usec(priv->rx_riwt, priv); in stmmac_get_coalesce()
673 struct ethtool_coalesce *ec) in stmmac_set_coalesce() argument
679 if ((ec->rx_max_coalesced_frames) || (ec->rx_coalesce_usecs_irq) || in stmmac_set_coalesce()
680 (ec->rx_max_coalesced_frames_irq) || (ec->tx_coalesce_usecs_irq) || in stmmac_set_coalesce()
681 (ec->use_adaptive_rx_coalesce) || (ec->use_adaptive_tx_coalesce) || in stmmac_set_coalesce()
682 (ec->pkt_rate_low) || (ec->rx_coalesce_usecs_low) || in stmmac_set_coalesce()
683 (ec->rx_max_coalesced_frames_low) || (ec->tx_coalesce_usecs_high) || in stmmac_set_coalesce()
[all …]
/linux-4.4.14/drivers/net/ethernet/8390/
Detherh.c146 static void etherh_irq_enable(ecard_t *ec, int irqnr) in etherh_irq_enable() argument
148 struct etherh_priv *eh = ec->irq_data; in etherh_irq_enable()
153 static void etherh_irq_disable(ecard_t *ec, int irqnr) in etherh_irq_disable() argument
155 struct etherh_priv *eh = ec->irq_data; in etherh_irq_disable()
520 static int etherh_addr(char *addr, struct expansion_card *ec) in etherh_addr() argument
525 if (!ecard_readchunk(&cd, ec, 0xf5, 0)) { in etherh_addr()
527 dev_name(&ec->dev)); in etherh_addr()
546 dev_name(&ec->dev), cd.d.string); in etherh_addr()
667 etherh_probe(struct expansion_card *ec, const struct ecard_id *id) in etherh_probe() argument
677 ret = ecard_request_resources(ec); in etherh_probe()
[all …]
/linux-4.4.14/sound/soc/
Dsoc-topology.c855 struct snd_soc_tplg_enum_control *ec) in soc_tplg_denum_create_texts() argument
860 kzalloc(sizeof(char *) * ec->items, GFP_KERNEL); in soc_tplg_denum_create_texts()
864 for (i = 0; i < ec->items; i++) { in soc_tplg_denum_create_texts()
866 if (strnlen(ec->texts[i], SNDRV_CTL_ELEM_ID_NAME_MAXLEN) == in soc_tplg_denum_create_texts()
872 se->dobj.control.dtexts[i] = kstrdup(ec->texts[i], GFP_KERNEL); in soc_tplg_denum_create_texts()
889 struct snd_soc_tplg_enum_control *ec) in soc_tplg_denum_create_values() argument
891 if (ec->items > sizeof(*ec->values)) in soc_tplg_denum_create_values()
894 se->dobj.control.dvalues = kmemdup(ec->values, in soc_tplg_denum_create_values()
895 ec->items * sizeof(u32), in soc_tplg_denum_create_values()
906 struct snd_soc_tplg_enum_control *ec; in soc_tplg_denum_create() local
[all …]
/linux-4.4.14/Documentation/devicetree/bindings/mfd/
Dcros-ec.txt9 Other Linux driver (such as cros-ec-keyb for the matrix keyboard) connect to
13 - compatible: "google,cros-ec-i2c"
17 - compatible: "google,cros-ec-spi"
21 - google,cros-ec-spi-pre-delay: Some implementations of the EC need a little
25 - google,cros-ec-spi-msg-delay: Some implementations of the EC require some
34 - compatible: "google,cros-ec-lpc"
45 cros-ec@1e {
47 compatible = "google,cros-ec-i2c";
57 ec@0 {
58 compatible = "google,cros-ec-spi";
/linux-4.4.14/drivers/net/ethernet/intel/i40evf/
Di40evf_ethtool.c288 struct ethtool_coalesce *ec) in i40evf_get_coalesce() argument
293 ec->tx_max_coalesced_frames = vsi->work_limit; in i40evf_get_coalesce()
294 ec->rx_max_coalesced_frames = vsi->work_limit; in i40evf_get_coalesce()
297 ec->use_adaptive_rx_coalesce = 1; in i40evf_get_coalesce()
300 ec->use_adaptive_tx_coalesce = 1; in i40evf_get_coalesce()
302 ec->rx_coalesce_usecs = vsi->rx_itr_setting & ~I40E_ITR_DYNAMIC; in i40evf_get_coalesce()
303 ec->tx_coalesce_usecs = vsi->tx_itr_setting & ~I40E_ITR_DYNAMIC; in i40evf_get_coalesce()
316 struct ethtool_coalesce *ec) in i40evf_set_coalesce() argument
324 if (ec->tx_max_coalesced_frames_irq || ec->rx_max_coalesced_frames_irq) in i40evf_set_coalesce()
325 vsi->work_limit = ec->tx_max_coalesced_frames_irq; in i40evf_set_coalesce()
[all …]
/linux-4.4.14/drivers/net/ethernet/hisilicon/
Dhip04_eth.c707 struct ethtool_coalesce *ec) in hip04_get_coalesce() argument
711 ec->tx_coalesce_usecs = priv->tx_coalesce_usecs; in hip04_get_coalesce()
712 ec->tx_max_coalesced_frames = priv->tx_coalesce_frames; in hip04_get_coalesce()
718 struct ethtool_coalesce *ec) in hip04_set_coalesce() argument
723 if ((ec->rx_max_coalesced_frames) || (ec->rx_coalesce_usecs_irq) || in hip04_set_coalesce()
724 (ec->rx_max_coalesced_frames_irq) || (ec->tx_coalesce_usecs_irq) || in hip04_set_coalesce()
725 (ec->use_adaptive_rx_coalesce) || (ec->use_adaptive_tx_coalesce) || in hip04_set_coalesce()
726 (ec->pkt_rate_low) || (ec->rx_coalesce_usecs_low) || in hip04_set_coalesce()
727 (ec->rx_max_coalesced_frames_low) || (ec->tx_coalesce_usecs_high) || in hip04_set_coalesce()
728 (ec->tx_max_coalesced_frames_low) || (ec->pkt_rate_high) || in hip04_set_coalesce()
[all …]
/linux-4.4.14/fs/logfs/
Dgc.c96 static u32 logfs_valid_bytes(struct super_block *sb, u32 segno, u32 *ec, in logfs_valid_bytes() argument
108 *ec = ec_level >> 4; in logfs_valid_bytes()
234 u32 get_best_cand(struct super_block *sb, struct candidate_list *list, u32 *ec) in get_best_cand() argument
244 if (ec) in get_best_cand()
245 *ec = cand->erase_count; in get_best_cand()
298 static int add_candidate(struct super_block *sb, u32 segno, u32 valid, u32 ec, in add_candidate() argument
310 cand->erase_count = ec; in add_candidate()
332 u32 valid, ec = 0; in scan_segment() local
340 valid = logfs_valid_bytes(sb, segno, &ec, &gc_level); in scan_segment()
345 add_candidate(sb, segno, valid, ec, dist); in scan_segment()
[all …]
Dsuper.c144 u8 level, u32 segno, u32 ec) in set_segment_header() argument
150 sh->ec = cpu_to_be32(ec); in set_segment_header()
156 u32 segno, u32 ec) in logfs_write_ds() argument
163 set_segment_header(sh, SEG_SUPER, 0, segno, ec); in logfs_write_ds()
195 u32 ec, segno; in write_one_sb() local
204 ec = be32_to_cpu(se.ec_level) >> 4; in write_one_sb()
205 ec++; in write_one_sb()
206 logfs_set_segment_erased(sb, segno, ec, 0); in write_one_sb()
207 logfs_write_ds(sb, ds, segno, ec); in write_one_sb()
Djournal.c106 struct logfs_je_journal_ec *ec) in read_erasecount() argument
112 super->s_journal_ec[i] = be32_to_cpu(ec->ec[i]); in read_erasecount()
407 u.sh.ec = cpu_to_be32(area->a_erase_count); in journal_erase_segment()
454 struct logfs_je_journal_ec *ec = _ec; in logfs_write_erasecount() local
458 ec->ec[i] = cpu_to_be32(super->s_journal_ec[i]); in logfs_write_erasecount()
461 return ec; in logfs_write_erasecount()
810 u32 segno, ec; in do_logfs_journal_wl_pass() local
826 segno = get_best_cand(sb, &super->s_reserve_list, &ec); in do_logfs_journal_wl_pass()
828 super->s_journal_ec[i] = ec; in do_logfs_journal_wl_pass()
Dlogfs_abi.h190 __be32 ec; member
546 __be32 ec[0]; member
556 __be32 ec; member
Dlogfs.h512 u32 get_best_cand(struct super_block *sb, struct candidate_list *list, u32 *ec);
568 void logfs_set_segment_erased(struct super_block *sb, u32 segno, u32 ec,
571 void logfs_set_segment_unreserved(struct super_block *sb, u32 segno, u32 ec);
Dreadwrite.c2099 void logfs_set_segment_erased(struct super_block *sb, u32 segno, u32 ec, in logfs_set_segment_erased() argument
2102 u32 ec_level = ec << 4 | (__force u8)gc_level; in logfs_set_segment_erased()
2124 void logfs_set_segment_unreserved(struct super_block *sb, u32 segno, u32 ec) in logfs_set_segment_unreserved() argument
2126 u32 ec_level = ec << 4; in logfs_set_segment_unreserved()
Dsegment.c840 sh.ec = cpu_to_be32(area->a_erase_count); in ostore_erase_segment()
/linux-4.4.14/drivers/staging/lustre/lustre/obdecho/
Decho_client.c434 struct echo_client_obd *ec = ed->ed_ec; in echo_object_init() local
463 spin_lock(&ec->ec_lock); in echo_object_init()
464 list_add_tail(&eco->eo_obj_chain, &ec->ec_objects); in echo_object_init()
465 spin_unlock(&ec->ec_lock); in echo_object_init()
520 struct echo_client_obd *ec = eco->eo_dev->ed_ec; in echo_object_free() local
524 spin_lock(&ec->ec_lock); in echo_object_free()
526 spin_unlock(&ec->ec_lock); in echo_object_free()
851 struct echo_client_obd *ec = ed->ed_ec; in echo_device_free() local
865 spin_lock(&ec->ec_lock); in echo_device_free()
866 list_for_each_entry(eco, &ec->ec_objects, eo_obj_chain) in echo_device_free()
[all …]
/linux-4.4.14/drivers/net/ethernet/intel/igbvf/
Dethtool.c337 struct ethtool_coalesce *ec) in igbvf_get_coalesce() argument
342 ec->rx_coalesce_usecs = adapter->requested_itr; in igbvf_get_coalesce()
344 ec->rx_coalesce_usecs = adapter->current_itr >> 2; in igbvf_get_coalesce()
350 struct ethtool_coalesce *ec) in igbvf_set_coalesce() argument
355 if ((ec->rx_coalesce_usecs >= IGBVF_MIN_ITR_USECS) && in igbvf_set_coalesce()
356 (ec->rx_coalesce_usecs <= IGBVF_MAX_ITR_USECS)) { in igbvf_set_coalesce()
357 adapter->current_itr = ec->rx_coalesce_usecs << 2; in igbvf_set_coalesce()
360 } else if ((ec->rx_coalesce_usecs == 3) || in igbvf_set_coalesce()
361 (ec->rx_coalesce_usecs == 2)) { in igbvf_set_coalesce()
363 adapter->requested_itr = ec->rx_coalesce_usecs; in igbvf_set_coalesce()
[all …]
/linux-4.4.14/drivers/net/ethernet/seeq/
Dether3.c198 ether3_addr(char *addr, struct expansion_card *ec) in ether3_addr() argument
203 if (ecard_readchunk(&cd, ec, 0xf5, 0) && (s = strchr(cd.d.string, '('))) { in ether3_addr()
753 ether3_probe(struct expansion_card *ec, const struct ecard_id *id) in ether3_probe() argument
761 ret = ecard_request_resources(ec); in ether3_probe()
771 SET_NETDEV_DEV(dev, &ec->dev); in ether3_probe()
773 priv(dev)->base = ecardm_iomap(ec, ECARD_RES_MEMC, 0, 0); in ether3_probe()
779 ec->irqaddr = priv(dev)->base + data->base_offset; in ether3_probe()
780 ec->irqmask = 0xf0; in ether3_probe()
783 dev->irq = ec->irq; in ether3_probe()
785 ether3_addr(dev->dev_addr, ec); in ether3_probe()
[all …]
/linux-4.4.14/drivers/i2c/busses/
Di2c-cros-ec-tunnel.c35 struct cros_ec_device *ec; member
218 result = cros_ec_cmd_xfer(bus->ec, msg); in ec_i2c_xfer()
250 struct cros_ec_device *ec = dev_get_drvdata(pdev->dev.parent); in ec_i2c_probe() local
256 if (!ec->cmd_xfer) { in ec_i2c_probe()
272 bus->ec = ec; in ec_i2c_probe()
DMakefile114 obj-$(CONFIG_I2C_CROS_EC_TUNNEL) += i2c-cros-ec-tunnel.o
/linux-4.4.14/drivers/input/mouse/
Dsynaptics.h55 #define SYN_CAP_MULTI_BUTTON_NO(ec) (((ec) & 0x00f000) >> 12) argument
56 #define SYN_CAP_PRODUCT_ID(ec) (((ec) & 0xff0000) >> 16) argument
Dalps.c2699 unsigned char *ec) in alps_match_table() argument
2709 model->command_mode_resp == ec[2])) { in alps_match_table()
2721 unsigned char e6[4], e7[4], ec[4]; in alps_identify() local
2744 PSMOUSE_CMD_RESET_WRAP, ec) || in alps_identify()
2748 protocol = alps_match_table(e7, ec); in alps_identify()
2751 ec[0] == 0x73 && (ec[1] == 0x01 || ec[1] == 0x02)) { in alps_identify()
2753 } else if (ec[0] == 0x88 && in alps_identify()
2754 ((ec[1] & 0xf0) == 0xb0 || (ec[1] & 0xf0) == 0xc0)) { in alps_identify()
2756 } else if (ec[0] == 0x88 && ec[1] == 0x08) { in alps_identify()
2758 } else if (ec[0] == 0x88 && ec[1] == 0x07 && in alps_identify()
[all …]
/linux-4.4.14/include/linux/mfd/
Dcros_ec.h118 int (*cmd_readmem)(struct cros_ec_device *ec, unsigned int offset,
133 int (*cmd_xfer)(struct cros_ec_device *ec,
135 int (*pkt_xfer)(struct cros_ec_device *ec,
/linux-4.4.14/Documentation/ABI/testing/
Ddebugfs-ec1 What: /sys/kernel/debug/ec/*/{gpe,use_global_lock,io}
9 the EC here (XY -> GPE number from /sys/kernel/debug/ec/*/gpe):
13 ftp://ftp.suse.com/pub/people/trenn/sources/ec/
Ddebugfs-olpc1 What: /sys/kernel/debug/olpc-ec/cmd
/linux-4.4.14/drivers/net/ethernet/intel/ixgbevf/
Dethtool.c721 struct ethtool_coalesce *ec) in ixgbevf_get_coalesce() argument
727 ec->rx_coalesce_usecs = adapter->rx_itr_setting; in ixgbevf_get_coalesce()
729 ec->rx_coalesce_usecs = adapter->rx_itr_setting >> 2; in ixgbevf_get_coalesce()
737 ec->tx_coalesce_usecs = adapter->tx_itr_setting; in ixgbevf_get_coalesce()
739 ec->tx_coalesce_usecs = adapter->tx_itr_setting >> 2; in ixgbevf_get_coalesce()
745 struct ethtool_coalesce *ec) in ixgbevf_set_coalesce() argument
754 adapter->q_vector[0]->rx.count && ec->tx_coalesce_usecs) in ixgbevf_set_coalesce()
757 if ((ec->rx_coalesce_usecs > (IXGBE_MAX_EITR >> 2)) || in ixgbevf_set_coalesce()
758 (ec->tx_coalesce_usecs > (IXGBE_MAX_EITR >> 2))) in ixgbevf_set_coalesce()
761 if (ec->rx_coalesce_usecs > 1) in ixgbevf_set_coalesce()
[all …]
/linux-4.4.14/tools/power/acpi/
DMakefile13 all: acpidump ec
18 acpidump ec: FORCE target
/linux-4.4.14/arch/arm/boot/dts/
Drk3288-veyron-chromebook.dtsi139 cros_ec: ec@0 {
140 compatible = "google,cros-ec-spi";
142 google,cros-ec-spi-pre-delay = <30>;
150 compatible = "google,cros-ec-i2c-tunnel";
199 cros-ec {
200 ec_int: ec-int {
232 #include "cros-ec-keyboard.dtsi"
Dcros-ec-keyboard.dtsi2 * Keyboard dts fragment for devices that use cros-ec-keyboard
15 compatible = "google,cros-ec-keyb";
Dtegra124-nyan.dtsi303 cros_ec: cros-ec@0 {
304 compatible = "google,cros-ec-spi";
310 google,cros-ec-spi-msg-delay = <2000>;
313 compatible = "google,cros-ec-i2c-tunnel";
708 #include "cros-ec-keyboard.dtsi"
Dexynos5420-peach-pit.dts33 i2c20 = "/spi@12d40000/cros-ec@0/i2c-tunnel";
792 ec_irq: ec-irq {
888 ec_spi_cs: ec-spi-cs {
935 cros_ec: cros-ec@0 {
936 compatible = "google,cros-ec-spi";
950 compatible = "google,cros-ec-i2c-tunnel";
1065 #include "cros-ec-keyboard.dtsi"
Dexynos5800-peach-pi.dts31 i2c20 = "/spi@12d40000/cros-ec@0/i2c-tunnel";
755 ec_irq: ec-irq {
851 ec_spi_cs: ec-spi-cs {
898 cros_ec: cros-ec@0 {
899 compatible = "google,cros-ec-spi";
913 compatible = "google,cros-ec-i2c-tunnel";
1028 #include "cros-ec-keyboard.dtsi"
Dexynos5250-spring.dts387 compatible = "google,cros-ec-i2c";
495 ec_irq: ec-irq {
563 #include "cros-ec-keyboard.dtsi"
Dexynos5250-snow-common.dtsi88 compatible = "google,cros-ec-i2c";
591 ec_irq: ec-irq {
684 #include "cros-ec-keyboard.dtsi"
Dtegra124-venice2.dts836 cros_ec: cros-ec@0 {
837 compatible = "google,cros-ec-spi";
843 google,cros-ec-spi-msg-delay = <2000>;
846 compatible = "google,cros-ec-i2c-tunnel";
1167 #include "cros-ec-keyboard.dtsi"
Dcros-ec-sbs.dtsi2 * Smart battery dts fragment for devices that use cros-ec-sbs
Drk3288-veyron-pinky.dts47 #include "cros-ec-sbs.dtsi"
Drk3288-veyron-speedy.dts47 #include "cros-ec-sbs.dtsi"
Drk3288-veyron-jaq.dts48 #include "cros-ec-sbs.dtsi"
Drk3288-veyron-jerry.dts47 #include "cros-ec-sbs.dtsi"
/linux-4.4.14/drivers/net/ethernet/intel/igb/
Digb_ethtool.c2153 struct ethtool_coalesce *ec) in igb_set_coalesce() argument
2158 if (ec->rx_max_coalesced_frames || in igb_set_coalesce()
2159 ec->rx_coalesce_usecs_irq || in igb_set_coalesce()
2160 ec->rx_max_coalesced_frames_irq || in igb_set_coalesce()
2161 ec->tx_max_coalesced_frames || in igb_set_coalesce()
2162 ec->tx_coalesce_usecs_irq || in igb_set_coalesce()
2163 ec->stats_block_coalesce_usecs || in igb_set_coalesce()
2164 ec->use_adaptive_rx_coalesce || in igb_set_coalesce()
2165 ec->use_adaptive_tx_coalesce || in igb_set_coalesce()
2166 ec->pkt_rate_low || in igb_set_coalesce()
[all …]
/linux-4.4.14/usr/
Dgen_init_cpio.c525 int ec = 0; in main() local
582 ec = -1; in main()
600 ec = -1; in main()
607 ec = rc; in main()
619 if (ec == 0) in main()
622 exit(ec); in main()
/linux-4.4.14/drivers/net/ethernet/i825xx/
Dether1.c989 ether1_probe(struct expansion_card *ec, const struct ecard_id *id) in ether1_probe() argument
996 ret = ecard_request_resources(ec); in ether1_probe()
1006 SET_NETDEV_DEV(dev, &ec->dev); in ether1_probe()
1008 dev->irq = ec->irq; in ether1_probe()
1009 priv(dev)->base = ecardm_iomap(ec, ECARD_RES_IOCFAST, 0, 0); in ether1_probe()
1036 dev->name, ec->slot_no, dev->dev_addr); in ether1_probe()
1038 ecard_set_drvdata(ec, dev); in ether1_probe()
1044 ecard_release_resources(ec); in ether1_probe()
1049 static void ether1_remove(struct expansion_card *ec) in ether1_remove() argument
1051 struct net_device *dev = ecard_get_drvdata(ec); in ether1_remove()
[all …]
/linux-4.4.14/drivers/net/ethernet/hisilicon/hns/
Dhns_ethtool.c749 struct ethtool_coalesce *ec) in hns_get_coalesce() argument
756 ec->use_adaptive_rx_coalesce = 1; in hns_get_coalesce()
757 ec->use_adaptive_tx_coalesce = 1; in hns_get_coalesce()
764 &ec->tx_coalesce_usecs, in hns_get_coalesce()
765 &ec->rx_coalesce_usecs); in hns_get_coalesce()
769 &ec->tx_max_coalesced_frames, in hns_get_coalesce()
770 &ec->rx_max_coalesced_frames); in hns_get_coalesce()
783 struct ethtool_coalesce *ec) in hns_set_coalesce() argument
793 if (ec->tx_coalesce_usecs != ec->rx_coalesce_usecs) in hns_set_coalesce()
796 if (ec->rx_max_coalesced_frames != ec->tx_max_coalesced_frames) in hns_set_coalesce()
[all …]
/linux-4.4.14/Documentation/devicetree/bindings/input/
Dcros-ec-keyb.txt11 - compatible: "google,cros-ec-keyb"
21 cros-ec-keyb {
22 compatible = "google,cros-ec-keyb";
/linux-4.4.14/drivers/net/ethernet/intel/i40e/
Di40e_ethtool.c1847 struct ethtool_coalesce *ec) in i40e_get_coalesce() argument
1852 ec->tx_max_coalesced_frames_irq = vsi->work_limit; in i40e_get_coalesce()
1853 ec->rx_max_coalesced_frames_irq = vsi->work_limit; in i40e_get_coalesce()
1856 ec->use_adaptive_rx_coalesce = 1; in i40e_get_coalesce()
1859 ec->use_adaptive_tx_coalesce = 1; in i40e_get_coalesce()
1861 ec->rx_coalesce_usecs = vsi->rx_itr_setting & ~I40E_ITR_DYNAMIC; in i40e_get_coalesce()
1862 ec->tx_coalesce_usecs = vsi->tx_itr_setting & ~I40E_ITR_DYNAMIC; in i40e_get_coalesce()
1869 ec->rx_coalesce_usecs_high = vsi->int_rate_limit; in i40e_get_coalesce()
1870 ec->tx_coalesce_usecs_high = vsi->int_rate_limit; in i40e_get_coalesce()
1876 struct ethtool_coalesce *ec) in i40e_set_coalesce() argument
[all …]
/linux-4.4.14/arch/ia64/lib/
Dxor.S30 mov ar.ec = 6 + 2
67 mov ar.ec = 6 + 2
107 mov ar.ec = 6 + 2
150 mov ar.ec = 6 + 2
Dmemcpy.S73 mov ar.ec=N
120 mov ar.ec=MEM_LAT
227 mov ar.ec=N
Dcopy_page_mck.S115 mov ar.ec = 1 // special unrolled loop
138 mov ar.ec = N // # of stages in pipeline
Dcopy_user.S98 mov ar.ec=PIPE_DEPTH
190 mov ar.ec=PIPE_DEPTH
217 mov ar.ec=PIPE_DEPTH
301 mov ar.ec=PIPE_DEPTH
Dcopy_page.S48 mov ar.ec=PIPE_DEPTH
Dstrlen.S106 mov ar.ec=r0 // clear epilogue counter (saved in ar.pfs)
Dstrlen_user.S108 mov ar.ec=r0 // clear epilogue counter (saved in ar.pfs)
Dmemcpy_mck.S149 mov ar.ec=2
193 mov ar.ec = 1 // special unrolled loop
217 mov ar.ec = N // # of stages in pipeline
339 mov ar.ec=2 // loop setup
Ddo_csum.S218 mov ar.ec=PIPE_DEPTH
/linux-4.4.14/fs/ncpfs/
Dncplib_kernel.c1121 wchar_t ec; in ncp__io2vol() local
1131 ec = u; in ncp__io2vol()
1139 ec = 0; in ncp__io2vol()
1150 ec = (ec << 4) | nc; in ncp__io2vol()
1155 if ( (chl = in->char2uni(iname, iname_end - iname, &ec)) < 0) in ncp__io2vol()
1163 chl = out->uni2char(ec, vname, vname_end - vname); in ncp__io2vol()
1214 wchar_t ec; in ncp__vol2io() local
1217 if ( (chl = in->char2uni(vname, vname_end - vname, &ec)) < 0) { in ncp__vol2io()
1228 k = utf32_to_utf8(ec, iname, iname_end - iname); in ncp__vol2io()
1235 if ( (chl = out->uni2char(ec, iname, iname_end - iname)) >= 0) { in ncp__vol2io()
[all …]
/linux-4.4.14/drivers/net/ethernet/samsung/sxgbe/
Dsxgbe_ethtool.c301 struct ethtool_coalesce *ec) in sxgbe_get_coalesce() argument
306 ec->rx_coalesce_usecs = sxgbe_riwt2usec(priv->rx_riwt, priv); in sxgbe_get_coalesce()
312 struct ethtool_coalesce *ec) in sxgbe_set_coalesce() argument
317 if (!ec->rx_coalesce_usecs) in sxgbe_set_coalesce()
320 rx_riwt = sxgbe_usec2riwt(ec->rx_coalesce_usecs, priv); in sxgbe_set_coalesce()
/linux-4.4.14/drivers/net/ethernet/intel/fm10k/
Dfm10k_ethtool.c698 struct ethtool_coalesce *ec) in fm10k_get_coalesce() argument
702 ec->use_adaptive_tx_coalesce = in fm10k_get_coalesce()
704 ec->tx_coalesce_usecs = interface->tx_itr & ~FM10K_ITR_ADAPTIVE; in fm10k_get_coalesce()
706 ec->use_adaptive_rx_coalesce = in fm10k_get_coalesce()
708 ec->rx_coalesce_usecs = interface->rx_itr & ~FM10K_ITR_ADAPTIVE; in fm10k_get_coalesce()
714 struct ethtool_coalesce *ec) in fm10k_set_coalesce() argument
722 if ((ec->rx_coalesce_usecs > FM10K_ITR_MAX) || in fm10k_set_coalesce()
723 (ec->tx_coalesce_usecs > FM10K_ITR_MAX)) in fm10k_set_coalesce()
727 tx_itr = ec->tx_coalesce_usecs; in fm10k_set_coalesce()
728 rx_itr = ec->rx_coalesce_usecs; in fm10k_set_coalesce()
[all …]
/linux-4.4.14/drivers/net/ethernet/broadcom/
Dbcmsysport.c459 struct ethtool_coalesce *ec) in bcm_sysport_get_coalesce() argument
466 ec->tx_coalesce_usecs = (reg >> RING_TIMEOUT_SHIFT) * 8192 / 1000; in bcm_sysport_get_coalesce()
467 ec->tx_max_coalesced_frames = reg & RING_INTR_THRESH_MASK; in bcm_sysport_get_coalesce()
471 ec->rx_coalesce_usecs = (reg >> RDMA_TIMEOUT_SHIFT) * 8192 / 1000; in bcm_sysport_get_coalesce()
472 ec->rx_max_coalesced_frames = reg & RDMA_INTR_THRESH_MASK; in bcm_sysport_get_coalesce()
478 struct ethtool_coalesce *ec) in bcm_sysport_set_coalesce() argument
488 if (ec->tx_max_coalesced_frames > RING_INTR_THRESH_MASK || in bcm_sysport_set_coalesce()
489 ec->tx_coalesce_usecs > (RING_TIMEOUT_MASK * 8) + 1 || in bcm_sysport_set_coalesce()
490 ec->rx_max_coalesced_frames > RDMA_INTR_THRESH_MASK || in bcm_sysport_set_coalesce()
491 ec->rx_coalesce_usecs > (RDMA_TIMEOUT_MASK * 8) + 1) in bcm_sysport_set_coalesce()
[all …]
Dtg3.c9396 static void tg3_coal_tx_init(struct tg3 *tp, struct ethtool_coalesce *ec) in tg3_coal_tx_init() argument
9401 tw32(HOSTCC_TXCOL_TICKS, ec->tx_coalesce_usecs); in tg3_coal_tx_init()
9402 tw32(HOSTCC_TXMAX_FRAMES, ec->tx_max_coalesced_frames); in tg3_coal_tx_init()
9403 tw32(HOSTCC_TXCOAL_MAXF_INT, ec->tx_max_coalesced_frames_irq); in tg3_coal_tx_init()
9413 tw32(reg, ec->tx_coalesce_usecs); in tg3_coal_tx_init()
9415 tw32(reg, ec->tx_max_coalesced_frames); in tg3_coal_tx_init()
9417 tw32(reg, ec->tx_max_coalesced_frames_irq); in tg3_coal_tx_init()
9428 static void tg3_coal_rx_init(struct tg3 *tp, struct ethtool_coalesce *ec) in tg3_coal_rx_init() argument
9434 tw32(HOSTCC_RXCOL_TICKS, ec->rx_coalesce_usecs); in tg3_coal_rx_init()
9435 tw32(HOSTCC_RXMAX_FRAMES, ec->rx_max_coalesced_frames); in tg3_coal_rx_init()
[all …]
/linux-4.4.14/tools/power/acpi/tools/ec/
DMakefile13 TOOL = ec
/linux-4.4.14/scripts/
Dasn1_compiler.c1445 struct element *ec, *x; in render_element() local
1553 for (ec = e->children; ec; ec = ec->next) in render_element()
1554 render_element(out, ec, NULL); in render_element()
1601 for (ec = e->children; ec; ec = ec->next) in render_element()
1602 render_element(out, ec, ec); in render_element()
/linux-4.4.14/fs/fat/
Dnamei_vfat.c504 unsigned int ec; in xlate_to_uni() local
524 ec = 0; in xlate_to_uni()
527 ec <<= 4; in xlate_to_uni()
529 ec |= nc - '0'; in xlate_to_uni()
533 ec |= nc - ('a' - 10); in xlate_to_uni()
537 ec |= nc - ('A' - 10); in xlate_to_uni()
542 *op++ = ec & 0xFF; in xlate_to_uni()
543 *op++ = ec >> 8; in xlate_to_uni()
Ddir.c146 wchar_t ec; in uni16_to_x8() local
154 ec = *ip++; in uni16_to_x8()
155 charlen = nls->uni2char(ec, op, NLS_MAX_CHARSET_SIZE); in uni16_to_x8()
162 op = hex_byte_pack(op, ec >> 8); in uni16_to_x8()
163 op = hex_byte_pack(op, ec); in uni16_to_x8()
/linux-4.4.14/drivers/bluetooth/
Dbtmrvl_main.c59 struct hci_ev_cmd_complete *ec; in btmrvl_check_evtpkt() local
62 ec = (void *) (skb->data + HCI_EVENT_HDR_SIZE); in btmrvl_check_evtpkt()
63 opcode = __le16_to_cpu(ec->opcode); in btmrvl_check_evtpkt()
90 if (event->ec != 0xff) { in btmrvl_process_event()
91 BT_DBG("Not Marvell Event=%x", event->ec); in btmrvl_process_event()
Dbtmrvl_drv.h153 u8 ec; /* event counter */ member
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/engine/fifo/
Dgf100.c302 const struct nvkm_enum *er, *eu, *ec; in gf100_fifo_intr_fault() local
311 ec = nvkm_enum_find(gf100_fifo_fault_hubclient, client); in gf100_fifo_intr_fault()
313 ec = nvkm_enum_find(gf100_fifo_fault_gpcclient, client); in gf100_fifo_intr_fault()
340 unit, eu ? eu->name : "", client, gpcid, ec ? ec->name : "", in gf100_fifo_intr_fault()
Dgk104.c367 const struct nvkm_enum *er, *eu, *ec; in gk104_fifo_intr_fault() local
376 ec = nvkm_enum_find(gk104_fifo_fault_hubclient, client); in gk104_fifo_intr_fault()
378 ec = nvkm_enum_find(gk104_fifo_fault_gpcclient, client); in gk104_fifo_intr_fault()
405 unit, eu ? eu->name : "", client, gpcid, ec ? ec->name : "", in gk104_fifo_intr_fault()
/linux-4.4.14/drivers/usb/serial/
Dsierra.c997 int ec = 0; in sierra_submit_delayed_urbs() local
1013 ec++; in sierra_submit_delayed_urbs()
1025 if (ec) in sierra_submit_delayed_urbs()
1035 int ec = 0; in sierra_resume() local
1047 ec++; in sierra_resume()
1051 ec++; in sierra_resume()
1056 return ec ? -EIO : 0; in sierra_resume()
/linux-4.4.14/arch/powerpc/crypto/
Daes-tab-4k.S45 .long R(4d, ab, ab, e6), R(ec, 76, 76, 9a)
50 .long R(41, ad, ad, ec), R(b3, d4, d4, 67)
103 .long R(26, 13, 13, 35), R(c3, ec, ec, 2f)
207 .long R(0b, 83, ec, 39), R(40, 60, ef, aa)
244 .long R(0d, 86, 52, ec), R(77, c1, e3, d0)
262 .long R(ec, 9a, b7, 01), R(83, 4f, 9a, a8)
271 .long R(f1, 04, 98, 4a), R(41, ec, da, f7)
/linux-4.4.14/drivers/net/wireless/ath/ath9k/
Dinit.c473 struct ath9k_eeprom_ctx *ec = ctx; in ath9k_eeprom_request_cb() local
476 ec->ah->eeprom_blob = eeprom_blob; in ath9k_eeprom_request_cb()
478 complete(&ec->complete); in ath9k_eeprom_request_cb()
483 struct ath9k_eeprom_ctx ec; in ath9k_eeprom_request() local
488 init_completion(&ec.complete); in ath9k_eeprom_request()
489 ec.ah = sc->sc_ah; in ath9k_eeprom_request()
492 &ec, ath9k_eeprom_request_cb); in ath9k_eeprom_request()
499 wait_for_completion(&ec.complete); in ath9k_eeprom_request()
/linux-4.4.14/drivers/net/ethernet/intel/e1000/
De1000_ethtool.c1766 struct ethtool_coalesce *ec) in e1000_get_coalesce() argument
1774 ec->rx_coalesce_usecs = adapter->itr_setting; in e1000_get_coalesce()
1776 ec->rx_coalesce_usecs = 1000000 / adapter->itr_setting; in e1000_get_coalesce()
1782 struct ethtool_coalesce *ec) in e1000_set_coalesce() argument
1790 if ((ec->rx_coalesce_usecs > E1000_MAX_ITR_USECS) || in e1000_set_coalesce()
1791 ((ec->rx_coalesce_usecs > 4) && in e1000_set_coalesce()
1792 (ec->rx_coalesce_usecs < E1000_MIN_ITR_USECS)) || in e1000_set_coalesce()
1793 (ec->rx_coalesce_usecs == 2)) in e1000_set_coalesce()
1796 if (ec->rx_coalesce_usecs == 4) { in e1000_set_coalesce()
1798 } else if (ec->rx_coalesce_usecs <= 3) { in e1000_set_coalesce()
[all …]
/linux-4.4.14/drivers/net/ethernet/broadcom/genet/
Dbcmgenet.c570 struct ethtool_coalesce *ec) in bcmgenet_get_coalesce() argument
574 ec->tx_max_coalesced_frames = in bcmgenet_get_coalesce()
577 ec->rx_max_coalesced_frames = in bcmgenet_get_coalesce()
580 ec->rx_coalesce_usecs = in bcmgenet_get_coalesce()
587 struct ethtool_coalesce *ec) in bcmgenet_set_coalesce() argument
597 if (ec->tx_max_coalesced_frames > DMA_INTR_THRESHOLD_MASK || in bcmgenet_set_coalesce()
598 ec->tx_max_coalesced_frames == 0 || in bcmgenet_set_coalesce()
599 ec->rx_max_coalesced_frames > DMA_INTR_THRESHOLD_MASK || in bcmgenet_set_coalesce()
600 ec->rx_coalesce_usecs > (DMA_TIMEOUT_MASK * 8) + 1) in bcmgenet_set_coalesce()
603 if (ec->rx_coalesce_usecs == 0 && ec->rx_max_coalesced_frames == 0) in bcmgenet_set_coalesce()
[all …]
/linux-4.4.14/arch/s390/include/asm/
Dnmi.h52 u64 ec : 1; /* 26 external damage code validity */ member
/linux-4.4.14/tools/perf/
DCREDITS4 66996ec: Sync with 1.6.2.4
/linux-4.4.14/Documentation/devicetree/bindings/arm/tegra/
Dnvidia,nvec.txt8 - gpios : the gpio used for ec request
/linux-4.4.14/drivers/media/i2c/
Dadv7511.c1001 u8 ec = HDMI_EXTENDED_COLORIMETRY_XV_YCC_601; in adv7511_set_fmt() local
1056 ec = y ? HDMI_EXTENDED_COLORIMETRY_ADOBE_YCC_601 : in adv7511_set_fmt()
1063 ec = HDMI_EXTENDED_COLORIMETRY_XV_YCC_601; in adv7511_set_fmt()
1070 ec = HDMI_EXTENDED_COLORIMETRY_XV_YCC_709; in adv7511_set_fmt()
1075 ec = y ? HDMI_EXTENDED_COLORIMETRY_S_YCC_601 : in adv7511_set_fmt()
1081 ec = 5; /* Not yet available in hdmi.h */ in adv7511_set_fmt()
1083 ec = 6; /* Not yet available in hdmi.h */ in adv7511_set_fmt()
1118 adv7511_wr_and_or(sd, 0x57, 0x83, (ec << 4) | (q << 2)); in adv7511_set_fmt()
/linux-4.4.14/drivers/net/ethernet/freescale/
Dfec_main.c2478 fec_enet_get_coalesce(struct net_device *ndev, struct ethtool_coalesce *ec) in fec_enet_get_coalesce() argument
2485 ec->rx_coalesce_usecs = fep->rx_time_itr; in fec_enet_get_coalesce()
2486 ec->rx_max_coalesced_frames = fep->rx_pkts_itr; in fec_enet_get_coalesce()
2488 ec->tx_coalesce_usecs = fep->tx_time_itr; in fec_enet_get_coalesce()
2489 ec->tx_max_coalesced_frames = fep->tx_pkts_itr; in fec_enet_get_coalesce()
2495 fec_enet_set_coalesce(struct net_device *ndev, struct ethtool_coalesce *ec) in fec_enet_set_coalesce() argument
2503 if (ec->rx_max_coalesced_frames > 255) { in fec_enet_set_coalesce()
2508 if (ec->tx_max_coalesced_frames > 255) { in fec_enet_set_coalesce()
2525 fep->rx_time_itr = ec->rx_coalesce_usecs; in fec_enet_set_coalesce()
2526 fep->rx_pkts_itr = ec->rx_max_coalesced_frames; in fec_enet_set_coalesce()
[all …]
/linux-4.4.14/drivers/net/ethernet/intel/e1000e/
Dethtool.c1983 struct ethtool_coalesce *ec) in e1000_get_coalesce() argument
1988 ec->rx_coalesce_usecs = adapter->itr_setting; in e1000_get_coalesce()
1990 ec->rx_coalesce_usecs = 1000000 / adapter->itr_setting; in e1000_get_coalesce()
1996 struct ethtool_coalesce *ec) in e1000_set_coalesce() argument
2000 if ((ec->rx_coalesce_usecs > E1000_MAX_ITR_USECS) || in e1000_set_coalesce()
2001 ((ec->rx_coalesce_usecs > 4) && in e1000_set_coalesce()
2002 (ec->rx_coalesce_usecs < E1000_MIN_ITR_USECS)) || in e1000_set_coalesce()
2003 (ec->rx_coalesce_usecs == 2)) in e1000_set_coalesce()
2006 if (ec->rx_coalesce_usecs == 4) { in e1000_set_coalesce()
2009 } else if (ec->rx_coalesce_usecs <= 3) { in e1000_set_coalesce()
[all …]
/linux-4.4.14/net/sunrpc/auth_gss/
Dgss_krb5_wrap.c500 u16 ec, rrc; in gss_unwrap_kerberos_v2() local
530 ec = be16_to_cpup((__be16 *)(ptr + 4)); in gss_unwrap_kerberos_v2()
586 xdr_buf_trim(buf, ec + GSS_KRB5_TOK_HDR_LEN + tailskip); in gss_unwrap_kerberos_v2()
/linux-4.4.14/drivers/platform/x86/
Dthinkpad_acpi.c441 .ec = TPACPI_MATCH_ANY, \
447 .ec = TPACPI_MATCH_ANY, \
453 .ec = TPID(__id1, __id2), \
459 u16 ec; member
485 (qlist->ec == thinkpad_id.ec_model || in tpacpi_check_quirks()
486 qlist->ec == TPACPI_MATCH_ANY)) in tpacpi_check_quirks()
526 TPACPI_HANDLE(ecrd, ec, "ECRD"); /* 570 */
527 TPACPI_HANDLE(ecwr, ec, "ECWR"); /* 570 */
535 TPACPI_HANDLE(hkey, ec, "\\_SB.HKEY", /* 600e/x, 770e, 770x */
1661 .ec = TPACPI_MATCH_ANY, \
[all …]
/linux-4.4.14/drivers/net/ethernet/intel/ixgbe/
Dixgbe_ethtool.c2195 struct ethtool_coalesce *ec) in ixgbe_get_coalesce() argument
2201 ec->rx_coalesce_usecs = adapter->rx_itr_setting; in ixgbe_get_coalesce()
2203 ec->rx_coalesce_usecs = adapter->rx_itr_setting >> 2; in ixgbe_get_coalesce()
2211 ec->tx_coalesce_usecs = adapter->tx_itr_setting; in ixgbe_get_coalesce()
2213 ec->tx_coalesce_usecs = adapter->tx_itr_setting >> 2; in ixgbe_get_coalesce()
2249 struct ethtool_coalesce *ec) in ixgbe_set_coalesce() argument
2259 if (ec->tx_coalesce_usecs) in ixgbe_set_coalesce()
2266 if ((ec->rx_coalesce_usecs > (IXGBE_MAX_EITR >> 2)) || in ixgbe_set_coalesce()
2267 (ec->tx_coalesce_usecs > (IXGBE_MAX_EITR >> 2))) in ixgbe_set_coalesce()
2270 if (ec->rx_coalesce_usecs > 1) in ixgbe_set_coalesce()
[all …]
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/engine/disp/
Dnv50.c202 const struct nvkm_enum *ec, *et; in nv50_disp_intr_error() local
205 ec = nvkm_enum_find(nv50_disp_intr_error_code, code); in nv50_disp_intr_error()
209 type, et ? et->name : "", code, ec ? ec->name : "", in nv50_disp_intr_error()
/linux-4.4.14/Documentation/devicetree/bindings/power/
Dwakeup-source.txt47 compatible = "google,cros-ec-i2c";
/linux-4.4.14/drivers/atm/
Dzatm.c89 static int ec = 0; variable
94 ev[ec] = s; in EVENT()
95 ev_a[ec] = a; in EVENT()
96 ev_b[ec] = b; in EVENT()
97 ec = (ec+1) % EV; in EVENT()
107 i = (ec+n) % EV; in event_dump()
Deni.c110 static int ec = 0; variable
115 ev[ec] = s; in EVENT()
116 ev_a[ec] = a; in EVENT()
117 ev_b[ec] = b; in EVENT()
118 ec = (ec+1) % EV; in EVENT()
127 i = (ec+n) % EV; in event_dump()
/linux-4.4.14/arch/s390/kernel/
Dnmi.c326 if (mci.ed && mci.ec) { in s390_do_machine_check()
/linux-4.4.14/drivers/staging/rdma/ehca/
Dehca_irq.c387 u8 ec = EHCA_BMASK_GET(NEQE_EVENT_CODE, eqe); in parse_ec() local
392 switch (ec) { in parse_ec()
452 ec, shca->ib_device.name); in parse_ec()
/linux-4.4.14/arch/ia64/kernel/
Dtraps.c396 ia64_illegal_op_fault (unsigned long ec, long arg1, long arg2, long arg3, in ia64_illegal_op_fault() argument
408 rv = ia64_emulate_brl(&regs, ec); in ia64_illegal_op_fault()
Dptrace.c824 unsigned long psr, ec, lc, rnat, bsp, cfm, nat_bits, val; in ptrace_getregs() local
849 || access_uarea(child, PT_AR_EC, &ec, 0) < 0 in ptrace_getregs()
871 retval |= __put_user(ec, &ppr->ar[PT_AUR_EC]); in ptrace_getregs()
968 unsigned long psr, rsc, ec, lc, rnat, bsp, cfm, nat_bits, val = 0; in ptrace_setregs() local
1007 retval |= __get_user(ec, &ppr->ar[PT_AUR_EC]); in ptrace_setregs()
1100 retval |= access_uarea(child, PT_AR_EC, &ec, 1); in ptrace_setregs()
Drelocate_kernel.S304 mov r4 = ar.ec
Divt.S1667 mov out0=ar.ec
/linux-4.4.14/sound/pci/ctxfi/
Dcthardware.h158 int (*dai_srt_set_ec)(void *blk, unsigned int ec);
Dcthw20k2.c860 static int dai_srt_set_ec(void *blk, unsigned int ec) in dai_srt_set_ec() argument
864 set_field(&ctl->srt, SRTCTL_EC, ec ? 1 : 0); in dai_srt_set_ec()
Dcthw20k1.c870 static int dai_srt_set_ec(void *blk, unsigned int ec) in dai_srt_set_ec() argument
874 set_field(&ctl->srtctl, SRTCTL_EC, ec ? 1 : 0); in dai_srt_set_ec()
/linux-4.4.14/drivers/video/fbdev/omap2/dss/
Dhdmi5_core.c427 unsigned itc, ec, q, sc; in hdmi_core_write_avi_infoframe() local
448 ec = (ptr[2] >> 4) & 0x7; in hdmi_core_write_avi_infoframe()
465 (itc << 7) | (ec << 4) | (q << 2) | (sc << 0)); in hdmi_core_write_avi_infoframe()
/linux-4.4.14/drivers/hwmon/
Dasus_atk0110.c1050 union acpi_object *ec; in atk_ec_present() local
1065 ec = NULL; in atk_ec_present()
1078 ec = obj; in atk_ec_present()
1083 ret = (ec != NULL); in atk_ec_present()
/linux-4.4.14/Documentation/zh_CN/
Doops-tracing.txt175 Aug 29 09:51:01 blizard kernel: Code: c7 00 05 00 00 00 eb 08 90 90 90 90 90 90 90 90 89 ec 5d c3
/linux-4.4.14/drivers/net/fddi/skfp/
Dfplustm.c335 u_long *ec ; in mac_counter_init() local
346 ec = (u_long *)&smc->hw.fp.err_stats ; in mac_counter_init()
348 *ec++ = 0L ; in mac_counter_init()
/linux-4.4.14/drivers/net/ethernet/marvell/
Dmv643xx_eth.c1634 mv643xx_eth_get_coalesce(struct net_device *dev, struct ethtool_coalesce *ec) in mv643xx_eth_get_coalesce() argument
1638 ec->rx_coalesce_usecs = get_rx_coal(mp); in mv643xx_eth_get_coalesce()
1639 ec->tx_coalesce_usecs = get_tx_coal(mp); in mv643xx_eth_get_coalesce()
1645 mv643xx_eth_set_coalesce(struct net_device *dev, struct ethtool_coalesce *ec) in mv643xx_eth_set_coalesce() argument
1649 set_rx_coal(mp, ec->rx_coalesce_usecs); in mv643xx_eth_set_coalesce()
1650 set_tx_coal(mp, ec->tx_coalesce_usecs); in mv643xx_eth_set_coalesce()
/linux-4.4.14/drivers/scsi/csiostor/
Dcsio_hw.h266 uint8_t ec[EC_LEN + 1]; member
Dcsio_hw.c305 int i, ret, ec, sn, addr; in csio_hw_get_vpd_params() local
361 FIND_VPD_KW(ec, "EC"); in csio_hw_get_vpd_params()
367 memcpy(p->ec, vpd + ec, EC_LEN); in csio_hw_get_vpd_params()
368 s = strstrip(p->ec); in csio_hw_get_vpd_params()
/linux-4.4.14/drivers/zorro/
Dzorro.ids56 03ec Cardco Ltd.
173 07ec Xebec
/linux-4.4.14/drivers/tty/vt/
Dcp437.uni166 0x8d U+00ec
/linux-4.4.14/drivers/staging/octeon-usb/
Docteon-hcd.c1795 usbc_hcchar.s.ec = 1; in cvmx_usb_start_channel()
1797 usbc_hcchar.s.ec = 1; in cvmx_usb_start_channel()
1799 usbc_hcchar.s.ec = 3; in cvmx_usb_start_channel()
1801 usbc_hcchar.s.ec = pipe->multi_count; in cvmx_usb_start_channel()
Docteon-hcd.h1035 __BITFIELD_FIELD(uint32_t ec : 2,
/linux-4.4.14/arch/m68k/ifpsp060/
Ditest.sa107 dc.l $fffc66ff,$000048ec,$4aa80008,$66ff0000
139 dc.l $b04166ff,$000046ec,$61ff0000,$46b84a00
171 dc.l $4a0066ff,$000044ec,$52aeff78,$4cfb3fff
427 dc.l $4a0066ff,$000034ec,$52aeff78,$4cfb3fff
603 dc.l $4a0066ff,$000029ec,$52aeff78,$4cfb3fff
875 dc.l $4a0066ff,$000018ec,$52aeff78,$60040000
Dfplsp.sa194 dc.l $000067ec,$600661ff,$00004948,$4cee0303
221 dc.l $49c46030,$0c010001,$660861ff,$000067ec
1066 dc.l $00003ffc,$0000ef88,$843264ec,$efaa0000
1430 dc.l $3f624924,$928bccff,$3f899999,$999995ec
/linux-4.4.14/Documentation/
DBUG-HUNTING169 > 00 00 55 57 56 53 81 ec bc 00 00 00 8b ac 24 d0 00 00 00 8b 5d 08
Ddynamic-debug-howto.txt245 dyndbg="file ec.c +p"
Doops-tracing.txt211 Aug 29 09:51:01 blizard kernel: Code: c7 00 05 00 00 00 eb 08 90 90 90 90 90 90 90 90 89 ec 5d c3
/linux-4.4.14/drivers/net/ethernet/ibm/ehea/
Dehea_main.c1164 u8 ec; in ehea_parse_eqe() local
1169 ec = EHEA_BMASK_GET(NEQE_EVENT_CODE, eqe); in ehea_parse_eqe()
1174 switch (ec) { in ehea_parse_eqe()
1238 netdev_err(dev, "unknown event code %x, eqe=0x%llX\n", ec, eqe); in ehea_parse_eqe()
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4/
Dt4_hw.c2583 int ec, sn, pn, na; in t4_get_raw_vpd_params() local
2656 FIND_VPD_KW(ec, "EC"); in t4_get_raw_vpd_params()
2664 memcpy(p->ec, vpd + ec, EC_LEN); in t4_get_raw_vpd_params()
2665 strim(p->ec); in t4_get_raw_vpd_params()
Dcxgb4.h283 u8 ec[EC_LEN + 1]; member
/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/
Damdgpu.h2235 #define amdgpu_asic_set_vce_clocks(adev, ev, ec) (adev)->asic_funcs->set_vce_clocks((adev), (ev), ( argument
/linux-4.4.14/Documentation/video4linux/
Dgspca.txt320 sonixj 0c45:60ec SN9C105+MO4000
/linux-4.4.14/tools/perf/util/intel-pt-decoder/
Dx86-opcode-map.txt295 ec: IN AL,DX
585 ec: paddsb Pq,Qq | vpaddsb Vx,Hx,Wx (66),(v1)
/linux-4.4.14/arch/x86/lib/
Dx86-opcode-map.txt295 ec: IN AL,DX
585 ec: paddsb Pq,Qq | vpaddsb Vx,Hx,Wx (66),(v1)
/linux-4.4.14/arch/mips/include/asm/octeon/
Dcvmx-pciercx-defs.h1508 uint32_t ec:1; member
1512 uint32_t ec:1;
/linux-4.4.14/drivers/gpu/drm/radeon/
Dradeon.h2761 #define radeon_set_vce_clocks(rdev, ev, ec) (rdev)->asic->pm.set_vce_clocks((rdev), (ev), (ec)) argument
/linux-4.4.14/Documentation/s390/
Ds390dbf.txt601 00 00964419409:440761 2 - 00 88023ec
DDebugging390.txt625 400390: ff ff ff ec .long 0xffffffec
/linux-4.4.14/Documentation/networking/
Dfilter.txt480 [ 3389.935847] JIT code: 00000000: 55 48 89 e5 48 83 ec 60 48 89 5d f8 44 8b 4f 68
524 48 83 ec 60
/linux-4.4.14/Documentation/laptops/
Dthinkpad-acpi.txt914 Instead the EC can be accessed through /sys/kernel/debug/ec with
916 ftp://ftp.suse.com/pub/people/trenn/sources/ec
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb3/
Dt3_hw.c580 VPD_ENTRY(ec, 16); /* EC level */
/linux-4.4.14/include/linux/mlx5/
Dmlx5_ifc.h2279 u8 ec[0x1]; member