Home
last modified time | relevance | path

Searched refs:notification (Results 1 - 25 of 81) sorted by relevance

1234

/kernel/liteos_a/testsuites/unittest/libc/posix/mqueue/full/
H A DIt_posix_queue_206.cpp40 struct sigevent notification; in Child() local
47 notification.sigev_notify = 5; // 5, User-defined signal. in Child()
49 ret = mq_notify(mqueue, &notification); in Child()
53 notification.sigev_notify = SIGEV_THREAD; in Child()
55 ret = mq_notify(mqueue, &notification); in Child()
59 notification.sigev_notify = SIGEV_NONE; in Child()
61 ret = mq_notify(-1, &notification); in Child()
65 ret = mq_notify(mqueue, &notification); in Child()
72 ret = mq_notify(mqueue, &notification); in Child()
90 notification in Child()
[all...]
/kernel/liteos_a/testsuites/unittest/container/smoke/
H A DIt_ipc_container_003.cpp87 struct sigevent notification; in IpcContainerUnshare() local
88 notification.sigev_notify = 5; /* 5: test data */ in IpcContainerUnshare()
101 ret = mq_notify(mqueue, &notification); in IpcContainerUnshare()
105 notification.sigev_notify = SIGEV_THREAD; in IpcContainerUnshare()
106 ret = mq_notify(mqueue, &notification); in IpcContainerUnshare()
110 notification.sigev_notify = SIGEV_NONE; in IpcContainerUnshare()
112 ret = mq_notify(-1, &notification); in IpcContainerUnshare()
116 ret = mq_notify(mqueue, &notification); in IpcContainerUnshare()
/kernel/linux/linux-6.6/drivers/soc/qcom/
H A Dpmic_glink_altmode.c48 __le32 notification; member
263 u32 notification; in pmic_glink_altmode_sc8180xp_notify() local
278 notification = le32_to_cpu(msg->notification); in pmic_glink_altmode_sc8180xp_notify()
279 port = FIELD_GET(SC8180X_PORT_MASK, notification); in pmic_glink_altmode_sc8180xp_notify()
280 orientation = FIELD_GET(SC8180X_ORIENTATION_MASK, notification); in pmic_glink_altmode_sc8180xp_notify()
281 mux = FIELD_GET(SC8180X_MUX_MASK, notification); in pmic_glink_altmode_sc8180xp_notify()
282 mode = FIELD_GET(SC8180X_MODE_MASK, notification); in pmic_glink_altmode_sc8180xp_notify()
283 hpd_state = FIELD_GET(SC8180X_HPD_STATE_MASK, notification); in pmic_glink_altmode_sc8180xp_notify()
284 hpd_irq = FIELD_GET(SC8180X_HPD_IRQ_MASK, notification); in pmic_glink_altmode_sc8180xp_notify()
[all...]
/kernel/linux/linux-5.10/drivers/staging/media/imx/
H A Dimx-media-dev-common.c251 unsigned int notification) in imx_media_link_notify()
262 ret = v4l2_pipeline_link_notify(link, flags, notification); in imx_media_link_notify()
286 if (notification == MEDIA_DEV_NOTIFY_PRE_LINK_CH && in imx_media_link_notify()
296 } else if (notification == MEDIA_DEV_NOTIFY_POST_LINK_CH && in imx_media_link_notify()
313 static void imx_media_notify(struct v4l2_subdev *sd, unsigned int notification, in imx_media_notify() argument
319 if (notification != V4L2_DEVICE_NOTIFY_EVENT) in imx_media_notify()
250 imx_media_link_notify(struct media_link *link, u32 flags, unsigned int notification) imx_media_link_notify() argument
/kernel/linux/linux-6.6/drivers/staging/media/imx/
H A Dimx-media-dev-common.c236 unsigned int notification) in imx_media_link_notify()
247 ret = v4l2_pipeline_link_notify(link, flags, notification); in imx_media_link_notify()
271 if (notification == MEDIA_DEV_NOTIFY_PRE_LINK_CH && in imx_media_link_notify()
283 } else if (notification == MEDIA_DEV_NOTIFY_POST_LINK_CH && in imx_media_link_notify()
302 static void imx_media_notify(struct v4l2_subdev *sd, unsigned int notification, in imx_media_notify() argument
308 if (notification != V4L2_DEVICE_NOTIFY_EVENT) in imx_media_notify()
235 imx_media_link_notify(struct media_link *link, u32 flags, unsigned int notification) imx_media_link_notify() argument
/kernel/linux/linux-5.10/include/media/
H A Dv4l2-mc.h164 * v4l2_pipeline_link_notify - Link management notification callback
167 * @notification: The link's state change notification type (MEDIA_DEV_NOTIFY_*)
179 unsigned int notification);
211 unsigned int notification) in v4l2_pipeline_link_notify()
210 v4l2_pipeline_link_notify(struct media_link *link, u32 flags, unsigned int notification) v4l2_pipeline_link_notify() argument
H A Dv4l2-device.h54 unsigned int notification, void *arg);
229 * v4l2_subdev_notify - Sends a notification to v4l2_device.
232 * @notification: type of notification. Please notice that the notification
234 * @arg: arguments for the notification. Those are specific to each
235 * notification type.
238 unsigned int notification, void *arg) in v4l2_subdev_notify()
241 sd->v4l2_dev->notify(sd, notification, arg); in v4l2_subdev_notify()
237 v4l2_subdev_notify(struct v4l2_subdev *sd, unsigned int notification, void *arg) v4l2_subdev_notify() argument
/kernel/linux/linux-6.6/include/media/
H A Dv4l2-mc.h170 * v4l2_pipeline_link_notify - Link management notification callback
173 * @notification: The link's state change notification type (MEDIA_DEV_NOTIFY_*)
185 unsigned int notification);
217 unsigned int notification) in v4l2_pipeline_link_notify()
216 v4l2_pipeline_link_notify(struct media_link *link, u32 flags, unsigned int notification) v4l2_pipeline_link_notify() argument
H A Dv4l2-device.h54 unsigned int notification, void *arg);
229 * v4l2_subdev_notify - Sends a notification to v4l2_device.
232 * @notification: type of notification. Please notice that the notification
234 * @arg: arguments for the notification. Those are specific to each
235 * notification type.
238 unsigned int notification, void *arg) in v4l2_subdev_notify()
241 sd->v4l2_dev->notify(sd, notification, arg); in v4l2_subdev_notify()
237 v4l2_subdev_notify(struct v4l2_subdev *sd, unsigned int notification, void *arg) v4l2_subdev_notify() argument
/kernel/linux/linux-6.6/drivers/staging/media/tegra-video/
H A Dvideo.c30 unsigned int notification, void *arg) in tegra_v4l2_dev_notify()
35 if (notification != V4L2_DEVICE_NOTIFY_EVENT) in tegra_v4l2_dev_notify()
29 tegra_v4l2_dev_notify(struct v4l2_subdev *sd, unsigned int notification, void *arg) tegra_v4l2_dev_notify() argument
/kernel/linux/linux-5.10/ipc/
H A Dmqueue.c631 * to read only queue size & notification info (the only values
784 /* notification in __do_notify()
834 /* after notification unregisters process */ in __do_notify()
1314 * and he isn't currently owner of notification, will be silently discarded.
1317 static int do_mq_notify(mqd_t mqdes, const struct sigevent *notification) in do_mq_notify() argument
1326 audit_mq_notify(mqdes, notification); in do_mq_notify()
1330 if (notification != NULL) { in do_mq_notify()
1331 if (unlikely(notification->sigev_notify != SIGEV_NONE && in do_mq_notify()
1332 notification->sigev_notify != SIGEV_SIGNAL && in do_mq_notify()
1333 notification in do_mq_notify()
[all...]
/kernel/linux/linux-6.6/ipc/
H A Dmqueue.c631 * to read only queue size & notification info (the only values
785 /* notification in __do_notify()
835 /* after notification unregisters process */ in __do_notify()
1313 * and he isn't currently owner of notification, will be silently discarded.
1316 static int do_mq_notify(mqd_t mqdes, const struct sigevent *notification) in do_mq_notify() argument
1325 audit_mq_notify(mqdes, notification); in do_mq_notify()
1329 if (notification != NULL) { in do_mq_notify()
1330 if (unlikely(notification->sigev_notify != SIGEV_NONE && in do_mq_notify()
1331 notification->sigev_notify != SIGEV_SIGNAL && in do_mq_notify()
1332 notification in do_mq_notify()
[all...]
/kernel/linux/linux-5.10/drivers/thermal/intel/
H A Dintel_soc_dts_iosf.c406 bool notification; in intel_soc_dts_iosf_init() local
429 notification = false; in intel_soc_dts_iosf_init()
431 notification = true; in intel_soc_dts_iosf_init()
435 notification, trip_count, in intel_soc_dts_iosf_init()
/kernel/linux/linux-5.10/include/linux/
H A Daudit.h400 extern void __audit_mq_notify(mqd_t mqdes, const struct sigevent *notification);
470 static inline void audit_mq_notify(mqd_t mqdes, const struct sigevent *notification) in audit_mq_notify() argument
473 __audit_mq_notify(mqdes, notification); in audit_mq_notify()
640 const struct sigevent *notification) in audit_mq_notify()
639 audit_mq_notify(mqd_t mqdes, const struct sigevent *notification) audit_mq_notify() argument
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/sound/
H A Dfirewire.h24 unsigned int notification; member
/kernel/linux/linux-6.6/include/linux/
H A Daudit.h411 extern void __audit_mq_notify(mqd_t mqdes, const struct sigevent *notification);
482 static inline void audit_mq_notify(mqd_t mqdes, const struct sigevent *notification) in audit_mq_notify() argument
485 __audit_mq_notify(mqdes, notification); in audit_mq_notify()
660 const struct sigevent *notification) in audit_mq_notify()
659 audit_mq_notify(mqd_t mqdes, const struct sigevent *notification) audit_mq_notify() argument
/kernel/linux/linux-6.6/drivers/power/supply/
H A Dqcom_battmgr.c211 __le32 notification; member
935 unsigned int notification; in qcom_battmgr_notification() local
937 if (payload_len != sizeof(msg->notification)) { in qcom_battmgr_notification()
938 dev_warn(battmgr->dev, "ignoring notification with invalid length\n"); in qcom_battmgr_notification()
942 notification = le32_to_cpu(msg->notification); in qcom_battmgr_notification()
943 switch (notification) { in qcom_battmgr_notification()
958 dev_err(battmgr->dev, "unknown notification: %#x\n", notification); in qcom_battmgr_notification()
/kernel/linux/linux-6.6/drivers/media/platform/renesas/rcar-vin/
H A Drcar-v4l2.c1056 unsigned int notification, void *arg) in rvin_notify_video_device()
1058 switch (notification) { in rvin_notify_video_device()
1068 unsigned int notification, void *arg) in rvin_notify()
1079 rvin_notify_video_device(vin, notification, arg); in rvin_notify()
1098 rvin_notify_video_device(vin, notification, arg); in rvin_notify()
1055 rvin_notify_video_device(struct rvin_dev *vin, unsigned int notification, void *arg) rvin_notify_video_device() argument
1067 rvin_notify(struct v4l2_subdev *sd, unsigned int notification, void *arg) rvin_notify() argument
/kernel/linux/linux-5.10/drivers/net/wimax/i2400m/
H A Di2400m-usb.h46 * This driver listens to notifications sent from the notification
93 unsigned char notification; member
/kernel/linux/linux-5.10/include/uapi/sound/
H A Dfirewire.h28 unsigned int notification; /* DICE-specific bits */ member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/sound/
H A Dfirewire.h38 unsigned int notification; member
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/sound/
H A Dfirewire.h38 unsigned int notification; member
/kernel/linux/linux-5.10/drivers/media/v4l2-core/
H A Dv4l2-mc.c423 * To react to link management on powered pipelines, the link setup notification
557 unsigned int notification) in v4l2_pipeline_link_notify()
569 if (notification == MEDIA_DEV_NOTIFY_POST_LINK_CH && in v4l2_pipeline_link_notify()
577 if (notification == MEDIA_DEV_NOTIFY_PRE_LINK_CH && in v4l2_pipeline_link_notify()
556 v4l2_pipeline_link_notify(struct media_link *link, u32 flags, unsigned int notification) v4l2_pipeline_link_notify() argument
/kernel/linux/linux-5.10/drivers/pci/hotplug/
H A Dacpiphp_ibm.c74 /* struct notification - keeps info about the device
75 * that cause the ACPI notification event
77 struct notification { struct
95 static struct notification ibm_note;
237 * @context: passed context (our notification struct)
249 * has returned, thereby enforcing serial access for the notification struct.
255 struct notification *note = context; in ibm_handle_events()
257 pr_debug("%s: Received notification %02x\n", __func__, event); in ibm_handle_events()
451 pr_err("%s: Failed to register notification handler\n", in ibm_acpiphp_init()
/kernel/linux/linux-6.6/drivers/media/v4l2-core/
H A Dv4l2-mc.c431 * To react to link management on powered pipelines, the link setup notification
565 unsigned int notification) in v4l2_pipeline_link_notify()
577 if (notification == MEDIA_DEV_NOTIFY_POST_LINK_CH && in v4l2_pipeline_link_notify()
585 if (notification == MEDIA_DEV_NOTIFY_PRE_LINK_CH && in v4l2_pipeline_link_notify()
564 v4l2_pipeline_link_notify(struct media_link *link, u32 flags, unsigned int notification) v4l2_pipeline_link_notify() argument

Completed in 23 milliseconds

1234