Home
last modified time | relevance | path

Searched refs:smb (Results 1 – 25 of 65) sorted by relevance

123

/openbmc/linux/drivers/power/supply/
H A Dsmb347-charger.c307 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()
329 smb->usb_online = usb; in smb347_update_ps_status()
343 static bool smb347_is_ps_online(struct smb347_charger *smb) in smb347_is_ps_online() argument
345 return smb->usb_online || smb->mains_online; in smb347_is_ps_online()
355 static int smb347_charging_status(struct smb347_charger *smb) in smb347_charging_status() argument
[all …]
/openbmc/qemu/hw/i2c/
H A Dsmbus_ich9.c41 PMSMBus smb; member
56 VMSTATE_STRUCT_TEST(smb, ICH9SMBState, ich9_vmstate_need_smbus, 1,
71 memory_region_set_enabled(&s->smb.io, true); in ich9_smbus_write_config()
73 memory_region_set_enabled(&s->smb.io, false); in ich9_smbus_write_config()
75 s->smb.i2c_enable = (hostc & ICH9_SMB_HOSTC_I2C_EN) != 0; in ich9_smbus_write_config()
77 s->smb.reset(&s->smb); in ich9_smbus_write_config()
105 pm_smbus_init(&d->qdev, &s->smb, false); in ich9_smbus_realize()
107 &s->smb.io); in ich9_smbus_realize()
109 s->smb.set_irq = ich9_smb_set_irq; in ich9_smbus_realize()
110 s->smb.opaque = s; in ich9_smbus_realize()
[all …]
H A Dpm_smbus.c477 void pm_smbus_init(DeviceState *parent, PMSMBus *smb, bool force_aux_blk) in pm_smbus_init() argument
479 smb->op_done = true; in pm_smbus_init()
480 smb->reset = pm_smbus_reset; in pm_smbus_init()
481 smb->smbus = i2c_init_bus(parent, "i2c"); in pm_smbus_init()
483 smb->smb_auxctl |= AUX_BLK; in pm_smbus_init()
485 memory_region_init_io(&smb->io, OBJECT(parent), &pm_smbus_ops, smb, in pm_smbus_init()
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-daemons/autofs/autofs/
H A D0001-no-bash.patch11 samples/auto.smb | 2 +-
24 diff --git a/samples/auto.smb b/samples/auto.smb
26 --- a/samples/auto.smb
27 +++ b/samples/auto.smb
/openbmc/linux/drivers/net/ethernet/atheros/atlx/
H A Datl1.c1092 adapter->smb.dma = adapter->cmb.dma + sizeof(struct coals_msg_block); in atl1_setup_ring_resources()
1093 offset = (adapter->smb.dma & 0x7) ? (8 - (adapter->smb.dma & 0x7)) : 0; in atl1_setup_ring_resources()
1094 adapter->smb.dma += offset; in atl1_setup_ring_resources()
1095 adapter->smb.smb = (struct stats_msg_block *) in atl1_setup_ring_resources()
1237 adapter->smb.dma = 0; in atl1_free_ring_resources()
1238 adapter->smb.smb = NULL; in atl1_free_ring_resources()
1482 iowrite32((u32) (adapter->smb.dma & 0x00000000ffffffffULL), in atl1_configure()
1657 struct stats_msg_block *smb = adapter->smb.smb; in atl1_inc_smb() local
1659 u64 new_rx_errors = smb->rx_frag + in atl1_inc_smb()
1660 smb->rx_fcs_err + in atl1_inc_smb()
[all …]
/openbmc/linux/fs/smb/client/
H A Dmisc.c306 check_smb_hdr(struct smb_hdr *smb) in check_smb_hdr() argument
309 if (*(__le32 *) smb->Protocol != cpu_to_le32(0x424d53ff)) { in check_smb_hdr()
311 *(unsigned int *)smb->Protocol); in check_smb_hdr()
316 if (smb->Flags & SMBFLG_RESPONSE) in check_smb_hdr()
320 if (smb->Command == SMB_COM_LOCKING_ANDX) in check_smb_hdr()
324 get_mid(smb)); in check_smb_hdr()
331 struct smb_hdr *smb = (struct smb_hdr *)buf; in checkSMB() local
332 __u32 rfclen = be32_to_cpu(smb->smb_buf_length); in checkSMB()
340 && (smb->Status.CifsError != 0)) { in checkSMB()
342 smb->WordCount = 0; in checkSMB()
[all …]
H A Dnetmisc.c812 struct smb_hdr *smb = (struct smb_hdr *)buf; in map_smb_to_linux_error() local
821 if (smb->Status.CifsError == 0) in map_smb_to_linux_error()
824 if (smb->Flags2 & SMBFLG2_ERR_STATUS) { in map_smb_to_linux_error()
827 __u32 err = le32_to_cpu(smb->Status.CifsError); in map_smb_to_linux_error()
834 smberrclass = smb->Status.DosError.ErrorClass; in map_smb_to_linux_error()
835 smberrcode = le16_to_cpu(smb->Status.DosError.Error); in map_smb_to_linux_error()
875 le32_to_cpu(smb->Status.CifsError), rc); in map_smb_to_linux_error()
887 struct smb_hdr *smb = (struct smb_hdr *)mid->resp_buf; in map_and_check_smb_error() local
889 rc = map_smb_to_linux_error((char *)smb, logErr); in map_and_check_smb_error()
890 if (rc == -EACCES && !(smb->Flags2 & SMBFLG2_ERR_STATUS)) { in map_and_check_smb_error()
[all …]
H A Dcifssmb.c572 ECHO_REQ *smb; in CIFSSMBEcho() local
580 rc = small_smb_init(SMB_COM_ECHO, 0, NULL, (void **)&smb); in CIFSSMBEcho()
585 smb->hdr.Flags2 |= SMBFLG2_UNICODE; in CIFSSMBEcho()
588 smb->hdr.Tid = 0xffff; in CIFSSMBEcho()
589 smb->hdr.WordCount = 1; in CIFSSMBEcho()
590 put_unaligned_le16(1, &smb->EchoCount); in CIFSSMBEcho()
591 put_bcc(1, &smb->hdr); in CIFSSMBEcho()
592 smb->Data[0] = 'a'; in CIFSSMBEcho()
593 inc_rfc1001_len(smb, 3); in CIFSSMBEcho()
596 iov[0].iov_base = smb; in CIFSSMBEcho()
[all …]
H A Dcifs_debug.c41 struct smb_hdr *smb = buf; in cifs_dump_detail() local
44 smb->Command, smb->Status.CifsError, smb->Flags, in cifs_dump_detail()
45 smb->Flags2, smb->Mid, smb->Pid, smb->WordCount); in cifs_dump_detail()
47 cifs_dbg(VFS, "smb buf %p len %u\n", smb, in cifs_dump_detail()
48 server->ops->calc_smb_size(smb)); in cifs_dump_detail()
/openbmc/linux/Documentation/filesystems/smb/
H A Dcifsroot.rst39 settings in Samba smb.conf::
62 The default mount options are set in fs/smb/client/cifsroot.c.
76 Export root file system as a Samba share in smb.conf file::
93 Restart smb service::
95 # systemctl restart smb
H A Dksmbd.rst54 allows sharing information parameters that parsed from smb.conf to ksmbd in
175 2. Enable one of components (smb, auth, vfs, oplock, ipc, conn, rdma)
176 # sudo ksmbd.control -d "smb"
180 [smb] auth vfs oplock ipc conn [rdma]
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-support/tcpdump/
H A Dtcpdump_4.99.5.bb43 PACKAGECONFIG[smb] = "--enable-smb,--disable-smb"
/openbmc/linux/fs/smb/
H A DKconfig5 source "fs/smb/client/Kconfig"
6 source "fs/smb/server/Kconfig"
/openbmc/openbmc/meta-facebook/meta-harma/recipes-phosphor/gpio/phosphor-gpio-monitor/
H A Dmulti-gpios-sys-init87 set_gpio smb-rt-rom-p0-select 0
89 set_gpio smb-rt-rom-p1-select 0
111 set_gpio reset-control-smb-e1s-0 1
113 set_gpio reset-control-smb-e1s-1 1
/openbmc/openbmc/meta-openembedded/meta-webserver/recipes-webadmin/webmin/files/
H A Dsamba-config-fix.patch16 -smb_conf=/usr/local/samba/lib/smb.conf
19 +smb_conf=/etc/samba/smb.conf
/openbmc/qemu/hw/acpi/
H A Dpiix4.c108 memory_region_set_enabled(&s->smb.io, d->config[0xd2] & 1); in smbus_io_space_update()
109 memory_region_set_address(&s->smb.io, s->smb_io_base); in smbus_io_space_update()
256 VMSTATE_STRUCT_TEST(smb, PIIX4PMState, piix4_vmstate_need_smbus, 3,
474 pm_smbus_init(DEVICE(dev), &s->smb, true); in piix4_pm_realize()
475 memory_region_set_enabled(&s->smb.io, pci_conf[0xd2] & 1); in piix4_pm_realize()
477 s->smb_io_base, &s->smb.io); in piix4_pm_realize()
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-connectivity/samba/
H A Dsamba_4.19.8.bb18 file://smb.conf \
60 SYSTEMD_SERVICE:${PN}-base = "nmb.service smb.service"
168 -e 's,/opt/samba/smb.conf,${sysconfdir}/samba/smb.conf,g' \
176 install -m644 ${UNPACKDIR}/smb.conf ${D}${sysconfdir}/samba/smb.conf
249 ${systemd_system_unitdir}/smb.service"
/openbmc/linux/arch/arm/boot/dts/aspeed/
H A Daspeed-bmc-asrock-x570d4u.dts90 "input-id2-n", "input-aux-smb-alert-n", "",
91 "input-psu-smb-alert-n", "",
102 /* Q */ "", "", "", "", "input-bmc-smb-present-n", "", "",
H A Daspeed-bmc-facebook-harma.dts618 "","smb-rt-rom-p0-select",
619 "","smb-rt-rom-p1-select",
631 "power-cpu-good","reset-control-smb-e1s-0",
633 "","reset-control-smb-e1s-1",
/openbmc/qemu/include/hw/acpi/
H A Dpiix4.h49 PMSMBus smb; member
/openbmc/linux/Documentation/admin-guide/cifs/
H A Dchanges.rst9 "git log fs/smb/client" by release.
H A Dauthors.rst18 Dave Boutcher of IBM Rochester (author of the OS/400 smb/cifs filesystem client)
19 for proving years ago that very good smb/cifs clients could be done on Unix-like
/openbmc/qemu/include/hw/i2c/
H A Dpm_smbus.h45 void pm_smbus_init(DeviceState *parent, PMSMBus *smb, bool force_aux_blk);
/openbmc/qemu/hw/isa/
H A Dvt82c686.c51 PMSMBus smb; member
69 memory_region_set_address(&s->smb.io, smbase); in smb_io_space_update()
70 memory_region_set_enabled(&s->smb.io, s->dev.config[0xd2] & BIT(0)); in smb_io_space_update()
204 pm_smbus_init(DEVICE(s), &s->smb, false); in via_pm_realize()
205 memory_region_add_subregion(pci_address_space_io(dev), 0, &s->smb.io); in via_pm_realize()
206 memory_region_set_enabled(&s->smb.io, false); in via_pm_realize()
/openbmc/openbmc/poky/meta/recipes-support/curl/
H A Dcurl_8.11.1.bb63 PACKAGECONFIG[smb] = "--enable-smb,--disable-smb,"

123