Home
last modified time | relevance | path

Searched refs:owner (Results 1 – 16 of 16) sorted by relevance

/components/drivers/spi/
A Ddev_spi_core.c44 bus->owner = RT_NULL; in spi_bus_register()
103 if (device->bus->owner == RT_NULL) in rt_spi_bus_attach_device_cspin()
104 device->bus->owner = device; in rt_spi_bus_attach_device_cspin()
143 if (device->bus->owner == device) in rt_spi_bus_configure()
231 if (device->bus->owner != device) in rt_spi_send_then_send()
306 if (device->bus->owner != device) in rt_spi_send_then_recv()
380 if (device->bus->owner != device) in rt_spi_transfer()
487 if (device->bus->owner != device) in rt_spi_transfer_message()
494 device->bus->owner = device; in rt_spi_transfer_message()
537 if (device->bus->owner != device) in rt_spi_take_bus()
[all …]
A Ddev_spi.c31 RT_ASSERT(bus->owner != RT_NULL); in _spi_bus_device_read()
33 return rt_spi_transfer(bus->owner, RT_NULL, buffer, size); in _spi_bus_device_read()
45 RT_ASSERT(bus->owner != RT_NULL); in _spi_bus_device_write()
47 return rt_spi_transfer(bus->owner, buffer, RT_NULL, size); in _spi_bus_device_write()
A Ddev_qspi_core.c99 if (device->parent.bus->owner != &device->parent) in rt_qspi_transfer_message()
106 device->parent.bus->owner = &device->parent; in rt_qspi_transfer_message()
A Ddev_spi_msd.c59 if (spi_device->bus->owner != spi_device) in MSD_take_owner()
66 spi_device->bus->owner = spi_device; in MSD_take_owner()
/components/mprotect/
A Dmprotect.c149 region.owner = rt_thread_self(); in rt_mprotect_add_exclusive_region()
160 if (exclusive_regions[i].owner == RT_NULL) in rt_mprotect_add_exclusive_region()
189 …if (exclusive_regions[i].owner == rt_thread_self() && exclusive_regions[i].region.start == start &… in rt_mprotect_delete_exclusive_region()
191 exclusive_regions[i].owner = RT_NULL; in rt_mprotect_delete_exclusive_region()
A Dmprotect.h31 rt_thread_t owner; member
/components/libc/posix/pthreads/
A Dpthread_mutex.c356 if (mutex->lock.owner != RT_NULL) in pthread_mutex_destroy()
410 if (mutex->lock.owner == rt_thread_self() && in pthread_mutex_lock()
466 if (mutex->lock.owner != rt_thread_self()) in pthread_mutex_unlock()
476 if (mutex->lock.owner == RT_NULL) in pthread_mutex_unlock()
528 if (mutex->lock.owner == rt_thread_self() && in pthread_mutex_trylock()
A Dpthread_cond.c364 if (mutex->lock.owner != rt_thread_self()) in _pthread_cond_timedwait()
/components/drivers/can/
A Ddev_can.c79 listmsg->owner = RT_NULL; in _can_int_rx()
90 if (listmsg->owner != RT_NULL && listmsg->owner->msgs) in _can_int_rx()
92 listmsg->owner->msgs--; in _can_int_rx()
94 listmsg->owner = RT_NULL; in _can_int_rx()
309 rx_fifo->buffer[i].owner = RT_NULL; in rt_can_open()
815 if (listmsg->owner != RT_NULL && listmsg->owner->msgs) in rt_hw_can_isr()
817 listmsg->owner->msgs--; in rt_hw_can_isr()
819 listmsg->owner = RT_NULL; in rt_hw_can_isr()
831 if (listmsg->owner != RT_NULL && listmsg->owner->msgs) in rt_hw_can_isr()
833 listmsg->owner->msgs--; in rt_hw_can_isr()
[all …]
/components/drivers/usb/cherryusb/
A DLICENSE12 "Licensor" shall mean the copyright owner or entity authorized by
13 the copyright owner that is granting the License.
51 submitted to Licensor for inclusion in the Work by the copyright owner
53 the copyright owner. For the purposes of this definition, "submitted"
60 designated in writing by the copyright owner as "Not a Contribution."
189 Copyright [yyyy] [name of copyright owner]
/components/finsh/
A Dcmd.c456 (m->owner == RT_NULL) ? "(null)" : m->owner->parent.name, in list_mutex()
469 (m->owner == RT_NULL) ? "(null)" : m->owner->parent.name, in list_mutex()
/components/drivers/include/drivers/
A Ddev_spi.h184 struct rt_spi_device *owner; member
A Ddev_can.h472 struct rt_can_hdr *owner; member
/components/lwp/
A Dlwp_futex.c631 futex->mutex->owner = thread; in _futex_lock_pi()
A Dlwp_pid.c577 RT_ASSERT(lwp->lwp_lock.owner == RT_NULL); in lwp_free()
A Dlwp_syscall.c10379 sysret_t sys_chown(const char *pathname, uid_t owner, gid_t group) in sys_chown() argument
10400 if(owner >= 0) in sys_chown()
10402 attr.st_uid = owner; in sys_chown()

Completed in 42 milliseconds