Lines Matching refs:ch_number
134 xpc_connect(int ch_number, xpc_channel_func func, void *key, u16 payload_size, in xpc_connect() argument
139 DBUG_ON(ch_number < 0 || ch_number >= XPC_MAX_NCHANNELS); in xpc_connect()
147 registration = &xpc_registrations[ch_number]; in xpc_connect()
169 xpc_interface.connect(ch_number); in xpc_connect()
189 xpc_disconnect(int ch_number) in xpc_disconnect() argument
193 DBUG_ON(ch_number < 0 || ch_number >= XPC_MAX_NCHANNELS); in xpc_disconnect()
195 registration = &xpc_registrations[ch_number]; in xpc_disconnect()
219 xpc_interface.disconnect(ch_number); in xpc_disconnect()
231 int ch_number; in xp_init() local
234 for (ch_number = 0; ch_number < XPC_MAX_NCHANNELS; ch_number++) in xp_init()
235 mutex_init(&xpc_registrations[ch_number].mutex); in xp_init()