• Home
  • Raw
  • Download

Lines Matching +full:configuration +full:- +full:space

1 /* SPDX-License-Identifier: GPL-2.0-or-later */
46 * rio_local_read_config_32 - Read 32 bits from local configuration space
48 * @offset: Offset into local configuration space
52 * device's configuration space.
61 * rio_local_write_config_32 - Write 32 bits to local configuration space
63 * @offset: Offset into local configuration space
67 * device's configuration space.
76 * rio_local_read_config_16 - Read 16 bits from local configuration space
78 * @offset: Offset into local configuration space
82 * device's configuration space.
91 * rio_local_write_config_16 - Write 16 bits to local configuration space
93 * @offset: Offset into local configuration space
97 * device's configuration space.
107 * rio_local_read_config_8 - Read 8 bits from local configuration space
109 * @offset: Offset into local configuration space
113 * device's configuration space.
122 * rio_local_write_config_8 - Write 8 bits to local configuration space
124 * @offset: Offset into local configuration space
128 * device's configuration space.
137 * rio_read_config_32 - Read 32 bits from configuration space
139 * @offset: Offset into device configuration space
143 * RIO device's configuration space.
148 return rio_mport_read_config_32(rdev->net->hport, rdev->destid, in rio_read_config_32()
149 rdev->hopcount, offset, data); in rio_read_config_32()
153 * rio_write_config_32 - Write 32 bits to configuration space
155 * @offset: Offset into device configuration space
159 * RIO device's configuration space.
164 return rio_mport_write_config_32(rdev->net->hport, rdev->destid, in rio_write_config_32()
165 rdev->hopcount, offset, data); in rio_write_config_32()
169 * rio_read_config_16 - Read 16 bits from configuration space
171 * @offset: Offset into device configuration space
175 * RIO device's configuration space.
180 return rio_mport_read_config_16(rdev->net->hport, rdev->destid, in rio_read_config_16()
181 rdev->hopcount, offset, data); in rio_read_config_16()
185 * rio_write_config_16 - Write 16 bits to configuration space
187 * @offset: Offset into device configuration space
191 * RIO device's configuration space.
196 return rio_mport_write_config_16(rdev->net->hport, rdev->destid, in rio_write_config_16()
197 rdev->hopcount, offset, data); in rio_write_config_16()
201 * rio_read_config_8 - Read 8 bits from configuration space
203 * @offset: Offset into device configuration space
207 * RIO device's configuration space.
211 return rio_mport_read_config_8(rdev->net->hport, rdev->destid, in rio_read_config_8()
212 rdev->hopcount, offset, data); in rio_read_config_8()
216 * rio_write_config_8 - Write 8 bits to configuration space
218 * @offset: Offset into device configuration space
222 * RIO device's configuration space.
226 return rio_mport_write_config_8(rdev->net->hport, rdev->destid, in rio_write_config_8()
227 rdev->hopcount, offset, data); in rio_write_config_8()
234 * rio_send_doorbell - Send a doorbell message to a device
239 * has a 16-bit info field provided by the @data argument.
243 return rio_mport_send_doorbell(rdev->net->hport, rdev->destid, data); in rio_send_doorbell()
247 * rio_init_mbox_res - Initialize a RIO mailbox resource
259 res->start = start; in rio_init_mbox_res()
260 res->end = end; in rio_init_mbox_res()
261 res->flags = RIO_RESOURCE_MAILBOX; in rio_init_mbox_res()
265 * rio_init_dbell_res - Initialize a RIO doorbell resource
277 res->start = start; in rio_init_dbell_res()
278 res->end = end; in rio_init_dbell_res()
279 res->flags = RIO_RESOURCE_DOORBELL; in rio_init_dbell_res()
283 * RIO_DEVICE - macro used to describe a specific RIO device
301 * rio_add_outb_message - Add RIO message to an outbound mailbox queue
315 return mport->ops->add_outb_message(mport, rdev, mbox, in rio_add_outb_message()
324 * rio_add_inb_buffer - Add buffer to an inbound mailbox queue
335 return mport->ops->add_inb_buffer(mport, mbox, buffer); in rio_add_inb_buffer()
339 * rio_get_inb_message - Get A RIO message from an inbound mailbox queue
347 return mport->ops->get_inb_message(mport, mbox); in rio_get_inb_message()
373 /* Port-Write management */
408 * rio_name - Get the unique RIO device identifier
416 return dev_name(&rdev->dev); in rio_name()
420 * rio_get_drvdata - Get RIO driver specific data
428 return dev_get_drvdata(&rdev->dev); in rio_get_drvdata()
432 * rio_set_drvdata - Set RIO driver specific data
441 dev_set_drvdata(&rdev->dev, data); in rio_set_drvdata()