/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/drivers/net/wireless/intersil/p54/ |
H A D | fwio.c | 596 struct p54_psm *psm; in p54_set_ps() local 607 skb = p54_alloc_skb(priv, P54_HDR_FLAG_CONTROL_OPSET, sizeof(*psm), in p54_set_ps() 612 psm = skb_put(skb, sizeof(*psm)); in p54_set_ps() 613 psm->mode = cpu_to_le16(mode); in p54_set_ps() 614 psm->aid = cpu_to_le16(priv->aid); in p54_set_ps() 615 for (i = 0; i < ARRAY_SIZE(psm->intervals); i++) { in p54_set_ps() 616 psm->intervals[i].interval = in p54_set_ps() 618 psm->intervals[i].periods = cpu_to_le16(1); in p54_set_ps() 621 psm->beacon_rssi_skip_max = 200; in p54_set_ps() 622 psm->rssi_delta_threshold = 0; in p54_set_ps() [all …]
|
/linux/net/bluetooth/ |
H A D | l2cap_core.c | 168 static struct l2cap_chan *__l2cap_global_chan_by_addr(__le16 psm, bdaddr_t *src, in __l2cap_global_chan_by_addr() argument 180 if (c->sport == psm && !bacmp(&c->src, src)) in __l2cap_global_chan_by_addr() 186 int l2cap_add_psm(struct l2cap_chan *chan, bdaddr_t *src, __le16 psm) in l2cap_add_psm() argument 192 if (psm && __l2cap_global_chan_by_addr(psm, src, chan->src_type)) { in l2cap_add_psm() 197 if (psm) { in l2cap_add_psm() 198 chan->psm = psm; in l2cap_add_psm() 199 chan->sport = psm; in l2cap_add_psm() 218 chan->psm = cpu_to_le16(p); in l2cap_add_psm() 592 BT_DBG("conn %p, psm 0x%2.2x, dcid 0x%4.4x", conn, in __l2cap_chan_add() 593 __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";
|
H A D | phy-rockchip-typec.txt | 34 - rockchip,external-psm
|
/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 */
|
/linux/drivers/net/wireless/intel/iwlwifi/fw/api/ |
H A D | power.h | 118 * PSM transition - legacy PM 120 * PSM transition - legacy PM 183 * PSM transition - legacy PM 185 * PSM transition - legacy PM 190 * PSM transition - uAPSD 192 * PSM transition - uAPSD
|
/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/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/regulator/ |
H A D | richtek,rt6190.yaml | 45 0: PSM mode (light load Power Saving Mode)
|
/linux/Documentation/devicetree/bindings/display/bridge/ |
H A D | cdns,dsi.yaml | 31 - description: PSM clock, used by the IP
|
/linux/drivers/iio/light/ |
H A D | veml6030.c | 924 * Set ALS gain to 1/8, integration time to 100 ms, PSM to mode 2, 945 return dev_err_probe(dev, ret, "can't setup default PSM\n"); in veml6030_hw_init() 979 * channel enabled, ALS channel interrupt, PSM enabled, 1001 return dev_err_probe(dev, ret, "can't setup default PSM\n"); in veml6035_hw_init()
|