| /Linux-v6.1/drivers/net/phy/ |
| D | sfp.c | 21 #include "sfp.h" 166 * on board (for a copper SFP) time to initialise. 193 /* SFP module presence detection is poor: the three MOD DEF signals are 207 /* SFP modules appear to always have their PHY configured for bus address 209 * RollBall SFPs access phy via SFP Enhanced Digital Diagnostic Interface 220 struct sfp { struct 231 unsigned int (*get_state)(struct sfp *); argument 232 void (*set_state)(struct sfp *, unsigned int); argument 233 int (*read)(struct sfp *, bool, u8, void *, size_t); argument 234 int (*write)(struct sfp *, bool, u8, void *, size_t); argument [all …]
|
| D | sfp.h | 5 #include <linux/sfp.h> 7 struct sfp; 14 void (*fixup)(struct sfp *sfp); 18 void (*attach)(struct sfp *sfp); 19 void (*detach)(struct sfp *sfp); 20 void (*start)(struct sfp *sfp); 21 void (*stop)(struct sfp *sfp); 22 int (*module_info)(struct sfp *sfp, struct ethtool_modinfo *modinfo); 23 int (*module_eeprom)(struct sfp *sfp, struct ethtool_eeprom *ee, 25 int (*module_eeprom_by_page)(struct sfp *sfp, [all …]
|
| D | sfp-bus.c | 11 #include "sfp.h" 14 * struct sfp_bus - internal representation of a sfp bus 24 struct sfp *sfp; member 37 * @bus: a pointer to the &struct sfp_bus structure for the sfp module 88 dev_warn(bus->sfp_dev, "SFP: unknown connector id 0x%02x\n", in sfp_parse_port() 112 * @bus: a pointer to the &struct sfp_bus structure for the sfp module 139 * @bus: a pointer to the &struct sfp_bus structure for the sfp module 294 /* For fibre channel SFP, derive possible BaseX modes */ in sfp_parse_support() 341 * @bus: a pointer to the &struct sfp_bus structure for the sfp module 344 * Derive the phy_interface_t mode for the SFP module from the link [all …]
|
| /Linux-v6.1/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-v6.1/drivers/pinctrl/starfive/ |
| D | pinctrl-starfive-jh7100.c | 148 * sfp->gpio.pin_base = PAD_INVALID_GPIO then 149 * starfive_pin_to_gpio(sfp, validpin) is never a valid GPIO number. 213 static inline unsigned int starfive_pin_to_gpio(const struct starfive_pinctrl *sfp, in starfive_pin_to_gpio() argument 216 return pin - sfp->gpios.pin_base; in starfive_pin_to_gpio() 219 static inline unsigned int starfive_gpio_to_pin(const struct starfive_pinctrl *sfp, in starfive_gpio_to_pin() argument 222 return sfp->gpios.pin_base + gpio; in starfive_gpio_to_pin() 453 struct starfive_pinctrl *sfp = pinctrl_dev_get_drvdata(pctldev); in starfive_pin_dbg_show() local 454 unsigned int gpio = starfive_pin_to_gpio(sfp, pin); in starfive_pin_dbg_show() 461 reg = sfp->base + GPON_DOUT_CFG + 8 * gpio; in starfive_pin_dbg_show() 478 struct starfive_pinctrl *sfp = pinctrl_dev_get_drvdata(pctldev); in starfive_dt_node_to_map() local [all …]
|
| /Linux-v6.1/drivers/scsi/ |
| D | sg.c | 183 static int sg_build_indirect(Sg_scatter_hold * schp, Sg_fd * sfp, int buff_size); 184 static ssize_t sg_new_read(Sg_fd * sfp, char __user *buf, size_t count, 186 static ssize_t sg_new_write(Sg_fd *sfp, struct file *file, 189 static int sg_common_write(Sg_fd * sfp, Sg_request * srp, 192 static void sg_remove_scat(Sg_fd * sfp, Sg_scatter_hold * schp); 193 static void sg_build_reserve(Sg_fd * sfp, int req_size); 194 static void sg_link_reserve(Sg_fd * sfp, Sg_request * srp, int size); 195 static void sg_unlink_reserve(Sg_fd * sfp, Sg_request * srp); 198 static Sg_request *sg_get_rq_mark(Sg_fd * sfp, int pack_id, bool *busy); 199 static Sg_request *sg_add_request(Sg_fd * sfp); [all …]
|
| /Linux-v6.1/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-v6.1/arch/arm64/boot/dts/microchip/ |
| D | sparx5_pcb134_board.dtsi | 548 sfp_eth12: sfp-eth12 { 549 compatible = "sff,sfp"; 556 sfp_eth13: sfp-eth13 { 557 compatible = "sff,sfp"; 564 sfp_eth14: sfp-eth14 { 565 compatible = "sff,sfp"; 572 sfp_eth15: sfp-eth15 { 573 compatible = "sff,sfp"; 580 sfp_eth48: sfp-eth48 { 581 compatible = "sff,sfp"; [all …]
|
| /Linux-v6.1/Documentation/devicetree/bindings/nvmem/ |
| D | fsl,layerscape-sfp.yaml | 4 $id: http://devicetree.org/schemas/nvmem/fsl,layerscape-sfp.yaml# 13 SFP is the security fuse processor which among other things provides a 22 - description: Trust architecture 2.1 SFP 24 - const: fsl,ls1021a-sfp 25 - description: Trust architecture 3.0 SFP 27 - const: fsl,ls1028a-sfp 35 The SFP clock. Typically, this is the platform clock divided by 4. 38 const: sfp 40 ta-prog-sfp-supply: 57 compatible = "fsl,ls1028a-sfp"; [all …]
|
| /Linux-v6.1/arch/arm64/boot/dts/freescale/ |
| D | fsl-lx2160a-clearfog-itx.dtsi | 34 sfp0: sfp-0 { 35 compatible = "sff,sfp"; 41 sfp1: sfp-1 { 42 compatible = "sff,sfp"; 48 sfp2: sfp-2 { 49 compatible = "sff,sfp"; 55 sfp3: sfp-3 { 56 compatible = "sff,sfp"; 64 sfp = <&sfp0>; 70 sfp = <&sfp1>; [all …]
|
| /Linux-v6.1/net/hsr/ |
| D | hsr_debugfs.c | 20 hsr_node_table_show(struct seq_file *sfp, void *data) in hsr_node_table_show() argument 22 struct hsr_priv *priv = (struct hsr_priv *)sfp->private; in hsr_node_table_show() 26 seq_printf(sfp, "Node Table entries for (%s) device\n", in hsr_node_table_show() 28 seq_puts(sfp, "MAC-Address-A, MAC-Address-B, time_in[A], "); in hsr_node_table_show() 29 seq_puts(sfp, "time_in[B], Address-B port, "); in hsr_node_table_show() 31 seq_puts(sfp, "SAN-A, SAN-B, DAN-P\n"); in hsr_node_table_show() 33 seq_puts(sfp, "DAN-H\n"); in hsr_node_table_show() 42 seq_printf(sfp, "%pM ", &node->macaddress_A[0]); in hsr_node_table_show() 43 seq_printf(sfp, "%pM ", &node->macaddress_B[0]); in hsr_node_table_show() 44 seq_printf(sfp, "%10lx, ", in hsr_node_table_show() [all …]
|
| /Linux-v6.1/Documentation/devicetree/bindings/net/ |
| D | sff,sfp.yaml | 4 $id: "http://devicetree.org/schemas/net/sff,sfp.yaml#" 7 title: Small Form Factor (SFF) Committee Small Form-factor Pluggable (SFP) 16 - sff,sfp # for SFP modules 22 phandle of an I2C bus controller for the SFP two wire serial 67 output gpio signal (SFP+ only), low - low Tx rate, high - high Tx rate. Must 89 - | # Direct serdes to SFP connection 92 sfp1: sfp { 93 compatible = "sff,sfp"; 107 sfp = <&sfp1>; 110 - | # Serdes to PHY to SFP connection [all …]
|
| /Linux-v6.1/drivers/pinctrl/ |
| D | pinctrl-ocelot.c | 273 [FUNC_SFP] = "sfp", 366 LUTON_P(10, SFP, PHY_LED); 367 LUTON_P(11, SFP, PHY_LED); 368 LUTON_P(12, SFP, PHY_LED); 369 LUTON_P(13, SFP, PHY_LED); 373 LUTON_P(17, SFP, PHY_LED); 374 LUTON_P(18, SFP, PHY_LED); 375 LUTON_P(19, SFP, PHY_LED); 376 LUTON_P(20, SFP, PHY_LED); 377 LUTON_P(21, SFP, PHY_LED); [all …]
|
| /Linux-v6.1/drivers/scsi/bfa/ |
| D | bfa_ioc.c | 3627 * SFP module specific 3631 static void bfa_sfp_getdata_send(struct bfa_sfp_s *sfp); 3632 static void bfa_sfp_media_get(struct bfa_sfp_s *sfp); 3633 static bfa_status_t bfa_sfp_speed_valid(struct bfa_sfp_s *sfp, 3637 bfa_cb_sfp_show(struct bfa_sfp_s *sfp) in bfa_cb_sfp_show() argument 3639 bfa_trc(sfp, sfp->lock); in bfa_cb_sfp_show() 3640 if (sfp->cbfn) in bfa_cb_sfp_show() 3641 sfp->cbfn(sfp->cbarg, sfp->status); in bfa_cb_sfp_show() 3642 sfp->lock = 0; in bfa_cb_sfp_show() 3643 sfp->cbfn = NULL; in bfa_cb_sfp_show() [all …]
|
| /Linux-v6.1/arch/arm64/boot/dts/marvell/ |
| D | armada-7040-mochabin.dts | 33 /* SFP+ 10G */ 34 sfp_eth0: sfp-eth0 { 35 compatible = "sff,sfp"; 43 /* SFP 1G */ 44 sfp_eth2: sfp-eth2 { 45 compatible = "sff,sfp"; 190 /* mikroBUS, 1G SFP and GPIO expander */ 213 * IO0_0: SFP+_TX_FAULT 214 * IO0_1: SFP+_TX_DISABLE 215 * IO0_2: SFP+_PRSNT [all …]
|
| D | armada-8040-puzzle-m801.dts | 67 sfp_cp0_eth0: sfp-cp0-eth0 { 68 compatible = "sff,sfp"; 77 sfp_cp1_eth0: sfp-cp1-eth0 { 78 compatible = "sff,sfp"; 94 /* SFP+ port 2: Activity */ 101 /* SFP+ port 1: Activity */ 108 /* SFP+ port 2: 10 Gbps indicator */ 115 /* SFP+ port 2: 1 Gbps indicator */ 122 /* SFP+ port 1: 10 Gbps indicator */ 129 /* SFP+ port 1: 1 Gbps indicator */ [all …]
|
| D | armada-3720-turris-mox.dts | 100 sfp: sfp { label 101 compatible = "sff,sfp"; 110 /* enabled by U-Boot if SFP module is present */ 418 port-sfp@a { 420 label = "sfp"; 421 sfp = <&sfp>; 610 port-sfp@a { 612 label = "sfp"; 613 sfp = <&sfp>; 793 port-sfp@a { [all …]
|
| /Linux-v6.1/drivers/scsi/snic/ |
| D | snic_debugfs.c | 165 snic_stats_show(struct seq_file *sfp, void *data) in snic_stats_show() argument 167 struct snic *snic = (struct snic *) sfp->private; in snic_stats_show() 174 seq_printf(sfp, in snic_stats_show() 180 seq_printf(sfp, in snic_stats_show() 211 seq_puts(sfp, "\nSGL Counters\n"); in snic_stats_show() 214 seq_printf(sfp, in snic_stats_show() 219 seq_puts(sfp, "\n"); in snic_stats_show() 223 seq_printf(sfp, in snic_stats_show() 228 seq_printf(sfp, in snic_stats_show() 243 seq_printf(sfp, in snic_stats_show() [all …]
|
| /Linux-v6.1/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-v6.1/drivers/net/ethernet/intel/ice/ |
| D | ice_devids.h | 11 /* Intel(R) Ethernet Connection E823-L for SFP */ 23 /* Intel(R) Ethernet Controller E810-C for SFP */ 36 /* Intel(R) Ethernet Controller E810-XXV for SFP */ 42 /* Intel(R) Ethernet Connection E823-C for SFP */ 52 /* Intel(R) Ethernet Connection E822-C for SFP */ 60 /* Intel(R) Ethernet Connection E822-L for SFP */
|
| /Linux-v6.1/fs/freevxfs/ |
| D | vxfs_fshead.c | 87 struct vxfs_fsh *pfp, *sfp; in vxfs_read_fshead() local 108 sfp = vxfs_getfsh(infp->vsi_fship, 0); in vxfs_read_fshead() 109 if (!sfp) { in vxfs_read_fshead() 115 vxfs_dumpfsh(sfp); in vxfs_read_fshead() 129 fs32_to_cpu(infp, sfp->fsh_ilistino[0])); in vxfs_read_fshead() 152 kfree(sfp); in vxfs_read_fshead() 162 kfree(sfp); in vxfs_read_fshead()
|
| /Linux-v6.1/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-turris-omnia.dts | 91 sfp: sfp { label 92 compatible = "sff,sfp"; 103 * a SFP module is present. Read more in the comment in the 180 * eth2 is connected via a multiplexor to both the SFP cage and to 181 * ethernet-phy@1. The multiplexor switches the signal to SFP cage when 182 * a SFP module is present, as determined by the mode-def0 GPIO. 184 * Until kernel supports this configuration properly, in case SFP module 185 * is present, U-Boot has to enable the sfp node above, remove phy 192 sfp = <&sfp>; 368 /* routed to SFP+ */ [all …]
|
| 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 …]
|
| /Linux-v6.1/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 …]
|