Home
last modified time | relevance | path

Searched full:smb (Results 1 – 25 of 257) sorted by relevance

1234567891011

/kernel/linux/linux-6.6/drivers/power/supply/
Dsmb347-charger.c142 * @id: SMB charger ID
145 * @irq_unsupported: is interrupt unsupported by SMB hardware
146 * @usb_vbus_enabled: is USB VBUS powered by SMB charger
301 * @smb: pointer to smb347 charger instance
307 static int smb347_update_ps_status(struct smb347_charger *smb) in smb347_update_ps_status() argument
314 ret = regmap_read(smb->regmap, IRQSTAT_E, &val); in smb347_update_ps_status()
322 if (smb->use_mains) in smb347_update_ps_status()
324 if (smb->use_usb) in smb347_update_ps_status()
327 ret = smb->mains_online != dc || smb->usb_online != usb; in smb347_update_ps_status()
328 smb->mains_online = dc; in smb347_update_ps_status()
[all …]
/kernel/linux/linux-5.10/drivers/power/supply/
Dsmb347-charger.c137 * @id: SMB charger ID
141 * @irq_unsupported: is interrupt unsupported by SMB hardware
292 * @smb: pointer to smb347 charger instance
298 static int smb347_update_ps_status(struct smb347_charger *smb) in smb347_update_ps_status() argument
305 ret = regmap_read(smb->regmap, IRQSTAT_E, &val); in smb347_update_ps_status()
313 if (smb->use_mains) in smb347_update_ps_status()
315 if (smb->use_usb) in smb347_update_ps_status()
318 ret = smb->mains_online != dc || smb->usb_online != usb; in smb347_update_ps_status()
319 smb->mains_online = dc; in smb347_update_ps_status()
320 smb->usb_online = usb; in smb347_update_ps_status()
[all …]
/kernel/linux/linux-6.6/drivers/hwtracing/coresight/
Dultrasoc-smb.h13 /* Offset of SMB global registers */
18 /* Offset of SMB logical buffer registers */
65 * Real-time events are used in SMB driver, which needs to get the buffer
87 * struct smb_data_buffer - Details of the buffer used by SMB
88 * @buf_base: Memory mapped base address of SMB.
89 * @buf_hw_base: SMB buffer start Physical base address, only used 32bits.
91 * @data_size: Size of the available trace data for SMB.
103 * struct smb_drv_data - specifics associated to an SMB component
104 * @base: Memory mapped base address for SMB component.
106 * @sdb: Data buffer for SMB.
[all …]
/kernel/linux/linux-6.6/fs/smb/server/
Dsmb_common.c37 "\2SMB 2.1",
43 "\2SMB 2.???",
52 "\2SMB 2.1",
58 "\2SMB 3.0",
64 "\2SMB 3.02",
70 "\2SMB 3.1.1",
108 ksmbd_debug(SMB, "selected %s dialect idx = %d\n", in ksmbd_lookup_protocol_idx()
118 ksmbd_debug(SMB, "selected %s dialect idx = %d\n", in ksmbd_lookup_protocol_idx()
129 * @work: smb work
131 * check for valid smb signature and packet direction(request/response)
[all …]
Dsmb2misc.c17 * Make sure that this really is an SMB, that it is a response. in check_smb2_hdr()
26 * in order by SMB2 command. This is similar to "wct" in SMB/CIFS requests.
187 ksmbd_debug(SMB, "no length check for command\n"); in smb2_get_data_area_len()
192 ksmbd_debug(SMB, "offset %d too large\n", *off); in smb2_get_data_area_len()
195 ksmbd_debug(SMB, "Request is larger than maximum stream protocol length(%u): %llu\n", in smb2_get_data_area_len()
204 * Calculate the size of the SMB message based on the fixed header
211 unsigned int offset; /* the offset from the beginning of SMB to data area */ in smb2_calc_size()
238 ksmbd_debug(SMB, "SMB2 data length %u offset %u\n", data_length, in smb2_calc_size()
249 ksmbd_debug(SMB, in smb2_calc_size()
259 ksmbd_debug(SMB, "SMB2 len %u\n", *len); in smb2_calc_size()
[all …]
Dsmb2pdu.c56 * check_session_id() - check for valid session id in smb header
58 * @id: session id from smb header
85 * @work: smb work
99 ksmbd_debug(SMB, "skip to check tree connect request\n"); in smb2_get_ksmbd_tcon()
104 ksmbd_debug(SMB, "NO tree connected\n"); in smb2_get_ksmbd_tcon()
137 * smb2_set_err_rsp() - set error response code on smb response
138 * @work: smb work containing response buffer
167 * @work: smb work containing smb header
191 * @work: smb work containing smb response buffer
211 * get_smb2_cmd_val() - get smb command code from smb header
[all …]
DKconfig49 bool "Support for SMB Direct protocol"
55 Enables SMB Direct support for SMB 3.0, 3.02 and 3.1.1.
57 SMB Direct allows transferring SMB packets over RDMA. If unsure,
Dksmbd_work.h34 /* Pointer to received SMB header */
66 /* response smb header size */
96 * @work: smb work containing response buffer
105 * @work: smb work containing response buffer
114 * @work: smb work containing response buffer
/kernel/linux/linux-6.6/Documentation/filesystems/smb/
Dcifsroot.rst4 Mounting root file system via SMB (cifs.ko)
12 support over the SMB protocol via cifs.ko.
16 network by utilizing SMB or CIFS protocol.
39 settings in Samba smb.conf::
53 the root file system via SMB protocol.
59 Enables the kernel to mount the root file system via SMB that are
62 The default mount options are set in fs/smb/client/cifsroot.c.
68 Path to SMB share (rootfs).
76 Export root file system as a Samba share in smb.conf file::
93 Restart smb service::
[all …]
Dksmbd.rst27 for listening to SMB requests. Whenever new clients make request, Forker
30 processing of SMB requests(commands) from clients as well as allowing for new
32 to indicate connected clients. Depending on the SMB request types, each new
41 ownership of receiving/parsing of SMB commands. Each received command is worked
45 So, each SMB workitem is queued to the kworkers. This allows the benefit of load
54 allows sharing information parameters that parsed from smb.conf to ksmbd in
85 SMB direct(RDMA) Supported.
131 2. Create /usr/local/etc/ksmbd/ksmbd.conf file, add SMB share in ksmbd.conf file.
138 3. Create user/password for SMB share.
143 $ sudo ksmbd.adduser -a <Enter USERNAME for SMB share access>
[all …]
/kernel/linux/linux-5.10/Documentation/filesystems/cifs/
Dcifsroot.rst4 Mounting root file system via SMB (cifs.ko)
12 support over the SMB protocol via cifs.ko.
16 network by utilizing SMB or CIFS protocol.
39 settings in Samba smb.conf::
53 the root file system via SMB protocol.
59 Enables the kernel to mount the root file system via SMB that are
68 Path to SMB share (rootfs).
76 Export root file system as a Samba share in smb.conf file::
93 Restart smb service::
95 # systemctl restart smb
/kernel/linux/linux-5.10/Documentation/i2c/busses/
Di2c-ali15x3.rst42 This is the driver for the SMB Host controller on Acer Labs Inc. (ALI)
89 then you must enable ACPI, the PMU, SMB, or something similar
94 The SMB controller is part of the M7101 device, which is an ACPI-compliant
97 The whole M7101 device has to be enabled for the SMB to work. You can't
98 just enable the SMB alone. The SMB and the ACPI have separate I/O spaces.
99 We make sure that the SMB is enabled. We leave the ACPI alone.
104 This driver controls the SMB Host only. The SMB Slave
112 This driver requests the I/O space for only the SMB
Di2c-ali1535.rst21 This is the driver for the SMB Host controller on Acer Labs Inc. (ALI)
33 The SMB controller is part of the M7101 device, which is an ACPI-compliant
36 The whole M7101 device has to be enabled for the SMB to work. You can't
37 just enable the SMB alone. The SMB and the ACPI have separate I/O spaces.
38 We make sure that the SMB is enabled. We leave the ACPI alone.
44 This driver controls the SMB Host only. This driver does not use
/kernel/linux/linux-6.6/Documentation/i2c/busses/
Di2c-ali15x3.rst42 This is the driver for the SMB Host controller on Acer Labs Inc. (ALI)
89 then you must enable ACPI, the PMU, SMB, or something similar
94 The SMB controller is part of the M7101 device, which is an ACPI-compliant
97 The whole M7101 device has to be enabled for the SMB to work. You can't
98 just enable the SMB alone. The SMB and the ACPI have separate I/O spaces.
99 We make sure that the SMB is enabled. We leave the ACPI alone.
104 This driver controls the SMB Host only. The SMB Slave
112 This driver requests the I/O space for only the SMB
Di2c-ali1535.rst21 This is the driver for the SMB Host controller on Acer Labs Inc. (ALI)
33 The SMB controller is part of the M7101 device, which is an ACPI-compliant
36 The whole M7101 device has to be enabled for the SMB to work. You can't
37 just enable the SMB alone. The SMB and the ACPI have separate I/O spaces.
38 We make sure that the SMB is enabled. We leave the ACPI alone.
44 This driver controls the SMB Host only. This driver does not use
/kernel/linux/linux-5.10/fs/cifs/
DKconfig26 to the original dialect, the Server Message Block (SMB) protocol, the
60 Enabling this option will allow more detailed statistics on SMB
93 SMB protocol but LANMAN based authentication is needed to
94 establish sessions with some old SMB servers.
100 have a need to access old SMB servers (and are on a private
129 namespace prefix to SMB/CIFS EAs. EAs are stored on Windows
200 bool "SMB Direct support"
203 Enables SMB Direct support for SMB 3.0, 3.02 and 3.1.1.
204 SMB Direct allows transferring SMB packets over RDMA. If unsure,
216 bool "SMB root file system (Experimental)"
[all …]
Dmisc.c43 in a similar way to the mid which is useful to track each sent smb,
296 check_smb_hdr(struct smb_hdr *smb) in check_smb_hdr() argument
298 /* does it have the right SMB "signature" ? */ in check_smb_hdr()
299 if (*(__le32 *) smb->Protocol != cpu_to_le32(0x424d53ff)) { in check_smb_hdr()
301 *(unsigned int *)smb->Protocol); in check_smb_hdr()
306 if (smb->Flags & SMBFLG_RESPONSE) in check_smb_hdr()
310 if (smb->Command == SMB_COM_LOCKING_ANDX) in check_smb_hdr()
314 get_mid(smb)); in check_smb_hdr()
321 struct smb_hdr *smb = (struct smb_hdr *)buf; in checkSMB() local
322 __u32 rfclen = be32_to_cpu(smb->smb_buf_length); in checkSMB()
[all …]
/kernel/linux/linux-6.6/Documentation/ABI/testing/
Dsysfs-bus-coresight-devices-ultra_smb5 Description: (RW) Add/remove a SMB device from a trace path. There can be
6 multiple sources for a single SMB device.
12 Description: (RO) Shows the buffer size of each UltraSoc SMB device.
18 Description: (RO) Shows the value of UltraSoc SMB status register.
25 Description: (RO) Shows the value of UltraSoc SMB Read Pointer register.
31 Description: (RO) Shows the value of UltraSoc SMB Write Pointer register.
/kernel/linux/linux-6.6/fs/smb/client/
DKconfig29 protocol, Server Message Block (SMB ie SMB1), the native file sharing
60 Enabling this option will allow more detailed statistics on SMB
100 namespace prefix to SMB/CIFS EAs. EAs are stored on Windows
183 bool "SMB Direct support"
186 Enables SMB Direct support for SMB 3.0, 3.02 and 3.1.1.
187 SMB Direct allows transferring SMB packets over RDMA. If unsure,
199 bool "SMB root file system (Experimental)"
202 Enables root file system support over SMB protocol.
Dcifssmb.c7 * Contains the routines for constructing the SMB PDUs themselves
11 /* SMB/CIFS PDU handling routines here - except for leftovers in connect.c */
67 /* reconnect the socket, tcon, and smb session if needed */
78 * tcp and smb session status done differently for those three - in the in cifs_reconnect_tcon()
136 * reconnect the same SMB session in cifs_reconnect_tcon()
206 /* Allocate and return pointer to an SMB request buffer, and set basic
207 SMB information in the SMB header. If the return code is zero, this
271 /* potential retries of smb operations it turns out we can determine */ in __smb_init()
323 /* check for parm and data offset going beyond end of smb */ in validate_t2()
333 * less than negotiated smb buffer in validate_t2()
[all …]
Dmisc.c31 in a similar way to the mid which is useful to track each sent smb,
315 check_smb_hdr(struct smb_hdr *smb) in check_smb_hdr() argument
317 /* does it have the right SMB "signature" ? */ in check_smb_hdr()
318 if (*(__le32 *) smb->Protocol != cpu_to_le32(0x424d53ff)) { in check_smb_hdr()
320 *(unsigned int *)smb->Protocol); in check_smb_hdr()
325 if (smb->Flags & SMBFLG_RESPONSE) in check_smb_hdr()
329 if (smb->Command == SMB_COM_LOCKING_ANDX) in check_smb_hdr()
337 if (smb->Command == SMB_COM_TRANSACTION2 && smb->Status.CifsError != 0) in check_smb_hdr()
341 get_mid(smb)); in check_smb_hdr()
348 struct smb_hdr *smb = (struct smb_hdr *)buf; in checkSMB() local
[all …]
/kernel/linux/linux-6.6/drivers/i2c/busses/
Di2c-ali1535.c11 This is the driver for the SMB Host controller on
25 The SMB controller is part of the 7101 device, which is an
28 The whole 7101 device has to be enabled for the SMB to work.
29 You can't just enable the SMB alone.
30 The SMB and the ACPI have separate I/O spaces.
31 We make sure that the SMB is enabled. We leave the ACPI alone.
33 This driver controls the SMB Host only.
118 #define ALI1535_SMBIO_EN 0x04 /* SMB I/O Space enable */
134 - SMB I/O address is initialized in ali1535_setup()
177 dev_err(&dev->dev, "SMB device not enabled - upgrade BIOS?\n"); in ali1535_setup()
[all …]
Di2c-ali15x3.c10 This is the driver for the SMB Host controller on
33 The SMB controller is part of the 7101 device, which is an
36 The whole 7101 device has to be enabled for the SMB to work.
37 You can't just enable the SMB alone.
38 The SMB and the ACPI have separate I/O spaces.
39 We make sure that the SMB is enabled. We leave the ACPI alone.
41 This driver controls the SMB Host only.
42 The SMB Slave controller on the M15X3 is not enabled.
127 - SMB I/O address is initialized in ali15x3_setup()
192 /* Is SMB Host controller enabled? */ in ali15x3_setup()
[all …]
/kernel/linux/linux-5.10/drivers/i2c/busses/
Di2c-ali1535.c11 This is the driver for the SMB Host controller on
25 The SMB controller is part of the 7101 device, which is an
28 The whole 7101 device has to be enabled for the SMB to work.
29 You can't just enable the SMB alone.
30 The SMB and the ACPI have separate I/O spaces.
31 We make sure that the SMB is enabled. We leave the ACPI alone.
33 This driver controls the SMB Host only.
118 #define ALI1535_SMBIO_EN 0x04 /* SMB I/O Space enable */
134 - SMB I/O address is initialized in ali1535_setup()
177 dev_err(&dev->dev, "SMB device not enabled - upgrade BIOS?\n"); in ali1535_setup()
[all …]
Di2c-ali15x3.c10 This is the driver for the SMB Host controller on
33 The SMB controller is part of the 7101 device, which is an
36 The whole 7101 device has to be enabled for the SMB to work.
37 You can't just enable the SMB alone.
38 The SMB and the ACPI have separate I/O spaces.
39 We make sure that the SMB is enabled. We leave the ACPI alone.
41 This driver controls the SMB Host only.
42 The SMB Slave controller on the M15X3 is not enabled.
127 - SMB I/O address is initialized in ali15x3_setup()
191 /* Is SMB Host controller enabled? */ in ali15x3_setup()
[all …]

1234567891011