Searched refs:lec (Results 1 - 13 of 13) sorted by relevance

/linux-4.4.14/net/atm/
H A DMakefile13 obj-$(CONFIG_ATM_LANE) += lec.o
H A Dmpc.h16 struct net_device *dev; /* lec in question */
H A Dmpc.c33 #include "lec.h"
274 sprintf(name, "lec%d", itf); find_lec_by_itfnum()
307 * to the lec underneath us are now being monitored and
330 /* Lets not nullify lec device's dev->hard_start_xmit */ stop_mpc()
362 * lec device calls this via its netdev_priv(dev)->lane2_ops
364 * We fill in the pointer above when we see a LANE2 lec initializing
370 * We give our lec a pointer to this function and when the
371 * lec sees a TLV it uses the pointer to call this function.
821 /* NULL if there was no lec */ atm_mpoa_mpoad_attach()
828 if (mpc->dev) { /* check if the lec is LANE2 capable */ atm_mpoa_mpoad_attach()
1010 if (dev->name == NULL || strncmp(dev->name, "lec", 3)) mpoa_event_listener()
1011 return NOTIFY_DONE; /* we are only interested in lec:s */ mpoa_event_listener()
1014 case NETDEV_REGISTER: /* a new lec device was allocated */ mpoa_event_listener()
1034 /* the lec device was deallocated */ mpoa_event_listener()
H A Dlec.c2 * lec.c: Lan Emulation driver
44 #include "lec.h"
496 .type = "lec",
745 snprintf(dev_lec[i]->name, IFNAMSIZ, "lec%d", i); lecd_attach()
1055 p = proc_create("lec", S_IRUGO, atm_proc_root, &lec_seq_fops); lane_module_init()
1057 pr_err("Unable to initialize /proc/net/atm/lec\n"); lane_module_init()
1063 pr_info("lec.c: initialized\n"); lane_module_init()
1071 remove_proc_entry("lec", atm_proc_root); lane_module_cleanup()
1091 * lec will be used.
1164 pr_info("lec.c: lane2_associate_req() failed\n"); lane2_associate_req()
H A Dioctl.c159 request_module("lec"); do_vcc_ioctl()
/linux-4.4.14/include/uapi/linux/
H A Datmlec.h16 /* ATM lec daemon control socket */
/linux-4.4.14/drivers/net/can/cc770/
H A Dcc770.c519 u8 lec; cc770_err() local
561 lec = status & STAT_LEC_MASK; cc770_err()
562 if (lec < 7 && lec > 0) { cc770_err()
563 if (lec == STAT_LEC_ACK) { cc770_err()
567 switch (lec) { cc770_err()
/linux-4.4.14/drivers/net/can/c_can/
H A Dc_can.c175 /* c_can lec values */
579 /* set a `lec` value so that we can check for updates later */ c_can_chip_config()
941 * early exit if no lec update or no error. c_can_handle_bus_err()
942 * no lec update means that no CAN bus event has been detected c_can_handle_bus_err()
1040 /* handle lec errors on the bus */ c_can_poll()
/linux-4.4.14/drivers/net/can/
H A Dpch_can.c495 u32 errc, lec; pch_can_error() local
538 lec = status & PCH_LEC_ALL; pch_can_error()
539 switch (lec) { pch_can_error()
/linux-4.4.14/drivers/platform/x86/
H A Dthinkpad_acpi.c6169 u8 lec = 0; tpacpi_brightness_checkpoint_nvram() local
6181 if (unlikely(!acpi_ec_read(TP_EC_BACKLIGHT, &lec))) tpacpi_brightness_checkpoint_nvram()
6183 lec &= TP_EC_BACKLIGHT_LVLMSK; tpacpi_brightness_checkpoint_nvram()
6186 if (lec != ((b_nvram & TP_NVRAM_MASK_LEVEL_BRIGHTNESS) tpacpi_brightness_checkpoint_nvram()
6191 b_nvram |= lec; tpacpi_brightness_checkpoint_nvram()
6195 (unsigned int) lec, (unsigned int) b_nvram); tpacpi_brightness_checkpoint_nvram()
6199 (unsigned int) lec, (unsigned int) b_nvram); tpacpi_brightness_checkpoint_nvram()
6209 u8 lec = 0; tpacpi_brightness_get_raw() local
6217 if (unlikely(!acpi_ec_read(TP_EC_BACKLIGHT, &lec))) tpacpi_brightness_get_raw()
6219 *status = lec; tpacpi_brightness_get_raw()
6230 u8 lec = 0; tpacpi_brightness_set_ec() local
6232 if (unlikely(!acpi_ec_read(TP_EC_BACKLIGHT, &lec))) tpacpi_brightness_set_ec()
6236 (lec & TP_EC_BACKLIGHT_CMDMSK) | tpacpi_brightness_set_ec()
6774 u8 lec = 0; tpacpi_volume_checkpoint_nvram() local
6796 if (unlikely(!acpi_ec_read(TP_EC_AUDIO, &lec))) tpacpi_volume_checkpoint_nvram()
6798 lec &= ec_mask; tpacpi_volume_checkpoint_nvram()
6801 if (lec != (b_nvram & ec_mask)) { tpacpi_volume_checkpoint_nvram()
6804 b_nvram |= lec; tpacpi_volume_checkpoint_nvram()
6808 (unsigned int) lec, (unsigned int) b_nvram); tpacpi_volume_checkpoint_nvram()
6812 (unsigned int) lec, (unsigned int) b_nvram); tpacpi_volume_checkpoint_nvram()
/linux-4.4.14/drivers/atm/
H A Dambassador.h469 number, lec-id is NOT yet supported. */
/linux-4.4.14/net/bridge/
H A Dbr_if.c55 if (!strncmp(dev->name, "lec", 3)) port_cost()
/linux-4.4.14/drivers/net/can/m_can/
H A Dm_can.c85 /* m_can lec values */
700 /* handle lec errors on the bus */ m_can_handle_bus_errors()

Completed in 400 milliseconds