Lines Matching defs:param_id

46 static int	twe_get_param_1(struct twe_softc *sc, int table_id, int param_id, u_int8_t *result);
47 static int twe_get_param_2(struct twe_softc *sc, int table_id, int param_id, u_int16_t *result);
48 static int twe_get_param_4(struct twe_softc *sc, int table_id, int param_id, u_int32_t *result);
52 static int twe_set_param_1(struct twe_softc *sc, int table_id, int param_id, u_int8_t value);
55 static int twe_set_param_2(struct twe_softc *sc, int table_id, int param_id, u_int16_t value);
56 static int twe_set_param_4(struct twe_softc *sc, int table_id, int param_id, u_int32_t value);
58 static int twe_set_param(struct twe_softc *sc, int table_id, int param_id, int param_size,
721 twe_get_param_1(struct twe_softc *sc, int table_id, int param_id, u_int8_t *result)
725 if ((param = twe_get_param(sc, table_id, param_id, 1, NULL)) == NULL)
733 twe_get_param_2(struct twe_softc *sc, int table_id, int param_id, u_int16_t *result)
737 if ((param = twe_get_param(sc, table_id, param_id, 2, NULL)) == NULL)
745 twe_get_param_4(struct twe_softc *sc, int table_id, int param_id, u_int32_t *result)
749 if ((param = twe_get_param(sc, table_id, param_id, 4, NULL)) == NULL)
763 twe_get_param(struct twe_softc *sc, int table_id, int param_id, size_t param_size,
797 param->parameter_id = param_id;
834 twe_set_param_1(struct twe_softc *sc, int table_id, int param_id, u_int8_t value)
836 return(twe_set_param(sc, table_id, param_id, sizeof(value), &value));
842 twe_set_param_2(struct twe_softc *sc, int table_id, int param_id, u_int16_t value)
844 return(twe_set_param(sc, table_id, param_id, sizeof(value), &value));
848 twe_set_param_4(struct twe_softc *sc, int table_id, int param_id, u_int32_t value)
850 return(twe_set_param(sc, table_id, param_id, sizeof(value), &value));
858 twe_set_param(struct twe_softc *sc, int table_id, int param_id, int param_size, void *data)
892 param->parameter_id = param_id;