/openbmc/linux/drivers/scsi/libfc/ |
H A D | fc_disc.c | 181 struct fc_disc *disc = &lport->disc; in fc_disc_recv_req() local 212 if (disc->pending) in fc_disc_restart() 220 disc->disc_id = (disc->disc_id + 2) | 1; in fc_disc_restart() 234 struct fc_disc *disc = &lport->disc; in fc_disc_start() local 260 disc->pending = 0; in fc_disc_done() 348 disc->pending = 1; in fc_disc_gpn_ft_req() 351 disc->buf_len = 0; in fc_disc_gpn_ft_req() 577 disc = &lport->disc; in fc_disc_gpn_id_resp() 685 struct fc_disc *disc = &lport->disc; in fc_disc_stop() local 728 disc = &lport->disc; in fc_disc_config() [all …]
|
H A D | fc_libfc.h | 40 #define FC_DISC_DBG(disc, fmt, args...) \ argument 43 fc_disc_lport(disc)->host->host_no, \
|
H A D | fc_rport.c | 110 list_for_each_entry_rcu(tmp_rdata, &lport->disc.rports, peers) in fc_rport_lookup() 133 lockdep_assert_held(&lport->disc.disc_mutex); in fc_rport_create() 165 list_add_rcu(&rdata->peers, &lport->disc.rports); in fc_rport_create() 381 mutex_lock(&lport->disc.disc_mutex); in fc_rport_work() 383 mutex_unlock(&lport->disc.disc_mutex); in fc_rport_work() 1845 struct fc_disc *disc; in fc_rport_recv_plogi_req() local 1866 disc = &lport->disc; in fc_rport_recv_plogi_req() 1867 mutex_lock(&disc->disc_mutex); in fc_rport_recv_plogi_req() 1870 mutex_unlock(&disc->disc_mutex); in fc_rport_recv_plogi_req() 1877 mutex_unlock(&disc->disc_mutex); in fc_rport_recv_plogi_req()
|
H A D | fc_lport.c | 242 mutex_lock(&lport->disc.disc_mutex); in fc_lport_ptp_setup() 247 mutex_unlock(&lport->disc.disc_mutex); in fc_lport_ptp_setup() 253 mutex_unlock(&lport->disc.disc_mutex); in fc_lport_ptp_setup() 1425 mutex_lock(&lport->disc.disc_mutex); in fc_lport_enter_dns() 1427 mutex_unlock(&lport->disc.disc_mutex); in fc_lport_enter_dns() 1571 mutex_lock(&lport->disc.disc_mutex); in fc_lport_enter_fdmi() 1573 mutex_unlock(&lport->disc.disc_mutex); in fc_lport_enter_fdmi()
|
/openbmc/linux/drivers/scsi/snic/ |
H A D | snic_disc.c | 443 disc->disc_id = 0; in snic_disc_init() 444 disc->nxt_tgt_id = 0; in snic_disc_init() 446 disc->req_cnt = 0; in snic_disc_init() 447 disc->rtgt_cnt = 0; in snic_disc_init() 448 disc->rtgt_info = NULL; in snic_disc_init() 449 disc->cb = NULL; in snic_disc_init() 456 struct snic_disc *disc = &snic->disc; in snic_disc_term() local 459 if (disc->req_cnt) { in snic_disc_term() 460 disc->req_cnt = 0; in snic_disc_term() 472 struct snic_disc *disc = &snic->disc; in snic_disc_start() local [all …]
|
/openbmc/linux/drivers/tty/ |
H A D | tty_ldisc.c | 100 ldops = tty_ldiscs[disc]; in get_ldops() 144 if (disc < N_TTY || disc >= NR_LDISCS) in tty_ldisc_get() 151 ldops = get_ldops(disc); in tty_ldisc_get() 156 ldops = get_ldops(disc); in tty_ldisc_get() 410 tty->termios.c_line = disc; in tty_set_termios_ldisc() 473 if (IS_ERR(disc)) in tty_ldisc_failto() 474 return PTR_ERR(disc); in tty_ldisc_failto() 475 tty->ldisc = disc; in tty_ldisc_failto() 477 r = tty_ldisc_open(tty, disc); in tty_ldisc_failto() 479 tty_ldisc_put(disc); in tty_ldisc_failto() [all …]
|
H A D | tty.h | 80 int tty_ldisc_reinit(struct tty_struct *tty, int disc);
|
/openbmc/linux/drivers/scsi/libsas/ |
H A D | sas_discover.c | 142 memset(port->disc.fanout_sas_addr, 0, SAS_ADDR_SIZE); in sas_get_port_device() 143 memset(port->disc.eeds_a, 0, SAS_ADDR_SIZE); in sas_get_port_device() 144 memset(port->disc.eeds_b, 0, SAS_ADDR_SIZE); in sas_get_port_device() 145 port->disc.max_level = 0; in sas_get_port_device() 240 clear_bit(DISCE_SUSPEND, &port->disc.pending); in sas_suspend_devices() 267 clear_bit(DISCE_RESUME, &port->disc.pending); in sas_resume_devices() 573 struct sas_discovery *disc; in sas_discover_event() local 577 disc = &port->disc; in sas_discover_event() 581 sas_chain_event(ev, &disc->pending, &disc->disc_work[ev].work, port->ha); in sas_discover_event() 602 disc->pending = 0; in sas_init_disc() [all …]
|
H A D | sas_expander.c | 184 struct discover_resp *dr = &disc_resp->disc; in sas_set_ex_phy() 923 parent->port->disc.max_level = max(parent->port->disc.max_level, in sas_ex_discover_expander() 1027 memcpy(dev->port->disc.fanout_sas_addr, in sas_ex_discover_dev() 1203 struct sas_discovery *disc = &parent->port->disc; in sas_eeds_valid() local 1217 struct sas_discovery *disc = &parent->port->disc; in sas_check_eeds() local 1226 SAS_ADDR(disc->fanout_sas_addr)); in sas_check_eeds() 1227 } else if (SAS_ADDR(disc->eeds_a) == 0) { in sas_check_eeds() 1589 level = port->disc.max_level; in sas_ex_bfs_disc() 1592 } while (level < port->disc.max_level); in sas_ex_bfs_disc() 1628 *type = to_dev_type(&disc_resp->disc); in sas_get_sas_addr_and_dev_type() [all …]
|
/openbmc/linux/Documentation/cdrom/ |
H A D | packet-writing.rst | 16 - Grab a new CD-RW disc and format it (assuming CD-RW is hdc, substitute 34 the so called "restricted overwrite" mode. To put a disc in restricted 39 You can then use the disc the same way you would use a CD-RW disc:: 51 2KB on such a disc. For example, it should be possible to do:: 53 # dvd+rw-format /dev/hdc (only needed if the disc has never 89 filesystem corruption if the disc wears out. 91 - Since the pktcdvd driver makes the disc appear as a regular block 93 the disc. For example, run:: 97 to create an ext2 filesystem on the disc.
|
H A D | cdrom-standard.rst | 338 up the disc, etc. 362 CDS_NO_DISC /* no disc is inserted, tray is closed */ 365 CDS_DISC_OK /* a disc is loaded and everything is fine */ 543 CDC_MEDIA_CHANGED /* can report if disc has changed */ 861 Spin up disc. 890 Select disc numbered *arg* from a juke-box. 895 Returns 1 if a disc has been changed since the last call. 902 and returns the time of the last disc change. 921 Returns the type of the disc currently in the drive. 951 CDS_AUDIO /* Audio disc (2352 audio bytes/frame) */ [all …]
|
/openbmc/linux/drivers/scsi/aic7xxx/ |
H A D | scsi_message.h | 20 #define MSG_IDENTIFY(lun, disc) (((disc) ? 0xc0 : MSG_IDENTIFYFLAG) | (lun)) argument
|
/openbmc/linux/Documentation/devicetree/bindings/phy/ |
H A D | sunplus,sp7021-usb2-phy.yaml | 44 sunplus,disc-vol-addr-off: 57 - sunplus,disc-vol-addr-off 72 sunplus,disc-vol-addr-off = <0>;
|
H A D | qcom,snps-eusb2-repeater.yaml | 35 qcom,tune-usb2-disc-thres:
|
/openbmc/linux/drivers/platform/chrome/ |
H A D | cros_ec_typec.c | 777 struct ec_response_typec_discovery *disc) in cros_typec_parse_pd_identity() argument 782 if (disc->identity_count > 0) in cros_typec_parse_pd_identity() 783 id->id_header = disc->discovery_vdo[0]; in cros_typec_parse_pd_identity() 784 if (disc->identity_count > 1) in cros_typec_parse_pd_identity() 785 id->cert_stat = disc->discovery_vdo[1]; in cros_typec_parse_pd_identity() 786 if (disc->identity_count > 2) in cros_typec_parse_pd_identity() 787 id->product = disc->discovery_vdo[2]; in cros_typec_parse_pd_identity() 791 id->vdo[i - 3] = disc->discovery_vdo[i]; in cros_typec_parse_pd_identity() 807 memset(disc, 0, EC_PROTO2_MAX_RESPONSE_SIZE); in cros_typec_handle_sop_prime_disc() 809 disc, EC_PROTO2_MAX_RESPONSE_SIZE); in cros_typec_handle_sop_prime_disc() [all …]
|
/openbmc/linux/drivers/scsi/fcoe/ |
H A D | fcoe_ctlr.c | 3026 struct fc_disc *disc = &lport->disc; in fcoe_ctlr_disc_start() local 3029 mutex_lock(&disc->disc_mutex); in fcoe_ctlr_disc_start() 3030 disc->disc_callback = callback; in fcoe_ctlr_disc_start() 3031 disc->disc_id = (disc->disc_id + 2) | 1; in fcoe_ctlr_disc_start() 3032 disc->pending = 1; in fcoe_ctlr_disc_start() 3034 mutex_unlock(&disc->disc_mutex); in fcoe_ctlr_disc_start() 3048 struct fc_disc *disc = &lport->disc; in fcoe_ctlr_vn_disc() local 3053 mutex_lock(&disc->disc_mutex); in fcoe_ctlr_vn_disc() 3054 callback = disc->pending ? disc->disc_callback : NULL; in fcoe_ctlr_vn_disc() 3055 disc->pending = 0; in fcoe_ctlr_vn_disc() [all …]
|
/openbmc/linux/include/scsi/ |
H A D | libfc.h | 709 struct fc_disc disc; member 936 static inline struct fc_lport *fc_disc_lport(struct fc_disc *disc) in fc_disc_lport() argument 938 return container_of(disc, struct fc_lport, disc); in fc_disc_lport()
|
/openbmc/linux/net/tipc/ |
H A D | discover.c | 236 if (tipc_disc_addr_trial_msg(b->disc, &maddr, b, dst, in tipc_disc_rcv() 380 b->disc = d; in tipc_disc_create() 403 struct tipc_discoverer *d = b->disc; in tipc_disc_reset()
|
H A D | bearer.h | 172 struct tipc_discoverer *disc; member
|
/openbmc/linux/Documentation/userspace-api/ioctl/ |
H A D | cdrom.rst | 55 CDROM_SELECT_DISC Select disc (for juke-boxes) 61 CDROM_DISC_STATUS Get disc type, etc. 72 CDROM_LAST_WRITTEN get last block written on disc 827 Select disc (for juke-boxes) 914 Get disc type, etc. 1221 get last block written on disc 1235 The last block written on disc 1240 result is derived from the disc's table of contents. If the
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-extended/ddrescue/ |
H A D | ddrescue_1.28.bb | 3 from one file or block device (hard disc, cdrom, etc) to another, \
|
/openbmc/linux/fs/ntfs/ |
H A D | runlist.c | 275 bool disc = false; /* Discontinuity between @dst and @src. */ in ntfs_rl_insert() local 286 disc = (src[0].vcn > 0); in ntfs_rl_insert() 296 disc = (src[0].vcn > dst[loc - 1].vcn + merged_length); in ntfs_rl_insert() 302 dst = ntfs_rl_realloc(dst, dsize, dsize + ssize - left + disc); in ntfs_rl_insert() 318 marker = loc + ssize - left + disc; in ntfs_rl_insert() 322 ntfs_rl_mc(dst, loc + disc, src, left, ssize - left); in ntfs_rl_insert() 331 if (disc) { in ntfs_rl_insert()
|
/openbmc/linux/arch/um/os-Linux/ |
H A D | file.c | 110 int disc, sencap; in os_set_slip() local 112 disc = N_SLIP; in os_set_slip() 113 if (ioctl(fd, TIOCSETD, &disc) < 0) in os_set_slip()
|
/openbmc/linux/include/linux/ |
H A D | tty_ldisc.h | 287 int tty_set_ldisc(struct tty_struct *tty, int disc);
|
/openbmc/ipmitool/lib/ |
H A D | ipmi_dcmi.c | 2005 _ipmi_nm_discover(struct ipmi_intf * intf, struct nm_discover *disc) in _ipmi_nm_discover() argument 2023 memcpy(disc, rsp->data, sizeof (struct nm_discover)); in _ipmi_nm_discover() 3771 struct nm_discover disc; in ipmi_nm_main() local 3783 if (_ipmi_nm_discover(intf, &disc)) in ipmi_nm_main() 3785 printf(" Node Manager Version %s\n", val2str2(disc.nm_version, nm_version_vals)); in ipmi_nm_main() 3786 printf(" revision %d.%d%d patch version %d\n", disc.major_rev, in ipmi_nm_main() 3787 disc.minor_rev>>4, disc.minor_rev&0xf, disc.patch_version); in ipmi_nm_main()
|