| /freebsd/sys/dev/superio/ |
| H A D | superio.c | 63 uint8_t ldn; member 71 uint8_t ldn; member 134 sio_ldn_select(struct siosc *sc, uint8_t ldn) in sio_ldn_select() argument 137 if (ldn == sc->current_ldn) in sio_ldn_select() 139 sio_write(sc->io_res, sc->ldn_reg, ldn); in sio_ldn_select() 140 sc->current_ldn = ldn; in sio_ldn_select() 144 sio_ldn_read(struct siosc *sc, uint8_t ldn, uint8_t reg) in sio_ldn_read() argument 148 sio_ldn_select(sc, ldn); in sio_ldn_read() 149 KASSERT(sc->current_ldn == ldn, ("sio_ldn_select failed")); in sio_ldn_read() 155 sio_ldn_readw(struct siosc *sc, uint8_t ldn, uint8_t reg) in sio_ldn_readw() argument [all …]
|
| H A D | superio.h | 52 uint8_t superio_ldn_read(device_t dev, uint8_t ldn, uint8_t reg); 54 void superio_ldn_write(device_t dev, uint8_t ldn, uint8_t reg, uint8_t val); 60 int ldn); 74 SUPERIO_ACCESSOR(ldn, LDN, uint8_t)
|
| H A D | superio_io.h | 34 uint8_t ldn; member
|
| /freebsd/sys/isa/ |
| H A D | pnpvar.h | 51 struct isa_config *config, int ldn); 55 void pnp_parse_resources(device_t dev, u_char *resources, int len, int ldn); 57 struct isa_config *config, int ldn); 59 struct isa_config *config, int ldn, pnp_scan_cb *cb); 61 void pnp_check_quirks(uint32_t vendor_id, uint32_t logical_id, int ldn,
|
| H A D | pnp.c | 51 int ldn; /* Logical device on card */ member 203 int ldn = ((struct pnp_set_config_arg *) arg)->ldn; in pnp_set_config() local 216 pnp_write(PNP_SET_LDN, ldn); in pnp_set_config() 342 pnp_check_quirks(uint32_t vendor_id, uint32_t logical_id, int ldn, in pnp_check_quirks() argument 352 pnp_write(PNP_SET_LDN, ldn); in pnp_check_quirks() 391 int ldn = 0; in pnp_create_devices() local 461 resinfo - startres - 1, ldn); in pnp_create_devices() 471 pnp_check_quirks(p->vendor_id, logical_id, ldn, NULL); in pnp_create_devices() 490 csnldn->ldn in pnp_create_devices() [all...] |
| H A D | pnpparse.c | 60 struct isa_config *config, int ldn) in pnp_parse_desc() argument 168 isa_get_logicalid(dev), ldn, config); in pnp_parse_desc() 346 struct isa_config *config, int ldn) in pnp_parse_dependant() argument 349 return pnp_scan_resources(dev, resources, len, config, ldn, in pnp_parse_dependant() 404 pnp_parse_resources(device_t dev, u_char *resources, int len, int ldn) in pnp_parse_resources() argument 457 config, ldn); in pnp_parse_resources() 493 config, ldn); in pnp_parse_resources() 518 if (pnp_parse_desc(dev, tag, p, l, config, ldn)) in pnp_parse_resources() 538 pnp_parse_desc(dev, tag, p, l, config, ldn)) { in pnp_parse_resources() 568 struct isa_config *config, int ldn, pnp_scan_cb *cb) in pnp_scan_resources() argument [all …]
|
| /freebsd/sys/dev/ncthwm/ |
| H A D | ncthwm.c | 165 uint8_t ldn; in ncthwm_probe() local 167 ldn = superio_get_ldn(dev); in ncthwm_probe() 170 NCTHWM_VERBOSE_PRINTF(dev, "ldn 0x%x not a Nuvoton device\n", ldn); in ncthwm_probe() 174 NCTHWM_VERBOSE_PRINTF(dev, "ldn 0x%x not a HWM device\n", ldn); in ncthwm_probe() 180 NCTHWM_VERBOSE_PRINTF(dev, "ldn 0x%x not supported\n", ldn); in ncthwm_probe()
|
| /freebsd/stand/common/ |
| H A D | isapnp.h | 248 u_char ldn; /* Logical Device Number */ member 294 int read_pnp_parms(struct pnp_cinfo *d, int ldn); 295 int write_pnp_parms(struct pnp_cinfo *d, int ldn);
|
| /freebsd/crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ |
| H A D | ldap_misc.c | 813 LDAPDN ldn = NULL; in replace_rdn() local 819 ret = ldap_str2dn(dn, &ldn, LDAP_DN_FORMAT_LDAPV3); in replace_rdn() 820 if (ret != LDAP_SUCCESS || ldn[0] == NULL) { in replace_rdn() 831 ldap_rdnfree(ldn[0]); in replace_rdn() 832 ldn[0] = lrdn; in replace_rdn() 835 ret = ldap_dn2str(ldn, newdn_out, LDAP_DN_FORMAT_LDAPV3); in replace_rdn() 840 if (ldn != NULL) in replace_rdn() 841 ldap_dnfree(ldn); in replace_rdn()
|
| /freebsd/sys/dev/nctgpio/ |
| H A D | nctgpio.c | 1109 uint8_t ldn; in nct_probe() local 1111 ldn = superio_get_ldn(dev); in nct_probe() 1114 NCT_VERBOSE_PRINTF(dev, "ldn 0x%x not a Nuvoton device\n", ldn); in nct_probe() 1118 NCT_VERBOSE_PRINTF(dev, "ldn 0x%x not a GPIO device\n", ldn); in nct_probe() 1124 NCT_VERBOSE_PRINTF(dev, "ldn 0x%x not supported\n", ldn); in nct_probe()
|
| /freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/ |
| H A D | dt_printf.c | 311 long double ldn = (long double)normal; in pfprint_fp() local 323 *((long double *)addr) / ldn)); in pfprint_fp()
|
| /freebsd/sys/dev/mfi/ |
| H A D | mfi.c | 2820 struct mfi_disk *ld, *ldn; in mfi_check_command_post() 2845 TAILQ_FOREACH_SAFE(ld, &sc->mfi_ld_tqh, ld_link, ldn) { in mfi_check_command_post() 2821 struct mfi_disk *ld, *ldn; mfi_check_command_post() local
|