1# 2# This file and its contents are supplied under the terms of the 3# Common Development and Distribution License ("CDDL"), version 1.0. 4# You may only use this file in accordance with the terms of version 5# 1.0 of the CDDL. 6# 7# A full copy of the text of the CDDL should have accompanied this 8# source. A copy of the CDDL is also available via the Internet at 9# http://www.illumos.org/license/CDDL. 10# 11 12# 13# Copyright 2025 Oxide Computer Company 14# 15 16# 17# MAPFILE HEADER START 18# 19# WARNING: STOP NOW. DO NOT MODIFY THIS FILE. 20# Object scoping must comply with the rules detailed in 21# 22# usr/src/uts/common/mapfiles/README 23# 24# You should not be making modifications here until you've read the most current 25# copy of that file. If you need help, contact a gatekeeper for guidance. 26# 27# MAPFILE HEADER END 28# 29 30# 31# This contains the functions that are usable by I2C/SMBus client and 32# multiplexer devices. 33# 34 35$mapfile_version 2 36 37SYMBOL_SCOPE { 38 global: 39 i2c_bus_lock { FLAGS = EXTERN }; 40 i2c_bus_unlock { FLAGS = EXTERN }; 41 i2c_client_addr { FLAGS = EXTERN }; 42 i2c_client_claim_addr { FLAGS = EXTERN }; 43 i2c_client_ctrl_errtostr { FLAGS = EXTERN }; 44 i2c_client_destroy { FLAGS = EXTERN }; 45 i2c_client_errtostr { FLAGS = EXTERN }; 46 i2c_client_init { FLAGS = EXTERN }; 47 i2c_client_init_by_dti { FLAGS = EXTERN }; 48 i2c_client_ksensor_create_scalar { FLAGS = EXTERN }; 49 i2c_io_error { FLAGS = EXTERN }; 50 i2c_mux_mod_fini { FLAGS = EXTERN }; 51 i2c_mux_mod_init { FLAGS = EXTERN }; 52 i2c_mux_port_name_portno { FLAGS = EXTERN }; 53 i2c_mux_port_name_portno_1s { FLAGS = EXTERN }; 54 i2c_mux_register { FLAGS = EXTERN }; 55 i2c_mux_register_alloc { FLAGS = EXTERN }; 56 i2c_mux_register_free { FLAGS = EXTERN }; 57 i2c_mux_unregister { FLAGS = EXTERN }; 58 i2c_reg_get { FLAGS = EXTERN }; 59 i2c_reg_handle_destroy { FLAGS = EXTERN }; 60 i2c_reg_handle_init { FLAGS = EXTERN }; 61 i2c_reg_max_read { FLAGS = EXTERN }; 62 i2c_reg_max_write { FLAGS = EXTERN }; 63 i2c_reg_put { FLAGS = EXTERN }; 64 smbus_client_read_u16 { FLAGS = EXTERN }; 65 smbus_client_read_u8 { FLAGS = EXTERN }; 66 smbus_client_recv_byte { FLAGS = EXTERN }; 67 smbus_client_send_byte { FLAGS = EXTERN }; 68 smbus_client_write_u16 { FLAGS = EXTERN }; 69 smbus_client_write_u8 { FLAGS = EXTERN }; 70}; 71