Home
last modified time | relevance | path

Searched refs:ocs (Results 1 – 13 of 13) sorted by relevance

/Linux-v5.10/drivers/of/
Ddynamic.c672 void of_changeset_init(struct of_changeset *ocs) in of_changeset_init() argument
674 memset(ocs, 0, sizeof(*ocs)); in of_changeset_init()
675 INIT_LIST_HEAD(&ocs->entries); in of_changeset_init()
687 void of_changeset_destroy(struct of_changeset *ocs) in of_changeset_destroy() argument
691 list_for_each_entry_safe_reverse(ce, cen, &ocs->entries, node) in of_changeset_destroy()
706 int __of_changeset_apply_entries(struct of_changeset *ocs, int *ret_revert) in __of_changeset_apply_entries() argument
712 list_for_each_entry(ce, &ocs->entries, node) { in __of_changeset_apply_entries()
716 list_for_each_entry_continue_reverse(ce, &ocs->entries, in __of_changeset_apply_entries()
735 int __of_changeset_apply_notify(struct of_changeset *ocs) in __of_changeset_apply_notify() argument
744 list_for_each_entry(ce, &ocs->entries, node) { in __of_changeset_apply_notify()
[all …]
Dof_private.h46 extern int __of_changeset_apply_entries(struct of_changeset *ocs,
48 extern int __of_changeset_apply_notify(struct of_changeset *ocs);
49 extern int __of_changeset_revert_entries(struct of_changeset *ocs,
51 extern int __of_changeset_revert_notify(struct of_changeset *ocs);
/Linux-v5.10/include/linux/
Dof.h1373 extern void of_changeset_init(struct of_changeset *ocs);
1374 extern void of_changeset_destroy(struct of_changeset *ocs);
1375 extern int of_changeset_apply(struct of_changeset *ocs);
1376 extern int of_changeset_revert(struct of_changeset *ocs);
1377 extern int of_changeset_action(struct of_changeset *ocs,
1381 static inline int of_changeset_attach_node(struct of_changeset *ocs, in of_changeset_attach_node() argument
1384 return of_changeset_action(ocs, OF_RECONFIG_ATTACH_NODE, np, NULL); in of_changeset_attach_node()
1387 static inline int of_changeset_detach_node(struct of_changeset *ocs, in of_changeset_detach_node() argument
1390 return of_changeset_action(ocs, OF_RECONFIG_DETACH_NODE, np, NULL); in of_changeset_detach_node()
1393 static inline int of_changeset_add_property(struct of_changeset *ocs, in of_changeset_add_property() argument
[all …]
/Linux-v5.10/drivers/net/slip/
Dslhc.c230 struct cstate *ocs = &(comp->tstate[comp->xmit_oldest]); in slhc_compress() local
231 struct cstate *lcs = ocs; in slhc_compress()
304 if ( cs == ocs ) in slhc_compress()
327 if(lcs == ocs) { in slhc_compress()
329 } else if (cs == ocs) { in slhc_compress()
335 cs->next = ocs->next; in slhc_compress()
336 ocs->next = cs; in slhc_compress()
/Linux-v5.10/drivers/pci/hotplug/
Dpnv_php.c175 of_changeset_destroy(&php_slot->ocs); in pnv_php_rmv_devtree()
212 static int pnv_php_populate_changeset(struct of_changeset *ocs, in pnv_php_populate_changeset() argument
219 ret = of_changeset_attach_node(ocs, child); in pnv_php_populate_changeset()
225 ret = pnv_php_populate_changeset(ocs, child); in pnv_php_populate_changeset()
290 of_changeset_init(&php_slot->ocs); in pnv_php_add_devtree()
292 ret = pnv_php_populate_changeset(&php_slot->ocs, php_slot->dn); in pnv_php_add_devtree()
301 ret = of_changeset_apply(&php_slot->ocs); in pnv_php_add_devtree()
315 of_changeset_destroy(&php_slot->ocs); in pnv_php_add_devtree()
/Linux-v5.10/drivers/media/pci/saa7134/
Dsaa7134-tvaudio.c175 int ausel=0, ics=0, ocs=0; in mute_input_7134() local
215 case TV: ausel=0xc0; ics=0x00; ocs=0x02; break; in mute_input_7134()
216 case LINE1: ausel=0x80; ics=0x00; ocs=0x00; break; in mute_input_7134()
217 case LINE2: ausel=0x80; ics=0x08; ocs=0x01; break; in mute_input_7134()
218 case LINE2_LEFT: ausel=0x80; ics=0x08; ocs=0x05; break; in mute_input_7134()
222 saa_andorb(SAA7134_ANALOG_IO_SELECT, 0x07, ocs); in mute_input_7134()
/Linux-v5.10/scripts/ksymoops/
DREADME7 Keith Owens <kaos@ocs.com.au> Sat Jun 19 10:30:34 EST 1999
/Linux-v5.10/include/uapi/linux/
Dhdlcdrv.h57 struct hdlcdrv_old_channel_state ocs; member
/Linux-v5.10/drivers/gpu/drm/rcar-du/
Drcar_du_of.c66 static int __init rcar_du_of_add_property(struct of_changeset *ocs, in rcar_du_of_add_property() argument
90 ret = of_changeset_add_property(ocs, np, prop); in rcar_du_of_add_property()
/Linux-v5.10/arch/powerpc/include/asm/
Dpnv-pci.h68 struct of_changeset ocs; member
/Linux-v5.10/drivers/net/hamradio/
Dhdlcdrv.c557 bi.data.ocs.ptt = hdlcdrv_ptt(s); in hdlcdrv_ioctl()
558 bi.data.ocs.dcd = s->hdlcrx.dcd; in hdlcdrv_ioctl()
559 bi.data.ocs.ptt_keyed = s->ptt_keyed; in hdlcdrv_ioctl()
Dbaycom_epp.c1070 hi.data.ocs.ptt = !!(bc->stat & EPP_PTTBIT); in baycom_ioctl()
1071 hi.data.ocs.dcd = !(bc->stat & EPP_DCDBIT); in baycom_ioctl()
1072 hi.data.ocs.ptt_keyed = bc->ptt_keyed; in baycom_ioctl()
/Linux-v5.10/drivers/scsi/ufs/
Dufshcd.c4822 int ocs; in ufshcd_transfer_rsp_status() local
4825 ocs = ufshcd_get_tr_ocs(lrbp); in ufshcd_transfer_rsp_status()
4830 ocs = OCS_SUCCESS; in ufshcd_transfer_rsp_status()
4833 switch (ocs) { in ufshcd_transfer_rsp_status()
4908 ocs, lrbp->task_tag); in ufshcd_transfer_rsp_status()