Home
last modified time | relevance | path

Searched refs:sfp (Results 1 – 25 of 73) sorted by relevance

123

/linux/drivers/net/phy/
A Dsfp.c536 sfp->set_state(sfp, state); in sfp_set_state()
559 const struct sfp *sfp = data; in sfp_hwmon_is_visible() local
1308 err = sfp_read(sfp, true, 0, &sfp->diag, sizeof(sfp->diag)); in sfp_hwmon_probe()
1330 sfp->hwmon_name, sfp, in sfp_hwmon_probe()
1419 struct sfp *sfp = s->private; in sfp_debug_state_show() local
2411 struct sfp *sfp = data; in sfp_irq() local
2420 struct sfp *sfp = container_of(work, struct sfp, poll.work); in sfp_poll() local
2431 struct sfp *sfp; in sfp_alloc() local
2451 struct sfp *sfp = data; in sfp_cleanup() local
2471 struct sfp *sfp; in sfp_probe() local
[all …]
A Dsfp.h7 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,
17 int (*module_eeprom_by_page)(struct sfp *sfp,
31 struct sfp_bus *sfp_register_socket(struct device *dev, struct sfp *sfp,
A Dsfp-bus.c30 struct sfp *sfp; member
447 if (sfp->fwnode == fwnode) { in sfp_bus_get()
448 kref_get(&sfp->kref); in sfp_bus_get()
449 found = sfp; in sfp_bus_get()
507 bus->socket_ops->attach(bus->sfp); in sfp_register_bus()
612 bus->socket_ops->stop(bus->sfp); in sfp_upstream_stop()
697 if (bus->sfp) { in sfp_bus_add_upstream()
724 if (bus->sfp) in sfp_bus_del_upstream()
827 bus->sfp = NULL; in sfp_socket_clear()
831 struct sfp_bus *sfp_register_socket(struct device *dev, struct sfp *sfp, in sfp_register_socket() argument
[all …]
A DMakefile29 obj-$(CONFIG_SFP) += sfp.o
30 sfp-obj-$(CONFIG_SFP) += sfp-bus.o
31 obj-y += $(sfp-obj-y) $(sfp-obj-m)
/linux/drivers/media/usb/pvrusb2/
A Dpvrusb2-sysfs.c303 cip->chptr = sfp; in pvr2_sysfs_add_control()
305 if (sfp->item_last) { in pvr2_sysfs_add_control()
310 sfp->item_last = cip; in pvr2_sysfs_add_control()
429 sfp->debugifc = dip; in pvr2_sysfs_add_debugifc()
460 kfree(sfp->debugifc); in pvr2_sysfs_tear_down_debugifc()
461 sfp->debugifc = NULL; in pvr2_sysfs_tear_down_debugifc()
683 ret = device_create_file(sfp->class_dev,&sfp->attr_unit_number); in class_dev_create()
752 kfree(sfp); in pvr2_sysfs_internal_check()
760 sfp = kzalloc(sizeof(*sfp),GFP_KERNEL); in pvr2_sysfs_create()
761 if (!sfp) return sfp; in pvr2_sysfs_create()
[all …]
/linux/fs/xfs/libxfs/
A Dxfs_dir2_sf.c353 kmem_free(sfp); in xfs_dir2_block_to_sf()
492 sfp->count++; in xfs_dir2_sf_addname_easy()
494 sfp->i8count++; in xfs_dir2_sf_addname_easy()
578 sfp->count++; in xfs_dir2_sf_addname_hard()
580 sfp->i8count++; in xfs_dir2_sf_addname_hard()
850 sfp->count = 0; in xfs_dir2_sf_create()
907 for (i = 0, sfep = xfs_dir2_sf_firstentry(sfp); i < sfp->count; in xfs_dir2_sf_lookup()
966 for (i = 0, sfep = xfs_dir2_sf_firstentry(sfp); i < sfp->count; in xfs_dir2_sf_removename()
990 memmove((char *)sfp + byteoff, (char *)sfp + byteoff + entsize, in xfs_dir2_sf_removename()
995 sfp->count--; in xfs_dir2_sf_removename()
[all …]
/linux/drivers/scsi/
A Dsg.c290 Sg_fd *sfp; in sg_open() local
386 Sg_fd *sfp; in sg_release() local
445 Sg_fd *sfp; in sg_read() local
609 Sg_fd *sfp; in sg_write() local
1044 sg_remove_scat(sfp, &sfp->reserve); in sg_ioctl_common()
1159 Sg_fd *sfp; in sg_ioctl() local
1176 Sg_fd *sfp; in sg_poll() local
1182 if (!sfp) in sg_poll()
2116 if (!sfp || !srp || list_empty(&sfp->rq_list)) in sg_remove_request()
2136 if (!sfp) in sg_add_sfp()
[all …]
/linux/net/hsr/
A Dhsr_debugfs.c27 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()
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()
50 seq_printf(sfp, "%14x, ", node->addr_B_port); in hsr_node_table_show()
53 seq_printf(sfp, "%5x, %5x, %5x\n", in hsr_node_table_show()
[all …]
/linux/arch/arm64/boot/dts/microchip/
A Dsparx5_pcb134_board.dtsi721 sfp = <&sfp_eth12>;
731 sfp = <&sfp_eth13>;
740 sfp = <&sfp_eth14>;
749 sfp = <&sfp_eth15>;
758 sfp = <&sfp_eth48>;
767 sfp = <&sfp_eth49>;
776 sfp = <&sfp_eth50>;
785 sfp = <&sfp_eth51>;
794 sfp = <&sfp_eth52>;
803 sfp = <&sfp_eth53>;
[all …]
A Dsparx5_pcb135_board.dtsi172 sfp_eth60: sfp-eth60 {
173 compatible = "sff,sfp";
181 sfp_eth61: sfp-eth61 {
182 compatible = "sff,sfp";
190 sfp_eth62: sfp-eth62 {
191 compatible = "sff,sfp";
199 sfp_eth63: sfp-eth63 {
716 sfp = <&sfp_eth60>;
724 sfp = <&sfp_eth61>;
732 sfp = <&sfp_eth62>;
[all …]
/linux/arch/arm64/boot/dts/freescale/
A Dfsl-lx2160a-clearfog-itx.dtsi34 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 {
64 sfp = <&sfp0>;
69 sfp = <&sfp1>;
74 sfp = <&sfp2>;
[all …]
A Dfsl-ls1088a-ten64.dts71 sfp_xg0: dpmac2-sfp {
72 compatible = "sff,sfp";
81 sfp_xg1: dpmac1-sfp {
82 compatible = "sff,sfp";
94 sfp = <&sfp_xg1>;
102 sfp = <&sfp_xg0>;
/linux/drivers/scsi/snic/
A Dsnic_debugfs.c188 seq_printf(sfp, in snic_stats_show()
194 seq_printf(sfp, in snic_stats_show()
228 seq_printf(sfp, 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()
262 seq_printf(sfp, in snic_stats_show()
271 seq_printf(sfp, in snic_stats_show()
276 seq_printf(sfp, in snic_stats_show()
290 seq_printf(sfp, in snic_stats_show()
[all …]
/linux/drivers/scsi/bfa/
A Dbfa_ioc.c3639 bfa_trc(sfp, sfp->lock); in bfa_cb_sfp_show()
3641 sfp->cbfn(sfp->cbarg, sfp->status); in bfa_cb_sfp_show()
3659 sfp->status = bfa_sfp_speed_valid(sfp, sfp->portspeed); in bfa_cb_sfp_state_query()
3679 bfa_trc(sfp, sfp->lock); in bfa_sfp_notify()
3776 bfa_trc(sfp, sfp->state); in bfa_sfp_getdata()
3844 bfa_trc(sfp, sfp->lock); in bfa_sfp_show_comp()
3856 bfa_trc(sfp, sfp->state); in bfa_sfp_show_comp()
3897 bfa_trc(sfp, sfp->state); in bfa_sfp_state_query()
3949 bfa_trc(sfp, sfp->state); in bfa_sfp_media_get()
4159 bfa_trc(sfp, sfp->state); in bfa_sfp_speed()
[all …]
/linux/fs/freevxfs/
A Dvxfs_fshead.c111 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/Documentation/devicetree/bindings/net/
A Dsff,sfp.txt7 "sff,sfp" for SFP modules
42 sfp_eth3: sfp-eth3 {
43 compatible = "sff,sfp";
57 sfp = <&sfp_eth3>;
62 sfp_eth0: sfp-eth0 {
63 compatible = "sff,sfp";
79 sfp = <&sfp_eth0>;
A Dmicrochip,sparx5-switch.yaml109 sfp:
136 - sfp
182 sfp = <&sfp_eth60>;
191 sfp = <&sfp_eth61>;
200 sfp = <&sfp_eth62>;
209 sfp = <&sfp_eth63>;
/linux/arch/arm64/boot/dts/marvell/
A Darmada-3720-uDPU.dts65 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>;
A Darmada-3720-turris-mox.dts99 sfp: sfp { label
100 compatible = "sff,sfp";
412 port-sfp@a {
414 label = "sfp";
415 sfp = <&sfp>;
604 port-sfp@a {
606 label = "sfp";
607 sfp = <&sfp>;
787 port-sfp@a {
789 label = "sfp";
[all …]
A Darmada-8040-mcbin.dtsi64 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 {
309 sfp = <&sfp_eth3>;
325 cp1_sfp_1g_pins: sfp-1g-pins {
A Darmada-7040-mochabin.dts34 sfp_eth0: sfp-eth0 {
35 compatible = "sff,sfp";
44 sfp_eth2: sfp-eth2 {
45 compatible = "sff,sfp";
296 sfp = <&sfp_eth2>;
388 sfp = <&sfp_eth0>;
/linux/fs/xfs/
A Dxfs_dir2_readdir.c54 xfs_dir2_sf_hdr_t *sfp; /* shortform structure */ in xfs_dir2_sf_getdents() local
64 sfp = (xfs_dir2_sf_hdr_t *)dp->i_df.if_u1.if_data; in xfs_dir2_sf_getdents()
96 ino = xfs_dir2_sf_get_parent_ino(sfp); in xfs_dir2_sf_getdents()
105 sfep = xfs_dir2_sf_firstentry(sfp); in xfs_dir2_sf_getdents()
106 for (i = 0; i < sfp->count; i++) { in xfs_dir2_sf_getdents()
113 sfep = xfs_dir2_sf_nextentry(mp, sfp, sfep); in xfs_dir2_sf_getdents()
117 ino = xfs_dir2_sf_get_ino(mp, sfp, sfep); in xfs_dir2_sf_getdents()
127 sfep = xfs_dir2_sf_nextentry(mp, sfp, sfep); in xfs_dir2_sf_getdents()
/linux/arch/arm/boot/dts/
A Dbcm958625hr.dts58 sfp: sfp { label
59 compatible = "sff,sfp";
225 label = "sfp";
228 sfp = <&sfp>;
A Dvf610-zii-scu4-aib.dts191 sfp = <&sff1>;
199 sfp = <&sff2>;
207 sfp = <&sff3>;
215 sfp = <&sff4>;
223 sfp = <&sff5>;
231 sfp = <&sff6>;
239 sfp = <&sff0>;
274 sfp = <&sff7>;
282 sfp = <&sff8>;
290 sfp = <&sff9>;
A Darmada-388-clearfog.dtsi80 sfp: sfp { label
81 compatible = "sff,sfp";
109 sfp = <&sfp>;

Completed in 70 milliseconds

123