/linux/drivers/input/serio/ |
H A D | ps2mult.c | 64 static void ps2mult_select_port(struct ps2mult *psm, struct ps2mult_port *port) in ps2mult_select_port() argument 66 struct serio *mx_serio = psm->mx_serio; in ps2mult_select_port() 69 psm->out_port = port; in ps2mult_select_port() 76 struct ps2mult *psm = serio_get_drvdata(mx_port); in ps2mult_serio_write() local 80 guard(spinlock_irqsave)(&psm->lock); in ps2mult_serio_write() 82 if (psm->out_port != port) in ps2mult_serio_write() 83 ps2mult_select_port(psm, port); in ps2mult_serio_write() 100 struct ps2mult *psm = serio_get_drvdata(serio->parent); in ps2mult_serio_start() local 103 guard(spinlock_irqsave)(&psm->lock); in ps2mult_serio_start() 112 struct ps2mult *psm = serio_get_drvdata(serio->parent); in ps2mult_serio_stop() local [all …]
|
/linux/drivers/media/tuners/ |
H A D | tda18218_priv.h | 21 #define R08_PSM1 0x08 /* PSM byte 1 */ 42 #define R1D_PSM2 0x1d /* PSM byte 2 */ 43 #define R1E_PSM3 0x1e /* PSM byte 3 */ 44 #define R1F_PSM4 0x1f /* PSM byte 4 */
|
/linux/net/bluetooth/ |
H A D | l2cap_core.c | 164 static struct l2cap_chan *__l2cap_global_chan_by_addr(__le16 psm, bdaddr_t *src, in __l2cap_global_chan_by_addr() argument 176 if (c->sport == psm && !bacmp(&c->src, src)) in __l2cap_global_chan_by_addr() 182 int l2cap_add_psm(struct l2cap_chan *chan, bdaddr_t *src, __le16 psm) in l2cap_add_psm() argument 188 if (psm && __l2cap_global_chan_by_addr(psm, src, chan->src_type)) { in l2cap_add_psm() 193 if (psm) { in l2cap_add_psm() 194 chan->psm = psm; in l2cap_add_psm() 195 chan->sport = psm; in l2cap_add_psm() 214 chan->psm = cpu_to_le16(p); in l2cap_add_psm() 588 BT_DBG("conn %p, psm 0x%2.2x, dcid 0x%4.4x", conn, in __l2cap_chan_add() 589 __le16_to_cpu(chan->psm), chan->dcid); in __l2cap_chan_add() [all …]
|
H A D | l2cap_sock.c | 57 static int l2cap_validate_bredr_psm(u16 psm) in l2cap_validate_bredr_psm() argument 59 /* PSM must be odd and lsb of upper byte must be 0 */ in l2cap_validate_bredr_psm() 60 if ((psm & 0x0101) != 0x0001) in l2cap_validate_bredr_psm() 64 if (psm < L2CAP_PSM_DYN_START && !capable(CAP_NET_BIND_SERVICE)) in l2cap_validate_bredr_psm() 70 static int l2cap_validate_le_psm(u16 psm) in l2cap_validate_le_psm() argument 73 if (psm > L2CAP_PSM_LE_DYN_END) in l2cap_validate_le_psm() 76 /* Restrict fixed, SIG assigned PSM values to CAP_NET_BIND_SERVICE */ in l2cap_validate_le_psm() 77 if (psm < L2CAP_PSM_LE_DYN_START && !capable(CAP_NET_BIND_SERVICE)) in l2cap_validate_le_psm() 121 __u16 psm = __le16_to_cpu(la.l2_psm); in l2cap_sock_bind() local 124 err = l2cap_validate_bredr_psm(psm); in l2cap_sock_bind() [all …]
|
/linux/drivers/net/wireless/ti/wlcore/ |
H A D | ps.c | 24 wl1271_debug(DEBUG_PSM, "entering psm (mode=%d,timeout=%u)", in wl1271_ps_set_mode() 53 wl1271_debug(DEBUG_PSM, "leaving psm"); in wl1271_ps_set_mode() 126 wl1271_debug(DEBUG_PSM, "start mac80211 PSM on hlid %d pkts %d " in wl12xx_ps_link_start() 157 wl1271_debug(DEBUG_PSM, "end mac80211 PSM on hlid %d", hlid); in wl12xx_ps_link_end()
|
H A D | conf.h | 699 * Specifies the maximum number of times to try PSM entry if it fails 707 * Specifies the maximum number of times to try PSM exit if it fails 715 * Specifies the maximum number of times to try transmit the PSM entry 716 * null-func frame for each PSM entry attempt 729 * Specifies whether dynamic PS should be disabled and PSM forced.
|
H A D | scan.h | 37 /* scan even if we fail to enter psm */
|
H A D | debugfs.c | 281 /* In case we're already in PSM, trigger it again to set new timeout in dynamic_ps_timeout_write() 349 /* In case we're already in PSM, trigger it again to switch mode in forced_ps_write() 671 * take effect on the next time we enter psm. in dtim_interval_write() 787 * take effect on the next time we enter psm. in beacon_interval_write()
|
/linux/drivers/net/wireless/ti/wl12xx/ |
H A D | conf.h | 75 * in WLAN PSM / BT master/slave BR 84 * in WLAN PSM / BT master/slave EDR 162 * Defines whether the SG will force WLAN host to enter/exit PSM 164 * Range: 1 - SG can force, 0 - host handles PSM
|
/linux/Documentation/devicetree/bindings/phy/ |
H A D | cdns,dphy.yaml | 28 - const: psm 54 clock-names = "psm", "pll_ref";
|
/linux/include/net/bluetooth/ |
H A D | l2cap.h | 235 __le16 psm; member 246 /* protocol/service multiplexer (PSM) */ 441 __le16 psm; member 468 __le16 psm; 523 __le16 psm; member 950 int l2cap_add_psm(struct l2cap_chan *chan, bdaddr_t *src, __le16 psm); 955 int l2cap_chan_connect(struct l2cap_chan *chan, __le16 psm, u16 cid,
|
/linux/drivers/net/wireless/ti/wl1251/ |
H A D | ps.c | 98 wl1251_debug(DEBUG_PSM, "entering psm"); in wl1251_ps_set_mode() 137 wl1251_debug(DEBUG_PSM, "leaving psm"); in wl1251_ps_set_mode()
|
H A D | wl1251.h | 358 /* PSM mode requested */ 361 /* retry counter for PSM entries */
|
H A D | event.c | 49 wl1251_debug(DEBUG_PSM, "PSM entry failed"); in wl1251_event_ps_report()
|
/linux/drivers/net/wireless/ath/carl9170/ |
H A D | fwdesc.h | 54 /* Firmware PSM support | CARL9170_CMD_PSM */ 63 /* Firmware supports PSM in the 5GHZ Band */
|
H A D | fwcmd.h | 238 struct carl9170_psm psm; member 328 struct carl9170_psm psm; member
|
/linux/include/uapi/rdma/hfi/ |
H A D | hfi1_ioctl.h | 77 /* 128bit UUID passed in by PSM. */ 129 * The special QP (queue pair) value that identifies PSM
|
/linux/drivers/infiniband/hw/hfi1/ |
H A D | aspm.c | 137 /* PSM contexts are open */ in __aspm_ctx_disable() 182 * Disable interrupt processing for verbs contexts when PSM or VNIC contexts
|
H A D | sdma_txreq.h | 38 * The user (Verbs or PSM) may overload this structure with fields
|
/linux/drivers/phy/cadence/ |
H A D | cdns-dphy.c | 381 * Configure the internal PSM clk divider so that the DPHY has a in cdns_dphy_power_on() 386 dev_err(&dphy->phy->dev, "Failed to setup PSM with error %d\n", ret); in cdns_dphy_power_on() 487 dphy->psm_clk = devm_clk_get(&pdev->dev, "psm"); in cdns_dphy_probe()
|
/linux/Documentation/devicetree/bindings/regulator/ |
H A D | richtek,rt6190.yaml | 45 0: PSM mode (light load Power Saving Mode)
|
/linux/drivers/net/ethernet/marvell/ |
H A D | sky2.h | 204 PSM_CONFIG_REG1_EN_GPHY_INT_PSM = 1<<20, /* Enable GPHY INT for PSM */ 205 PSM_CONFIG_REG1_DIS_PSM_TIMER = 1<<19, /* Disable PSM Timer */ 223 PSM_CONFIG_REG1_PSM_PCIE_L1_POL = 1<<18, /* PCIE L1 Event Polarity for PSM */ 224 PSM_CONFIG_REG1_TIMER_STAT = 1<<17, /* PSM Timer Status */ 232 PSM_CONFIG_REG1_DIS_LOADER = 1<<9, /* Disable Loader SM after PSM Goes back to IDLE */ 233 PSM_CONFIG_REG1_DO_PWDN = 1<<8, /* Do Power Down, Start PSM Scheme */ 234 PSM_CONFIG_REG1_DIS_PIG = 1<<7, /* Disable Plug-in-Go SM after PSM Goes back to IDLE */ 235 PSM_CONFIG_REG1_DIS_PERST = 1<<6, /* Disable Internal PCIe Reset after PSM Goes back to IDLE */ 236 PSM_CONFIG_REG1_EN_REG18_PD = 1<<5, /* Enable REG18 Power Down for PSM */ 237 PSM_CONFIG_REG1_EN_PSM_LOAD = 1<<4, /* Disable EEPROM Loader after PSM Goes back to IDLE */ [all …]
|
/linux/Documentation/devicetree/bindings/display/bridge/ |
H A D | cdns,dsi.yaml | 31 - description: PSM clock, used by the IP
|
/linux/drivers/net/wireless/marvell/libertas/ |
H A D | cmd.c | 842 struct cmd_ds_802_11_ps_mode *psm = (void *)cmdnode->cmdbuf; in lbs_queue_cmd() local 844 if (psm->action == cpu_to_le16(PS_MODE_ACTION_EXIT_PS)) { in lbs_queue_cmd() 1245 struct cmd_ds_802_11_ps_mode *psm = (void *)cmd; in lbs_execute_next_command() local 1249 psm->action); in lbs_execute_next_command() 1250 if (psm->action != in lbs_execute_next_command()
|
/linux/arch/powerpc/platforms/52xx/ |
H A D | lite5200.c | 134 * USB Rh descriptor A: NPS = 0, PSM = 0 */ in lite5200_suspend_prepare()
|