Home
last modified time | relevance | path

Searched refs:psm (Results 1 – 18 of 18) sorted by relevance

/linux-6.1.9/drivers/input/serio/
Dps2mult.c64 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
81 spin_lock_irqsave(&psm->lock, flags); in ps2mult_serio_write()
83 if (psm->out_port != port) in ps2mult_serio_write()
84 ps2mult_select_port(psm, port); in ps2mult_serio_write()
96 spin_unlock_irqrestore(&psm->lock, flags); in ps2mult_serio_write()
103 struct ps2mult *psm = serio_get_drvdata(serio->parent); in ps2mult_serio_start() local
107 spin_lock_irqsave(&psm->lock, flags); in ps2mult_serio_start()
[all …]
/linux-6.1.9/drivers/net/wireless/intersil/p54/
Dfwio.c596 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-6.1.9/Documentation/devicetree/bindings/phy/
Dcdns,dphy.yaml28 - const: psm
54 clock-names = "psm", "pll_ref";
Dphy-rockchip-typec.txt34 - rockchip,external-psm
/linux-6.1.9/net/bluetooth/
Dl2cap_core.c188 static struct l2cap_chan *__l2cap_global_chan_by_addr(__le16 psm, bdaddr_t *src, in __l2cap_global_chan_by_addr() argument
200 if (c->sport == psm && !bacmp(&c->src, src)) in __l2cap_global_chan_by_addr()
206 int l2cap_add_psm(struct l2cap_chan *chan, bdaddr_t *src, __le16 psm) in l2cap_add_psm() argument
212 if (psm && __l2cap_global_chan_by_addr(psm, src, chan->src_type)) { in l2cap_add_psm()
217 if (psm) { in l2cap_add_psm()
218 chan->psm = psm; in l2cap_add_psm()
219 chan->sport = psm; in l2cap_add_psm()
238 chan->psm = cpu_to_le16(p); in l2cap_add_psm()
586 __le16_to_cpu(chan->psm), chan->dcid); in __l2cap_chan_add()
884 if (chan->psm == cpu_to_le16(L2CAP_PSM_3DSP)) { in l2cap_get_auth_type()
[all …]
Dl2cap_sock.c56 static int l2cap_validate_bredr_psm(u16 psm) in l2cap_validate_bredr_psm() argument
59 if ((psm & 0x0101) != 0x0001) in l2cap_validate_bredr_psm()
63 if (psm < L2CAP_PSM_DYN_START && !capable(CAP_NET_BIND_SERVICE)) in l2cap_validate_bredr_psm()
69 static int l2cap_validate_le_psm(u16 psm) in l2cap_validate_le_psm() argument
72 if (psm > L2CAP_PSM_LE_DYN_END) in l2cap_validate_le_psm()
76 if (psm < L2CAP_PSM_LE_DYN_START && !capable(CAP_NET_BIND_SERVICE)) in l2cap_validate_le_psm()
120 __u16 psm = __le16_to_cpu(la.l2_psm); in l2cap_sock_bind() local
123 err = l2cap_validate_bredr_psm(psm); in l2cap_sock_bind()
125 err = l2cap_validate_le_psm(psm); in l2cap_sock_bind()
168 if (chan->psm && bdaddr_type_is_le(chan->src_type) && in l2cap_sock_bind()
[all …]
/linux-6.1.9/include/net/bluetooth/
Dl2cap.h244 __le16 psm; member
408 __le16 psm; member
475 __le16 psm; member
500 __le16 psm; member
553 __le16 psm; member
978 int l2cap_add_psm(struct l2cap_chan *chan, bdaddr_t *src, __le16 psm);
983 int l2cap_chan_connect(struct l2cap_chan *chan, __le16 psm, u16 cid,
Dbluetooth.h411 __le16 psm; member
/linux-6.1.9/drivers/net/wireless/ath/carl9170/
Dfwcmd.h238 struct carl9170_psm psm; member
328 struct carl9170_psm psm; member
Dcmd.c220 cmd->psm.state = cpu_to_le32(state); in carl9170_powersave()
Drx.c81 ps = le32_to_cpu(rsp->psm.state); in carl9170_handle_ps()
/linux-6.1.9/drivers/net/wireless/marvell/libertas/
Dcmd.c907 struct cmd_ds_802_11_ps_mode *psm = (void *)cmdnode->cmdbuf; in lbs_queue_cmd() local
909 if (psm->action == cpu_to_le16(PS_MODE_ACTION_EXIT_PS)) { in lbs_queue_cmd()
1305 struct cmd_ds_802_11_ps_mode *psm = (void *)cmd; in lbs_execute_next_command() local
1309 psm->action); in lbs_execute_next_command()
1310 if (psm->action != in lbs_execute_next_command()
/linux-6.1.9/drivers/net/wireless/st/cw1200/
Dwsm.h751 u8 psm; member
976 u8 psm; /* WSM_PSM_... */ member
Dwsm.c997 arg.psm = WSM_GET8(buf); in wsm_scan_complete_indication()
/linux-6.1.9/drivers/net/wireless/
Drayctl.h542 UCHAR psm; member
Dray_cs.c127 static int psm; variable
165 module_param(psm, int, 0);
617 if (psm) in init_startup_params()
/linux-6.1.9/Documentation/networking/device_drivers/wifi/
Dray_cs.rst122 psm integer 0 = continuously active,
/linux-6.1.9/drivers/scsi/cxlflash/
Dvlun.c866 static inline u8 get_num_ports(u32 psm) in get_num_ports() argument
871 return bits[psm & 0xf]; in get_num_ports()