Searched refs:state (Results 1 - 25 of 85) sorted by relevance

1234

/openwrt/target/linux/adm8668/base-files/etc/
H A Ddiag.sh5 local state="$1"
6 [ -f "/proc/adm8668/sesled" ] && echo "$state" > "/proc/adm8668/sesled"
/openwrt/target/linux/generic/files/drivers/net/phy/
H A Dip17xx.c103 // Pointers to functions which manipulate hardware state
104 int (*update_state)(struct ip17xx_state *state);
105 int (*set_vlan_mode)(struct ip17xx_state *state);
106 int (*reset)(struct ip17xx_state *state);
109 static int ip175c_update_state(struct ip17xx_state *state);
110 static int ip175c_set_vlan_mode(struct ip17xx_state *state);
111 static int ip175c_reset(struct ip17xx_state *state);
256 static int ip175d_update_state(struct ip17xx_state *state);
257 static int ip175d_set_vlan_mode(struct ip17xx_state *state);
258 static int ip175d_reset(struct ip17xx_state *state);
328 ip_phy_read(struct ip17xx_state *state, int port, int reg) argument
340 ip_phy_write(struct ip17xx_state *state, int port, int reg, u16 val) argument
353 ip_phy_write_masked(struct ip17xx_state *state, int port, int reg, unsigned int mask, unsigned int data) argument
361 getPhy(struct ip17xx_state *state, reg mii) argument
368 setPhy(struct ip17xx_state *state, reg mii, u16 value) argument
418 get_model(struct ip17xx_state *state) argument
463 ip175c_set_flags(struct ip17xx_state *state) argument
501 ip175c_set_state(struct ip17xx_state *state) argument
580 ip175c_correct_vlan_state(struct ip17xx_state *state) argument
605 ip175c_update_state(struct ip17xx_state *state) argument
611 ip175c_set_vlan_mode(struct ip17xx_state *state) argument
616 ip175c_reset(struct ip17xx_state *state) argument
634 ip175d_update_state(struct ip17xx_state *state) argument
683 ip175d_set_vlan_mode(struct ip17xx_state *state) argument
718 ip175d_reset(struct ip17xx_state *state) argument
738 struct ip17xx_state *state = get_state(dev); local
744 ip17xx_reset_vlan_config(struct ip17xx_state *state) argument
760 struct ip17xx_state *state = get_state(dev); local
778 struct ip17xx_state *state = get_state(dev); local
806 struct ip17xx_state *state = get_state(dev); local
830 struct ip17xx_state *state = get_state(dev); local
845 struct ip17xx_state *state = get_state(dev); local
878 struct ip17xx_state *state = get_state(dev); local
896 struct ip17xx_state *state = get_state(dev); local
912 struct ip17xx_state *state = get_state(dev); local
921 struct ip17xx_state *state = get_state(dev); local
934 struct ip17xx_state *state = get_state(dev); local
943 struct ip17xx_state *state = get_state(dev); local
956 struct ip17xx_state *state = get_state(dev); local
972 struct ip17xx_state *state = get_state(dev); local
984 struct ip17xx_state *state = get_state(dev); local
991 struct ip17xx_state *state = get_state(dev); local
1003 struct ip17xx_state *state = get_state(dev); local
1019 struct ip17xx_state *state = get_state(dev); local
1056 struct ip17xx_state *state = get_state(dev); local
1083 struct ip17xx_state *state = get_state(dev); local
1127 struct ip17xx_state *state = get_state(dev); local
1135 struct ip17xx_state *state = get_state(dev); local
1271 struct ip17xx_state *state; local
1308 struct ip17xx_state *state = pdev->priv; local
1323 struct ip17xx_state *state = pdev->priv; local
[all...]
H A Dmvsw61xx.c121 struct mvsw61xx_state *state = get_state(dev); local
123 return r16(state->bus, state->is_indirect, state->base_addr, addr, reg);
129 struct mvsw61xx_state *state = get_state(dev); local
131 w16(state->bus, state->is_indirect, state->base_addr, addr, reg, val);
154 struct mvsw61xx_state *state = get_state(dev); local
155 char *buf = state
180 struct mvsw61xx_state *state = get_state(dev); local
191 struct mvsw61xx_state *state = get_state(dev); local
201 struct mvsw61xx_state *state = get_state(dev); local
211 struct mvsw61xx_state *state = get_state(dev); local
256 struct mvsw61xx_state *state = get_state(dev); local
287 struct mvsw61xx_state *state = get_state(dev); local
332 struct mvsw61xx_state *state = get_state(dev); local
349 struct mvsw61xx_state *state = get_state(dev); local
366 struct mvsw61xx_state *state = get_state(dev); local
380 struct mvsw61xx_state *state = get_state(dev); local
394 struct mvsw61xx_state *state = get_state(dev); local
404 struct mvsw61xx_state *state = get_state(dev); local
413 struct mvsw61xx_state *state = get_state(dev); local
471 struct mvsw61xx_state *state = get_state(dev); local
494 struct mvsw61xx_state *state = get_state(dev); local
571 struct mvsw61xx_state *state = get_state(dev); local
715 struct mvsw61xx_state *state; local
816 struct mvsw61xx_state *state = platform_get_drvdata(pdev); local
[all...]
/openwrt/package/network/services/ead/src/tinysrp/
H A Dt_sha.h17 uint32 state[5]; member in struct:__anon98
H A Dt_sha.c24 static void SHA1Transform(uint32 state[5], const unsigned char buffer[64]);
48 static void SHA1Transform(uint32 state[5], const unsigned char buffer[64]) argument
63 /* Copy context->state[] to working vars */
64 a = state[0];
65 b = state[1];
66 c = state[2];
67 d = state[3];
68 e = state[4];
90 /* Add the working vars back into context.state[] */
91 state[
[all...]
H A Dt_getconf.c53 int state; /* 0 == uninitialized/first time */ member in struct:pre_struct
106 if(pre_params[idx].state == 0) {
115 pre_params[idx].state = 1;
/openwrt/target/linux/generic/files/fs/yaffs2/
H A Dyaffs_yaffs1.c30 enum yaffs_block_state state; local
49 /* Scan all the blocks to determine their state */
57 yaffs_query_init_block_state(dev, blk, &state, &seq_number);
59 bi->block_state = state;
63 bi->block_state = state = YAFFS_BLOCK_STATE_DEAD;
66 "Block scanning block %d state %d seq %d",
67 blk, state, seq_number);
69 if (state == YAFFS_BLOCK_STATE_DEAD) {
72 } else if (state == YAFFS_BLOCK_STATE_EMPTY) {
87 state
[all...]
H A Dyaffs_nand.h31 enum yaffs_block_state *state,
H A Dyaffs_tagscompat.h34 enum yaffs_block_state *state,
H A Dyaffs_tagsmarshall.c134 enum yaffs_block_state *state,
147 *state = YAFFS_BLOCK_STATE_DEAD;
158 *state = YAFFS_BLOCK_STATE_NEEDS_SCAN;
161 *state = YAFFS_BLOCK_STATE_EMPTY;
166 "block query returns seq %d state %d",
167 *seq_number, *state);
133 yaffs_tags_marshall_query_block(struct yaffs_dev *dev, int block_no, enum yaffs_block_state *state, u32 *seq_number) argument
/openwrt/target/linux/adm5120/files-3.18/drivers/leds/
H A Dledtrig-adm5120-switch.c55 struct port_state *state = led_cdev->trigger_data; local
61 if (&port_states[i] == state)
99 struct port_state *state = port_states; local
102 led_cdev->trigger_data = state;
108 led_set_brightness(led_cdev, state->value);
117 struct port_state *state = led_cdev->trigger_data; local
119 if (!state)
/openwrt/package/boot/uboot-ar71xx/files/include/asm-mips/
H A Dar71xx_gpio.h30 static inline void ar71xx_setpin(uint8_t pin, uint8_t state) argument
34 if (state != 0) {
/openwrt/tools/firmware-utils/src/
H A Dbuffalo-lib.c90 unsigned char *state; local
95 state = malloc(state_len);
96 if (state == NULL)
101 ctx->state = state;
105 state[i] = i;
110 t = state[i];
112 state[i] = state[k];
113 state[
122 unsigned char *state = ctx->state; local
[all...]
H A Dsha1.h20 ulong state[5]; member in struct:__anon287
/openwrt/target/linux/ar71xx/files/arch/mips/ath79/
H A Dmach-cf-e316n-v2.c75 static int state; local
76 state = !state;
77 gpio_set_value(EXT_WATCHDOG_GPIO, state);
/openwrt/target/linux/imx6/files-4.4/drivers/net/phy/
H A Dgw16083.c119 struct mv88e1111_port_state *state);
396 struct mv88e1111_port_state *state; local
398 state = get_port_state(priv, gw16083_get_port(attr->attr.name));
399 if (!state)
402 return sprintf(buf, "%s\n", state->serdes ? "SFP" : "RJ45");
409 struct mv88e1111_port_state *state; local
414 state = get_port_state(priv, port);
415 if (!state)
450 struct mv88e1111_port_state *state; local
452 state
477 struct mv88e1111_port_state *state; local
874 gw16083_read_port_sfp(struct i2c_client *client, struct mv88e1111_port_state *state) argument
[all...]
/openwrt/target/linux/adm5120/image/lzma-loader/src/
H A DLzmaDecode.c181 int state = vs->State; local
215 state = 0;
245 int state = 0; local
285 prob = p + IsMatch + (state << kNumPosBitsMax) + posState;
299 if (state >= kNumLitStates)
337 if (state < 4) state = 0;
338 else if (state < 10) state -= 3;
339 else state
[all...]
/openwrt/target/linux/adm8668/image/lzma-loader/src/
H A DLzmaDecode.c187 int state = vs->State; local
221 state = 0;
251 int state = 0; local
291 prob = p + IsMatch + (state << kNumPosBitsMax) + posState;
305 if (state >= kNumLitStates)
343 if (state < 4) state = 0;
344 else if (state < 10) state -= 3;
345 else state
[all...]
/openwrt/target/linux/ar71xx/image/lzma-loader/src/
H A DLzmaDecode.c181 int state = vs->State; local
215 state = 0;
245 int state = 0; local
285 prob = p + IsMatch + (state << kNumPosBitsMax) + posState;
299 if (state >= kNumLitStates)
337 if (state < 4) state = 0;
338 else if (state < 10) state -= 3;
339 else state
[all...]
/openwrt/target/linux/brcm63xx/image/lzma-loader/src/
H A DLzmaDecode.c181 int state = vs->State; local
215 state = 0;
245 int state = 0; local
285 prob = p + IsMatch + (state << kNumPosBitsMax) + posState;
299 if (state >= kNumLitStates)
337 if (state < 4) state = 0;
338 else if (state < 10) state -= 3;
339 else state
[all...]
/openwrt/target/linux/generic/image/lzma-loader/src/
H A DLzmaDecode.c187 int state = vs->State; local
221 state = 0;
251 int state = 0; local
291 prob = p + IsMatch + (state << kNumPosBitsMax) + posState;
305 if (state >= kNumLitStates)
343 if (state < 4) state = 0;
344 else if (state < 10) state -= 3;
345 else state
[all...]
/openwrt/target/linux/lantiq/image/lzma-loader/src/
H A DLzmaDecode.c181 int state = vs->State; local
215 state = 0;
245 int state = 0; local
285 prob = p + IsMatch + (state << kNumPosBitsMax) + posState;
299 if (state >= kNumLitStates)
337 if (state < 4) state = 0;
338 else if (state < 10) state -= 3;
339 else state
[all...]
/openwrt/target/linux/ramips/image/lzma-loader/src/
H A DLzmaDecode.c181 int state = vs->State; local
215 state = 0;
245 int state = 0; local
285 prob = p + IsMatch + (state << kNumPosBitsMax) + posState;
299 if (state >= kNumLitStates)
337 if (state < 4) state = 0;
338 else if (state < 10) state -= 3;
339 else state
[all...]
/openwrt/package/utils/px5g-standalone/src/polarssl/
H A Dsha1.h44 unsigned long state[5]; /*!< intermediate digest state */ member in struct:__anon109
/openwrt/target/linux/brcm47xx/image/lzma-loader/src/
H A DLzmaDecode.c398 int state = vs->State; local
450 int state = 0;
487 if (RangeDecoderBitDecode(p + IsMatch + (state << kNumPosBitsMax) + posState, &rd) == 0)
498 if (state < 4) state = 0;
499 else if (state < 10) state -= 3;
500 else state -= 6;
527 if (RangeDecoderBitDecode(p + IsRep + state, &rd) == 1)
529 if (RangeDecoderBitDecode(p + IsRepG0 + state,
[all...]

Completed in 131 milliseconds

1234