Searched refs:plc (Results 1 – 8 of 8) sorted by relevance
/openbmc/linux/drivers/net/fddi/skfp/ |
H A D | pcmplc.c | 381 memset((char *)&phy->plc,0,sizeof(struct s_plc)) ; in pcm_init() 382 phy->plc.p_state = PS_OFF ; in pcm_init() 666 struct s_plc *plc ; in pcm_fsm() local 672 plc = &phy->plc ; in pcm_fsm() 826 plc->p_state = PS_BIT3 ; in pcm_fsm() 827 plc->p_bits = 3 ; in pcm_fsm() 828 plc->p_start = 0 ; in pcm_fsm() 850 switch (plc->p_state) { in pcm_fsm() 855 plc->p_state = PS_BIT4 ; in pcm_fsm() 856 plc->p_bits = 1 ; in pcm_fsm() [all …]
|
H A D | drvfbi.c | 433 void pcm_state_change(struct s_smc *smc, int plc, int p_state) in pcm_state_change() argument 440 DRV_PCM_STATE_CHANGE(smc,plc,p_state) ; in pcm_state_change()
|
/openbmc/linux/drivers/staging/nvec/ |
H A D | nvec_power.c | 75 char plc[30]; member 133 if (res->plc[0] & 1) { in nvec_power_bat_notifier() 141 switch ((res->plc[0] >> 1) & 3) { in nvec_power_bat_notifier() 164 power->bat_cap = res->plc[1]; in nvec_power_bat_notifier() 196 memcpy(power->bat_manu, &res->plc, res->length - 2); in nvec_power_bat_notifier() 200 memcpy(power->bat_model, &res->plc, res->length - 2); in nvec_power_bat_notifier() 204 memcpy(power->bat_type, &res->plc, res->length - 2); in nvec_power_bat_notifier()
|
/openbmc/qemu/hw/ppc/ |
H A D | pnv_lpc.c | 691 PnvLpcClass *plc = PNV_LPC_GET_CLASS(dev); in pnv_lpc_power8_realize() local 694 plc->parent_realize(dev, &local_err); in pnv_lpc_power8_realize() 710 PnvLpcClass *plc = PNV_LPC_CLASS(klass); in pnv_lpc_power8_class_init() local 717 &plc->parent_realize); in pnv_lpc_power8_class_init() 733 PnvLpcClass *plc = PNV_LPC_GET_CLASS(dev); in pnv_lpc_power9_realize() local 738 plc->parent_realize(dev, &local_err); in pnv_lpc_power9_realize() 755 PnvLpcClass *plc = PNV_LPC_CLASS(klass); in pnv_lpc_power9_class_init() local 760 &plc->parent_realize); in pnv_lpc_power9_class_init()
|
/openbmc/linux/drivers/pci/controller/dwc/ |
H A D | pcie-designware.c | 737 u32 lnkcap, lwsc, plc; in dw_pcie_link_set_max_link_width() local 744 plc = dw_pcie_readl_dbi(pci, PCIE_PORT_LINK_CONTROL); in dw_pcie_link_set_max_link_width() 745 plc &= ~PORT_LINK_FAST_LINK_MODE; in dw_pcie_link_set_max_link_width() 746 plc &= ~PORT_LINK_MODE_MASK; in dw_pcie_link_set_max_link_width() 753 plc |= PORT_LINK_MODE_1_LANES; in dw_pcie_link_set_max_link_width() 757 plc |= PORT_LINK_MODE_2_LANES; in dw_pcie_link_set_max_link_width() 761 plc |= PORT_LINK_MODE_4_LANES; in dw_pcie_link_set_max_link_width() 765 plc |= PORT_LINK_MODE_8_LANES; in dw_pcie_link_set_max_link_width() 772 dw_pcie_writel_dbi(pci, PCIE_PORT_LINK_CONTROL, plc); in dw_pcie_link_set_max_link_width()
|
/openbmc/linux/drivers/net/fddi/skfp/h/ |
H A D | skfbiinc.h | 84 #define DRV_PCM_STATE_CHANGE(smc,plc,p_state) /* nothing */ argument
|
H A D | smc.h | 234 struct s_plc plc ; member
|
H A D | cmtdef.h | 561 void pcm_state_change(struct s_smc *smc, int plc, int p_state);
|