/Linux-v5.10/drivers/net/phy/ |
D | sfp.c | 20 #include "sfp.h" 165 * on board (for a copper SFP) time to initialise. 191 /* SFP module presence detection is poor: the three MOD DEF signals are 205 /* SFP modules appear to always have their PHY configured for bus address 215 struct sfp { struct 224 unsigned int (*get_state)(struct sfp *); argument 225 void (*set_state)(struct sfp *, unsigned int); argument 226 int (*read)(struct sfp *, bool, u8, void *, size_t); argument 227 int (*write)(struct sfp *, bool, u8, void *, size_t); argument 287 { .compatible = "sff,sfp", .data = &sfp_data, }, [all …]
|
D | sfp.h | 5 #include <linux/sfp.h> 7 struct sfp; 10 void (*attach)(struct sfp *sfp); 11 void (*detach)(struct sfp *sfp); 12 void (*start)(struct sfp *sfp); 13 void (*stop)(struct sfp *sfp); 14 int (*module_info)(struct sfp *sfp, struct ethtool_modinfo *modinfo); 15 int (*module_eeprom)(struct sfp *sfp, struct ethtool_eeprom *ee, 28 struct sfp_bus *sfp_register_socket(struct device *dev, struct sfp *sfp,
|
D | sfp-bus.c | 11 #include "sfp.h" 20 * struct sfp_bus - internal representation of a sfp bus 30 struct sfp *sfp; member 109 * @bus: a pointer to the &struct sfp_bus structure for the sfp module 160 dev_warn(bus->sfp_dev, "SFP: unknown connector id 0x%02x\n", in sfp_parse_port() 184 * @bus: a pointer to the &struct sfp_bus structure for the sfp module 211 * @bus: a pointer to the &struct sfp_bus structure for the sfp module 326 /* For fibre channel SFP, derive possible BaseX modes */ in sfp_parse_support() 361 * @bus: a pointer to the &struct sfp_bus structure for the sfp module 364 * Derive the phy_interface_t mode for the SFP module from the link [all …]
|
D | Makefile | 29 obj-$(CONFIG_SFP) += sfp.o 30 sfp-obj-$(CONFIG_SFP) += sfp-bus.o 31 obj-y += $(sfp-obj-y) $(sfp-obj-m)
|
/Linux-v5.10/drivers/media/usb/pvrusb2/ |
D | pvrusb2-sysfs.c | 286 static void pvr2_sysfs_add_control(struct pvr2_sysfs *sfp,int ctl_id) in pvr2_sysfs_add_control() argument 293 cptr = pvr2_hdw_get_ctrl_by_index(sfp->channel.hdw,ctl_id); in pvr2_sysfs_add_control() 303 cip->chptr = sfp; in pvr2_sysfs_add_control() 305 if (sfp->item_last) { in pvr2_sysfs_add_control() 306 sfp->item_last->item_next = cip; in pvr2_sysfs_add_control() 308 sfp->item_first = cip; in pvr2_sysfs_add_control() 310 sfp->item_last = cip; in pvr2_sysfs_add_control() 395 ret = sysfs_create_group(&sfp->class_dev->kobj,&cip->grp); in pvr2_sysfs_add_control() 413 static void pvr2_sysfs_add_debugifc(struct pvr2_sysfs *sfp) in pvr2_sysfs_add_debugifc() argument 429 sfp->debugifc = dip; in pvr2_sysfs_add_debugifc() [all …]
|
/Linux-v5.10/drivers/scsi/ |
D | sg.c | 178 static int sg_build_indirect(Sg_scatter_hold * schp, Sg_fd * sfp, int buff_size); 179 static ssize_t sg_new_read(Sg_fd * sfp, char __user *buf, size_t count, 181 static ssize_t sg_new_write(Sg_fd *sfp, struct file *file, 184 static int sg_common_write(Sg_fd * sfp, Sg_request * srp, 187 static void sg_remove_scat(Sg_fd * sfp, Sg_scatter_hold * schp); 188 static void sg_build_reserve(Sg_fd * sfp, int req_size); 189 static void sg_link_reserve(Sg_fd * sfp, Sg_request * srp, int size); 190 static void sg_unlink_reserve(Sg_fd * sfp, Sg_request * srp); 193 static Sg_request *sg_get_rq_mark(Sg_fd * sfp, int pack_id); 194 static Sg_request *sg_add_request(Sg_fd * sfp); [all …]
|
/Linux-v5.10/fs/xfs/libxfs/ |
D | xfs_dir2_sf.c | 268 struct xfs_dir2_sf_hdr *sfp; /* shortform directory header */ in xfs_dir2_block_to_sf() local 279 sfp = kmem_alloc(mp->m_sb.sb_inodesize, 0); in xfs_dir2_block_to_sf() 280 memcpy(sfp, sfhp, xfs_dir2_sf_hdr_size(sfhp->i8count)); in xfs_dir2_block_to_sf() 287 sfep = xfs_dir2_sf_firstentry(sfp); in xfs_dir2_block_to_sf() 311 xfs_dir2_sf_get_parent_ino(sfp)); in xfs_dir2_block_to_sf() 319 xfs_dir2_sf_put_ino(mp, sfp, sfep, in xfs_dir2_block_to_sf() 324 sfep = xfs_dir2_sf_nextentry(mp, sfp, sfep); in xfs_dir2_block_to_sf() 328 ASSERT((char *)sfep - (char *)sfp == size); in xfs_dir2_block_to_sf() 345 xfs_init_local_fork(dp, XFS_DATA_FORK, sfp, size); in xfs_dir2_block_to_sf() 353 kmem_free(sfp); in xfs_dir2_block_to_sf() [all …]
|
/Linux-v5.10/Documentation/devicetree/bindings/net/ |
D | sff,sfp.txt | 1 Small Form Factor (SFF) Committee Small Form-factor Pluggable (SFP) 7 "sff,sfp" for SFP modules 10 - i2c-bus : phandle of an I2C bus controller for the SFP two wire serial 33 Select (AKA RS1) output gpio signal (SFP+ only), low: low Tx rate, high: 40 Example #1: Direct serdes to SFP connection 42 sfp_eth3: sfp-eth3 { 43 compatible = "sff,sfp"; 57 sfp = <&sfp_eth3>; 60 Example #2: Serdes to PHY to SFP connection 62 sfp_eth0: sfp-eth0 { [all …]
|
/Linux-v5.10/net/hsr/ |
D | hsr_debugfs.c | 27 hsr_node_table_show(struct seq_file *sfp, void *data) in hsr_node_table_show() argument 29 struct hsr_priv *priv = (struct hsr_priv *)sfp->private; in hsr_node_table_show() 32 seq_printf(sfp, "Node Table entries for (%s) device\n", in hsr_node_table_show() 34 seq_puts(sfp, "MAC-Address-A, MAC-Address-B, time_in[A], "); in hsr_node_table_show() 35 seq_puts(sfp, "time_in[B], Address-B port, "); in hsr_node_table_show() 37 seq_puts(sfp, "SAN-A, SAN-B, DAN-P\n"); in hsr_node_table_show() 39 seq_puts(sfp, "DAN-H\n"); in hsr_node_table_show() 46 seq_printf(sfp, "%pM ", &node->macaddress_A[0]); in hsr_node_table_show() 47 seq_printf(sfp, "%pM ", &node->macaddress_B[0]); in hsr_node_table_show() 48 seq_printf(sfp, "%10lx, ", node->time_in[HSR_PT_SLAVE_A]); in hsr_node_table_show() [all …]
|
/Linux-v5.10/drivers/pinctrl/ |
D | pinctrl-ocelot.c | 120 [FUNC_SFP] = "sfp", 179 OCELOT_P(10, PTP2, TWI_SCL_M, SFP); 180 OCELOT_P(11, PTP3, TWI_SCL_M, SFP); 181 OCELOT_P(12, UART2, TWI_SCL_M, SFP); 182 OCELOT_P(13, UART2, TWI_SCL_M, SFP); 183 OCELOT_P(14, MIIM, TWI_SCL_M, SFP); 184 OCELOT_P(15, MIIM, TWI_SCL_M, SFP); 275 JAGUAR2_P(44, NONE, SFP); 276 JAGUAR2_P(45, NONE, SFP); 277 JAGUAR2_P(46, NONE, SFP); [all …]
|
/Linux-v5.10/drivers/scsi/bfa/ |
D | bfa_ioc.c | 3626 * SFP module specific 3630 static void bfa_sfp_getdata_send(struct bfa_sfp_s *sfp); 3631 static void bfa_sfp_media_get(struct bfa_sfp_s *sfp); 3632 static bfa_status_t bfa_sfp_speed_valid(struct bfa_sfp_s *sfp, 3636 bfa_cb_sfp_show(struct bfa_sfp_s *sfp) in bfa_cb_sfp_show() argument 3638 bfa_trc(sfp, sfp->lock); in bfa_cb_sfp_show() 3639 if (sfp->cbfn) in bfa_cb_sfp_show() 3640 sfp->cbfn(sfp->cbarg, sfp->status); in bfa_cb_sfp_show() 3641 sfp->lock = 0; in bfa_cb_sfp_show() 3642 sfp->cbfn = NULL; in bfa_cb_sfp_show() [all …]
|
/Linux-v5.10/fs/reiserfs/ |
D | procfs.c | 51 #define SFP( x ) SF( s_proc_info_data.x ) macro 52 #define SFPL( x ) SFP( x[ level ] ) 53 #define SFPF( x ) SFP( scan_bitmap.x ) 54 #define SFPJ( x ) SFP( journal.x ) 122 SF(s_indirect2direct), SFP(max_hash_collisions), SFP(breads), in show_super() 123 SFP(bread_miss), SFP(search_by_key), in show_super() 124 SFP(search_by_key_fs_changed), SFP(search_by_key_restarted), in show_super() 125 SFP(insert_item_restarted), SFP(paste_into_item_restarted), in show_super() 126 SFP(cut_from_item_restarted), in show_super() 127 SFP(delete_solid_item_restarted), SFP(delete_item_restarted), in show_super() [all …]
|
/Linux-v5.10/drivers/scsi/snic/ |
D | snic_debugfs.c | 179 snic_stats_show(struct seq_file *sfp, void *data) in snic_stats_show() argument 181 struct snic *snic = (struct snic *) sfp->private; in snic_stats_show() 188 seq_printf(sfp, in snic_stats_show() 194 seq_printf(sfp, in snic_stats_show() 225 seq_puts(sfp, "\nSGL Counters\n"); in snic_stats_show() 228 seq_printf(sfp, in snic_stats_show() 233 seq_puts(sfp, "\n"); in snic_stats_show() 237 seq_printf(sfp, in snic_stats_show() 242 seq_printf(sfp, in snic_stats_show() 257 seq_printf(sfp, in snic_stats_show() [all …]
|
/Linux-v5.10/drivers/net/ethernet/intel/ice/ |
D | ice_devids.h | 10 /* Intel(R) Ethernet Connection E823-L for SFP */ 22 /* Intel(R) Ethernet Controller E810-C for SFP */ 24 /* Intel(R) Ethernet Controller E810-XXV for SFP */ 30 /* Intel(R) Ethernet Connection E823-C for SFP */ 40 /* Intel(R) Ethernet Connection E822-C for SFP */ 48 /* Intel(R) Ethernet Connection E822-L for SFP */
|
/Linux-v5.10/arch/arm/boot/dts/ |
D | armada-388-clearfog.dtsi | 80 sfp: sfp { label 81 compatible = "sff,sfp"; 109 sfp = <&sfp>; 191 * Routed to SFP, mikrobus, and PCIe. 192 * SFP limits this to 100kHz, and requires an AT24C01A/02/04 with 205 /* SFP, PCIe, mSATA, mikrobus */
|
D | armada-385-clearfog-gtr.dtsi | 15 5. SFP connector, or optionally SGMII Ethernet 1512 PHY 33 24 - SFP TX fault (input active high) 34 25 - SFP present (input active low) 35 26,27 - I2C1 - connected to SFP 49 46 - SFP TX disable 56 54 - SFP LOS (input active high) 137 i2c@11100 { /* SFP (CON5/CON6) */ 160 /* SFP */ 246 sfp0: sfp { 247 compatible = "sff,sfp"; [all …]
|
D | bcm958625hr.dts | 58 sfp: sfp { label 59 compatible = "sff,sfp"; 227 label = "sfp"; 230 sfp = <&sfp>;
|
/Linux-v5.10/fs/freevxfs/ |
D | vxfs_fshead.c | 111 struct vxfs_fsh *pfp, *sfp; in vxfs_read_fshead() local 132 sfp = vxfs_getfsh(infp->vsi_fship, 0); in vxfs_read_fshead() 133 if (!sfp) { in vxfs_read_fshead() 139 vxfs_dumpfsh(sfp); in vxfs_read_fshead() 153 fs32_to_cpu(infp, sfp->fsh_ilistino[0])); in vxfs_read_fshead() 176 kfree(sfp); in vxfs_read_fshead() 186 kfree(sfp); in vxfs_read_fshead()
|
/Linux-v5.10/arch/arm64/boot/dts/marvell/ |
D | armada-3720-turris-mox.dts | 97 sfp: sfp { label 98 compatible = "sff,sfp"; 106 /* enabled by U-Boot if SFP module is present */ 393 port-sfp@a { 395 label = "sfp"; 396 sfp = <&sfp>; 585 port-sfp@a { 587 label = "sfp"; 588 sfp = <&sfp>; 768 port-sfp@a { [all …]
|
D | armada-3720-uDPU.dts | 65 sfp_eth0: sfp-eth0 { 66 compatible = "sff,sfp"; 75 sfp_eth1: sfp-eth1 { 76 compatible = "sff,sfp"; 169 sfp = <&sfp_eth0>; 177 sfp = <&sfp_eth1>;
|
D | cn9131-db.dts | 38 cp1_sfp_eth1: sfp-eth1 { 39 compatible = "sff,sfp"; 48 * SFP cages are unconnected on early PCBs because of an the I2C 50 * unusable by disabling the SFP node. 93 sfp = <&cp1_sfp_eth1>; 184 cp1_sfp_pins: sfp-pins {
|
D | armada-8040-mcbin.dtsi | 64 sfp_eth0: sfp-eth0 { 66 compatible = "sff,sfp"; 77 sfp_eth1: sfp-eth1 { 79 compatible = "sff,sfp"; 90 sfp_eth3: sfp-eth3 { 92 compatible = "sff,sfp"; 214 cp0_sfp_1g_pins: sfp-1g-pins { 299 sfp = <&sfp_eth3>; 315 cp1_sfp_1g_pins: sfp-1g-pins {
|
D | cn9132-db.dts | 58 cp2_sfp_eth0: sfp-eth0 { 59 compatible = "sff,sfp"; 66 * SFP cages are unconnected on early PCBs because of an the I2C 68 * unusable by disabling the SFP node. 111 sfp = <&cp2_sfp_eth0>;
|
/Linux-v5.10/Documentation/networking/device_drivers/ethernet/intel/ |
D | ixgbe.rst | 35 SFP+ Devices with Pluggable Optics 44 - When 82599-based SFP+ devices are connected back to back, they should be set 53 | Intel | DUAL RATE 1G/10G SFP+ SR (bailed) | FTLX8571D3BCV-IT | 55 | Intel | DUAL RATE 1G/10G SFP+ SR (bailed) | AFBR-703SDZ-IN2 | 57 | Intel | DUAL RATE 1G/10G SFP+ SR (bailed) | AFBR-703SDDZ-IN1 | 61 | Intel | DUAL RATE 1G/10G SFP+ LR (bailed) | FTLX1471D3BCV-IT | 63 | Intel | DUAL RATE 1G/10G SFP+ LR (bailed) | AFCT-701SDZ-IN2 | 65 | Intel | DUAL RATE 1G/10G SFP+ LR (bailed) | AFCT-701SDDZ-IN1 | 68 The following is a list of 3rd party SFP+ modules that have received some 74 | Finisar | SFP+ SR bailed, 10g single rate | FTLX8571D3BCL | [all …]
|
/Linux-v5.10/Documentation/networking/ |
D | kapi.rst | 162 and SFF modules (eg, hot-pluggable SFP) that may contain PHYs. PHYLINK 170 SFP support 173 .. kernel-doc:: drivers/net/phy/sfp-bus.c 176 .. kernel-doc:: include/linux/sfp.h 179 .. kernel-doc:: drivers/net/phy/sfp-bus.c
|