/kernel/linux/linux-6.6/net/dsa/ |
H A D | tag_dsa.c | 204 bool trap = false, trunk = false; in dsa_rcv_ll() local 216 trunk = !!(dsa_header[1] & 4); in dsa_rcv_ll() 259 if (trunk) { in dsa_rcv_ll() 281 if (trunk) in dsa_rcv_ll()
|
/kernel/linux/linux-5.10/drivers/acpi/apei/ |
H A D | ghes.c | 314 u32 trunk; in ghes_copy_tofrom_phys() local 319 trunk = PAGE_SIZE - offset; in ghes_copy_tofrom_phys() 320 trunk = min(trunk, len); in ghes_copy_tofrom_phys() 322 memcpy_fromio(buffer, vaddr + offset, trunk); in ghes_copy_tofrom_phys() 324 memcpy_toio(vaddr + offset, buffer, trunk); in ghes_copy_tofrom_phys() 325 len -= trunk; in ghes_copy_tofrom_phys() 326 paddr += trunk; in ghes_copy_tofrom_phys() 327 buffer += trunk; in ghes_copy_tofrom_phys()
|
/kernel/linux/linux-6.6/drivers/acpi/apei/ |
H A D | ghes.c | 342 u32 trunk; in ghes_copy_tofrom_phys() local 347 trunk = PAGE_SIZE - offset; in ghes_copy_tofrom_phys() 348 trunk = min(trunk, len); in ghes_copy_tofrom_phys() 350 memcpy_fromio(buffer, vaddr + offset, trunk); in ghes_copy_tofrom_phys() 352 memcpy_toio(vaddr + offset, buffer, trunk); in ghes_copy_tofrom_phys() 353 len -= trunk; in ghes_copy_tofrom_phys() 354 paddr += trunk; in ghes_copy_tofrom_phys() 355 buffer += trunk; in ghes_copy_tofrom_phys()
|
/kernel/linux/linux-5.10/drivers/net/dsa/mv88e6xxx/ |
H A D | global1_atu.c | 176 entry->trunk = !!(val & MV88E6XXX_G1_ATU_DATA_TRUNK); in mv88e6xxx_g1_atu_data_read() 189 if (entry->trunk) in mv88e6xxx_g1_atu_data_write()
|
H A D | chip.h | 147 bool trunk; member
|
H A D | chip.c | 1324 /* Clear all trunk masks and mapping */ in mv88e6xxx_trunk_setup() 2144 if (addr.trunk || (addr.portvec & BIT(port)) == 0) in mv88e6xxx_port_db_dump_fid()
|
/kernel/linux/linux-5.10/drivers/scsi/bfa/ |
H A D | bfa_svc.c | 147 enum bfa_port_linkstate event, bfa_boolean_t trunk); 2953 * trunk - false if caller is fcport to ignore fcport event in trunked mode 2957 bfa_boolean_t trunk) in bfa_fcport_scn() 2959 if (fcport->cfg.trunked && !trunk) in bfa_fcport_scn() 3103 struct bfa_fcport_trunk_s *trunk = &fcport->trunk; in bfa_fcport_update_linkinfo() local 3124 * update trunk state if applicable in bfa_fcport_update_linkinfo() 3127 trunk->attr.state = BFA_TRUNK_DISABLED; in bfa_fcport_update_linkinfo() 3410 * Handle trunk SCN event from firmware. 3415 struct bfa_fcport_trunk_s *trunk in bfa_trunk_scn() local 2956 bfa_fcport_scn(struct bfa_fcport_s *fcport, enum bfa_port_linkstate event, bfa_boolean_t trunk) bfa_fcport_scn() argument [all...] |
H A D | bfad_bsg.c | 2291 struct bfa_fcport_trunk_s *trunk = &fcport->trunk; in bfad_iocmd_cfg_trunk() local 2306 trunk->attr.state = BFA_TRUNK_OFFLINE; in bfad_iocmd_cfg_trunk() 2310 trunk->attr.state = BFA_TRUNK_DISABLED; in bfad_iocmd_cfg_trunk() 2331 struct bfa_fcport_trunk_s *trunk = &fcport->trunk; in bfad_iocmd_trunk_get_attr() local 2339 memcpy((void *)&iocmd->attr, (void *)&trunk->attr, in bfad_iocmd_trunk_get_attr()
|
H A D | bfa_svc.h | 504 struct bfa_fcport_trunk_s trunk; member
|
/kernel/linux/linux-6.6/drivers/scsi/bfa/ |
H A D | bfa_svc.c | 147 enum bfa_port_linkstate event, bfa_boolean_t trunk); 2947 * trunk - false if caller is fcport to ignore fcport event in trunked mode 2951 bfa_boolean_t trunk) in bfa_fcport_scn() 2953 if (fcport->cfg.trunked && !trunk) in bfa_fcport_scn() 3097 struct bfa_fcport_trunk_s *trunk = &fcport->trunk; in bfa_fcport_update_linkinfo() local 3118 * update trunk state if applicable in bfa_fcport_update_linkinfo() 3121 trunk->attr.state = BFA_TRUNK_DISABLED; in bfa_fcport_update_linkinfo() 3404 * Handle trunk SCN event from firmware. 3409 struct bfa_fcport_trunk_s *trunk in bfa_trunk_scn() local 2950 bfa_fcport_scn(struct bfa_fcport_s *fcport, enum bfa_port_linkstate event, bfa_boolean_t trunk) bfa_fcport_scn() argument [all...] |
H A D | bfad_bsg.c | 2290 struct bfa_fcport_trunk_s *trunk = &fcport->trunk; in bfad_iocmd_cfg_trunk() local 2305 trunk->attr.state = BFA_TRUNK_OFFLINE; in bfad_iocmd_cfg_trunk() 2309 trunk->attr.state = BFA_TRUNK_DISABLED; in bfad_iocmd_cfg_trunk() 2330 struct bfa_fcport_trunk_s *trunk = &fcport->trunk; in bfad_iocmd_trunk_get_attr() local 2338 memcpy((void *)&iocmd->attr, (void *)&trunk->attr, in bfad_iocmd_trunk_get_attr()
|
H A D | bfa_svc.h | 504 struct bfa_fcport_trunk_s trunk; member
|
/kernel/linux/linux-6.6/drivers/net/dsa/mv88e6xxx/ |
H A D | global1_atu.c | 226 entry->trunk = !!(val & MV88E6XXX_G1_ATU_DATA_TRUNK); in mv88e6xxx_g1_atu_data_read() 239 if (entry->trunk) in mv88e6xxx_g1_atu_data_write()
|
H A D | port.h | 424 bool trunk, u8 id);
|
H A D | port.c | 987 bool trunk, u8 id) in mv88e6xxx_port_set_trunk() 998 if (trunk) in mv88e6xxx_port_set_trunk() 986 mv88e6xxx_port_set_trunk(struct mv88e6xxx_chip *chip, int port, bool trunk, u8 id) mv88e6xxx_port_set_trunk() argument
|
H A D | chip.h | 182 bool trunk; member
|
H A D | chip.c | 1498 /* Clear all trunk masks and mapping */ in mv88e6xxx_trunk_setup() 2738 if (addr.trunk || (addr.portvec & BIT(port)) == 0) in mv88e6xxx_port_db_dump_fid()
|