Lines Matching refs:_name
65 #define DEF_TYPE(_name, _id, _type...) \ argument
66 { .name = _name, .id = _id, .type = _type }
67 #define DEF_BASE(_name, _id, _type, _parent...) \ argument
68 DEF_TYPE(_name, _id, _type, .parent = _parent)
70 #define DEF_INPUT(_name, _id) \ argument
71 DEF_TYPE(_name, _id, CLK_TYPE_IN)
72 #define DEF_FIXED(_name, _id, _parent, _div, _mult) \ argument
73 DEF_BASE(_name, _id, CLK_TYPE_FF, _parent, .div = _div, .mult = _mult)
74 #define DEF_DIV6P1(_name, _id, _parent, _offset) \ argument
75 DEF_BASE(_name, _id, CLK_TYPE_DIV6P1, _parent, .offset = _offset)
76 #define DEF_DIV6_RO(_name, _id, _parent, _offset, _div) \ argument
77 DEF_BASE(_name, _id, CLK_TYPE_DIV6_RO, _parent, .offset = _offset, .div = _div, .mult = 1)
93 #define DEF_MOD(_name, _mod, _parent...) \ argument
94 { .name = _name, .id = MOD_CLK_ID(_mod), .parent = _parent }